@dxos/plugin-kanban 0.8.4-main.67995b8 → 0.8.4-main.ae835ea
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-3UDST345.mjs} +11 -34
- package/dist/lib/browser/chunk-3UDST345.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +16 -16
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/{intent-resolver-6GPK64NB.mjs → intent-resolver-VVBNS2TO.mjs} +15 -15
- package/dist/lib/browser/intent-resolver-VVBNS2TO.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-surface-Y2GO6B24.mjs → react-surface-FNXJ6VJX.mjs} +25 -26
- package/dist/lib/browser/react-surface-FNXJ6VJX.mjs.map +7 -0
- package/dist/lib/browser/types/index.mjs +3 -5
- 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-JBOARUAT.mjs} +11 -34
- package/dist/lib/node-esm/chunk-JBOARUAT.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +16 -16
- package/dist/lib/node-esm/index.mjs.map +3 -3
- package/dist/lib/node-esm/{intent-resolver-CXHLNVEN.mjs → intent-resolver-ACN7UALP.mjs} +15 -15
- package/dist/lib/node-esm/intent-resolver-ACN7UALP.mjs.map +7 -0
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/{react-surface-UEQNH6S4.mjs → react-surface-ZHYHCV5N.mjs} +25 -26
- package/dist/lib/node-esm/react-surface-ZHYHCV5N.mjs.map +7 -0
- package/dist/lib/node-esm/types/index.mjs +3 -5
- 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/components/KanbanContainer.d.ts.map +1 -1
- package/dist/types/src/components/KanbanContainer.stories.d.ts +37 -6
- package/dist/types/src/components/KanbanContainer.stories.d.ts.map +1 -1
- 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 +2 -2
- 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 +11 -54
- package/dist/types/src/types/schema.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +44 -44
- package/src/KanbanPlugin.tsx +51 -50
- package/src/capabilities/artifact-definition.ts +10 -6
- package/src/capabilities/blueprint-definition.ts +30 -0
- package/src/capabilities/index.ts +1 -1
- package/src/capabilities/intent-resolver.ts +10 -9
- package/src/capabilities/react-surface.tsx +5 -5
- package/src/components/KanbanContainer.stories.tsx +34 -30
- package/src/components/KanbanContainer.tsx +6 -6
- package/src/components/KanbanViewEditor.tsx +15 -11
- package/src/meta.ts +7 -5
- package/src/translations.ts +2 -2
- package/src/types/index.ts +0 -1
- package/src/types/schema.ts +4 -4
- 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,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as Schema from 'effect/Schema';
|
|
2
|
+
import { DataType } from '@dxos/schema';
|
|
2
3
|
/**
|
|
3
4
|
* Kanban data model.
|
|
4
5
|
* A Kanban board is a collection of columns, each of which contains a collection of items.
|
|
@@ -14,8 +15,8 @@ export declare const CreateKanbanSchema: Schema.Struct<{
|
|
|
14
15
|
initialPivotColumn: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
15
16
|
}>;
|
|
16
17
|
export declare namespace KanbanAction {
|
|
17
|
-
const Create_base: Schema.TaggedClass<Create,
|
|
18
|
-
readonly _tag: Schema.tag
|
|
18
|
+
const Create_base: Schema.TaggedClass<Create, `${string}/create`, {
|
|
19
|
+
readonly _tag: Schema.tag<`${string}/create`>;
|
|
19
20
|
} & {
|
|
20
21
|
input: Schema.extend<Schema.Struct<{
|
|
21
22
|
space: Schema.Schema<import("@dxos/client-protocol").Space, import("@dxos/client-protocol").Space, never>;
|
|
@@ -25,67 +26,23 @@ export declare namespace KanbanAction {
|
|
|
25
26
|
initialPivotColumn: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
26
27
|
}>>;
|
|
27
28
|
output: Schema.Struct<{
|
|
28
|
-
object: import("@dxos/
|
|
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
|
-
}>>;
|
|
29
|
+
object: Schema.Schema<DataType.View, import("@dxos/schema").ViewEncoded, never>;
|
|
51
30
|
}>;
|
|
52
31
|
}>;
|
|
53
32
|
export class Create extends Create_base {
|
|
54
33
|
}
|
|
55
|
-
const DeleteCardField_base: Schema.TaggedClass<DeleteCardField,
|
|
56
|
-
readonly _tag: Schema.tag
|
|
34
|
+
const DeleteCardField_base: Schema.TaggedClass<DeleteCardField, `${string}/delete-card-field`, {
|
|
35
|
+
readonly _tag: Schema.tag<`${string}/delete-card-field`>;
|
|
57
36
|
} & {
|
|
58
37
|
input: Schema.Struct<{
|
|
59
|
-
view: import("@dxos/
|
|
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
|
-
}>>;
|
|
38
|
+
view: Schema.Schema<DataType.View, import("@dxos/schema").ViewEncoded, never>;
|
|
82
39
|
fieldId: typeof Schema.String;
|
|
83
40
|
deletionData: Schema.optional<Schema.Struct<{
|
|
84
41
|
field: Schema.mutable<Schema.Struct<{
|
|
85
42
|
id: typeof Schema.String;
|
|
86
43
|
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
44
|
visible: Schema.optional<typeof Schema.Boolean>;
|
|
45
|
+
referencePath: Schema.optional<Schema.Schema<import("@dxos/effect").JsonPath, import("@dxos/effect").JsonPath, never>>;
|
|
89
46
|
}>>;
|
|
90
47
|
props: typeof Schema.Any;
|
|
91
48
|
index: typeof Schema.Number;
|
|
@@ -95,8 +52,8 @@ export declare namespace KanbanAction {
|
|
|
95
52
|
}>;
|
|
96
53
|
export class DeleteCardField extends DeleteCardField_base {
|
|
97
54
|
}
|
|
98
|
-
const DeleteCard_base: Schema.TaggedClass<DeleteCard,
|
|
99
|
-
readonly _tag: Schema.tag
|
|
55
|
+
const DeleteCard_base: Schema.TaggedClass<DeleteCard, `${string}/delete-card`, {
|
|
56
|
+
readonly _tag: Schema.tag<`${string}/delete-card`>;
|
|
100
57
|
} & {
|
|
101
58
|
input: Schema.Struct<{
|
|
102
59
|
card: typeof Schema.Any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/types/schema.ts"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/types/schema.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAqC,MAAM,cAAc,CAAC;AAI3E;;;;;;;GAOG;AAGH,eAAO,MAAM,uBAAuB,eAA2D,CAAC;AAEhG,eAAO,MAAM,kBAAkB;;;;EAc7B,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"}
|