@dxos/plugin-kanban 0.8.4-main.67995b8 → 0.8.4-main.70d3990
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/blueprint-definition-UYVX622Q.mjs +28 -0
- package/dist/lib/browser/blueprint-definition-UYVX622Q.mjs.map +7 -0
- package/dist/lib/browser/{chunk-MUK4JV7A.mjs → chunk-B7EZTXV2.mjs} +35 -42
- package/dist/lib/browser/chunk-B7EZTXV2.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +31 -33
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/{intent-resolver-6GPK64NB.mjs → intent-resolver-ANBDVEJ2.mjs} +20 -17
- package/dist/lib/browser/intent-resolver-ANBDVEJ2.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-surface-Y2GO6B24.mjs → react-surface-7ONRKYBB.mjs} +66 -80
- package/dist/lib/browser/react-surface-7ONRKYBB.mjs.map +7 -0
- package/dist/lib/browser/types/index.mjs +3 -3
- package/dist/lib/node-esm/blueprint-definition-42P47FUY.mjs +30 -0
- package/dist/lib/node-esm/blueprint-definition-42P47FUY.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-2GCFRKS2.mjs → chunk-WBN5YQGD.mjs} +35 -42
- package/dist/lib/node-esm/chunk-WBN5YQGD.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +31 -33
- package/dist/lib/node-esm/index.mjs.map +3 -3
- package/dist/lib/node-esm/{intent-resolver-CXHLNVEN.mjs → intent-resolver-X4UZDRI7.mjs} +20 -17
- package/dist/lib/node-esm/intent-resolver-X4UZDRI7.mjs.map +7 -0
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/{react-surface-UEQNH6S4.mjs → react-surface-D7XTGTZL.mjs} +66 -80
- package/dist/lib/node-esm/react-surface-D7XTGTZL.mjs.map +7 -0
- package/dist/lib/node-esm/types/index.mjs +3 -3
- package/dist/types/src/KanbanPlugin.d.ts +1 -1
- package/dist/types/src/KanbanPlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/artifact-definition.d.ts +1 -1
- package/dist/types/src/capabilities/artifact-definition.d.ts.map +1 -1
- package/dist/types/src/capabilities/blueprint-definition.d.ts +5 -0
- package/dist/types/src/capabilities/blueprint-definition.d.ts.map +1 -0
- package/dist/types/src/capabilities/index.d.ts +3 -3
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/intent-resolver.d.ts +1 -1
- package/dist/types/src/capabilities/intent-resolver.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/components/KanbanContainer.d.ts +3 -3
- package/dist/types/src/components/KanbanContainer.d.ts.map +1 -1
- package/dist/types/src/components/KanbanContainer.stories.d.ts +50 -6
- package/dist/types/src/components/KanbanContainer.stories.d.ts.map +1 -1
- package/dist/types/src/components/KanbanViewEditor.d.ts +3 -3
- package/dist/types/src/components/KanbanViewEditor.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts +0 -1
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +21 -9
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/index.d.ts +0 -1
- package/dist/types/src/types/index.d.ts.map +1 -1
- package/dist/types/src/types/schema.d.ts +15 -54
- package/dist/types/src/types/schema.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +45 -44
- package/src/KanbanPlugin.tsx +49 -54
- package/src/capabilities/artifact-definition.ts +15 -11
- package/src/capabilities/blueprint-definition.ts +30 -0
- package/src/capabilities/index.ts +1 -1
- package/src/capabilities/intent-resolver.ts +11 -15
- package/src/capabilities/react-surface.tsx +21 -22
- package/src/components/KanbanContainer.stories.tsx +50 -62
- package/src/components/KanbanContainer.tsx +15 -28
- package/src/components/KanbanViewEditor.tsx +23 -22
- package/src/meta.ts +7 -5
- package/src/translations.ts +6 -6
- package/src/types/index.ts +0 -1
- package/src/types/schema.ts +22 -10
- package/dist/lib/browser/artifact-definition-NIFSAHUK.mjs +0 -174
- package/dist/lib/browser/artifact-definition-NIFSAHUK.mjs.map +0 -7
- package/dist/lib/browser/chunk-MUK4JV7A.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-6GPK64NB.mjs.map +0 -7
- package/dist/lib/browser/react-surface-Y2GO6B24.mjs.map +0 -7
- package/dist/lib/node-esm/artifact-definition-NACXLTWB.mjs +0 -175
- package/dist/lib/node-esm/artifact-definition-NACXLTWB.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-2GCFRKS2.mjs.map +0 -7
- package/dist/lib/node-esm/intent-resolver-CXHLNVEN.mjs.map +0 -7
- package/dist/lib/node-esm/react-surface-UEQNH6S4.mjs.map +0 -7
- package/dist/types/src/types/kanban.d.ts +0 -11
- package/dist/types/src/types/kanban.d.ts.map +0 -1
- package/src/types/kanban.ts +0 -29
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"artifact-definition.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/artifact-definition.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"artifact-definition.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/artifact-definition.ts"],"names":[],"mappings":"AAWA,OAAO,EAAgB,KAAK,uBAAuB,EAAoC,MAAM,qBAAqB,CAAC;AAMnH,OAAO,EAAU,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAY7D,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,KAAK,CAAC,EAAE,KAAK,CAAC;QACd,QAAQ,CAAC,EAAE,uBAAuB,CAAC;KACpC;CACF;;AAED,wBA+GE"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Blueprint } from '@dxos/blueprints';
|
|
2
|
+
import { type FunctionDefinition } from '@dxos/functions';
|
|
3
|
+
declare const _default: () => (import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<FunctionDefinition.Any[]>> | import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<Blueprint.Blueprint>>)[];
|
|
4
|
+
export default _default;
|
|
5
|
+
//# sourceMappingURL=blueprint-definition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blueprint-definition.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/blueprint-definition.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAY,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;;AAM1D,wBAiBE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
export declare const IntentResolver: (props?: import("@dxos/app-framework").PluginContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").Capabilities.IntentResolver
|
|
3
|
-
export declare const ReactSurface: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").Capabilities.ReactSurface
|
|
1
|
+
export declare const BlueprintDefinition: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").AnyCapability[] | import("@dxos/app-framework").Capability<unknown>>>;
|
|
2
|
+
export declare const IntentResolver: (props?: import("@dxos/app-framework").PluginContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<import("@dxos/app-framework").Capabilities.IntentResolver>> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
3
|
+
export declare const ReactSurface: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<import("@dxos/app-framework").Capabilities.ReactSurface>> | import("@dxos/app-framework").AnyCapability[]>>;
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,mBAAmB,gJAA+C,CAAC;AAChF,eAAO,MAAM,cAAc,8RAA0C,CAAC;AACtE,eAAO,MAAM,YAAY,4OAAwC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Capabilities, type PluginContext } from '@dxos/app-framework';
|
|
2
|
-
declare const _default: (context: PluginContext) => import("@dxos/app-framework").Capability<Capabilities.IntentResolver
|
|
2
|
+
declare const _default: (context: PluginContext) => import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<Capabilities.IntentResolver>>;
|
|
3
3
|
export default _default;
|
|
4
4
|
//# sourceMappingURL=intent-resolver.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intent-resolver.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/intent-resolver.ts"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"intent-resolver.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/intent-resolver.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,KAAK,aAAa,EAA+B,MAAM,qBAAqB,CAAC;yBAUpF,SAAS,aAAa;AAAtC,wBAmDK"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Capabilities } from '@dxos/app-framework';
|
|
2
|
-
declare const _default: () => import("@dxos/app-framework").Capability<Capabilities.ReactSurface
|
|
2
|
+
declare const _default: () => import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<Capabilities.ReactSurface>>;
|
|
3
3
|
export default _default;
|
|
4
4
|
//# 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":"AAOA,OAAO,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAA8B,MAAM,qBAAqB,CAAC;;AAY/E,wBA+DK"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type
|
|
3
|
-
export declare const KanbanContainer: ({
|
|
4
|
-
|
|
2
|
+
import { type Kanban } from '@dxos/react-ui-kanban/types';
|
|
3
|
+
export declare const KanbanContainer: ({ object }: {
|
|
4
|
+
object: Kanban.Kanban;
|
|
5
5
|
role: string;
|
|
6
6
|
}) => React.JSX.Element;
|
|
7
7
|
//# sourceMappingURL=KanbanContainer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KanbanContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/KanbanContainer.tsx"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"KanbanContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/KanbanContainer.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAUhE,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAM1D,eAAO,MAAM,eAAe,GAAI,YAAY;IAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,sBA6DlF,CAAC"}
|
|
@@ -1,10 +1,54 @@
|
|
|
1
|
-
import '@
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { type StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: () => React.JSX.Element | null;
|
|
6
|
+
render: () => React.JSX.Element;
|
|
7
|
+
decorators: import("@storybook/react").Decorator[];
|
|
8
|
+
parameters: {
|
|
9
|
+
layout: string;
|
|
10
|
+
translations: [{
|
|
11
|
+
readonly 'en-US': {
|
|
12
|
+
readonly [x: string]: {
|
|
13
|
+
readonly 'typename label': "Kanban";
|
|
14
|
+
readonly 'typename label_zero': "Kanbans";
|
|
15
|
+
readonly 'typename label_one': "Kanban";
|
|
16
|
+
readonly 'typename label_other': "Kanbans";
|
|
17
|
+
readonly 'object name placeholder': "New kanban";
|
|
18
|
+
readonly 'rename object label': "Rename kanban";
|
|
19
|
+
readonly 'delete object label': "Delete kanban";
|
|
20
|
+
readonly 'object deleted label': "Kanban deleted";
|
|
21
|
+
readonly 'plugin name'?: undefined;
|
|
22
|
+
readonly 'kanban title label'?: undefined;
|
|
23
|
+
readonly 'column title label'?: undefined;
|
|
24
|
+
readonly 'column title placeholder'?: undefined;
|
|
25
|
+
readonly 'add column label'?: undefined;
|
|
26
|
+
readonly 'delete column label'?: undefined;
|
|
27
|
+
readonly 'card field deleted label'?: undefined;
|
|
28
|
+
readonly 'card deleted label'?: undefined;
|
|
29
|
+
} | {
|
|
30
|
+
readonly 'plugin name': "Kanban";
|
|
31
|
+
readonly 'kanban title label': "Title";
|
|
32
|
+
readonly 'column title label': "Column title";
|
|
33
|
+
readonly 'column title placeholder': "New column";
|
|
34
|
+
readonly 'add column label': "Add column";
|
|
35
|
+
readonly 'delete column label': "Delete column";
|
|
36
|
+
readonly 'card field deleted label': "Card field deleted";
|
|
37
|
+
readonly 'card deleted label': "Card deleted";
|
|
38
|
+
readonly 'typename label'?: undefined;
|
|
39
|
+
readonly 'typename label_zero'?: undefined;
|
|
40
|
+
readonly 'typename label_one'?: undefined;
|
|
41
|
+
readonly 'typename label_other'?: undefined;
|
|
42
|
+
readonly 'object name placeholder'?: undefined;
|
|
43
|
+
readonly 'rename object label'?: undefined;
|
|
44
|
+
readonly 'delete object label'?: undefined;
|
|
45
|
+
readonly 'object deleted label'?: undefined;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
}];
|
|
49
|
+
};
|
|
5
50
|
};
|
|
6
|
-
declare const meta: Meta<StoryProps>;
|
|
7
51
|
export default meta;
|
|
8
|
-
type Story = StoryObj<
|
|
52
|
+
type Story = StoryObj<typeof meta>;
|
|
9
53
|
export declare const Default: Story;
|
|
10
54
|
//# sourceMappingURL=KanbanContainer.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KanbanContainer.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/KanbanContainer.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"KanbanContainer.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/KanbanContainer.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAsB,MAAM,OAAO,CAAC;AAyH3C,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4C8B,CAAC;AAEzC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type
|
|
2
|
+
import { type Kanban } from '@dxos/react-ui-kanban/types';
|
|
3
3
|
type KanbanViewEditorProps = {
|
|
4
|
-
|
|
4
|
+
object: Kanban.Kanban;
|
|
5
5
|
};
|
|
6
|
-
export declare const KanbanViewEditor: ({
|
|
6
|
+
export declare const KanbanViewEditor: ({ object }: KanbanViewEditorProps) => React.JSX.Element;
|
|
7
7
|
export {};
|
|
8
8
|
//# sourceMappingURL=KanbanViewEditor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KanbanViewEditor.d.ts","sourceRoot":"","sources":["../../../../src/components/KanbanViewEditor.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAQpD,OAAO,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"KanbanViewEditor.d.ts","sourceRoot":"","sources":["../../../../src/components/KanbanViewEditor.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAQpD,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAK1D,KAAK,qBAAqB,GAAG;IAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAA;CAAE,CAAC;AAEvD,eAAO,MAAM,gBAAgB,GAAI,YAAY,qBAAqB,sBAyCjE,CAAC"}
|
package/dist/types/src/meta.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGtD,eAAO,MAAM,IAAI,EAAE,UAWlB,CAAC"}
|
|
@@ -1,27 +1,39 @@
|
|
|
1
|
-
import { KanbanView } from '@dxos/react-ui-kanban';
|
|
2
|
-
import { meta } from './meta';
|
|
3
1
|
export declare const translations: [{
|
|
4
2
|
readonly 'en-US': {
|
|
5
|
-
readonly [
|
|
3
|
+
readonly [x: string]: {
|
|
6
4
|
readonly 'typename label': "Kanban";
|
|
7
5
|
readonly 'typename label_zero': "Kanbans";
|
|
8
6
|
readonly 'typename label_one': "Kanban";
|
|
9
7
|
readonly 'typename label_other': "Kanbans";
|
|
10
8
|
readonly 'object name placeholder': "New kanban";
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
readonly 'rename object label': "Rename kanban";
|
|
10
|
+
readonly 'delete object label': "Delete kanban";
|
|
11
|
+
readonly 'object deleted label': "Kanban deleted";
|
|
12
|
+
readonly 'plugin name'?: undefined;
|
|
13
|
+
readonly 'kanban title label'?: undefined;
|
|
14
|
+
readonly 'column title label'?: undefined;
|
|
15
|
+
readonly 'column title placeholder'?: undefined;
|
|
16
|
+
readonly 'add column label'?: undefined;
|
|
17
|
+
readonly 'delete column label'?: undefined;
|
|
18
|
+
readonly 'card field deleted label'?: undefined;
|
|
19
|
+
readonly 'card deleted label'?: undefined;
|
|
20
|
+
} | {
|
|
13
21
|
readonly 'plugin name': "Kanban";
|
|
14
22
|
readonly 'kanban title label': "Title";
|
|
15
23
|
readonly 'column title label': "Column title";
|
|
16
24
|
readonly 'column title placeholder': "New column";
|
|
17
|
-
readonly 'item title label': "Item title";
|
|
18
|
-
readonly 'item title placeholder': "New item";
|
|
19
25
|
readonly 'add column label': "Add column";
|
|
20
|
-
readonly 'add item label': "Add card";
|
|
21
26
|
readonly 'delete column label': "Delete column";
|
|
22
|
-
readonly 'delete item label': "Delete card";
|
|
23
27
|
readonly 'card field deleted label': "Card field deleted";
|
|
24
28
|
readonly 'card deleted label': "Card deleted";
|
|
29
|
+
readonly 'typename label'?: undefined;
|
|
30
|
+
readonly 'typename label_zero'?: undefined;
|
|
31
|
+
readonly 'typename label_one'?: undefined;
|
|
32
|
+
readonly 'typename label_other'?: undefined;
|
|
33
|
+
readonly 'object name placeholder'?: undefined;
|
|
34
|
+
readonly 'rename object label'?: undefined;
|
|
35
|
+
readonly 'delete object label'?: undefined;
|
|
36
|
+
readonly 'object deleted label'?: undefined;
|
|
25
37
|
};
|
|
26
38
|
};
|
|
27
39
|
}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyBM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAIA,cAAc,UAAU,CAAC;AACzB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAIA,cAAc,UAAU,CAAC;AACzB,mBAAmB,SAAS,CAAC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as Schema from 'effect/Schema';
|
|
2
|
+
import { Kanban } from '@dxos/react-ui-kanban/types';
|
|
3
|
+
import { View } from '@dxos/schema';
|
|
2
4
|
/**
|
|
3
5
|
* Kanban data model.
|
|
4
6
|
* A Kanban board is a collection of columns, each of which contains a collection of items.
|
|
@@ -8,14 +10,17 @@ import { Schema } from 'effect';
|
|
|
8
10
|
* by the model (e.g., a query of items based on metadata within a column object).
|
|
9
11
|
*/
|
|
10
12
|
export declare const PivotColumnAnnotationId: unique symbol;
|
|
13
|
+
export declare const SettingsSchema: Schema.Struct<{
|
|
14
|
+
columnFieldId: Schema.SchemaClass<string, string, never>;
|
|
15
|
+
}>;
|
|
11
16
|
export declare const CreateKanbanSchema: Schema.Struct<{
|
|
12
17
|
name: Schema.optional<typeof Schema.String>;
|
|
13
18
|
typename: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
14
19
|
initialPivotColumn: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
15
20
|
}>;
|
|
16
21
|
export declare namespace KanbanAction {
|
|
17
|
-
const Create_base: Schema.TaggedClass<Create,
|
|
18
|
-
readonly _tag: Schema.tag
|
|
22
|
+
const Create_base: Schema.TaggedClass<Create, `${string}/create`, {
|
|
23
|
+
readonly _tag: Schema.tag<`${string}/create`>;
|
|
19
24
|
} & {
|
|
20
25
|
input: Schema.extend<Schema.Struct<{
|
|
21
26
|
space: Schema.Schema<import("@dxos/client-protocol").Space, import("@dxos/client-protocol").Space, never>;
|
|
@@ -25,67 +30,23 @@ export declare namespace KanbanAction {
|
|
|
25
30
|
initialPivotColumn: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
26
31
|
}>>;
|
|
27
32
|
output: Schema.Struct<{
|
|
28
|
-
object:
|
|
29
|
-
name: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
30
|
-
query: import("effect/Schema").Schema<import("@dxos/echo-schema").QueryType, import("@dxos/echo-schema").QueryType, never>;
|
|
31
|
-
projection: import("effect/Schema").mutable<import("effect/Schema").Struct<{
|
|
32
|
-
schema: import("effect/Schema").optional<import("effect/Schema").Schema<import("@dxos/echo-schema").JsonSchemaType, import("@dxos/echo-schema").JsonSchemaType, never>>;
|
|
33
|
-
fields: import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").mutable<import("effect/Schema").Struct<{
|
|
34
|
-
id: typeof import("effect/Schema").String;
|
|
35
|
-
path: import("effect/Schema").Schema<import("@dxos/effect").JsonPath, import("@dxos/effect").JsonPath, never>;
|
|
36
|
-
referencePath: import("effect/Schema").optional<import("effect/Schema").Schema<import("@dxos/effect").JsonPath, import("@dxos/effect").JsonPath, never>>;
|
|
37
|
-
visible: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
38
|
-
}>>>>;
|
|
39
|
-
hiddenFields: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").mutable<import("effect/Schema").Struct<{
|
|
40
|
-
id: typeof import("effect/Schema").String;
|
|
41
|
-
path: import("effect/Schema").Schema<import("@dxos/effect").JsonPath, import("@dxos/effect").JsonPath, never>;
|
|
42
|
-
referencePath: import("effect/Schema").optional<import("effect/Schema").Schema<import("@dxos/effect").JsonPath, import("@dxos/effect").JsonPath, never>>;
|
|
43
|
-
visible: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
44
|
-
}>>>>>;
|
|
45
|
-
}>>;
|
|
46
|
-
presentation: import("@dxos/echo/Type").ref<import("effect/Schema").Schema<import("@dxos/echo/Type").Expando, {
|
|
47
|
-
[x: string]: any;
|
|
48
|
-
id: string;
|
|
49
|
-
}, never>>;
|
|
50
|
-
}>>;
|
|
33
|
+
object: Schema.Schema<Kanban.Kanban, Kanban.KanbanEncoded, never>;
|
|
51
34
|
}>;
|
|
52
35
|
}>;
|
|
53
36
|
export class Create extends Create_base {
|
|
54
37
|
}
|
|
55
|
-
const DeleteCardField_base: Schema.TaggedClass<DeleteCardField,
|
|
56
|
-
readonly _tag: Schema.tag
|
|
38
|
+
const DeleteCardField_base: Schema.TaggedClass<DeleteCardField, `${string}/delete-card-field`, {
|
|
39
|
+
readonly _tag: Schema.tag<`${string}/delete-card-field`>;
|
|
57
40
|
} & {
|
|
58
41
|
input: Schema.Struct<{
|
|
59
|
-
view:
|
|
60
|
-
name: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
61
|
-
query: import("effect/Schema").Schema<import("@dxos/echo-schema").QueryType, import("@dxos/echo-schema").QueryType, never>;
|
|
62
|
-
projection: import("effect/Schema").mutable<import("effect/Schema").Struct<{
|
|
63
|
-
schema: import("effect/Schema").optional<import("effect/Schema").Schema<import("@dxos/echo-schema").JsonSchemaType, import("@dxos/echo-schema").JsonSchemaType, never>>;
|
|
64
|
-
fields: import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").mutable<import("effect/Schema").Struct<{
|
|
65
|
-
id: typeof import("effect/Schema").String;
|
|
66
|
-
path: import("effect/Schema").Schema<import("@dxos/effect").JsonPath, import("@dxos/effect").JsonPath, never>;
|
|
67
|
-
referencePath: import("effect/Schema").optional<import("effect/Schema").Schema<import("@dxos/effect").JsonPath, import("@dxos/effect").JsonPath, never>>;
|
|
68
|
-
visible: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
69
|
-
}>>>>;
|
|
70
|
-
hiddenFields: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").mutable<import("effect/Schema").Struct<{
|
|
71
|
-
id: typeof import("effect/Schema").String;
|
|
72
|
-
path: import("effect/Schema").Schema<import("@dxos/effect").JsonPath, import("@dxos/effect").JsonPath, never>;
|
|
73
|
-
referencePath: import("effect/Schema").optional<import("effect/Schema").Schema<import("@dxos/effect").JsonPath, import("@dxos/effect").JsonPath, never>>;
|
|
74
|
-
visible: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
75
|
-
}>>>>>;
|
|
76
|
-
}>>;
|
|
77
|
-
presentation: import("@dxos/echo/Type").ref<import("effect/Schema").Schema<import("@dxos/echo/Type").Expando, {
|
|
78
|
-
[x: string]: any;
|
|
79
|
-
id: string;
|
|
80
|
-
}, never>>;
|
|
81
|
-
}>>;
|
|
42
|
+
view: Schema.Schema<View.View, View.ViewEncoded, never>;
|
|
82
43
|
fieldId: typeof Schema.String;
|
|
83
44
|
deletionData: Schema.optional<Schema.Struct<{
|
|
84
45
|
field: Schema.mutable<Schema.Struct<{
|
|
85
46
|
id: typeof Schema.String;
|
|
86
47
|
path: Schema.Schema<import("@dxos/effect").JsonPath, import("@dxos/effect").JsonPath, never>;
|
|
87
|
-
referencePath: Schema.optional<Schema.Schema<import("@dxos/effect").JsonPath, import("@dxos/effect").JsonPath, never>>;
|
|
88
48
|
visible: Schema.optional<typeof Schema.Boolean>;
|
|
49
|
+
referencePath: Schema.optional<Schema.Schema<import("@dxos/effect").JsonPath, import("@dxos/effect").JsonPath, never>>;
|
|
89
50
|
}>>;
|
|
90
51
|
props: typeof Schema.Any;
|
|
91
52
|
index: typeof Schema.Number;
|
|
@@ -95,8 +56,8 @@ export declare namespace KanbanAction {
|
|
|
95
56
|
}>;
|
|
96
57
|
export class DeleteCardField extends DeleteCardField_base {
|
|
97
58
|
}
|
|
98
|
-
const DeleteCard_base: Schema.TaggedClass<DeleteCard,
|
|
99
|
-
readonly _tag: Schema.tag
|
|
59
|
+
const DeleteCard_base: Schema.TaggedClass<DeleteCard, `${string}/delete-card`, {
|
|
60
|
+
readonly _tag: Schema.tag<`${string}/delete-card`>;
|
|
100
61
|
} & {
|
|
101
62
|
input: Schema.Struct<{
|
|
102
63
|
card: typeof Schema.Any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/types/schema.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/types/schema.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAIxC,OAAO,EAAE,MAAM,EAAE,MAAM,6BAA6B,CAAC;AACrD,OAAO,EAAe,IAAI,EAAE,MAAM,cAAc,CAAC;AAIjD;;;;;;;GAOG;AAGH,eAAO,MAAM,uBAAuB,eAA2D,CAAC;AAEhG,eAAO,MAAM,cAAc;;EAIzB,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;EAkB7B,CAAC;AAEH,yBAAiB,YAAY,CAAC;;;;;;;;;;;;;;;IAG5B,MAAM,OAAO,MAAO,SAAQ,WAK1B;KAAG;;;;;;;;;;;;;;;;;;;;IAEL,MAAM,OAAO,eAAgB,SAAQ,oBAgBnC;KAAG;;;;;;;;;IAEL,MAAM,OAAO,UAAW,SAAQ,eAK9B;KAAG;;CACN"}
|