@dxos/plugin-board 0.8.4-main.1068cf700f → 0.8.4-main.1c7ec43d41

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 (86) hide show
  1. package/dist/lib/browser/BoardPlugin-LCNE4UCD.mjs +30 -0
  2. package/dist/lib/browser/BoardPlugin-LCNE4UCD.mjs.map +7 -0
  3. package/dist/lib/browser/chunk-J5LGTIGS.mjs +10 -0
  4. package/dist/lib/browser/chunk-J5LGTIGS.mjs.map +7 -0
  5. package/dist/lib/browser/index.mjs +18 -60
  6. package/dist/lib/browser/index.mjs.map +4 -4
  7. package/dist/lib/browser/meta.json +1 -1
  8. package/dist/lib/browser/translations.mjs +29 -0
  9. package/dist/lib/browser/translations.mjs.map +7 -0
  10. package/dist/lib/browser/types/index.mjs +31 -2
  11. package/dist/lib/browser/types/index.mjs.map +4 -4
  12. package/dist/lib/node-esm/BoardPlugin-SXORRXM3.mjs +31 -0
  13. package/dist/lib/node-esm/BoardPlugin-SXORRXM3.mjs.map +7 -0
  14. package/dist/lib/node-esm/chunk-HSLMI22Q.mjs +11 -0
  15. package/dist/lib/node-esm/chunk-HSLMI22Q.mjs.map +7 -0
  16. package/dist/lib/node-esm/index.mjs +18 -60
  17. package/dist/lib/node-esm/index.mjs.map +4 -4
  18. package/dist/lib/node-esm/meta.json +1 -1
  19. package/dist/lib/node-esm/translations.mjs +30 -0
  20. package/dist/lib/node-esm/translations.mjs.map +7 -0
  21. package/dist/lib/node-esm/types/index.mjs +31 -2
  22. package/dist/lib/node-esm/types/index.mjs.map +4 -4
  23. package/dist/types/src/BoardPlugin.d.ts +1 -0
  24. package/dist/types/src/BoardPlugin.d.ts.map +1 -1
  25. package/dist/types/src/BoardPlugin.test.d.ts +2 -0
  26. package/dist/types/src/BoardPlugin.test.d.ts.map +1 -0
  27. package/dist/types/src/capabilities/create-object.d.ts +11 -0
  28. package/dist/types/src/capabilities/create-object.d.ts.map +1 -0
  29. package/dist/types/src/capabilities/index.d.ts +8 -1
  30. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  31. package/dist/types/src/capabilities/react-surface.d.ts +5 -0
  32. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -0
  33. package/dist/types/src/components/index.d.ts +0 -1
  34. package/dist/types/src/components/index.d.ts.map +1 -1
  35. package/dist/types/src/containers/BoardContainer/BoardContainer.d.ts +6 -0
  36. package/dist/types/src/containers/BoardContainer/BoardContainer.d.ts.map +1 -0
  37. package/dist/types/src/containers/BoardContainer/BoardContainer.stories.d.ts +54 -0
  38. package/dist/types/src/containers/BoardContainer/BoardContainer.stories.d.ts.map +1 -0
  39. package/dist/types/src/containers/BoardContainer/index.d.ts +2 -0
  40. package/dist/types/src/containers/BoardContainer/index.d.ts.map +1 -0
  41. package/dist/types/src/containers/index.d.ts +3 -0
  42. package/dist/types/src/containers/index.d.ts.map +1 -0
  43. package/dist/types/src/index.d.ts +2 -3
  44. package/dist/types/src/index.d.ts.map +1 -1
  45. package/dist/types/src/translations.d.ts +22 -14
  46. package/dist/types/src/translations.d.ts.map +1 -1
  47. package/dist/types/src/types/Board.d.ts +3 -3
  48. package/dist/types/src/types/Board.d.ts.map +1 -1
  49. package/dist/types/tsconfig.tsbuildinfo +1 -1
  50. package/package.json +61 -50
  51. package/src/BoardPlugin.test.ts +27 -0
  52. package/src/BoardPlugin.tsx +8 -19
  53. package/src/capabilities/create-object.ts +30 -0
  54. package/src/capabilities/index.ts +4 -1
  55. package/src/capabilities/react-surface.tsx +31 -0
  56. package/src/components/index.ts +0 -2
  57. package/src/{components → containers/BoardContainer}/BoardContainer.stories.tsx +19 -18
  58. package/src/{components → containers/BoardContainer}/BoardContainer.tsx +70 -39
  59. package/src/containers/BoardContainer/index.ts +5 -0
  60. package/src/containers/index.ts +7 -0
  61. package/src/index.ts +6 -4
  62. package/src/meta.ts +1 -1
  63. package/src/translations.ts +12 -11
  64. package/src/types/Board.ts +7 -3
  65. package/dist/lib/browser/chunk-7VKDDGS7.mjs +0 -36
  66. package/dist/lib/browser/chunk-7VKDDGS7.mjs.map +0 -7
  67. package/dist/lib/browser/chunk-DCLJ4HOC.mjs +0 -159
  68. package/dist/lib/browser/chunk-DCLJ4HOC.mjs.map +0 -7
  69. package/dist/lib/browser/react-surface-3ECZMYLQ.mjs +0 -32
  70. package/dist/lib/browser/react-surface-3ECZMYLQ.mjs.map +0 -7
  71. package/dist/lib/node-esm/chunk-HICZFU5T.mjs +0 -161
  72. package/dist/lib/node-esm/chunk-HICZFU5T.mjs.map +0 -7
  73. package/dist/lib/node-esm/chunk-UGVRNKWV.mjs +0 -37
  74. package/dist/lib/node-esm/chunk-UGVRNKWV.mjs.map +0 -7
  75. package/dist/lib/node-esm/react-surface-W7FPI7BR.mjs +0 -33
  76. package/dist/lib/node-esm/react-surface-W7FPI7BR.mjs.map +0 -7
  77. package/dist/types/src/capabilities/react-surface/index.d.ts +0 -3
  78. package/dist/types/src/capabilities/react-surface/index.d.ts.map +0 -1
  79. package/dist/types/src/capabilities/react-surface/react-surface.d.ts +0 -5
  80. package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +0 -1
  81. package/dist/types/src/components/BoardContainer.d.ts +0 -6
  82. package/dist/types/src/components/BoardContainer.d.ts.map +0 -1
  83. package/dist/types/src/components/BoardContainer.stories.d.ts +0 -45
  84. package/dist/types/src/components/BoardContainer.stories.d.ts.map +0 -1
  85. package/src/capabilities/react-surface/index.ts +0 -7
  86. package/src/capabilities/react-surface/react-surface.tsx +0 -27
@@ -1,7 +1,36 @@
1
1
  import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
2
2
  import {
3
- Board_exports
4
- } from "../chunk-UGVRNKWV.mjs";
3
+ __export
4
+ } from "../chunk-HSLMI22Q.mjs";
5
+
6
+ // src/types/Board.ts
7
+ var Board_exports = {};
8
+ __export(Board_exports, {
9
+ Board: () => Board,
10
+ makeBoard: () => makeBoard
11
+ });
12
+ import * as Schema from "effect/Schema";
13
+ import { Annotation, Obj, Ref, Type } from "@dxos/echo";
14
+ import { FormInputAnnotation, LabelAnnotation } from "@dxos/echo/internal";
15
+ import { BoardLayout, defaultLayout } from "@dxos/react-ui-board";
16
+ var Board = Schema.Struct({
17
+ name: Schema.String.pipe(Schema.optional),
18
+ items: Ref.Ref(Obj.Unknown).pipe(Schema.Array, FormInputAnnotation.set(false)),
19
+ layout: BoardLayout.pipe(FormInputAnnotation.set(false))
20
+ }).pipe(Type.object({
21
+ typename: "org.dxos.type.board",
22
+ version: "0.1.0"
23
+ }), LabelAnnotation.set([
24
+ "name"
25
+ ]), Annotation.IconAnnotation.set({
26
+ icon: "ph--squares-four--regular",
27
+ hue: "green"
28
+ }));
29
+ var makeBoard = (props = {}) => Obj.make(Board, {
30
+ items: [],
31
+ layout: defaultLayout,
32
+ ...props
33
+ });
5
34
  export {
6
35
  Board_exports as Board
7
36
  };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": [],
4
- "sourcesContent": [],
5
- "mappings": "",
6
- "names": []
3
+ "sources": ["../../../../src/types/Board.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Schema from 'effect/Schema';\n\nimport { Annotation, Obj, Ref, Type } from '@dxos/echo';\nimport { FormInputAnnotation, LabelAnnotation } from '@dxos/echo/internal';\nimport { BoardLayout, defaultLayout } from '@dxos/react-ui-board';\n\n/**\n * Board and layout.\n */\nexport const Board = Schema.Struct({\n name: Schema.String.pipe(Schema.optional),\n items: Ref.Ref(Obj.Unknown).pipe(Schema.Array, FormInputAnnotation.set(false)),\n layout: BoardLayout.pipe(FormInputAnnotation.set(false)),\n}).pipe(\n Type.object({\n typename: 'org.dxos.type.board',\n version: '0.1.0',\n }),\n LabelAnnotation.set(['name']),\n Annotation.IconAnnotation.set({\n icon: 'ph--squares-four--regular',\n hue: 'green',\n }),\n);\n\nexport interface Board extends Schema.Schema.Type<typeof Board> {}\n\nexport const makeBoard = (props: Partial<Obj.MakeProps<typeof Board>> = {}) =>\n Obj.make(Board, {\n items: [],\n layout: defaultLayout,\n ...props,\n });\n"],
5
+ "mappings": ";;;;;;AAAA;;;;;AAIA,YAAYA,YAAY;AAExB,SAASC,YAAYC,KAAKC,KAAKC,YAAY;AAC3C,SAASC,qBAAqBC,uBAAuB;AACrD,SAASC,aAAaC,qBAAqB;AAKpC,IAAMC,QAAeC,cAAO;EACjCC,MAAaC,cAAOC,KAAYC,eAAQ;EACxCC,OAAOZ,IAAIA,IAAID,IAAIc,OAAO,EAAEH,KAAYI,cAAOZ,oBAAoBa,IAAI,KAAA,CAAA;EACvEC,QAAQZ,YAAYM,KAAKR,oBAAoBa,IAAI,KAAA,CAAA;AACnD,CAAA,EAAGL,KACDT,KAAKgB,OAAO;EACVC,UAAU;EACVC,SAAS;AACX,CAAA,GACAhB,gBAAgBY,IAAI;EAAC;CAAO,GAC5BjB,WAAWsB,eAAeL,IAAI;EAC5BM,MAAM;EACNC,KAAK;AACP,CAAA,CAAA;AAKK,IAAMC,YAAY,CAACC,QAA8C,CAAC,MACvEzB,IAAI0B,KAAKnB,OAAO;EACdM,OAAO,CAAA;EACPI,QAAQX;EACR,GAAGmB;AACL,CAAA;",
6
+ "names": ["Schema", "Annotation", "Obj", "Ref", "Type", "FormInputAnnotation", "LabelAnnotation", "BoardLayout", "defaultLayout", "Board", "Struct", "name", "String", "pipe", "optional", "items", "Unknown", "Array", "set", "layout", "object", "typename", "version", "IconAnnotation", "icon", "hue", "makeBoard", "props", "make"]
7
7
  }
@@ -1,3 +1,4 @@
1
1
  import { Plugin } from '@dxos/app-framework';
2
2
  export declare const BoardPlugin: Plugin.PluginFactory<void>;
3
+ export default BoardPlugin;
3
4
  //# sourceMappingURL=BoardPlugin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BoardPlugin.d.ts","sourceRoot":"","sources":["../../../src/BoardPlugin.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAU7C,eAAO,MAAM,WAAW,4BAgBvB,CAAC"}
1
+ {"version":3,"file":"BoardPlugin.d.ts","sourceRoot":"","sources":["../../../src/BoardPlugin.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAS7C,eAAO,MAAM,WAAW,4BAMvB,CAAC;eAEa,WAAW"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=BoardPlugin.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BoardPlugin.test.d.ts","sourceRoot":"","sources":["../../../src/BoardPlugin.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,11 @@
1
+ import * as Effect from 'effect/Effect';
2
+ import { Capability } from '@dxos/app-framework';
3
+ import { SpaceCapabilities } from '@dxos/plugin-space/types';
4
+ declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Readonly<{
5
+ id: string;
6
+ createObject: import("@dxos/plugin-space/types").CreateObject;
7
+ inputSchema?: import("effect/Schema").Schema.AnyNoContext;
8
+ customPanel?: import("react").ComponentType<SpaceCapabilities.CreateObjectCustomPanelProps>;
9
+ }>>>, never, never>;
10
+ export default _default;
11
+ //# sourceMappingURL=create-object.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-object.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/create-object.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC"}
@@ -1,2 +1,9 @@
1
- export * from './react-surface';
1
+ import { Capability } from '@dxos/app-framework';
2
+ export declare const CreateObject: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<Readonly<{
3
+ id: string;
4
+ createObject: import("@dxos/plugin-space/types").CreateObject;
5
+ inputSchema?: import("effect/Schema").Schema.AnyNoContext;
6
+ customPanel?: import("react").ComponentType<import("@dxos/plugin-space/types").SpaceCapabilities.CreateObjectCustomPanelProps>;
7
+ }>>>, Error>;
8
+ export declare const ReactSurface: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-framework/Capabilities").ReactSurface>>, Error>;
2
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,cAAc,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,YAAY;;;;;YAAmE,CAAC;AAC7F,eAAO,MAAM,YAAY,iJAAmE,CAAC"}
@@ -0,0 +1,5 @@
1
+ import * as Effect from 'effect/Effect';
2
+ import { Capabilities, Capability } from '@dxos/app-framework';
3
+ declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Capabilities.ReactSurface>>, never, never>;
4
+ export default _default;
5
+ //# sourceMappingURL=react-surface.d.ts.map
@@ -0,0 +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,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC"}
@@ -1,2 +1 @@
1
- export * from './BoardContainer';
2
1
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { AppSurface } from '@dxos/app-toolkit/ui';
3
+ import { type Board as BoardType } from '#types';
4
+ export type BoardContainerProps = AppSurface.ObjectArticleProps<BoardType.Board>;
5
+ export declare const BoardContainer: ({ role, subject: board, attendableId }: BoardContainerProps) => React.JSX.Element;
6
+ //# sourceMappingURL=BoardContainer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BoardContainer.d.ts","sourceRoot":"","sources":["../../../../../src/containers/BoardContainer/BoardContainer.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAGtE,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAalD,OAAO,EAAE,KAAK,KAAK,IAAI,SAAS,EAAE,MAAM,QAAQ,CAAC;AAQjD,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC,kBAAkB,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;AAEjF,eAAO,MAAM,cAAc,2CAA4C,mBAAmB,sBAqJzF,CAAC"}
@@ -0,0 +1,54 @@
1
+ import { type StoryObj } from '@storybook/react-vite';
2
+ import React from 'react';
3
+ declare const meta: {
4
+ title: string;
5
+ render: () => React.JSX.Element | null;
6
+ decorators: import("@storybook/react").Decorator[];
7
+ parameters: {
8
+ layout: string;
9
+ translations: ({
10
+ readonly 'en-US': {
11
+ readonly [x: string]: {
12
+ readonly 'typename.label': 'Board';
13
+ readonly 'typename.label_zero': 'Boards';
14
+ readonly 'typename.label_one': 'Board';
15
+ readonly 'typename.label_other': 'Boards';
16
+ readonly 'object-name.placeholder': 'New board';
17
+ readonly 'add-object.label': 'Add board';
18
+ readonly 'rename-object.label': 'Rename board';
19
+ readonly 'delete-object.label': 'Delete board';
20
+ readonly 'object-deleted.label': 'Board deleted';
21
+ readonly 'plugin.name'?: undefined;
22
+ } | {
23
+ readonly 'typename.label'?: undefined;
24
+ readonly 'typename.label_zero'?: undefined;
25
+ readonly 'typename.label_one'?: undefined;
26
+ readonly 'typename.label_other'?: undefined;
27
+ readonly 'object-name.placeholder'?: undefined;
28
+ readonly 'add-object.label'?: undefined;
29
+ readonly 'rename-object.label'?: undefined;
30
+ readonly 'delete-object.label'?: undefined;
31
+ readonly 'object-deleted.label'?: undefined;
32
+ readonly 'plugin.name': 'Board';
33
+ };
34
+ };
35
+ } | {
36
+ readonly 'en-US': {
37
+ readonly "@dxos/react-ui-stack": {
38
+ readonly 'resize.label': 'Drag to resize';
39
+ readonly 'drag-handle.label': 'Drag to rearrange';
40
+ readonly 'pin-start.label': 'Pin to the left sidebar';
41
+ readonly 'pin-end.label': 'Pin to the right sidebar';
42
+ readonly 'increment-start.label': 'Move to the left';
43
+ readonly 'increment-end.label': 'Move to the right';
44
+ readonly 'close.label': 'Close';
45
+ readonly 'minify.label': 'Minify';
46
+ };
47
+ };
48
+ })[];
49
+ };
50
+ };
51
+ export default meta;
52
+ type Story = StoryObj<typeof meta>;
53
+ export declare const Default: Story;
54
+ //# sourceMappingURL=BoardContainer.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BoardContainer.stories.d.ts","sourceRoot":"","sources":["../../../../../src/containers/BoardContainer/BoardContainer.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD,OAAO,KAA8B,MAAM,OAAO,CAAC;AAiEnD,QAAA,MAAM,IAAI;IACR,KAAK;IACL,MAAM;IACN,UAAU;IAqCV,UAAU;QACR,MAAM;QACN,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAEf,CAAC;eAEa,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { BoardContainer as default } from './BoardContainer';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/containers/BoardContainer/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,IAAI,OAAO,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { type ComponentType } from 'react';
2
+ export declare const BoardContainer: ComponentType<any>;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/containers/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,aAAa,EAAQ,MAAM,OAAO,CAAC;AAEjD,eAAO,MAAM,cAAc,EAAE,aAAa,CAAC,GAAG,CAA0C,CAAC"}
@@ -1,5 +1,4 @@
1
- export * from './components';
1
+ import { Plugin } from '@dxos/app-framework';
2
+ export declare const BoardPlugin: Plugin.PluginFactory<void>;
2
3
  export * from './meta';
3
- export * from './types';
4
- export * from './BoardPlugin';
5
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AAExB,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAI7C,eAAO,MAAM,WAAW,4BAAmD,CAAC;AAE5E,cAAc,QAAQ,CAAC"}
@@ -1,19 +1,27 @@
1
- import { meta } from './meta';
2
- import { Board } from './types';
3
1
  export declare const translations: [{
4
2
  readonly 'en-US': {
5
- readonly [Board.Board.typename]: {
6
- readonly 'typename label': "Board";
7
- readonly 'typename label_zero': "Boards";
8
- readonly 'typename label_one': "Board";
9
- readonly 'typename label_other': "Boards";
10
- readonly 'object name placeholder': "New board";
11
- readonly 'rename object label': "Rename board";
12
- readonly 'delete object label': "Delete board";
13
- readonly 'object deleted label': "Board deleted";
14
- };
15
- readonly [meta.id]: {
16
- readonly 'plugin name': "Board";
3
+ readonly [x: string]: {
4
+ readonly 'typename.label': 'Board';
5
+ readonly 'typename.label_zero': 'Boards';
6
+ readonly 'typename.label_one': 'Board';
7
+ readonly 'typename.label_other': 'Boards';
8
+ readonly 'object-name.placeholder': 'New board';
9
+ readonly 'add-object.label': 'Add board';
10
+ readonly 'rename-object.label': 'Rename board';
11
+ readonly 'delete-object.label': 'Delete board';
12
+ readonly 'object-deleted.label': 'Board deleted';
13
+ readonly 'plugin.name'?: undefined;
14
+ } | {
15
+ readonly 'typename.label'?: undefined;
16
+ readonly 'typename.label_zero'?: undefined;
17
+ readonly 'typename.label_one'?: undefined;
18
+ readonly 'typename.label_other'?: undefined;
19
+ readonly 'object-name.placeholder'?: undefined;
20
+ readonly 'add-object.label'?: undefined;
21
+ readonly 'rename-object.label'?: undefined;
22
+ readonly 'delete-object.label'?: undefined;
23
+ readonly 'object-deleted.label'?: undefined;
24
+ readonly 'plugin.name': 'Board';
17
25
  };
18
26
  };
19
27
  }];
@@ -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,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,eAAO,MAAM,YAAY;;QAGnB,SAAA,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC;;;;;;;;;UASrB;QACD,SAAA,CAAC,IAAI,CAAC,EAAE,CAAC;;UAER;;EAGwB,CAAC"}
1
+ {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,YAAY;;;uCAIC,OAAO;4CACF,QAAQ;2CACT,OAAO;6CACL,QAAQ;gDACL,WAAW;yCAClB,WAAW;4CACR,cAAc;4CACd,cAAc;6CACb,eAAe;;;;;;;;;;;;oCAGxB,OAAO;;;EAIC,CAAC"}
@@ -5,7 +5,7 @@ import { Obj, Type } from '@dxos/echo';
5
5
  */
6
6
  export declare const Board: Type.Obj<{
7
7
  readonly name?: string | undefined;
8
- readonly items: readonly import("@dxos/echo/internal").Ref<any>[];
8
+ readonly items: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>[];
9
9
  readonly layout: {
10
10
  readonly size: {
11
11
  readonly width: number;
@@ -24,9 +24,9 @@ export declare const Board: Type.Obj<{
24
24
  }, Schema.Struct.Fields>;
25
25
  export interface Board extends Schema.Schema.Type<typeof Board> {
26
26
  }
27
- export declare const makeBoard: (props?: Partial<Obj.MakeProps<typeof Board>>) => Obj.Obj<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
27
+ export declare const makeBoard: (props?: Partial<Obj.MakeProps<typeof Board>>) => Obj.OfShape<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
28
28
  readonly name?: string | undefined;
29
- readonly items: readonly import("@dxos/echo/internal").Ref<any>[];
29
+ readonly items: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & Obj.Unknown>[];
30
30
  readonly layout: {
31
31
  readonly size: {
32
32
  readonly width: number;
@@ -1 +1 @@
1
- {"version":3,"file":"Board.d.ts","sourceRoot":"","sources":["../../../../src/types/Board.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAIvC;;GAEG;AACH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;wBAUjB,CAAC;AAEF,MAAM,WAAW,KAAM,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,KAAK,CAAC;CAAG;AAElE,eAAO,MAAM,SAAS,GAAI,QAAO,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,OAAO,KAAK,CAAC,CAAM;;;;;;;;;;;;;;;;;;EAKtE,CAAC"}
1
+ {"version":3,"file":"Board.d.ts","sourceRoot":"","sources":["../../../../src/types/Board.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAc,GAAG,EAAO,IAAI,EAAE,MAAM,YAAY,CAAC;AAIxD;;GAEG;AACH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;wBAcjB,CAAC;AAEF,MAAM,WAAW,KAAM,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,KAAK,CAAC;CAAG;AAElE,eAAO,MAAM,SAAS,WAAW,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,OAAO,KAAK,CAAC,CAAC;;;;;;;;;;;;;;;;;;EAKjE,CAAC"}