@dxos/plugin-wnfs 0.8.4-main.72ec0f3 → 0.8.4-main.7ace549
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/{FileContainer-LLNI7WXR.mjs → FileContainer-6JIJX7SN.mjs} +2 -2
- package/dist/lib/browser/{chunk-CWMKN2F6.mjs → chunk-234GILVK.mjs} +5 -5
- package/dist/lib/browser/chunk-234GILVK.mjs.map +7 -0
- package/dist/lib/browser/{chunk-ZFPJA5F4.mjs → chunk-IVUX2QXX.mjs} +4 -4
- package/dist/lib/browser/{file-uploader-W6TJLAAK.mjs → file-uploader-APZNBT66.mjs} +2 -2
- package/dist/lib/browser/index.mjs +16 -17
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/{intent-resolver-FSW2EQF4.mjs → intent-resolver-246R4ETC.mjs} +2 -2
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-surface-DMU47U3X.mjs → react-surface-CGF34KPI.mjs} +3 -3
- package/dist/lib/browser/types/index.mjs +1 -1
- package/dist/types/src/WnfsPlugin.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +1 -1
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/File.d.ts +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +22 -22
- package/src/WnfsPlugin.tsx +11 -17
- package/src/translations.ts +1 -1
- package/src/types/File.ts +4 -4
- package/dist/lib/browser/chunk-CWMKN2F6.mjs.map +0 -7
- /package/dist/lib/browser/{FileContainer-LLNI7WXR.mjs.map → FileContainer-6JIJX7SN.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-ZFPJA5F4.mjs.map → chunk-IVUX2QXX.mjs.map} +0 -0
- /package/dist/lib/browser/{file-uploader-W6TJLAAK.mjs.map → file-uploader-APZNBT66.mjs.map} +0 -0
- /package/dist/lib/browser/{intent-resolver-FSW2EQF4.mjs.map → intent-resolver-246R4ETC.mjs.map} +0 -0
- /package/dist/lib/browser/{react-surface-DMU47U3X.mjs.map → react-surface-CGF34KPI.mjs.map} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-IVUX2QXX.mjs";
|
|
2
2
|
import {
|
|
3
3
|
filePath,
|
|
4
4
|
getBlobUrl,
|
|
@@ -100,4 +100,4 @@ export {
|
|
|
100
100
|
FileContainer,
|
|
101
101
|
FileContainer_default as default
|
|
102
102
|
};
|
|
103
|
-
//# sourceMappingURL=FileContainer-
|
|
103
|
+
//# sourceMappingURL=FileContainer-6JIJX7SN.mjs.map
|
|
@@ -11,12 +11,12 @@ __export(File_exports, {
|
|
|
11
11
|
});
|
|
12
12
|
import * as Schema from "effect/Schema";
|
|
13
13
|
import { Obj, Type } from "@dxos/echo";
|
|
14
|
-
import {
|
|
14
|
+
import { FormInputAnnotation } from "@dxos/echo/internal";
|
|
15
15
|
var File = Schema.Struct({
|
|
16
16
|
name: Schema.String.pipe(Schema.optional),
|
|
17
|
-
type: Schema.String.pipe(
|
|
18
|
-
cid: Schema.String.pipe(
|
|
19
|
-
timestamp: Schema.String.pipe(
|
|
17
|
+
type: Schema.String.pipe(FormInputAnnotation.set(false)),
|
|
18
|
+
cid: Schema.String.pipe(FormInputAnnotation.set(false)),
|
|
19
|
+
timestamp: Schema.String.pipe(FormInputAnnotation.set(false), Schema.optional)
|
|
20
20
|
}).pipe(Type.Obj({
|
|
21
21
|
typename: "dxos.org/type/File",
|
|
22
22
|
version: "0.1.0"
|
|
@@ -68,4 +68,4 @@ export {
|
|
|
68
68
|
File_exports,
|
|
69
69
|
WnfsAction
|
|
70
70
|
};
|
|
71
|
-
//# sourceMappingURL=chunk-
|
|
71
|
+
//# sourceMappingURL=chunk-234GILVK.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/types/File.ts", "../../../src/types/types.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2024 DXOS.org\n//\n\nimport * as Schema from 'effect/Schema';\n\nimport { Obj, Type } from '@dxos/echo';\nimport { FormInputAnnotation } from '@dxos/echo/internal';\n\nexport const File = Schema.Struct({\n name: Schema.String.pipe(Schema.optional),\n type: Schema.String.pipe(FormInputAnnotation.set(false)),\n cid: Schema.String.pipe(FormInputAnnotation.set(false)),\n timestamp: Schema.String.pipe(FormInputAnnotation.set(false), Schema.optional),\n}).pipe(\n Type.Obj({\n typename: 'dxos.org/type/File',\n version: '0.1.0',\n }),\n);\n\nexport type File = Schema.Schema.Type<typeof File>;\n\nexport const make = (props: Obj.MakeProps<typeof File>) => Obj.make(File, props);\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Schema from 'effect/Schema';\n\nimport { FileInfoSchema } from '@dxos/app-framework';\nimport { SpaceSchema } from '@dxos/react-client/echo';\n\nimport { meta } from '../meta';\n\nimport * as File from './File';\n\nexport namespace WnfsAction {\n export class Create extends Schema.TaggedClass<Create>()(`${meta.id}/action/create`, {\n input: FileInfoSchema.pick('name', 'type', 'cid').pipe(Schema.required),\n output: Schema.Struct({\n object: File.File,\n }),\n }) {}\n\n export const UploadAnnotationId = Symbol.for(`${meta.id}/annotation/upload`);\n\n export const UploadFileSchema = Schema.Struct({\n file: Schema.instanceOf(File.File).annotations({\n [UploadAnnotationId]: {\n // Accept file types.\n 'image/*': ['.jpg', '.jpeg', '.png', '.gif'],\n 'application/pdf': ['.pdf'],\n // TODO(wittjosiah): Add more file types.\n },\n }),\n });\n\n export type UploadFileForm = Schema.Schema.Type<typeof UploadFileSchema>;\n\n export class Upload extends Schema.TaggedClass<Upload>()(`${meta.id}/action/upload`, {\n input: Schema.extend(UploadFileSchema, Schema.Struct({ space: SpaceSchema })),\n output: Schema.required(FileInfoSchema),\n }) {}\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;AAAA;;;;;AAIA,YAAYA,YAAY;AAExB,SAASC,KAAKC,YAAY;AAC1B,SAASC,2BAA2B;AAE7B,IAAMC,OAAcC,cAAO;EAChCC,MAAaC,cAAOC,KAAYC,eAAQ;EACxCC,MAAaH,cAAOC,KAAKG,oBAAoBC,IAAI,KAAA,CAAA;EACjDC,KAAYN,cAAOC,KAAKG,oBAAoBC,IAAI,KAAA,CAAA;EAChDE,WAAkBP,cAAOC,KAAKG,oBAAoBC,IAAI,KAAA,GAAeH,eAAQ;AAC/E,CAAA,EAAGD,KACDO,KAAKC,IAAI;EACPC,UAAU;EACVC,SAAS;AACX,CAAA,CAAA;AAKK,IAAMC,OAAO,CAACC,UAAsCJ,IAAIG,KAAKf,MAAMgB,KAAAA;;;ACnB1E,YAAYC,aAAY;AAExB,SAASC,sBAAsB;AAC/B,SAASC,mBAAmB;UAMXC,aAAAA;EACR,MAAMC,eAAsBC,oBAAW,EAAW,GAAGC,KAAKC,EAAE,kBAAkB;IACnFC,OAAOC,eAAeC,KAAK,QAAQ,QAAQ,KAAA,EAAOC,KAAYC,gBAAQ;IACtEC,QAAeC,eAAO;MACpBC,QAAaC;IACf,CAAA;EACF,CAAA,EAAA;EAAI;cALSZ,SAAAA;cAOAa,qBAAqBC,OAAOC,IAAI,GAAGb,KAAKC,EAAE,oBAAoB;cAE9Da,mBAA0BN,eAAO;IAC5CO,MAAaC,mBAAgBN,IAAI,EAAEO,YAAY;MAC7C,CAAApB,YAACc,kBAAAA,GAAqB;;QAEpB,WAAW;UAAC;UAAQ;UAAS;UAAQ;;QACrC,mBAAmB;UAAC;;MAEtB;IACF,CAAA;EACF,CAAA;EAIO,MAAMO,eAAsBnB,oBAAW,EAAW,GAAGC,KAAKC,EAAE,kBAAkB;IACnFC,OAAciB,eAAMtB,YAACiB,kBAAyBN,eAAO;MAAEY,OAAOC;IAAY,CAAA,CAAA;IAC1Ed,QAAeD,iBAASH,cAAAA;EAC1B,CAAA,EAAA;EAAI;cAHSe,SAAAA;AAIf,GA3BiBrB,eAAAA,aAAAA,CAAAA,EAAAA;;",
|
|
6
|
+
"names": ["Schema", "Obj", "Type", "FormInputAnnotation", "File", "Struct", "name", "String", "pipe", "optional", "type", "FormInputAnnotation", "set", "cid", "timestamp", "Type", "Obj", "typename", "version", "make", "props", "Schema", "FileInfoSchema", "SpaceSchema", "WnfsAction", "Create", "TaggedClass", "meta", "id", "input", "FileInfoSchema", "pick", "pipe", "required", "output", "Struct", "object", "File", "UploadAnnotationId", "Symbol", "for", "UploadFileSchema", "file", "instanceOf", "annotations", "Upload", "extend", "space", "SpaceSchema"]
|
|
7
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// src/capabilities/index.ts
|
|
2
2
|
import { lazy } from "@dxos/app-framework";
|
|
3
3
|
var Blockstore = lazy(() => import("./blockstore-2JFU4NBU.mjs"));
|
|
4
|
-
var FileUploader = lazy(() => import("./file-uploader-
|
|
5
|
-
var IntentResolver = lazy(() => import("./intent-resolver-
|
|
4
|
+
var FileUploader = lazy(() => import("./file-uploader-APZNBT66.mjs"));
|
|
5
|
+
var IntentResolver = lazy(() => import("./intent-resolver-246R4ETC.mjs"));
|
|
6
6
|
var Markdown = lazy(() => import("./markdown-WYQDCVFQ.mjs"));
|
|
7
|
-
var ReactSurface = lazy(() => import("./react-surface-
|
|
7
|
+
var ReactSurface = lazy(() => import("./react-surface-CGF34KPI.mjs"));
|
|
8
8
|
|
|
9
9
|
export {
|
|
10
10
|
Blockstore,
|
|
@@ -13,4 +13,4 @@ export {
|
|
|
13
13
|
Markdown,
|
|
14
14
|
ReactSurface
|
|
15
15
|
};
|
|
16
|
-
//# sourceMappingURL=chunk-
|
|
16
|
+
//# sourceMappingURL=chunk-IVUX2QXX.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WnfsAction
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-234GILVK.mjs";
|
|
4
4
|
import "./chunk-OGPGLJCV.mjs";
|
|
5
5
|
|
|
6
6
|
// src/capabilities/file-uploader.ts
|
|
@@ -27,4 +27,4 @@ var file_uploader_default = ((context) => {
|
|
|
27
27
|
export {
|
|
28
28
|
file_uploader_default as default
|
|
29
29
|
};
|
|
30
|
-
//# sourceMappingURL=file-uploader-
|
|
30
|
+
//# sourceMappingURL=file-uploader-APZNBT66.mjs.map
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
IntentResolver,
|
|
5
5
|
Markdown,
|
|
6
6
|
ReactSurface
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IVUX2QXX.mjs";
|
|
8
8
|
import {
|
|
9
9
|
WnfsCapabilities
|
|
10
10
|
} from "./chunk-F4QHZWQD.mjs";
|
|
11
11
|
import {
|
|
12
12
|
File_exports,
|
|
13
13
|
WnfsAction
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-234GILVK.mjs";
|
|
15
15
|
import {
|
|
16
16
|
meta
|
|
17
17
|
} from "./chunk-OGPGLJCV.mjs";
|
|
@@ -19,10 +19,8 @@ import {
|
|
|
19
19
|
// src/WnfsPlugin.tsx
|
|
20
20
|
import * as Function from "effect/Function";
|
|
21
21
|
import { Capabilities, Events, chain, contributes, createIntent, defineModule, definePlugin } from "@dxos/app-framework";
|
|
22
|
-
import { ClientEvents } from "@dxos/plugin-client";
|
|
22
|
+
import { ClientCapabilities, ClientEvents } from "@dxos/plugin-client";
|
|
23
23
|
import { MarkdownEvents } from "@dxos/plugin-markdown";
|
|
24
|
-
import { SpaceCapabilities } from "@dxos/plugin-space";
|
|
25
|
-
import { defineObjectForm } from "@dxos/plugin-space/types";
|
|
26
24
|
|
|
27
25
|
// src/translations.ts
|
|
28
26
|
var translations = [
|
|
@@ -32,11 +30,11 @@ var translations = [
|
|
|
32
30
|
"typename label": "File",
|
|
33
31
|
"object name placeholder": "New file",
|
|
34
32
|
"rename object label": "Rename file",
|
|
35
|
-
"delete object label": "Delete file"
|
|
33
|
+
"delete object label": "Delete file",
|
|
34
|
+
"object deleted label": "File deleted"
|
|
36
35
|
},
|
|
37
36
|
[meta.id]: {
|
|
38
37
|
"plugin name": "Files",
|
|
39
|
-
"delete object label": "Delete",
|
|
40
38
|
"file input placeholder": "Drop a file here, or click to select a file"
|
|
41
39
|
}
|
|
42
40
|
}
|
|
@@ -71,21 +69,22 @@ var WnfsPlugin = definePlugin(meta, () => [
|
|
|
71
69
|
metadata: {
|
|
72
70
|
// TODO(wittjosiah): Would be nice if icon could change based on the type of the file.
|
|
73
71
|
icon: "ph--file--regular",
|
|
74
|
-
iconHue: "teal"
|
|
72
|
+
iconHue: "teal",
|
|
73
|
+
inputSchema: WnfsAction.UploadFileSchema,
|
|
74
|
+
createObjectIntent: (props, options) => Function.pipe(createIntent(WnfsAction.Upload, {
|
|
75
|
+
...props,
|
|
76
|
+
space: options.space
|
|
77
|
+
}), chain(WnfsAction.Create, {})),
|
|
78
|
+
addToCollectionOnCreate: true
|
|
75
79
|
}
|
|
76
80
|
})
|
|
77
81
|
}),
|
|
78
82
|
defineModule({
|
|
79
|
-
id: `${meta.id}/module/
|
|
83
|
+
id: `${meta.id}/module/schema`,
|
|
80
84
|
activatesOn: ClientEvents.SetupSchema,
|
|
81
|
-
activate: () => contributes(
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
getIntent: (props, options) => Function.pipe(createIntent(WnfsAction.Upload, {
|
|
85
|
-
...props,
|
|
86
|
-
space: options.space
|
|
87
|
-
}), chain(WnfsAction.Create, {}))
|
|
88
|
-
}))
|
|
85
|
+
activate: () => contributes(ClientCapabilities.Schema, [
|
|
86
|
+
File_exports.File
|
|
87
|
+
])
|
|
89
88
|
}),
|
|
90
89
|
defineModule({
|
|
91
90
|
id: `${meta.id}/module/file-uploader`,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/WnfsPlugin.tsx", "../../../src/translations.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2024 DXOS.org\n//\n\nimport * as Function from 'effect/Function';\n\nimport {\n Capabilities,\n Events,\n chain,\n contributes,\n createIntent,\n defineModule,\n definePlugin,\n} from '@dxos/app-framework';\nimport { ClientEvents } from '@dxos/plugin-client';\nimport { MarkdownEvents } from '@dxos/plugin-markdown';\nimport {
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;AAIA,YAAYA,cAAc;AAE1B,SACEC,cACAC,QACAC,OACAC,aACAC,cACAC,cACAC,oBACK;AACP,SAASC,oBAAoB;
|
|
6
|
-
"names": ["Function", "Capabilities", "Events", "chain", "contributes", "createIntent", "defineModule", "definePlugin", "
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2024 DXOS.org\n//\n\nimport * as Function from 'effect/Function';\n\nimport {\n Capabilities,\n Events,\n chain,\n contributes,\n createIntent,\n defineModule,\n definePlugin,\n} from '@dxos/app-framework';\nimport { ClientCapabilities, ClientEvents } from '@dxos/plugin-client';\nimport { MarkdownEvents } from '@dxos/plugin-markdown';\nimport { type CreateObjectIntent } from '@dxos/plugin-space/types';\n\nimport { Blockstore, FileUploader, IntentResolver, Markdown, ReactSurface, WnfsCapabilities } from './capabilities';\nimport { meta } from './meta';\nimport { translations } from './translations';\nimport { WnfsAction, WnfsFile } from './types';\n\nexport const WnfsPlugin = definePlugin(meta, () => [\n defineModule({\n id: `${meta.id}/module/blockstore`,\n activatesOn: ClientEvents.ClientReady,\n activate: Blockstore,\n }),\n defineModule({\n id: `${meta.id}/module/instances`,\n activatesOn: ClientEvents.ClientReady,\n activate: () => {\n const instances: WnfsCapabilities.Instances = {};\n return contributes(WnfsCapabilities.Instances, instances);\n },\n }),\n defineModule({\n id: `${meta.id}/module/translations`,\n activatesOn: Events.SetupTranslations,\n activate: () => contributes(Capabilities.Translations, translations),\n }),\n defineModule({\n id: `${meta.id}/module/metadata`,\n activatesOn: Events.SetupMetadata,\n activate: () =>\n contributes(Capabilities.Metadata, {\n id: WnfsFile.File.typename,\n metadata: {\n // TODO(wittjosiah): Would be nice if icon could change based on the type of the file.\n icon: 'ph--file--regular',\n iconHue: 'teal',\n inputSchema: WnfsAction.UploadFileSchema,\n createObjectIntent: ((props, options) =>\n Function.pipe(\n createIntent(WnfsAction.Upload, { ...props, space: options.space }),\n chain(WnfsAction.Create, {}),\n )) satisfies CreateObjectIntent,\n addToCollectionOnCreate: true,\n },\n }),\n }),\n defineModule({\n id: `${meta.id}/module/schema`,\n activatesOn: ClientEvents.SetupSchema,\n activate: () => contributes(ClientCapabilities.Schema, [WnfsFile.File]),\n }),\n defineModule({\n id: `${meta.id}/module/file-uploader`,\n activatesOn: ClientEvents.ClientReady,\n activate: FileUploader,\n }),\n defineModule({\n id: `${meta.id}/module/markdown`,\n activatesOn: MarkdownEvents.SetupExtensions,\n activate: Markdown,\n }),\n defineModule({\n id: `${meta.id}/module/react-surface`,\n activatesOn: Events.SetupReactSurface,\n activate: ReactSurface,\n }),\n defineModule({\n id: `${meta.id}/module/intent-resolver`,\n activatesOn: Events.SetupIntentResolver,\n activate: IntentResolver,\n }),\n]);\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { type Resource } from '@dxos/react-ui';\n\nimport { meta } from './meta';\nimport { WnfsFile } from './types';\n\nexport const translations = [\n {\n 'en-US': {\n [WnfsFile.File.typename]: {\n 'typename label': 'File',\n 'object name placeholder': 'New file',\n 'rename object label': 'Rename file',\n 'delete object label': 'Delete file',\n 'object deleted label': 'File deleted',\n },\n [meta.id]: {\n 'plugin name': 'Files',\n 'file input placeholder': 'Drop a file here, or click to select a file',\n },\n },\n },\n] as const satisfies Resource[];\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;AAIA,YAAYA,cAAc;AAE1B,SACEC,cACAC,QACAC,OACAC,aACAC,cACAC,cACAC,oBACK;AACP,SAASC,oBAAoBC,oBAAoB;AACjD,SAASC,sBAAsB;;;ACPxB,IAAMC,eAAe;EAC1B;IACE,SAAS;MACP,CAACC,aAASC,KAAKC,QAAQ,GAAG;QACxB,kBAAkB;QAClB,2BAA2B;QAC3B,uBAAuB;QACvB,uBAAuB;QACvB,wBAAwB;MAC1B;MACA,CAACC,KAAKC,EAAE,GAAG;QACT,eAAe;QACf,0BAA0B;MAC5B;IACF;EACF;;;;ADAK,IAAMC,aAAaC,aAAaC,MAAM,MAAM;EACjDC,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaC,aAAaC;IAC1BC,UAAUC;EACZ,CAAA;EACAN,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaC,aAAaC;IAC1BC,UAAU,MAAA;AACR,YAAME,YAAwC,CAAC;AAC/C,aAAOC,YAAYC,iBAAiBC,WAAWH,SAAAA;IACjD;EACF,CAAA;EACAP,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaS,OAAOC;IACpBP,UAAU,MAAMG,YAAYK,aAAaC,cAAcC,YAAAA;EACzD,CAAA;EACAf,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaS,OAAOK;IACpBX,UAAU,MACRG,YAAYK,aAAaI,UAAU;MACjChB,IAAIiB,aAASC,KAAKC;MAClBC,UAAU;;QAERC,MAAM;QACNC,SAAS;QACTC,aAAaC,WAAWC;QACxBC,oBAAqB,CAACC,OAAOC,YAClBC,cACPC,aAAaN,WAAWO,QAAQ;UAAE,GAAGJ;UAAOK,OAAOJ,QAAQI;QAAM,CAAA,GACjEC,MAAMT,WAAWU,QAAQ,CAAC,CAAA,CAAA;QAE9BC,yBAAyB;MAC3B;IACF,CAAA;EACJ,CAAA;EACApC,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaC,aAAakC;IAC1BhC,UAAU,MAAMG,YAAY8B,mBAAmBC,QAAQ;MAACrB,aAASC;KAAK;EACxE,CAAA;EACAnB,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaC,aAAaC;IAC1BC,UAAUmC;EACZ,CAAA;EACAxC,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAauC,eAAeC;IAC5BrC,UAAUsC;EACZ,CAAA;EACA3C,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaS,OAAOiC;IACpBvC,UAAUwC;EACZ,CAAA;EACA7C,aAAa;IACXC,IAAI,GAAGF,KAAKE,EAAE;IACdC,aAAaS,OAAOmC;IACpBzC,UAAU0C;EACZ,CAAA;CACD;",
|
|
6
|
+
"names": ["Function", "Capabilities", "Events", "chain", "contributes", "createIntent", "defineModule", "definePlugin", "ClientCapabilities", "ClientEvents", "MarkdownEvents", "translations", "WnfsFile", "File", "typename", "meta", "id", "WnfsPlugin", "definePlugin", "meta", "defineModule", "id", "activatesOn", "ClientEvents", "ClientReady", "activate", "Blockstore", "instances", "contributes", "WnfsCapabilities", "Instances", "Events", "SetupTranslations", "Capabilities", "Translations", "translations", "SetupMetadata", "Metadata", "WnfsFile", "File", "typename", "metadata", "icon", "iconHue", "inputSchema", "WnfsAction", "UploadFileSchema", "createObjectIntent", "props", "options", "pipe", "createIntent", "Upload", "space", "chain", "Create", "addToCollectionOnCreate", "SetupSchema", "ClientCapabilities", "Schema", "FileUploader", "MarkdownEvents", "SetupExtensions", "Markdown", "SetupReactSurface", "ReactSurface", "SetupIntentResolver", "IntentResolver"]
|
|
7
7
|
}
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
File_exports,
|
|
9
9
|
WnfsAction
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-234GILVK.mjs";
|
|
11
11
|
import "./chunk-OGPGLJCV.mjs";
|
|
12
12
|
|
|
13
13
|
// src/capabilities/intent-resolver.ts
|
|
@@ -45,4 +45,4 @@ var intent_resolver_default = ((context) => contributes(Capabilities.IntentResol
|
|
|
45
45
|
export {
|
|
46
46
|
intent_resolver_default as default
|
|
47
47
|
};
|
|
48
|
-
//# sourceMappingURL=intent-resolver-
|
|
48
|
+
//# sourceMappingURL=intent-resolver-246R4ETC.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/meta.ts":{"bytes":1786,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/capabilities/capabilities.ts":{"bytes":1913,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/helpers/common.ts":{"bytes":7602,"imports":[{"path":"multiformats/cid","kind":"import-statement","external":true},{"path":"multiformats/hashes/sha2","kind":"import-statement","external":true},{"path":"@dxos/crypto","kind":"import-statement","external":true}],"format":"esm"},"src/helpers/load.ts":{"bytes":8924,"imports":[{"path":"multiformats","kind":"import-statement","external":true},{"path":"uint8arrays","kind":"import-statement","external":true},{"path":"wnfs","kind":"import-statement","external":true},{"path":"src/helpers/common.ts","kind":"import-statement","original":"./common"}],"format":"esm"},"src/helpers/wnfs-url.ts":{"bytes":3325,"imports":[{"path":"src/helpers/common.ts","kind":"import-statement","original":"./common"}],"format":"esm"},"src/helpers/upload.ts":{"bytes":6683,"imports":[{"path":"multiformats","kind":"import-statement","external":true},{"path":"multiformats/codecs/raw","kind":"import-statement","external":true},{"path":"multiformats/hashes/sha2","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"src/helpers/common.ts","kind":"import-statement","original":"./common"},{"path":"src/helpers/load.ts","kind":"import-statement","original":"./load"},{"path":"src/helpers/wnfs-url.ts","kind":"import-statement","original":"./wnfs-url"}],"format":"esm"},"src/helpers/index.ts":{"bytes":711,"imports":[{"path":"src/helpers/common.ts","kind":"import-statement","original":"./common"},{"path":"src/helpers/load.ts","kind":"import-statement","original":"./load"},{"path":"src/helpers/upload.ts","kind":"import-statement","original":"./upload"},{"path":"src/helpers/wnfs-url.ts","kind":"import-statement","original":"./wnfs-url"}],"format":"esm"},"src/blockstore.ts":{"bytes":19319,"imports":[{"path":"@ipld/car","kind":"import-statement","external":true},{"path":"blockstore-core","kind":"import-statement","external":true},{"path":"blockstore-idb","kind":"import-statement","external":true},{"path":"debounce","kind":"import-statement","external":true},{"path":"idb-keyval","kind":"import-statement","external":true},{"path":"it-all","kind":"import-statement","external":true},{"path":"multiformats","kind":"import-statement","external":true},{"path":"uint8arrays","kind":"import-statement","external":true},{"path":"src/helpers/index.ts","kind":"import-statement","original":"./helpers"}],"format":"esm"},"src/capabilities/blockstore.ts":{"bytes":2517,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"src/blockstore.ts","kind":"import-statement","original":"../blockstore"},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/types/File.ts":{"bytes":2658,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true}],"format":"esm"},"src/types/types.ts":{"bytes":4928,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types/File.ts","kind":"import-statement","original":"./File"}],"format":"esm"},"src/types/index.ts":{"bytes":598,"imports":[{"path":"src/types/File.ts","kind":"import-statement","original":"./File"},{"path":"src/types/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/capabilities/file-uploader.ts":{"bytes":3579,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/capabilities/intent-resolver.ts":{"bytes":4315,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/helpers/index.ts","kind":"import-statement","original":"../helpers"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/extensions/image.tsx":{"bytes":21111,"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-dom/client","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"src/helpers/index.ts","kind":"import-statement","original":"../helpers"}],"format":"esm"},"src/extensions/index.ts":{"bytes":459,"imports":[{"path":"src/extensions/image.tsx","kind":"import-statement","original":"./image"}],"format":"esm"},"src/capabilities/markdown.ts":{"bytes":3121,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"src/extensions/index.ts","kind":"import-statement","original":"../extensions"},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/components/FileInput.tsx":{"bytes":5193,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-dropzone","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/components/FilePreview.tsx":{"bytes":3110,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/components/FileContainer.tsx":{"bytes":6043,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"../capabilities"},{"path":"src/helpers/index.ts","kind":"import-statement","original":"../helpers"},{"path":"src/components/FilePreview.tsx","kind":"import-statement","original":"./FilePreview"}],"format":"esm"},"src/components/index.ts":{"bytes":839,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/components/FileInput.tsx","kind":"import-statement","original":"./FileInput"},{"path":"src/components/FileContainer.tsx","kind":"dynamic-import","original":"./FileContainer"}],"format":"esm"},"src/capabilities/react-surface.tsx":{"bytes":5951,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/capabilities/index.ts":{"bytes":1819,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/capabilities/blockstore.ts","kind":"dynamic-import","original":"./blockstore"},{"path":"src/capabilities/file-uploader.ts","kind":"dynamic-import","original":"./file-uploader"},{"path":"src/capabilities/intent-resolver.ts","kind":"dynamic-import","original":"./intent-resolver"},{"path":"src/capabilities/markdown.ts","kind":"dynamic-import","original":"./markdown"},{"path":"src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"}],"format":"esm"},"src/translations.ts":{"bytes":2306,"imports":[{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/WnfsPlugin.tsx":{"bytes":10779,"imports":[{"path":"effect/Function","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/index.ts":{"bytes":724,"imports":[{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/WnfsPlugin.tsx","kind":"import-statement","original":"./WnfsPlugin"}],"format":"esm"}},"outputs":{"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":6266},"dist/lib/browser/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-ZFPJA5F4.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-F4QHZWQD.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-CWMKN2F6.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-OGPGLJCV.mjs","kind":"import-statement"},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true}],"exports":["WnfsCapabilities","WnfsPlugin","meta"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0},"src/WnfsPlugin.tsx":{"bytesInOutput":2360},"src/translations.ts":{"bytesInOutput":452}},"bytes":3260},"dist/lib/browser/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/types/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-CWMKN2F6.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-OGPGLJCV.mjs","kind":"import-statement"}],"exports":["WnfsAction","WnfsFile"],"entryPoint":"src/types/index.ts","inputs":{},"bytes":190},"dist/lib/browser/blockstore-2JFU4NBU.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":10792},"dist/lib/browser/blockstore-2JFU4NBU.mjs":{"imports":[{"path":"dist/lib/browser/chunk-D6VTEQIE.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-F4QHZWQD.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-OGPGLJCV.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@ipld/car","kind":"import-statement","external":true},{"path":"blockstore-core","kind":"import-statement","external":true},{"path":"blockstore-idb","kind":"import-statement","external":true},{"path":"debounce","kind":"import-statement","external":true},{"path":"idb-keyval","kind":"import-statement","external":true},{"path":"it-all","kind":"import-statement","external":true},{"path":"multiformats","kind":"import-statement","external":true},{"path":"uint8arrays","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/blockstore.ts","inputs":{"src/capabilities/blockstore.ts":{"bytesInOutput":451},"src/blockstore.ts":{"bytesInOutput":4264}},"bytes":5042},"dist/lib/browser/file-uploader-W6TJLAAK.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1901},"dist/lib/browser/file-uploader-W6TJLAAK.mjs":{"imports":[{"path":"dist/lib/browser/chunk-CWMKN2F6.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-OGPGLJCV.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/file-uploader.ts","inputs":{"src/capabilities/file-uploader.ts":{"bytesInOutput":800}},"bytes":1021},"dist/lib/browser/intent-resolver-FSW2EQF4.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2021},"dist/lib/browser/intent-resolver-FSW2EQF4.mjs":{"imports":[{"path":"dist/lib/browser/chunk-D6VTEQIE.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-F4QHZWQD.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-CWMKN2F6.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-OGPGLJCV.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/intent-resolver.ts","inputs":{"src/capabilities/intent-resolver.ts":{"bytesInOutput":885}},"bytes":1236},"dist/lib/browser/markdown-WYQDCVFQ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":12426},"dist/lib/browser/markdown-WYQDCVFQ.mjs":{"imports":[{"path":"dist/lib/browser/chunk-D6VTEQIE.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-F4QHZWQD.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-OGPGLJCV.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-dom/client","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/markdown.ts","inputs":{"src/capabilities/markdown.ts":{"bytesInOutput":645},"src/extensions/image.tsx":{"bytesInOutput":4806},"src/extensions/index.ts":{"bytesInOutput":0}},"bytes":5808},"dist/lib/browser/FileContainer-LLNI7WXR.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4312},"dist/lib/browser/FileContainer-LLNI7WXR.mjs":{"imports":[{"path":"dist/lib/browser/chunk-ZFPJA5F4.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-D6VTEQIE.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-F4QHZWQD.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-OGPGLJCV.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"exports":["FileContainer","default"],"entryPoint":"src/components/FileContainer.tsx","inputs":{"src/components/FileContainer.tsx":{"bytesInOutput":1642},"src/components/FilePreview.tsx":{"bytesInOutput":869}},"bytes":2945},"dist/lib/browser/chunk-ZFPJA5F4.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":909},"dist/lib/browser/chunk-ZFPJA5F4.mjs":{"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/blockstore-2JFU4NBU.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/file-uploader-W6TJLAAK.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/intent-resolver-FSW2EQF4.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/markdown-WYQDCVFQ.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/react-surface-DMU47U3X.mjs","kind":"dynamic-import"}],"exports":["Blockstore","FileUploader","IntentResolver","Markdown","ReactSurface"],"inputs":{"src/capabilities/index.ts":{"bytesInOutput":389}},"bytes":550},"dist/lib/browser/chunk-D6VTEQIE.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":13387},"dist/lib/browser/chunk-D6VTEQIE.mjs":{"imports":[{"path":"multiformats/cid","kind":"import-statement","external":true},{"path":"multiformats/hashes/sha2","kind":"import-statement","external":true},{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"multiformats","kind":"import-statement","external":true},{"path":"uint8arrays","kind":"import-statement","external":true},{"path":"wnfs","kind":"import-statement","external":true},{"path":"multiformats","kind":"import-statement","external":true},{"path":"multiformats/codecs/raw","kind":"import-statement","external":true},{"path":"multiformats/hashes/sha2","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"exports":["filePath","getBlobUrl","getPathFromUrl","loadWnfs","storeName","upload","wnfsUrl"],"inputs":{"src/helpers/common.ts":{"bytesInOutput":1077},"src/helpers/load.ts":{"bytesInOutput":1918},"src/helpers/wnfs-url.ts":{"bytesInOutput":567},"src/helpers/upload.ts":{"bytesInOutput":1268},"src/helpers/index.ts":{"bytesInOutput":0}},"bytes":5079},"dist/lib/browser/chunk-F4QHZWQD.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1034},"dist/lib/browser/chunk-F4QHZWQD.mjs":{"imports":[{"path":"dist/lib/browser/chunk-OGPGLJCV.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["WnfsCapabilities"],"inputs":{"src/capabilities/capabilities.ts":{"bytesInOutput":330}},"bytes":490},"dist/lib/browser/react-surface-DMU47U3X.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5941},"dist/lib/browser/react-surface-DMU47U3X.mjs":{"imports":[{"path":"dist/lib/browser/chunk-CWMKN2F6.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-OGPGLJCV.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-dropzone","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"dist/lib/browser/FileContainer-LLNI7WXR.mjs","kind":"dynamic-import"}],"exports":["default"],"entryPoint":"src/capabilities/react-surface.tsx","inputs":{"src/capabilities/react-surface.tsx":{"bytesInOutput":1246},"src/components/index.ts":{"bytesInOutput":102},"src/components/FileInput.tsx":{"bytesInOutput":1319}},"bytes":3049},"dist/lib/browser/chunk-CWMKN2F6.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3736},"dist/lib/browser/chunk-CWMKN2F6.mjs":{"imports":[{"path":"dist/lib/browser/chunk-OGPGLJCV.mjs","kind":"import-statement"},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["File_exports","WnfsAction"],"inputs":{"src/types/File.ts":{"bytesInOutput":605},"src/types/index.ts":{"bytesInOutput":0},"src/types/types.ts":{"bytesInOutput":1179}},"bytes":1974},"dist/lib/browser/chunk-OGPGLJCV.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":866},"dist/lib/browser/chunk-OGPGLJCV.mjs":{"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["__export","meta"],"inputs":{"src/meta.ts":{"bytesInOutput":423}},"bytes":682}}}
|
|
1
|
+
{"inputs":{"src/meta.ts":{"bytes":1786,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/capabilities/capabilities.ts":{"bytes":1913,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/helpers/common.ts":{"bytes":7602,"imports":[{"path":"multiformats/cid","kind":"import-statement","external":true},{"path":"multiformats/hashes/sha2","kind":"import-statement","external":true},{"path":"@dxos/crypto","kind":"import-statement","external":true}],"format":"esm"},"src/helpers/load.ts":{"bytes":8924,"imports":[{"path":"multiformats","kind":"import-statement","external":true},{"path":"uint8arrays","kind":"import-statement","external":true},{"path":"wnfs","kind":"import-statement","external":true},{"path":"src/helpers/common.ts","kind":"import-statement","original":"./common"}],"format":"esm"},"src/helpers/wnfs-url.ts":{"bytes":3325,"imports":[{"path":"src/helpers/common.ts","kind":"import-statement","original":"./common"}],"format":"esm"},"src/helpers/upload.ts":{"bytes":6683,"imports":[{"path":"multiformats","kind":"import-statement","external":true},{"path":"multiformats/codecs/raw","kind":"import-statement","external":true},{"path":"multiformats/hashes/sha2","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"src/helpers/common.ts","kind":"import-statement","original":"./common"},{"path":"src/helpers/load.ts","kind":"import-statement","original":"./load"},{"path":"src/helpers/wnfs-url.ts","kind":"import-statement","original":"./wnfs-url"}],"format":"esm"},"src/helpers/index.ts":{"bytes":711,"imports":[{"path":"src/helpers/common.ts","kind":"import-statement","original":"./common"},{"path":"src/helpers/load.ts","kind":"import-statement","original":"./load"},{"path":"src/helpers/upload.ts","kind":"import-statement","original":"./upload"},{"path":"src/helpers/wnfs-url.ts","kind":"import-statement","original":"./wnfs-url"}],"format":"esm"},"src/blockstore.ts":{"bytes":19319,"imports":[{"path":"@ipld/car","kind":"import-statement","external":true},{"path":"blockstore-core","kind":"import-statement","external":true},{"path":"blockstore-idb","kind":"import-statement","external":true},{"path":"debounce","kind":"import-statement","external":true},{"path":"idb-keyval","kind":"import-statement","external":true},{"path":"it-all","kind":"import-statement","external":true},{"path":"multiformats","kind":"import-statement","external":true},{"path":"uint8arrays","kind":"import-statement","external":true},{"path":"src/helpers/index.ts","kind":"import-statement","original":"./helpers"}],"format":"esm"},"src/capabilities/blockstore.ts":{"bytes":2517,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"src/blockstore.ts","kind":"import-statement","original":"../blockstore"},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/types/File.ts":{"bytes":2722,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true}],"format":"esm"},"src/types/types.ts":{"bytes":4928,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types/File.ts","kind":"import-statement","original":"./File"}],"format":"esm"},"src/types/index.ts":{"bytes":598,"imports":[{"path":"src/types/File.ts","kind":"import-statement","original":"./File"},{"path":"src/types/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/capabilities/file-uploader.ts":{"bytes":3579,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/capabilities/intent-resolver.ts":{"bytes":4315,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/helpers/index.ts","kind":"import-statement","original":"../helpers"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/extensions/image.tsx":{"bytes":21111,"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-dom/client","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"src/helpers/index.ts","kind":"import-statement","original":"../helpers"}],"format":"esm"},"src/extensions/index.ts":{"bytes":459,"imports":[{"path":"src/extensions/image.tsx","kind":"import-statement","original":"./image"}],"format":"esm"},"src/capabilities/markdown.ts":{"bytes":3121,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"src/extensions/index.ts","kind":"import-statement","original":"../extensions"},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/components/FileInput.tsx":{"bytes":5193,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-dropzone","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/components/FilePreview.tsx":{"bytes":3110,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/components/FileContainer.tsx":{"bytes":6043,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"../capabilities"},{"path":"src/helpers/index.ts","kind":"import-statement","original":"../helpers"},{"path":"src/components/FilePreview.tsx","kind":"import-statement","original":"./FilePreview"}],"format":"esm"},"src/components/index.ts":{"bytes":839,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/components/FileInput.tsx","kind":"import-statement","original":"./FileInput"},{"path":"src/components/FileContainer.tsx","kind":"dynamic-import","original":"./FileContainer"}],"format":"esm"},"src/capabilities/react-surface.tsx":{"bytes":5951,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/capabilities/index.ts":{"bytes":1819,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/capabilities/blockstore.ts","kind":"dynamic-import","original":"./blockstore"},{"path":"src/capabilities/file-uploader.ts","kind":"dynamic-import","original":"./file-uploader"},{"path":"src/capabilities/intent-resolver.ts","kind":"dynamic-import","original":"./intent-resolver"},{"path":"src/capabilities/markdown.ts","kind":"dynamic-import","original":"./markdown"},{"path":"src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"}],"format":"esm"},"src/translations.ts":{"bytes":2325,"imports":[{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/WnfsPlugin.tsx":{"bytes":10587,"imports":[{"path":"effect/Function","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/index.ts":{"bytes":724,"imports":[{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/WnfsPlugin.tsx","kind":"import-statement","original":"./WnfsPlugin"}],"format":"esm"}},"outputs":{"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":6170},"dist/lib/browser/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-IVUX2QXX.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-F4QHZWQD.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-234GILVK.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-OGPGLJCV.mjs","kind":"import-statement"},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","kind":"import-statement","external":true}],"exports":["WnfsCapabilities","WnfsPlugin","meta"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0},"src/WnfsPlugin.tsx":{"bytesInOutput":2282},"src/translations.ts":{"bytesInOutput":459}},"bytes":3189},"dist/lib/browser/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/types/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-234GILVK.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-OGPGLJCV.mjs","kind":"import-statement"}],"exports":["WnfsAction","WnfsFile"],"entryPoint":"src/types/index.ts","inputs":{},"bytes":190},"dist/lib/browser/blockstore-2JFU4NBU.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":10792},"dist/lib/browser/blockstore-2JFU4NBU.mjs":{"imports":[{"path":"dist/lib/browser/chunk-D6VTEQIE.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-F4QHZWQD.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-OGPGLJCV.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@ipld/car","kind":"import-statement","external":true},{"path":"blockstore-core","kind":"import-statement","external":true},{"path":"blockstore-idb","kind":"import-statement","external":true},{"path":"debounce","kind":"import-statement","external":true},{"path":"idb-keyval","kind":"import-statement","external":true},{"path":"it-all","kind":"import-statement","external":true},{"path":"multiformats","kind":"import-statement","external":true},{"path":"uint8arrays","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/blockstore.ts","inputs":{"src/capabilities/blockstore.ts":{"bytesInOutput":451},"src/blockstore.ts":{"bytesInOutput":4264}},"bytes":5042},"dist/lib/browser/file-uploader-APZNBT66.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1901},"dist/lib/browser/file-uploader-APZNBT66.mjs":{"imports":[{"path":"dist/lib/browser/chunk-234GILVK.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-OGPGLJCV.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/file-uploader.ts","inputs":{"src/capabilities/file-uploader.ts":{"bytesInOutput":800}},"bytes":1021},"dist/lib/browser/intent-resolver-246R4ETC.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2021},"dist/lib/browser/intent-resolver-246R4ETC.mjs":{"imports":[{"path":"dist/lib/browser/chunk-D6VTEQIE.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-F4QHZWQD.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-234GILVK.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-OGPGLJCV.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/intent-resolver.ts","inputs":{"src/capabilities/intent-resolver.ts":{"bytesInOutput":885}},"bytes":1236},"dist/lib/browser/markdown-WYQDCVFQ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":12426},"dist/lib/browser/markdown-WYQDCVFQ.mjs":{"imports":[{"path":"dist/lib/browser/chunk-D6VTEQIE.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-F4QHZWQD.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-OGPGLJCV.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@codemirror/state","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-dom/client","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/markdown.ts","inputs":{"src/capabilities/markdown.ts":{"bytesInOutput":645},"src/extensions/image.tsx":{"bytesInOutput":4806},"src/extensions/index.ts":{"bytesInOutput":0}},"bytes":5808},"dist/lib/browser/FileContainer-6JIJX7SN.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4312},"dist/lib/browser/FileContainer-6JIJX7SN.mjs":{"imports":[{"path":"dist/lib/browser/chunk-IVUX2QXX.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-D6VTEQIE.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-F4QHZWQD.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-OGPGLJCV.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"exports":["FileContainer","default"],"entryPoint":"src/components/FileContainer.tsx","inputs":{"src/components/FileContainer.tsx":{"bytesInOutput":1642},"src/components/FilePreview.tsx":{"bytesInOutput":869}},"bytes":2945},"dist/lib/browser/chunk-IVUX2QXX.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":909},"dist/lib/browser/chunk-IVUX2QXX.mjs":{"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/blockstore-2JFU4NBU.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/file-uploader-APZNBT66.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/intent-resolver-246R4ETC.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/markdown-WYQDCVFQ.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/react-surface-CGF34KPI.mjs","kind":"dynamic-import"}],"exports":["Blockstore","FileUploader","IntentResolver","Markdown","ReactSurface"],"inputs":{"src/capabilities/index.ts":{"bytesInOutput":389}},"bytes":550},"dist/lib/browser/chunk-D6VTEQIE.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":13387},"dist/lib/browser/chunk-D6VTEQIE.mjs":{"imports":[{"path":"multiformats/cid","kind":"import-statement","external":true},{"path":"multiformats/hashes/sha2","kind":"import-statement","external":true},{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"multiformats","kind":"import-statement","external":true},{"path":"uint8arrays","kind":"import-statement","external":true},{"path":"wnfs","kind":"import-statement","external":true},{"path":"multiformats","kind":"import-statement","external":true},{"path":"multiformats/codecs/raw","kind":"import-statement","external":true},{"path":"multiformats/hashes/sha2","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"exports":["filePath","getBlobUrl","getPathFromUrl","loadWnfs","storeName","upload","wnfsUrl"],"inputs":{"src/helpers/common.ts":{"bytesInOutput":1077},"src/helpers/load.ts":{"bytesInOutput":1918},"src/helpers/wnfs-url.ts":{"bytesInOutput":567},"src/helpers/upload.ts":{"bytesInOutput":1268},"src/helpers/index.ts":{"bytesInOutput":0}},"bytes":5079},"dist/lib/browser/chunk-F4QHZWQD.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1034},"dist/lib/browser/chunk-F4QHZWQD.mjs":{"imports":[{"path":"dist/lib/browser/chunk-OGPGLJCV.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["WnfsCapabilities"],"inputs":{"src/capabilities/capabilities.ts":{"bytesInOutput":330}},"bytes":490},"dist/lib/browser/react-surface-CGF34KPI.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5941},"dist/lib/browser/react-surface-CGF34KPI.mjs":{"imports":[{"path":"dist/lib/browser/chunk-234GILVK.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-OGPGLJCV.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-dropzone","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"dist/lib/browser/FileContainer-6JIJX7SN.mjs","kind":"dynamic-import"}],"exports":["default"],"entryPoint":"src/capabilities/react-surface.tsx","inputs":{"src/capabilities/react-surface.tsx":{"bytesInOutput":1246},"src/components/index.ts":{"bytesInOutput":102},"src/components/FileInput.tsx":{"bytesInOutput":1319}},"bytes":3049},"dist/lib/browser/chunk-234GILVK.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3772},"dist/lib/browser/chunk-234GILVK.mjs":{"imports":[{"path":"dist/lib/browser/chunk-OGPGLJCV.mjs","kind":"import-statement"},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["File_exports","WnfsAction"],"inputs":{"src/types/File.ts":{"bytesInOutput":625},"src/types/index.ts":{"bytesInOutput":0},"src/types/types.ts":{"bytesInOutput":1179}},"bytes":1994},"dist/lib/browser/chunk-OGPGLJCV.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":866},"dist/lib/browser/chunk-OGPGLJCV.mjs":{"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["__export","meta"],"inputs":{"src/meta.ts":{"bytesInOutput":423}},"bytes":682}}}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
File_exports,
|
|
3
3
|
WnfsAction
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-234GILVK.mjs";
|
|
5
5
|
import {
|
|
6
6
|
meta
|
|
7
7
|
} from "./chunk-OGPGLJCV.mjs";
|
|
@@ -45,7 +45,7 @@ var FileInput = ({ schema, onChange }) => {
|
|
|
45
45
|
};
|
|
46
46
|
|
|
47
47
|
// src/components/index.ts
|
|
48
|
-
var FileContainer = lazy(() => import("./FileContainer-
|
|
48
|
+
var FileContainer = lazy(() => import("./FileContainer-6JIJX7SN.mjs"));
|
|
49
49
|
|
|
50
50
|
// src/capabilities/react-surface.tsx
|
|
51
51
|
var react_surface_default = (() => contributes(Capabilities.ReactSurface, [
|
|
@@ -85,4 +85,4 @@ var react_surface_default = (() => contributes(Capabilities.ReactSurface, [
|
|
|
85
85
|
export {
|
|
86
86
|
react_surface_default as default
|
|
87
87
|
};
|
|
88
|
-
//# sourceMappingURL=react-surface-
|
|
88
|
+
//# sourceMappingURL=react-surface-CGF34KPI.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WnfsPlugin.d.ts","sourceRoot":"","sources":["../../../src/WnfsPlugin.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"WnfsPlugin.d.ts","sourceRoot":"","sources":["../../../src/WnfsPlugin.tsx"],"names":[],"mappings":"AAwBA,eAAO,MAAM,UAAU,mDAgErB,CAAC"}
|
|
@@ -7,10 +7,10 @@ export declare const translations: [{
|
|
|
7
7
|
readonly 'object name placeholder': "New file";
|
|
8
8
|
readonly 'rename object label': "Rename file";
|
|
9
9
|
readonly 'delete object label': "Delete file";
|
|
10
|
+
readonly 'object deleted label': "File deleted";
|
|
10
11
|
};
|
|
11
12
|
readonly [meta.id]: {
|
|
12
13
|
readonly 'plugin name': "Files";
|
|
13
|
-
readonly 'delete object label': "Delete";
|
|
14
14
|
readonly 'file input placeholder': "Drop a file here, or click to select a file";
|
|
15
15
|
};
|
|
16
16
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEnC,eAAO,MAAM,YAAY;;QAGnB,SAAA,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC
|
|
1
|
+
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEnC,eAAO,MAAM,YAAY;;QAGnB,SAAA,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC;;;;;;UAMvB;QACD,SAAA,CAAC,IAAI,CAAC,EAAE,CAAC;;;UAGR;;EAGwB,CAAC"}
|
|
@@ -7,7 +7,7 @@ export declare const File: Type.obj<Schema.Struct<{
|
|
|
7
7
|
timestamp: Schema.optional<typeof Schema.String>;
|
|
8
8
|
}>>;
|
|
9
9
|
export type File = Schema.Schema.Type<typeof File>;
|
|
10
|
-
export declare const make: (props: Obj.MakeProps<typeof File>) => import("@dxos/
|
|
10
|
+
export declare const make: (props: Obj.MakeProps<typeof File>) => Obj.Obj<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
11
11
|
name?: string | undefined;
|
|
12
12
|
type: string;
|
|
13
13
|
cid: string;
|