@dxos/plugin-wnfs 0.8.4-main.bc674ce → 0.8.4-main.bcb3aa67d6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/browser/{chunk-NCTUASHL.mjs → chunk-N6Y4QPNF.mjs} +15 -32
- package/dist/lib/browser/chunk-N6Y4QPNF.mjs.map +7 -0
- package/dist/lib/browser/chunk-RX54RPR5.mjs +69 -0
- package/dist/lib/browser/chunk-RX54RPR5.mjs.map +7 -0
- package/dist/lib/browser/chunk-VXUCZHVZ.mjs +69 -0
- package/dist/lib/browser/chunk-VXUCZHVZ.mjs.map +7 -0
- package/dist/lib/browser/create-4B7FUIZ2.mjs +24 -0
- package/dist/lib/browser/create-4B7FUIZ2.mjs.map +7 -0
- package/dist/lib/browser/create-file-F7OXWYKJ.mjs +49 -0
- package/dist/lib/browser/create-file-F7OXWYKJ.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +71 -70
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/operations/index.mjs +13 -0
- package/dist/lib/browser/operations/index.mjs.map +7 -0
- package/dist/lib/browser/types/index.mjs +3 -5
- package/dist/lib/browser/upload-KT3ZHI4R.mjs +42 -0
- package/dist/lib/browser/upload-KT3ZHI4R.mjs.map +7 -0
- package/dist/types/src/WnfsPlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/blockstore.d.ts +5 -0
- package/dist/types/src/capabilities/blockstore.d.ts.map +1 -0
- package/dist/types/src/capabilities/file-uploader.d.ts +6 -0
- package/dist/types/src/capabilities/file-uploader.d.ts.map +1 -0
- package/dist/types/src/capabilities/index.d.ts +7 -5
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/markdown.d.ts +5 -0
- package/dist/types/src/capabilities/markdown.d.ts.map +1 -0
- package/dist/types/src/capabilities/operation-handler.d.ts +6 -0
- package/dist/types/src/capabilities/operation-handler.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-surface.d.ts +5 -0
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -0
- package/dist/types/src/components/FileInput/FileInput.d.ts.map +1 -0
- package/dist/types/src/components/FileInput/index.d.ts +2 -0
- package/dist/types/src/components/FileInput/index.d.ts.map +1 -0
- package/dist/types/src/components/FilePreview/FilePreview.d.ts +16 -0
- package/dist/types/src/components/FilePreview/FilePreview.d.ts.map +1 -0
- package/dist/types/src/components/FilePreview/index.d.ts +2 -0
- package/dist/types/src/components/FilePreview/index.d.ts.map +1 -0
- package/dist/types/src/components/index.d.ts +1 -1
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/containers/FileContainer/FileContainer.d.ts +7 -0
- package/dist/types/src/containers/FileContainer/FileContainer.d.ts.map +1 -0
- package/dist/types/src/containers/FileContainer/index.d.ts +3 -0
- package/dist/types/src/containers/FileContainer/index.d.ts.map +1 -0
- package/dist/types/src/containers/index.d.ts +3 -0
- package/dist/types/src/containers/index.d.ts.map +1 -0
- package/dist/types/src/extensions/image.d.ts +1 -1
- package/dist/types/src/extensions/image.d.ts.map +1 -1
- package/dist/types/src/helpers/load.d.ts +1 -1
- package/dist/types/src/helpers/load.d.ts.map +1 -1
- package/dist/types/src/helpers/upload.d.ts +1 -1
- package/dist/types/src/helpers/upload.d.ts.map +1 -1
- package/dist/types/src/operations/create-file.d.ts +5 -0
- package/dist/types/src/operations/create-file.d.ts.map +1 -0
- package/dist/types/src/operations/create.d.ts +5 -0
- package/dist/types/src/operations/create.d.ts.map +1 -0
- package/dist/types/src/operations/definitions.d.ts +38 -0
- package/dist/types/src/operations/definitions.d.ts.map +1 -0
- package/dist/types/src/operations/index.d.ts +4 -0
- package/dist/types/src/operations/index.d.ts.map +1 -0
- package/dist/types/src/operations/upload.d.ts +5 -0
- package/dist/types/src/operations/upload.d.ts.map +1 -0
- package/dist/types/src/translations.d.ts +13 -12
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/File.d.ts +1 -1
- package/dist/types/src/types/File.d.ts.map +1 -1
- package/dist/types/src/types/types.d.ts +1 -104
- package/dist/types/src/types/types.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +47 -30
- package/src/WnfsPlugin.tsx +36 -36
- package/src/blockstore.ts +1 -1
- package/src/capabilities/{blockstore/blockstore.ts → blockstore.ts} +3 -3
- package/src/capabilities/{file-uploader/file-uploader.ts → file-uploader.ts} +6 -5
- package/src/capabilities/index.ts +11 -5
- package/src/capabilities/{markdown/markdown.ts → markdown.ts} +2 -2
- package/src/capabilities/operation-handler.ts +16 -0
- package/src/capabilities/{react-surface/react-surface.tsx → react-surface.tsx} +11 -9
- package/src/components/{FileInput.tsx → FileInput/FileInput.tsx} +5 -5
- package/src/components/FileInput/index.ts +5 -0
- package/src/components/FilePreview/FilePreview.tsx +43 -0
- package/src/components/FilePreview/index.ts +5 -0
- package/src/components/index.ts +1 -4
- package/src/{components → containers/FileContainer}/FileContainer.tsx +12 -12
- package/src/containers/FileContainer/index.ts +7 -0
- package/src/containers/index.ts +7 -0
- package/src/extensions/image.stories.tsx +3 -3
- package/src/extensions/image.tsx +1 -1
- package/src/helpers/load.ts +6 -6
- package/src/helpers/upload.ts +3 -3
- package/src/meta.ts +1 -1
- package/src/operations/create-file.ts +32 -0
- package/src/operations/create.ts +23 -0
- package/src/operations/definitions.ts +40 -0
- package/src/operations/index.ts +13 -0
- package/src/operations/upload.ts +30 -0
- package/src/translations.ts +13 -12
- package/src/types/File.ts +6 -2
- package/src/types/capabilities.ts +3 -3
- package/src/types/types.ts +3 -59
- package/dist/lib/browser/FileContainer-O5YFSIWV.mjs +0 -91
- package/dist/lib/browser/FileContainer-O5YFSIWV.mjs.map +0 -7
- package/dist/lib/browser/blockstore-KKFOALUH.mjs +0 -191
- package/dist/lib/browser/blockstore-KKFOALUH.mjs.map +0 -7
- package/dist/lib/browser/chunk-GXXEH7H6.mjs +0 -154
- package/dist/lib/browser/chunk-GXXEH7H6.mjs.map +0 -7
- package/dist/lib/browser/chunk-NCTUASHL.mjs.map +0 -7
- package/dist/lib/browser/file-uploader-BUHAXRSV.mjs +0 -34
- package/dist/lib/browser/file-uploader-BUHAXRSV.mjs.map +0 -7
- package/dist/lib/browser/markdown-BRT2MN6C.mjs +0 -201
- package/dist/lib/browser/markdown-BRT2MN6C.mjs.map +0 -7
- package/dist/lib/browser/operation-resolver-F6GUL54A.mjs +0 -99
- package/dist/lib/browser/operation-resolver-F6GUL54A.mjs.map +0 -7
- package/dist/lib/browser/react-surface-UNAYSIAC.mjs +0 -81
- package/dist/lib/browser/react-surface-UNAYSIAC.mjs.map +0 -7
- package/dist/types/src/capabilities/blockstore/blockstore.d.ts +0 -5
- package/dist/types/src/capabilities/blockstore/blockstore.d.ts.map +0 -1
- package/dist/types/src/capabilities/blockstore/index.d.ts +0 -3
- package/dist/types/src/capabilities/blockstore/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/file-uploader/file-uploader.d.ts +0 -5
- package/dist/types/src/capabilities/file-uploader/file-uploader.d.ts.map +0 -1
- package/dist/types/src/capabilities/file-uploader/index.d.ts +0 -3
- package/dist/types/src/capabilities/file-uploader/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/markdown/index.d.ts +0 -3
- package/dist/types/src/capabilities/markdown/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/markdown/markdown.d.ts +0 -5
- package/dist/types/src/capabilities/markdown/markdown.d.ts.map +0 -1
- package/dist/types/src/capabilities/operation-resolver/index.d.ts +0 -3
- package/dist/types/src/capabilities/operation-resolver/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts +0 -5
- package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts.map +0 -1
- package/dist/types/src/capabilities/react-surface/index.d.ts +0 -3
- package/dist/types/src/capabilities/react-surface/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/react-surface/react-surface.d.ts +0 -5
- package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +0 -1
- package/dist/types/src/components/FileContainer.d.ts +0 -7
- package/dist/types/src/components/FileContainer.d.ts.map +0 -1
- package/dist/types/src/components/FileInput.d.ts.map +0 -1
- package/dist/types/src/components/FilePreview.d.ts +0 -11
- package/dist/types/src/components/FilePreview.d.ts.map +0 -1
- package/src/capabilities/blockstore/index.ts +0 -7
- package/src/capabilities/file-uploader/index.ts +0 -7
- package/src/capabilities/markdown/index.ts +0 -7
- package/src/capabilities/operation-resolver/index.ts +0 -7
- package/src/capabilities/operation-resolver/operation-resolver.ts +0 -62
- package/src/capabilities/react-surface/index.ts +0 -7
- package/src/components/FilePreview.tsx +0 -23
- /package/dist/types/src/components/{FileInput.d.ts → FileInput/FileInput.d.ts} +0 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Capability } from '@dxos/app-framework';
|
|
2
|
+
import { Database } from '@dxos/echo';
|
|
3
|
+
import { Operation } from '@dxos/operation';
|
|
4
|
+
export declare const Create: Operation.Definition<{
|
|
5
|
+
readonly name: string;
|
|
6
|
+
readonly type: string;
|
|
7
|
+
readonly cid: string;
|
|
8
|
+
}, {
|
|
9
|
+
readonly object: import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
10
|
+
readonly name?: string | undefined;
|
|
11
|
+
readonly type: string;
|
|
12
|
+
readonly cid: string;
|
|
13
|
+
readonly timestamp?: string | undefined;
|
|
14
|
+
};
|
|
15
|
+
}, Capability.Service>;
|
|
16
|
+
export declare const Upload: Operation.Definition<{
|
|
17
|
+
readonly file: File;
|
|
18
|
+
} & {
|
|
19
|
+
readonly db: Database.Database;
|
|
20
|
+
}, {
|
|
21
|
+
readonly name: string;
|
|
22
|
+
readonly type: string;
|
|
23
|
+
readonly cid: string;
|
|
24
|
+
readonly url: string;
|
|
25
|
+
}, Capability.Service>;
|
|
26
|
+
export declare const CreateFile: Operation.Definition<{
|
|
27
|
+
readonly file: File;
|
|
28
|
+
} & {
|
|
29
|
+
readonly db: Database.Database;
|
|
30
|
+
}, {
|
|
31
|
+
readonly object: import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
32
|
+
readonly name?: string | undefined;
|
|
33
|
+
readonly type: string;
|
|
34
|
+
readonly cid: string;
|
|
35
|
+
readonly timestamp?: string | undefined;
|
|
36
|
+
};
|
|
37
|
+
}, Capability.Service>;
|
|
38
|
+
//# sourceMappingURL=definitions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"definitions.d.ts","sourceRoot":"","sources":["../../../../src/operations/definitions.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAO5C,eAAO,MAAM,MAAM;;;;;;;;;;;sBAOjB,CAAC;AAEH,eAAO,MAAM,MAAM;;;;;;;;;sBAKjB,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;;sBAOrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/operations/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAEtD,OAAO,KAAK,aAAa,MAAM,eAAe,CAAC;AAE/C,eAAO,MAAM,uBAAuB,yCAInC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upload.d.ts","sourceRoot":"","sources":["../../../../src/operations/upload.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAM5C,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAEvC,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,MAAM,CAWjD,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import { meta } from '
|
|
2
|
-
import { WnfsFile } from '
|
|
1
|
+
import { meta } from '#meta';
|
|
2
|
+
import { WnfsFile } from '#types';
|
|
3
3
|
export declare const translations: [{
|
|
4
4
|
readonly 'en-US': {
|
|
5
5
|
readonly [WnfsFile.File.typename]: {
|
|
6
|
-
readonly 'typename
|
|
7
|
-
readonly 'typename
|
|
8
|
-
readonly 'typename
|
|
9
|
-
readonly 'typename
|
|
10
|
-
readonly 'object
|
|
11
|
-
readonly '
|
|
12
|
-
readonly '
|
|
13
|
-
readonly 'object
|
|
6
|
+
readonly 'typename.label': "File";
|
|
7
|
+
readonly 'typename.label_zero': "Files";
|
|
8
|
+
readonly 'typename.label_one': "File";
|
|
9
|
+
readonly 'typename.label_other': "Files";
|
|
10
|
+
readonly 'object-name.placeholder': "New file";
|
|
11
|
+
readonly 'add-object.label': "Add file";
|
|
12
|
+
readonly 'rename-object.label': "Rename file";
|
|
13
|
+
readonly 'delete-object.label': "Delete file";
|
|
14
|
+
readonly 'object-deleted.label': "File deleted";
|
|
14
15
|
};
|
|
15
16
|
readonly [meta.id]: {
|
|
16
|
-
readonly 'plugin
|
|
17
|
-
readonly 'file
|
|
17
|
+
readonly 'plugin.name': "Files";
|
|
18
|
+
readonly 'file-input.placeholder': "Drop a file here, or click to select a file";
|
|
18
19
|
};
|
|
19
20
|
};
|
|
20
21
|
}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAElC,eAAO,MAAM,YAAY;;QAGnB,SAAA,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC;;;;;;;;;;UAUvB;QACD,SAAA,CAAC,IAAI,CAAC,EAAE,CAAC;;;UAGR;;EAGwB,CAAC"}
|
|
@@ -7,7 +7,7 @@ export declare const File: Type.Obj<{
|
|
|
7
7
|
readonly timestamp?: string | undefined;
|
|
8
8
|
}, Schema.Struct.Fields>;
|
|
9
9
|
export type File = Schema.Schema.Type<typeof File>;
|
|
10
|
-
export declare const make: (props: Obj.MakeProps<typeof File>) => Obj.
|
|
10
|
+
export declare const make: (props: Obj.MakeProps<typeof File>) => Obj.OfShape<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
11
11
|
readonly name?: string | undefined;
|
|
12
12
|
readonly type: string;
|
|
13
13
|
readonly cid: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"File.d.ts","sourceRoot":"","sources":["../../../../src/types/File.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,
|
|
1
|
+
{"version":3,"file":"File.d.ts","sourceRoot":"","sources":["../../../../src/types/File.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAc,GAAG,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAGnD,eAAO,MAAM,IAAI;;;;;wBAchB,CAAC;AAEF,MAAM,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnD,eAAO,MAAM,IAAI,GAAI,OAAO,GAAG,CAAC,SAAS,CAAC,OAAO,IAAI,CAAC;;;;;EAA0B,CAAC"}
|
|
@@ -1,112 +1,9 @@
|
|
|
1
1
|
import * as Schema from 'effect/Schema';
|
|
2
|
-
import { Capability } from '@dxos/app-framework';
|
|
3
|
-
import { Database } from '@dxos/echo';
|
|
4
2
|
export declare namespace WnfsAction {
|
|
5
3
|
const UploadAnnotationId: unique symbol;
|
|
6
4
|
const UploadFileSchema: Schema.Struct<{
|
|
7
|
-
file: Schema.instanceOf<
|
|
5
|
+
file: Schema.instanceOf<File>;
|
|
8
6
|
}>;
|
|
9
7
|
type UploadFileForm = Schema.Schema.Type<typeof UploadFileSchema>;
|
|
10
8
|
}
|
|
11
|
-
export declare namespace WnfsOperation {
|
|
12
|
-
const OnCreateSpace: Omit<{
|
|
13
|
-
readonly meta: {
|
|
14
|
-
readonly key: `${string}/on-create-space`;
|
|
15
|
-
readonly name: "On Create Space";
|
|
16
|
-
};
|
|
17
|
-
readonly services: readonly [typeof Capability.Service];
|
|
18
|
-
readonly schema: {
|
|
19
|
-
readonly input: Schema.Struct<{
|
|
20
|
-
space: Schema.Schema<import("@dxos/client-protocol").Space, import("@dxos/client-protocol").Space, never>;
|
|
21
|
-
rootCollection: import("@dxos/echo/Type").Obj<{
|
|
22
|
-
readonly name?: string | undefined;
|
|
23
|
-
readonly objects: readonly import("@dxos/echo/internal").Ref<any>[];
|
|
24
|
-
}, Schema.Struct.Fields>;
|
|
25
|
-
isDefault: Schema.optional<typeof Schema.Boolean>;
|
|
26
|
-
}>;
|
|
27
|
-
readonly output: typeof Schema.Void;
|
|
28
|
-
};
|
|
29
|
-
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
30
|
-
readonly executionMode: "sync" | "async";
|
|
31
|
-
};
|
|
32
|
-
const Create: Omit<{
|
|
33
|
-
readonly meta: {
|
|
34
|
-
readonly key: `${string}/create`;
|
|
35
|
-
readonly name: "Create WNFS File";
|
|
36
|
-
};
|
|
37
|
-
readonly services: readonly [typeof Capability.Service];
|
|
38
|
-
readonly schema: {
|
|
39
|
-
readonly input: Schema.SchemaClass<{
|
|
40
|
-
readonly name: string;
|
|
41
|
-
readonly type: string;
|
|
42
|
-
readonly cid: string;
|
|
43
|
-
}, {
|
|
44
|
-
readonly name: string;
|
|
45
|
-
readonly type: string;
|
|
46
|
-
readonly cid: string;
|
|
47
|
-
}, never>;
|
|
48
|
-
readonly output: Schema.Struct<{
|
|
49
|
-
object: import("@dxos/echo/Type").Obj<{
|
|
50
|
-
readonly name?: string | undefined;
|
|
51
|
-
readonly type: string;
|
|
52
|
-
readonly cid: string;
|
|
53
|
-
readonly timestamp?: string | undefined;
|
|
54
|
-
}, Schema.Struct.Fields>;
|
|
55
|
-
}>;
|
|
56
|
-
};
|
|
57
|
-
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
58
|
-
readonly executionMode: "sync" | "async";
|
|
59
|
-
};
|
|
60
|
-
const Upload: Omit<{
|
|
61
|
-
readonly meta: {
|
|
62
|
-
readonly key: `${string}/upload`;
|
|
63
|
-
readonly name: "Upload File";
|
|
64
|
-
};
|
|
65
|
-
readonly services: readonly [typeof Capability.Service];
|
|
66
|
-
readonly schema: {
|
|
67
|
-
readonly input: Schema.extend<Schema.Struct<{
|
|
68
|
-
file: Schema.instanceOf<any>;
|
|
69
|
-
}>, Schema.Struct<{
|
|
70
|
-
db: Schema.Schema<Database.Database, Database.Database, never>;
|
|
71
|
-
}>>;
|
|
72
|
-
readonly output: Schema.SchemaClass<{
|
|
73
|
-
readonly name: string;
|
|
74
|
-
readonly type: string;
|
|
75
|
-
readonly cid: string;
|
|
76
|
-
readonly url: string;
|
|
77
|
-
}, {
|
|
78
|
-
readonly name: string;
|
|
79
|
-
readonly type: string;
|
|
80
|
-
readonly cid: string;
|
|
81
|
-
readonly url: string;
|
|
82
|
-
}, never>;
|
|
83
|
-
};
|
|
84
|
-
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
85
|
-
readonly executionMode: "sync" | "async";
|
|
86
|
-
};
|
|
87
|
-
const CreateFile: Omit<{
|
|
88
|
-
readonly meta: {
|
|
89
|
-
readonly key: `${string}/create-file`;
|
|
90
|
-
readonly name: "Create File";
|
|
91
|
-
};
|
|
92
|
-
readonly services: readonly [typeof Capability.Service];
|
|
93
|
-
readonly schema: {
|
|
94
|
-
readonly input: Schema.extend<Schema.Struct<{
|
|
95
|
-
file: Schema.instanceOf<any>;
|
|
96
|
-
}>, Schema.Struct<{
|
|
97
|
-
db: Schema.Schema<Database.Database, Database.Database, never>;
|
|
98
|
-
}>>;
|
|
99
|
-
readonly output: Schema.Struct<{
|
|
100
|
-
object: import("@dxos/echo/Type").Obj<{
|
|
101
|
-
readonly name?: string | undefined;
|
|
102
|
-
readonly type: string;
|
|
103
|
-
readonly cid: string;
|
|
104
|
-
readonly timestamp?: string | undefined;
|
|
105
|
-
}, Schema.Struct.Fields>;
|
|
106
|
-
}>;
|
|
107
|
-
};
|
|
108
|
-
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
109
|
-
readonly executionMode: "sync" | "async";
|
|
110
|
-
};
|
|
111
|
-
}
|
|
112
9
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/types/types.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/types/types.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAIxC,yBAAiB,UAAU,CAAC;IACnB,MAAM,kBAAkB,eAA6C,CAAC;IAEtE,MAAM,gBAAgB;;MAS3B,CAAC;IAEH,KAAY,cAAc,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,gBAAgB,CAAC,CAAC;CAC1E"}
|