File tree Expand file tree Collapse file tree
packages/cli/src/lib/defaults/deploy-modules/ipfs Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { DeployModule } from "../../../deploy" ;
2+ import { AddResult , ArgsAddDir , DirectoryEntry } from "./types" ;
3+ import { readDirContents } from "./utils" ;
24
35import { Uri } from "@polywrap/core-js" ;
46import { PolywrapClient } from "@polywrap/client-js" ;
57import * as Sys from "@polywrap/sys-config-bundle-js" ;
68import { PolywrapClientConfigBuilder } from "@polywrap/client-config-builder-js" ;
7- import { AddResult , ArgsAddDir , DirectoryEntry } from "./types" ;
8- import { readDirContents } from "./utils" ;
99
1010const isValidUri = ( uri : Uri ) =>
1111 uri . authority === "fs" || uri . authority === "file" ;
Original file line number Diff line number Diff line change @@ -26,4 +26,4 @@ export interface ArgsAddDir {
2626 ipfsProvider : string ;
2727 timeout ?: number ;
2828 addOptions ?: AddOptions ;
29- }
29+ }
Original file line number Diff line number Diff line change 11import { DirectoryEntry } from "./types" ;
2+
23import fs from "fs" ;
34
45export const readDirContents = async (
@@ -29,4 +30,4 @@ export const readDirContents = async (
2930 }
3031
3132 return data ;
32- } ;
33+ } ;
You can’t perform that action at this time.
0 commit comments