@dxos/plugin-kanban 0.8.4-main.ae835ea → 0.8.4-main.bc674ce
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-T2544VMJ.mjs +17 -0
- package/dist/lib/browser/blueprint-definition-T2544VMJ.mjs.map +7 -0
- package/dist/lib/browser/blueprints/index.mjs +8 -0
- package/dist/lib/browser/blueprints/index.mjs.map +7 -0
- package/dist/lib/browser/chunk-J5LGTIGS.mjs +10 -0
- package/dist/lib/browser/chunk-J5LGTIGS.mjs.map +7 -0
- package/dist/lib/browser/chunk-L6N4ZDZ7.mjs +35 -0
- package/dist/lib/browser/chunk-L6N4ZDZ7.mjs.map +7 -0
- package/dist/lib/browser/chunk-XYQO4VL7.mjs +150 -0
- package/dist/lib/browser/chunk-XYQO4VL7.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +58 -65
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/operation-resolver-UEJHX42A.mjs +162 -0
- package/dist/lib/browser/operation-resolver-UEJHX42A.mjs.map +7 -0
- package/dist/lib/browser/react-surface-LFUJAPRL.mjs +236 -0
- package/dist/lib/browser/react-surface-LFUJAPRL.mjs.map +7 -0
- package/dist/lib/browser/types/index.mjs +8 -5
- package/dist/lib/node-esm/blueprint-definition-APJQFSHJ.mjs +18 -0
- package/dist/lib/node-esm/blueprint-definition-APJQFSHJ.mjs.map +7 -0
- package/dist/lib/node-esm/blueprints/index.mjs +9 -0
- package/dist/lib/node-esm/blueprints/index.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-HSLMI22Q.mjs +11 -0
- package/dist/lib/node-esm/chunk-HSLMI22Q.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-NN6JMKIT.mjs +152 -0
- package/dist/lib/node-esm/chunk-NN6JMKIT.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-ZHRMUKTF.mjs +36 -0
- package/dist/lib/node-esm/chunk-ZHRMUKTF.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +58 -65
- package/dist/lib/node-esm/index.mjs.map +4 -4
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/operation-resolver-5RPWHZCF.mjs +163 -0
- package/dist/lib/node-esm/operation-resolver-5RPWHZCF.mjs.map +7 -0
- package/dist/lib/node-esm/react-surface-7TSGBRJL.mjs +237 -0
- package/dist/lib/node-esm/react-surface-7TSGBRJL.mjs.map +7 -0
- package/dist/lib/node-esm/types/index.mjs +8 -5
- package/dist/types/src/KanbanPlugin.d.ts +2 -1
- package/dist/types/src/KanbanPlugin.d.ts.map +1 -1
- package/dist/types/src/blueprints/index.d.ts +2 -0
- package/dist/types/src/blueprints/index.d.ts.map +1 -0
- package/dist/types/src/blueprints/kanban-blueprint.d.ts +22 -0
- package/dist/types/src/blueprints/kanban-blueprint.d.ts.map +1 -0
- package/dist/types/src/capabilities/artifact-definition/artifact-definition.d.ts +12 -0
- package/dist/types/src/capabilities/artifact-definition/artifact-definition.d.ts.map +1 -0
- package/dist/types/src/capabilities/artifact-definition/index.d.ts +3 -0
- package/dist/types/src/capabilities/artifact-definition/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/blueprint-definition/blueprint-definition.d.ts +9 -0
- package/dist/types/src/capabilities/blueprint-definition/blueprint-definition.d.ts.map +1 -0
- package/dist/types/src/capabilities/blueprint-definition/index.d.ts +3 -0
- package/dist/types/src/capabilities/blueprint-definition/index.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/operation-resolver/index.d.ts +3 -0
- package/dist/types/src/capabilities/operation-resolver/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts +5 -0
- package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-surface/index.d.ts +3 -0
- package/dist/types/src/capabilities/react-surface/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-surface/react-surface.d.ts +5 -0
- package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +1 -0
- package/dist/types/src/components/KanbanContainer.d.ts +4 -5
- package/dist/types/src/components/KanbanContainer.d.ts.map +1 -1
- package/dist/types/src/components/KanbanContainer.stories.d.ts +46 -12
- 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 +2 -2
- 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/schema.d.ts +98 -43
- package/dist/types/src/types/schema.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +63 -47
- package/src/KanbanPlugin.tsx +34 -53
- package/src/blueprints/index.ts +5 -0
- package/src/blueprints/kanban-blueprint.ts +24 -0
- package/src/capabilities/artifact-definition/artifact-definition.ts +150 -0
- package/src/capabilities/artifact-definition/index.ts +7 -0
- package/src/capabilities/blueprint-definition/blueprint-definition.ts +23 -0
- package/src/capabilities/blueprint-definition/index.ts +7 -0
- package/src/capabilities/index.ts +3 -5
- package/src/capabilities/operation-resolver/index.ts +7 -0
- package/src/capabilities/operation-resolver/operation-resolver.ts +133 -0
- package/src/capabilities/react-surface/index.ts +7 -0
- package/src/capabilities/react-surface/react-surface.tsx +86 -0
- package/src/components/KanbanContainer.stories.tsx +197 -104
- package/src/components/KanbanContainer.tsx +37 -46
- package/src/components/KanbanViewEditor.tsx +36 -41
- package/src/meta.ts +2 -2
- package/src/translations.ts +5 -5
- package/src/types/schema.ts +84 -38
- package/dist/lib/browser/blueprint-definition-UYVX622Q.mjs +0 -28
- package/dist/lib/browser/blueprint-definition-UYVX622Q.mjs.map +0 -7
- package/dist/lib/browser/chunk-3UDST345.mjs +0 -85
- package/dist/lib/browser/chunk-3UDST345.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-VVBNS2TO.mjs +0 -111
- package/dist/lib/browser/intent-resolver-VVBNS2TO.mjs.map +0 -7
- package/dist/lib/browser/react-surface-FNXJ6VJX.mjs +0 -255
- package/dist/lib/browser/react-surface-FNXJ6VJX.mjs.map +0 -7
- package/dist/lib/node-esm/blueprint-definition-42P47FUY.mjs +0 -30
- package/dist/lib/node-esm/blueprint-definition-42P47FUY.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-JBOARUAT.mjs +0 -87
- package/dist/lib/node-esm/chunk-JBOARUAT.mjs.map +0 -7
- package/dist/lib/node-esm/intent-resolver-ACN7UALP.mjs +0 -112
- package/dist/lib/node-esm/intent-resolver-ACN7UALP.mjs.map +0 -7
- package/dist/lib/node-esm/react-surface-ZHYHCV5N.mjs +0 -256
- package/dist/lib/node-esm/react-surface-ZHYHCV5N.mjs.map +0 -7
- package/dist/types/src/capabilities/artifact-definition.d.ts +0 -11
- package/dist/types/src/capabilities/artifact-definition.d.ts.map +0 -1
- package/dist/types/src/capabilities/blueprint-definition.d.ts +0 -5
- package/dist/types/src/capabilities/blueprint-definition.d.ts.map +0 -1
- package/dist/types/src/capabilities/intent-resolver.d.ts +0 -4
- package/dist/types/src/capabilities/intent-resolver.d.ts.map +0 -1
- package/dist/types/src/capabilities/react-surface.d.ts +0 -4
- package/dist/types/src/capabilities/react-surface.d.ts.map +0 -1
- package/src/capabilities/artifact-definition.ts +0 -148
- package/src/capabilities/blueprint-definition.ts +0 -30
- package/src/capabilities/intent-resolver.ts +0 -71
- package/src/capabilities/react-surface.tsx +0 -84
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/react-surface/react-surface.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAIxC,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;;AAWzD,wBAkEE"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}) => React.JSX.Element;
|
|
2
|
+
import { type SurfaceComponentProps } from '@dxos/app-framework/react';
|
|
3
|
+
import { type Kanban } from '@dxos/react-ui-kanban/types';
|
|
4
|
+
export type KanbanContainerProps = SurfaceComponentProps<Kanban.Kanban>;
|
|
5
|
+
export declare const KanbanContainer: ({ role, subject: object }: KanbanContainerProps) => React.JSX.Element;
|
|
7
6
|
//# sourceMappingURL=KanbanContainer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KanbanContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/KanbanContainer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KanbanContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/KanbanContainer.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAuD,MAAM,OAAO,CAAC;AAG5E,OAAO,EAAE,KAAK,qBAAqB,EAAwC,MAAM,2BAA2B,CAAC;AAK7G,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,6BAA6B,CAAC;AAM1D,MAAM,MAAM,oBAAoB,GAAG,qBAAqB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;AAExE,eAAO,MAAM,eAAe,GAAI,2BAA2B,oBAAoB,sBAgE9E,CAAC"}
|
|
@@ -1,41 +1,75 @@
|
|
|
1
|
-
import { type StoryObj } from '@storybook/react-vite';
|
|
1
|
+
import { type Decorator, type StoryObj } from '@storybook/react-vite';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { Kanban } from '@dxos/react-ui-kanban/types';
|
|
4
3
|
declare const meta: {
|
|
5
4
|
title: string;
|
|
6
5
|
component: () => React.JSX.Element | null;
|
|
7
6
|
render: () => React.JSX.Element;
|
|
8
|
-
decorators:
|
|
7
|
+
decorators: Decorator[];
|
|
9
8
|
parameters: {
|
|
10
9
|
layout: string;
|
|
11
|
-
translations:
|
|
10
|
+
translations: ({
|
|
12
11
|
readonly 'en-US': {
|
|
13
|
-
readonly [
|
|
12
|
+
readonly [x: string]: {
|
|
14
13
|
readonly 'typename label': "Kanban";
|
|
15
14
|
readonly 'typename label_zero': "Kanbans";
|
|
16
15
|
readonly 'typename label_one': "Kanban";
|
|
17
16
|
readonly 'typename label_other': "Kanbans";
|
|
18
17
|
readonly 'object name placeholder': "New kanban";
|
|
19
|
-
|
|
20
|
-
|
|
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
|
+
} | {
|
|
21
30
|
readonly 'plugin name': "Kanban";
|
|
22
31
|
readonly 'kanban title label': "Title";
|
|
23
32
|
readonly 'column title label': "Column title";
|
|
24
33
|
readonly 'column title placeholder': "New column";
|
|
25
|
-
readonly 'item title label': "Item title";
|
|
26
|
-
readonly 'item title placeholder': "New item";
|
|
27
34
|
readonly 'add column label': "Add column";
|
|
28
|
-
readonly 'add item label': "Add card";
|
|
29
35
|
readonly 'delete column label': "Delete column";
|
|
30
|
-
readonly 'delete item label': "Delete card";
|
|
31
36
|
readonly 'card field deleted label': "Card field deleted";
|
|
32
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
|
+
readonly 'en-US': {
|
|
50
|
+
readonly "@dxos/react-ui-kanban": {
|
|
51
|
+
readonly "add card label": "Add card";
|
|
52
|
+
readonly "add column label": "Add column";
|
|
53
|
+
readonly "new column name label": "New column name";
|
|
54
|
+
readonly "remove card label": "Remove card";
|
|
55
|
+
readonly "remove empty column label": "Remove empty column";
|
|
56
|
+
readonly "column drag handle label": "Drag to rearrange";
|
|
57
|
+
readonly "action menu label": "Action menu";
|
|
33
58
|
};
|
|
34
59
|
};
|
|
35
|
-
}];
|
|
60
|
+
})[];
|
|
36
61
|
};
|
|
37
62
|
};
|
|
38
63
|
export default meta;
|
|
39
64
|
type Story = StoryObj<typeof meta>;
|
|
65
|
+
/**
|
|
66
|
+
* Default story using static runtime schema (immutable).
|
|
67
|
+
* Schema mutations are not allowed.
|
|
68
|
+
*/
|
|
40
69
|
export declare const Default: Story;
|
|
70
|
+
/**
|
|
71
|
+
* Story variant that uses a mutable database schema (EchoSchema).
|
|
72
|
+
* This allows testing schema mutations like adding/removing fields.
|
|
73
|
+
*/
|
|
74
|
+
export declare const MutableSchema: Story;
|
|
41
75
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"KanbanContainer.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/KanbanContainer.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,SAAS,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjF,OAAO,KAAkC,MAAM,OAAO,CAAC;AAgKvD,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAS+B,CAAC;AAE1C,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC;;;GAGG;AACH,eAAO,MAAM,OAAO,EAAE,KAmErB,CAAC;AAEF;;;GAGG;AAKH,eAAO,MAAM,aAAa,EAAE,KAsB3B,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":"
|
|
1
|
+
{"version":3,"file":"KanbanViewEditor.d.ts","sourceRoot":"","sources":["../../../../src/components/KanbanViewEditor.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAQhE,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,sBAsCjE,CAAC"}
|
package/dist/types/src/meta.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
export declare const meta:
|
|
1
|
+
import { type Plugin } from '@dxos/app-framework';
|
|
2
|
+
export declare const meta: Plugin.Meta;
|
|
3
3
|
//# sourceMappingURL=meta.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAGlD,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,IAWzB,CAAC"}
|
|
@@ -1,27 +1,39 @@
|
|
|
1
|
-
import { Kanban } from '@dxos/react-ui-kanban/types';
|
|
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,5 +1,6 @@
|
|
|
1
1
|
import * as Schema from 'effect/Schema';
|
|
2
|
-
import {
|
|
2
|
+
import { Capability } from '@dxos/app-framework';
|
|
3
|
+
import { View } from '@dxos/schema';
|
|
3
4
|
/**
|
|
4
5
|
* Kanban data model.
|
|
5
6
|
* A Kanban board is a collection of columns, each of which contains a collection of items.
|
|
@@ -9,59 +10,113 @@ import { DataType } from '@dxos/schema';
|
|
|
9
10
|
* by the model (e.g., a query of items based on metadata within a column object).
|
|
10
11
|
*/
|
|
11
12
|
export declare const PivotColumnAnnotationId: unique symbol;
|
|
13
|
+
export declare const SettingsSchema: Schema.Struct<{
|
|
14
|
+
columnFieldId: Schema.SchemaClass<string, string, never>;
|
|
15
|
+
}>;
|
|
12
16
|
export declare const CreateKanbanSchema: Schema.Struct<{
|
|
13
17
|
name: Schema.optional<typeof Schema.String>;
|
|
14
18
|
typename: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
15
19
|
initialPivotColumn: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
16
20
|
}>;
|
|
17
|
-
export declare namespace
|
|
18
|
-
const
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
name: Schema.optional<typeof Schema.String>;
|
|
25
|
-
typename: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
26
|
-
initialPivotColumn: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
27
|
-
}>>;
|
|
28
|
-
output: Schema.Struct<{
|
|
29
|
-
object: Schema.Schema<DataType.View, import("@dxos/schema").ViewEncoded, never>;
|
|
21
|
+
export declare namespace KanbanOperation {
|
|
22
|
+
const DeleteCardFieldOutput: Schema.Struct<{
|
|
23
|
+
field: Schema.Struct<{
|
|
24
|
+
id: typeof Schema.String;
|
|
25
|
+
path: Schema.Schema<import("@dxos/effect").JsonPath, import("@dxos/effect").JsonPath, never>;
|
|
26
|
+
visible: Schema.optional<typeof Schema.Boolean>;
|
|
27
|
+
referencePath: Schema.optional<Schema.Schema<import("@dxos/effect").JsonPath, import("@dxos/effect").JsonPath, never>>;
|
|
30
28
|
}>;
|
|
29
|
+
props: Schema.SchemaClass<any, any, never>;
|
|
30
|
+
index: Schema.SchemaClass<number, number, never>;
|
|
31
31
|
}>;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
32
|
+
type DeleteCardFieldOutput = Schema.Schema.Type<typeof DeleteCardFieldOutput>;
|
|
33
|
+
const DeleteCardField: Omit<{
|
|
34
|
+
readonly meta: {
|
|
35
|
+
readonly key: `${string}/delete-card-field`;
|
|
36
|
+
readonly name: "Delete Card Field";
|
|
37
|
+
};
|
|
38
|
+
readonly services: readonly [typeof Capability.Service];
|
|
39
|
+
readonly schema: {
|
|
40
|
+
readonly input: Schema.Struct<{
|
|
41
|
+
view: import("@dxos/echo/Type").Obj<View.View, Schema.Struct.Fields>;
|
|
42
|
+
fieldId: typeof Schema.String;
|
|
43
|
+
}>;
|
|
44
|
+
readonly output: Schema.Struct<{
|
|
45
|
+
field: Schema.Struct<{
|
|
42
46
|
id: typeof Schema.String;
|
|
43
47
|
path: Schema.Schema<import("@dxos/effect").JsonPath, import("@dxos/effect").JsonPath, never>;
|
|
44
48
|
visible: Schema.optional<typeof Schema.Boolean>;
|
|
45
49
|
referencePath: Schema.optional<Schema.Schema<import("@dxos/effect").JsonPath, import("@dxos/effect").JsonPath, never>>;
|
|
46
|
-
}
|
|
47
|
-
props:
|
|
48
|
-
index:
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
readonly _tag: Schema.tag<`${string}/delete-card`>;
|
|
57
|
-
} & {
|
|
58
|
-
input: Schema.Struct<{
|
|
59
|
-
card: typeof Schema.Any;
|
|
60
|
-
}>;
|
|
61
|
-
output: typeof Schema.Void;
|
|
50
|
+
}>;
|
|
51
|
+
props: Schema.SchemaClass<any, any, never>;
|
|
52
|
+
index: Schema.SchemaClass<number, number, never>;
|
|
53
|
+
}>;
|
|
54
|
+
};
|
|
55
|
+
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
56
|
+
readonly executionMode: "sync" | "async";
|
|
57
|
+
};
|
|
58
|
+
const DeleteCardOutput: Schema.Struct<{
|
|
59
|
+
card: Schema.SchemaClass<any, any, never>;
|
|
62
60
|
}>;
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
61
|
+
type DeleteCardOutput = Schema.Schema.Type<typeof DeleteCardOutput>;
|
|
62
|
+
const DeleteCard: Omit<{
|
|
63
|
+
readonly meta: {
|
|
64
|
+
readonly key: `${string}/delete-card`;
|
|
65
|
+
readonly name: "Delete Card";
|
|
66
|
+
};
|
|
67
|
+
readonly schema: {
|
|
68
|
+
readonly input: Schema.Struct<{
|
|
69
|
+
card: typeof Schema.Any;
|
|
70
|
+
}>;
|
|
71
|
+
readonly output: Schema.Struct<{
|
|
72
|
+
card: Schema.SchemaClass<any, any, never>;
|
|
73
|
+
}>;
|
|
74
|
+
};
|
|
75
|
+
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
76
|
+
readonly executionMode: "sync" | "async";
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* Restore a deleted card field (inverse of DeleteCardField).
|
|
80
|
+
*/
|
|
81
|
+
const RestoreCardField: Omit<{
|
|
82
|
+
readonly meta: {
|
|
83
|
+
readonly key: `${string}/restore-card-field`;
|
|
84
|
+
readonly name: "Restore Card Field";
|
|
85
|
+
};
|
|
86
|
+
readonly services: readonly [typeof Capability.Service];
|
|
87
|
+
readonly schema: {
|
|
88
|
+
readonly input: Schema.Struct<{
|
|
89
|
+
view: import("@dxos/echo/Type").Obj<View.View, Schema.Struct.Fields>;
|
|
90
|
+
field: Schema.Struct<{
|
|
91
|
+
id: typeof Schema.String;
|
|
92
|
+
path: Schema.Schema<import("@dxos/effect").JsonPath, import("@dxos/effect").JsonPath, never>;
|
|
93
|
+
visible: Schema.optional<typeof Schema.Boolean>;
|
|
94
|
+
referencePath: Schema.optional<Schema.Schema<import("@dxos/effect").JsonPath, import("@dxos/effect").JsonPath, never>>;
|
|
95
|
+
}>;
|
|
96
|
+
props: Schema.SchemaClass<any, any, never>;
|
|
97
|
+
index: Schema.SchemaClass<number, number, never>;
|
|
98
|
+
}>;
|
|
99
|
+
readonly output: typeof Schema.Void;
|
|
100
|
+
};
|
|
101
|
+
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
102
|
+
readonly executionMode: "sync" | "async";
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* Restore a deleted card (inverse of DeleteCard).
|
|
106
|
+
*/
|
|
107
|
+
const RestoreCard: Omit<{
|
|
108
|
+
readonly meta: {
|
|
109
|
+
readonly key: `${string}/restore-card`;
|
|
110
|
+
readonly name: "Restore Card";
|
|
111
|
+
};
|
|
112
|
+
readonly schema: {
|
|
113
|
+
readonly input: Schema.Struct<{
|
|
114
|
+
card: Schema.SchemaClass<any, any, never>;
|
|
115
|
+
}>;
|
|
116
|
+
readonly output: typeof Schema.Void;
|
|
117
|
+
};
|
|
118
|
+
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
119
|
+
readonly executionMode: "sync" | "async";
|
|
120
|
+
};
|
|
66
121
|
}
|
|
67
122
|
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/types/schema.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/types/schema.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGjD,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;AAIH,yBAAiB,eAAe,CAAC;IACxB,MAAM,qBAAqB;;;;;;;;;MAIhC,CAAC;IAEH,KAAY,qBAAqB,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,qBAAqB,CAAC,CAAC;IAE9E,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;KAU1B,CAAC;IAEI,MAAM,gBAAgB;;MAE3B,CAAC;IAEH,KAAY,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,gBAAgB,CAAC,CAAC;IAEpE,MAAM,UAAU;;;;;;;;;;;;;;;KAQrB,CAAC;IAEH;;OAEG;IACI,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;KAY3B,CAAC;IAEH;;OAEG;IACI,MAAM,WAAW;;;;;;;;;;;;;KAQtB,CAAC;CACJ"}
|