@dxos/plugin-kanban 0.8.4-main.2e9d522 → 0.8.4-main.3c1ae3b
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-X44RHBZK.mjs → chunk-PEQVHFOX.mjs} +35 -42
- package/dist/lib/browser/chunk-PEQVHFOX.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-E6O3LBAB.mjs → intent-resolver-NHCWHMPW.mjs} +20 -20
- package/dist/lib/browser/intent-resolver-NHCWHMPW.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-surface-MWNNZYMN.mjs → react-surface-NSCKM4QW.mjs} +81 -98
- package/dist/lib/browser/react-surface-NSCKM4QW.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-6WK5CGYY.mjs → chunk-LTCOYU73.mjs} +35 -42
- package/dist/lib/node-esm/chunk-LTCOYU73.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-LPASDELU.mjs → intent-resolver-L2OEBOJW.mjs} +20 -20
- package/dist/lib/node-esm/intent-resolver-L2OEBOJW.mjs.map +7 -0
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/{react-surface-T52BBG45.mjs → react-surface-WXYTWOY2.mjs} +81 -98
- package/dist/lib/node-esm/react-surface-WXYTWOY2.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 +43 -40
- 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 -17
- package/src/capabilities/react-surface.tsx +24 -25
- package/src/components/KanbanContainer.stories.tsx +52 -73
- package/src/components/KanbanContainer.tsx +18 -31
- package/src/components/KanbanViewEditor.tsx +31 -37
- 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-WMSZK3RW.mjs +0 -174
- package/dist/lib/browser/artifact-definition-WMSZK3RW.mjs.map +0 -7
- package/dist/lib/browser/chunk-X44RHBZK.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-E6O3LBAB.mjs.map +0 -7
- package/dist/lib/browser/react-surface-MWNNZYMN.mjs.map +0 -7
- package/dist/lib/node-esm/artifact-definition-QVZXPDXK.mjs +0 -175
- package/dist/lib/node-esm/artifact-definition-QVZXPDXK.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-6WK5CGYY.mjs.map +0 -7
- package/dist/lib/node-esm/intent-resolver-LPASDELU.mjs.map +0 -7
- package/dist/lib/node-esm/react-surface-T52BBG45.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,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"}
|