@dxos/plugin-template 0.9.1-staging.ee54ba693a → 0.11.0

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.
Files changed (52) hide show
  1. package/dist/lib/TemplatePlugin.mjs +12 -0
  2. package/dist/lib/TemplatePlugin.mjs.map +1 -0
  3. package/dist/lib/capabilities.mjs +8 -0
  4. package/dist/lib/capabilities.mjs.map +1 -0
  5. package/dist/lib/chunk-create-object.mjs +24 -0
  6. package/dist/lib/chunk-create-object.mjs.map +1 -0
  7. package/dist/lib/chunk-meta.mjs +26 -0
  8. package/dist/lib/chunk-meta.mjs.map +1 -0
  9. package/dist/lib/{neutral/react-surface-SYA2674P.mjs → chunk-react-surface.mjs} +15 -15
  10. package/dist/lib/chunk-react-surface.mjs.map +1 -0
  11. package/dist/lib/components.mjs +16 -0
  12. package/dist/lib/components.mjs.map +1 -0
  13. package/dist/lib/index.mjs +3 -0
  14. package/dist/lib/meta.mjs +2 -0
  15. package/dist/lib/plugin.mjs +8 -0
  16. package/dist/lib/plugin.mjs.map +1 -0
  17. package/dist/lib/translations.mjs +22 -0
  18. package/dist/lib/translations.mjs.map +1 -0
  19. package/dist/lib/types.mjs +16 -0
  20. package/dist/lib/types.mjs.map +1 -0
  21. package/dist/types/src/capabilities/create-object.d.ts +1 -1
  22. package/dist/types/src/capabilities/react-surface.d.ts +1 -1
  23. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
  24. package/dist/types/tsconfig.tsbuildinfo +1 -1
  25. package/dx.config.ts +1 -0
  26. package/package.json +25 -25
  27. package/src/capabilities/{react-surface.tsx → react-surface.ts} +2 -4
  28. package/src/components/TemplatePanel/TemplatePanel.tsx +1 -1
  29. package/dist/lib/neutral/TemplatePlugin.mjs +0 -24
  30. package/dist/lib/neutral/TemplatePlugin.mjs.map +0 -7
  31. package/dist/lib/neutral/capabilities/index.mjs +0 -9
  32. package/dist/lib/neutral/capabilities/index.mjs.map +0 -7
  33. package/dist/lib/neutral/chunk-4LTYW26S.mjs +0 -30
  34. package/dist/lib/neutral/chunk-4LTYW26S.mjs.map +0 -7
  35. package/dist/lib/neutral/chunk-NZ3DSXJY.mjs +0 -20
  36. package/dist/lib/neutral/chunk-NZ3DSXJY.mjs.map +0 -7
  37. package/dist/lib/neutral/components/index.mjs +0 -14
  38. package/dist/lib/neutral/components/index.mjs.map +0 -7
  39. package/dist/lib/neutral/create-object-2ARJFAMW.mjs +0 -25
  40. package/dist/lib/neutral/create-object-2ARJFAMW.mjs.map +0 -7
  41. package/dist/lib/neutral/index.mjs +0 -11
  42. package/dist/lib/neutral/index.mjs.map +0 -7
  43. package/dist/lib/neutral/meta.json +0 -1
  44. package/dist/lib/neutral/meta.mjs +0 -7
  45. package/dist/lib/neutral/meta.mjs.map +0 -7
  46. package/dist/lib/neutral/plugin.mjs +0 -11
  47. package/dist/lib/neutral/plugin.mjs.map +0 -7
  48. package/dist/lib/neutral/react-surface-SYA2674P.mjs.map +0 -7
  49. package/dist/lib/neutral/translations.mjs +0 -28
  50. package/dist/lib/neutral/translations.mjs.map +0 -7
  51. package/dist/lib/neutral/types/index.mjs +0 -7
  52. package/dist/lib/neutral/types/index.mjs.map +0 -7
@@ -0,0 +1,12 @@
1
+ import { Plugin } from "@dxos/app-framework";
2
+ import { AppPlugin } from "@dxos/app-toolkit";
3
+ import { CreateObject, ReactSurface } from "#capabilities";
4
+ import { meta } from "#meta";
5
+ import { translations } from "#translations";
6
+ import { Template } from "#types";
7
+ //#region src/TemplatePlugin.tsx
8
+ var TemplatePlugin = Plugin.define(meta).pipe(AppPlugin.addCreateObjectModule({ activate: CreateObject }), AppPlugin.addSchemaModule({ schema: [Template.Data] }), AppPlugin.addSurfaceModule({ activate: ReactSurface }), AppPlugin.addTranslationsModule({ translations }), Plugin.make);
9
+ //#endregion
10
+ export { TemplatePlugin, TemplatePlugin as default };
11
+
12
+ //# sourceMappingURL=TemplatePlugin.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TemplatePlugin.mjs","names":[],"sources":["../../src/TemplatePlugin.tsx"],"sourcesContent":["//\n// Copyright 2023 DXOS.org\n//\n\nimport { Plugin } from '@dxos/app-framework';\nimport { AppPlugin } from '@dxos/app-toolkit';\n\nimport { CreateObject, ReactSurface } from '#capabilities';\nimport { meta } from '#meta';\nimport { translations } from '#translations';\nimport { Template } from '#types';\n\nexport const TemplatePlugin = Plugin.define(meta).pipe(\n AppPlugin.addCreateObjectModule({ activate: CreateObject }),\n AppPlugin.addSchemaModule({ schema: [Template.Data] }),\n AppPlugin.addSurfaceModule({ activate: ReactSurface }),\n AppPlugin.addTranslationsModule({ translations }),\n Plugin.make,\n);\n\nexport default TemplatePlugin;\n"],"mappings":";;;;;;;AAYA,IAAa,iBAAiB,OAAO,OAAO,IAAI,CAAC,CAAC,KAChD,UAAU,sBAAsB,EAAE,UAAU,aAAa,CAAC,GAC1D,UAAU,gBAAgB,EAAE,QAAQ,CAAC,SAAS,IAAI,EAAE,CAAC,GACrD,UAAU,iBAAiB,EAAE,UAAU,aAAa,CAAC,GACrD,UAAU,sBAAsB,EAAE,aAAa,CAAC,GAChD,OAAO,IACT"}
@@ -0,0 +1,8 @@
1
+ import { Capability } from "@dxos/app-framework";
2
+ //#region src/capabilities/index.ts
3
+ var CreateObject = Capability.lazy("CreateObject", () => import("./chunk-create-object.mjs"));
4
+ var ReactSurface = Capability.lazy("ReactSurface", () => import("./chunk-react-surface.mjs"));
5
+ //#endregion
6
+ export { CreateObject, ReactSurface };
7
+
8
+ //# sourceMappingURL=capabilities.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"capabilities.mjs","names":[],"sources":["../../src/capabilities/index.ts"],"sourcesContent":["//\n// Copyright 2025 DXOS.org\n//\n\nimport { Capability } from '@dxos/app-framework';\n\nexport const CreateObject = Capability.lazy('CreateObject', () => import('./create-object'));\nexport const ReactSurface = Capability.lazy('ReactSurface', () => import('./react-surface'));\n"],"mappings":";;AAMA,IAAa,eAAe,WAAW,KAAK,sBAAsB,OAAO,4BAAkB;AAC3F,IAAa,eAAe,WAAW,KAAK,sBAAsB,OAAO,4BAAkB"}
@@ -0,0 +1,24 @@
1
+ import { Capability } from "@dxos/app-framework";
2
+ import { Type } from "@dxos/echo";
3
+ import { Template } from "#types";
4
+ import * as Effect from "effect/Effect";
5
+ import { Operation } from "@dxos/compute";
6
+ import { SpaceCapabilities, SpaceOperation } from "@dxos/plugin-space";
7
+ //#region src/capabilities/create-object.ts
8
+ var create_object_default = Capability.makeModule(Effect.fnUntraced(function* () {
9
+ return Capability.contributes(SpaceCapabilities.CreateObjectEntry, {
10
+ id: Type.getTypename(Template.Data),
11
+ createObject: (props, options) => Effect.gen(function* () {
12
+ const object = Template.make(props);
13
+ return yield* Operation.invoke(SpaceOperation.AddObject, {
14
+ object,
15
+ target: options.target,
16
+ targetNodeId: options.targetNodeId
17
+ });
18
+ })
19
+ });
20
+ }));
21
+ //#endregion
22
+ export { create_object_default as default };
23
+
24
+ //# sourceMappingURL=chunk-create-object.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chunk-create-object.mjs","names":[],"sources":["../../src/capabilities/create-object.ts"],"sourcesContent":["//\n// Copyright 2023 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capability } from '@dxos/app-framework';\nimport { Operation } from '@dxos/compute';\nimport { Type } from '@dxos/echo';\nimport { SpaceOperation } from '@dxos/plugin-space';\nimport { SpaceCapabilities } from '@dxos/plugin-space';\n\nimport { Template } from '#types';\n\nexport default Capability.makeModule(\n Effect.fnUntraced(function* () {\n return Capability.contributes(SpaceCapabilities.CreateObjectEntry, {\n id: Type.getTypename(Template.Data),\n createObject: (props, options) =>\n Effect.gen(function* () {\n const object = Template.make(props);\n return yield* Operation.invoke(SpaceOperation.AddObject, {\n object,\n target: options.target,\n targetNodeId: options.targetNodeId,\n });\n }),\n });\n }),\n);\n"],"mappings":";;;;;;;AAcA,IAAA,wBAAe,WAAW,WACxB,OAAO,WAAW,aAAa;CAC7B,OAAO,WAAW,YAAY,kBAAkB,mBAAmB;EACjE,IAAI,KAAK,YAAY,SAAS,IAAI;EAClC,eAAe,OAAO,YACpB,OAAO,IAAI,aAAa;GACtB,MAAM,SAAS,SAAS,KAAK,KAAK;GAClC,OAAO,OAAO,UAAU,OAAO,eAAe,WAAW;IACvD;IACA,QAAQ,QAAQ;IAChB,cAAc,QAAQ;GACxB,CAAC;EACH,CAAC;CACL,CAAC;AACH,CAAC,CACH"}
@@ -0,0 +1,26 @@
1
+ import { Plugin } from "@dxos/app-framework";
2
+ import { Config2 } from "@dxos/app-framework/config";
3
+ import { trim } from "@dxos/util";
4
+ //#region dx.config.ts
5
+ var dx_config_default = Config2.make({ plugin: {
6
+ key: "org.dxos.plugin.template",
7
+ name: "Template",
8
+ author: "DXOS",
9
+ description: trim`
10
+ Create reusable templates for documents, tables, and other objects.
11
+ Define structured patterns that can be quickly instantiated with pre-configured content and settings.
12
+ `,
13
+ source: "https://github.com/dxos/dxos/tree/main/packages/plugins/plugin-template",
14
+ icon: {
15
+ key: "ph--asterisk--regular",
16
+ hue: "sky"
17
+ },
18
+ tags: ["labs"]
19
+ } });
20
+ //#endregion
21
+ //#region src/meta.ts
22
+ var meta = Plugin.getMetaFromConfig(dx_config_default);
23
+ //#endregion
24
+ export { meta as t };
25
+
26
+ //# sourceMappingURL=chunk-meta.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chunk-meta.mjs","names":[],"sources":["../../dx.config.ts","../../src/meta.ts"],"sourcesContent":["//\n// Copyright 2025 DXOS.org\n//\n\nimport { Config2 } from '@dxos/app-framework/config';\nimport { trim } from '@dxos/util';\n\nexport default Config2.make({\n plugin: {\n key: 'org.dxos.plugin.template',\n name: 'Template',\n author: 'DXOS',\n description: trim`\n Create reusable templates for documents, tables, and other objects.\n Define structured patterns that can be quickly instantiated with pre-configured content and settings.\n `,\n source: 'https://github.com/dxos/dxos/tree/main/packages/plugins/plugin-template',\n icon: { key: 'ph--asterisk--regular', hue: 'sky' },\n tags: ['labs'],\n },\n});\n","//\n// Copyright 2023 DXOS.org\n//\n\nimport { Plugin } from '@dxos/app-framework';\n\nimport config from '../dx.config';\n\nexport const meta = Plugin.getMetaFromConfig(config);\n"],"mappings":";;;;AAOA,IAAA,oBAAe,QAAQ,KAAK,EAC1B,QAAQ;CACN,KAAK;CACL,MAAM;CACN,QAAQ;CACR,aAAa,IAAI;;;;CAIjB,QAAQ;CACR,MAAM;EAAE,KAAK;EAAyB,KAAK;CAAM;CACjD,MAAM,CAAC,MAAM;AACf,EACF,CAAC;;;ACZD,IAAa,OAAO,OAAO,kBAAkB,iBAAM"}
@@ -1,21 +1,21 @@
1
- // src/capabilities/react-surface.tsx
2
- import * as Effect from "effect/Effect";
3
- import React from "react";
4
1
  import { Capabilities, Capability } from "@dxos/app-framework";
2
+ import { Template } from "#types";
3
+ import * as Effect from "effect/Effect";
5
4
  import { Surface } from "@dxos/app-framework/ui";
6
5
  import { AppSurface } from "@dxos/app-toolkit/ui";
7
6
  import { TemplatePanel } from "#components";
8
- import { Template } from "#types";
7
+ //#region src/capabilities/react-surface.ts
9
8
  var react_surface_default = Capability.makeModule(() => Effect.succeed(Capability.contributes(Capabilities.ReactSurface, Surface.create({
10
- id: "root",
11
- filter: AppSurface.object(AppSurface.Article, Template.Data),
12
- component: ({ data, role }) => /* @__PURE__ */ React.createElement(TemplatePanel, {
13
- role,
14
- subject: data.subject,
15
- attendableId: data.attendableId
16
- })
9
+ id: "root",
10
+ filter: AppSurface.object(AppSurface.Article, Template.Data),
11
+ component: TemplatePanel,
12
+ props: ({ role, data: { subject, attendableId } }) => ({
13
+ role,
14
+ subject,
15
+ attendableId
16
+ })
17
17
  }))));
18
- export {
19
- react_surface_default as default
20
- };
21
- //# sourceMappingURL=react-surface-SYA2674P.mjs.map
18
+ //#endregion
19
+ export { react_surface_default as default };
20
+
21
+ //# sourceMappingURL=chunk-react-surface.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chunk-react-surface.mjs","names":[],"sources":["../../src/capabilities/react-surface.ts"],"sourcesContent":["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capabilities, Capability } from '@dxos/app-framework';\nimport { Surface } from '@dxos/app-framework/ui';\nimport { AppSurface } from '@dxos/app-toolkit/ui';\n\nimport { TemplatePanel } from '#components';\nimport { Template } from '#types';\n\nexport default Capability.makeModule(() =>\n Effect.succeed(\n Capability.contributes(\n Capabilities.ReactSurface,\n Surface.create({\n id: 'root',\n filter: AppSurface.object(AppSurface.Article, Template.Data),\n component: TemplatePanel,\n props: ({ role, data: { subject, attendableId } }) => ({ role, subject, attendableId }),\n }),\n ),\n ),\n);\n"],"mappings":";;;;;;;AAaA,IAAA,wBAAe,WAAW,iBACxB,OAAO,QACL,WAAW,YACT,aAAa,cACb,QAAQ,OAAO;CACb,IAAI;CACJ,QAAQ,WAAW,OAAO,WAAW,SAAS,SAAS,IAAI;CAC3D,WAAW;CACX,QAAQ,EAAE,MAAM,MAAM,EAAE,SAAS,sBAAsB;EAAE;EAAM;EAAS;CAAa;AACvF,CAAC,CACH,CACF,CACF"}
@@ -0,0 +1,16 @@
1
+ import { Obj } from "@dxos/echo";
2
+ import "react";
3
+ import { Panel } from "@dxos/react-ui";
4
+ import { jsx } from "react/jsx-runtime";
5
+ //#region src/components/TemplatePanel/TemplatePanel.tsx
6
+ var TemplatePanel = ({ role, subject: object, attendableId: _attendableId }) => {
7
+ return /* @__PURE__ */ jsx(Panel.Root, {
8
+ role,
9
+ classNames: "dx-document",
10
+ children: /* @__PURE__ */ jsx(Panel.Content, { children: /* @__PURE__ */ jsx("span", { children: Obj.getURI(object) }) })
11
+ });
12
+ };
13
+ //#endregion
14
+ export { TemplatePanel };
15
+
16
+ //# sourceMappingURL=components.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components.mjs","names":[],"sources":["../../src/components/TemplatePanel/TemplatePanel.tsx"],"sourcesContent":["//\n// Copyright 2023 DXOS.org\n//\n\nimport React from 'react';\n\nimport { type AppSurface } from '@dxos/app-toolkit/ui';\nimport { Obj } from '@dxos/echo';\nimport { Panel } from '@dxos/react-ui';\n\nexport type TemplatePanelProps = AppSurface.ObjectArticleProps<Obj.Unknown>;\n\nexport const TemplatePanel = ({ role, subject: object, attendableId: _attendableId }: TemplatePanelProps) => {\n return (\n <Panel.Root role={role} classNames='dx-document'>\n <Panel.Content>\n <span>{Obj.getURI(object)}</span>\n </Panel.Content>\n </Panel.Root>\n );\n};\n"],"mappings":";;;;;AAYA,IAAa,iBAAiB,EAAE,MAAM,SAAS,QAAQ,cAAc,oBAAwC;CAC3G,OACE,oBAAC,MAAM,MAAP;EAAkB;EAAM,YAAW;YACjC,oBAAC,MAAM,SAAP,EAAA,UACE,oBAAC,QAAD,EAAA,UAAO,IAAI,OAAO,MAAM,EAAQ,CAAA,EACnB,CAAA;CACL,CAAA;AAEhB"}
@@ -0,0 +1,3 @@
1
+ import { t as meta } from "./chunk-meta.mjs";
2
+ import { Template } from "./types.mjs";
3
+ export { Template, meta };
@@ -0,0 +1,2 @@
1
+ import { t as meta } from "./chunk-meta.mjs";
2
+ export { meta };
@@ -0,0 +1,8 @@
1
+ import { t as meta } from "./chunk-meta.mjs";
2
+ import { Plugin } from "@dxos/app-framework";
3
+ //#region src/plugin.ts
4
+ var TemplatePlugin = Plugin.lazy(meta, () => import("#plugin"));
5
+ //#endregion
6
+ export { TemplatePlugin };
7
+
8
+ //# sourceMappingURL=plugin.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.mjs","names":[],"sources":["../../src/plugin.ts"],"sourcesContent":["//\n// Copyright 2023 DXOS.org\n//\n\nimport { Plugin } from '@dxos/app-framework';\n\nimport { meta } from './meta';\n\nexport const TemplatePlugin = Plugin.lazy(meta, () => import('#plugin'));\n"],"mappings":";;;AAQA,IAAa,iBAAiB,OAAO,KAAK,YAAY,OAAO,UAAU"}
@@ -0,0 +1,22 @@
1
+ import { Type } from "@dxos/echo";
2
+ import { meta } from "#meta";
3
+ import { Template } from "#types";
4
+ //#region src/translations.ts
5
+ var translations = [{ "en-US": {
6
+ [Type.getTypename(Template.Data)]: {
7
+ "typename.label": "Template",
8
+ "typename.label_zero": "Templates",
9
+ "typename.label_one": "Template",
10
+ "typename.label_other": "Templates",
11
+ "object-name.placeholder": "New template",
12
+ "add-object.label": "Add template",
13
+ "rename-object.label": "Rename template",
14
+ "delete-object.label": "Delete template",
15
+ "object-deleted.label": "Template deleted"
16
+ },
17
+ [meta.profile.key]: { "plugin.name": "Template" }
18
+ } }];
19
+ //#endregion
20
+ export { translations };
21
+
22
+ //# sourceMappingURL=translations.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"translations.mjs","names":[],"sources":["../../src/translations.ts"],"sourcesContent":["//\n// Copyright 2023 DXOS.org\n//\n\nimport { Type } from '@dxos/echo';\nimport { type Resource } from '@dxos/react-ui';\n\nimport { meta } from '#meta';\nimport { Template } from '#types';\n\nexport const translations = [\n {\n 'en-US': {\n [Type.getTypename(Template.Data)]: {\n 'typename.label': 'Template',\n 'typename.label_zero': 'Templates',\n 'typename.label_one': 'Template',\n 'typename.label_other': 'Templates',\n 'object-name.placeholder': 'New template',\n 'add-object.label': 'Add template',\n 'rename-object.label': 'Rename template',\n 'delete-object.label': 'Delete template',\n 'object-deleted.label': 'Template deleted',\n },\n [meta.profile.key]: {\n 'plugin.name': 'Template',\n },\n },\n },\n] as const satisfies Resource[];\n"],"mappings":";;;;AAUA,IAAa,eAAe,CAC1B,EACE,SAAS;EACN,KAAK,YAAY,SAAS,IAAI,IAAI;EACjC,kBAAkB;EAClB,uBAAuB;EACvB,sBAAsB;EACtB,wBAAwB;EACxB,2BAA2B;EAC3B,oBAAoB;EACpB,uBAAuB;EACvB,uBAAuB;EACvB,wBAAwB;CAC1B;EACC,KAAK,QAAQ,MAAM,EAClB,eAAe,WACjB;AACF,EACF,CACF"}
@@ -0,0 +1,16 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { Annotation, DXN, Obj, Type } from "@dxos/echo";
3
+ //#region src/types/schema.ts
4
+ var Template;
5
+ (function(_Template) {
6
+ class Data extends Type.makeObject(DXN.make("org.dxos.type.data", "0.1.0"))(Schema.Struct({ name: Schema.optional(Schema.String) }).pipe(Annotation.IconAnnotation.set({
7
+ icon: "ph--asterisk--regular",
8
+ hue: "sky"
9
+ }))) {}
10
+ _Template.Data = Data;
11
+ _Template.make = (props) => Obj.make(Data, props);
12
+ })(Template || (Template = {}));
13
+ //#endregion
14
+ export { Template };
15
+
16
+ //# sourceMappingURL=types.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.mjs","names":[],"sources":["../../src/types/schema.ts"],"sourcesContent":["//\n// Copyright 2023 DXOS.org\n//\n\nimport * as Schema from 'effect/Schema';\n\nimport { Annotation, DXN, Obj, Type } from '@dxos/echo';\n\nexport namespace Template {\n export class Data extends Type.makeObject<Data>(DXN.make('org.dxos.type.data', '0.1.0'))(\n Schema.Struct({\n name: Schema.optional(Schema.String),\n }).pipe(Annotation.IconAnnotation.set({ icon: 'ph--asterisk--regular', hue: 'sky' })),\n ) {}\n\n export const make = (props: Partial<Data>) => Obj.make(Data, props);\n}\n"],"mappings":";;;AAQO,IAAA;;CACE,MAAM,aAAa,KAAK,WAAiB,IAAI,KAAK,sBAAsB,OAAO,CAAC,CAAC,CACtF,OAAO,OAAO,EACZ,MAAM,OAAO,SAAS,OAAO,MAAM,EACrC,CAAC,CAAC,CAAC,KAAK,WAAW,eAAe,IAAI;EAAE,MAAM;EAAyB,KAAK;CAAM,CAAC,CAAC,CACtF,CAAC,CAAC,CAAC;;CAEU,UAAA,QAAQ,UAAyB,IAAI,KAAK,MAAM,KAAK;GACpE,aAAA,WAAA,CAAA,EAAA"}
@@ -1,5 +1,5 @@
1
1
  import * as Effect from 'effect/Effect';
2
2
  import { Capability } from '@dxos/app-framework';
3
- declare const _default: (props: void) => Effect.Effect<Capability.Any, never, never>;
3
+ declare const _default: (props: void) => Effect.Effect<Capability.Any, never, import("effect/Scope").Scope>;
4
4
  export default _default;
5
5
  //# sourceMappingURL=create-object.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import * as Effect from 'effect/Effect';
2
2
  import { Capability } from '@dxos/app-framework';
3
- declare const _default: (props: void) => Effect.Effect<Capability.Any, never, never>;
3
+ declare const _default: (props: void) => Effect.Effect<Capability.Any, never, import("effect/Scope").Scope>;
4
4
  export default _default;
5
5
  //# sourceMappingURL=react-surface.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC"}