@dxos/plugin-sheet 0.8.4-main.72ec0f3 → 0.8.4-main.937b3ca
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/SheetContainer-ESCXPI7Y.mjs +397 -0
- package/dist/lib/browser/SheetContainer-ESCXPI7Y.mjs.map +7 -0
- package/dist/lib/browser/{anchor-sort-FCQ5OZZK.mjs → anchor-sort-JBRMW6OY.mjs} +7 -7
- package/dist/lib/browser/anchor-sort-JBRMW6OY.mjs.map +7 -0
- package/dist/lib/browser/chunk-2SAGT3BB.mjs +397 -0
- package/dist/lib/browser/chunk-2SAGT3BB.mjs.map +7 -0
- package/dist/lib/browser/{chunk-7VEWYJJN.mjs → chunk-IFLWVS2V.mjs} +5 -5
- package/dist/lib/browser/chunk-IFLWVS2V.mjs.map +7 -0
- package/dist/lib/browser/chunk-W6N44ONZ.mjs +1470 -0
- package/dist/lib/browser/chunk-W6N44ONZ.mjs.map +7 -0
- package/dist/lib/browser/compute-graph-registry-DL2PX7TF.mjs +21 -0
- package/dist/lib/browser/compute-graph-registry-DL2PX7TF.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +68 -78
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/markdown-BC4KBDUO.mjs +29 -0
- package/dist/lib/browser/markdown-BC4KBDUO.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/operation-resolver-FJ4UWZUM.mjs +79 -0
- package/dist/lib/browser/operation-resolver-FJ4UWZUM.mjs.map +7 -0
- package/dist/lib/browser/{react-surface-5GYLVSMR.mjs → react-surface-5BXM6TJ3.mjs} +16 -19
- package/dist/lib/browser/react-surface-5BXM6TJ3.mjs.map +7 -0
- package/dist/lib/browser/types/index.mjs +5 -2
- package/dist/lib/node-esm/SheetContainer-YVIDJKP4.mjs +398 -0
- package/dist/lib/node-esm/SheetContainer-YVIDJKP4.mjs.map +7 -0
- package/dist/lib/node-esm/{anchor-sort-ZE7IS7SH.mjs → anchor-sort-C3XFPI6S.mjs} +7 -7
- package/dist/lib/node-esm/anchor-sort-C3XFPI6S.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-IMWGSIDG.mjs +398 -0
- package/dist/lib/node-esm/chunk-IMWGSIDG.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-4QV4AGWK.mjs → chunk-PPOYR7DK.mjs} +5 -5
- package/dist/lib/node-esm/chunk-PPOYR7DK.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-S7RYX7DG.mjs +1471 -0
- package/dist/lib/node-esm/chunk-S7RYX7DG.mjs.map +7 -0
- package/dist/lib/node-esm/compute-graph-registry-VXH55GDI.mjs +22 -0
- package/dist/lib/node-esm/compute-graph-registry-VXH55GDI.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +68 -78
- package/dist/lib/node-esm/index.mjs.map +4 -4
- package/dist/lib/node-esm/markdown-6DGZCJRM.mjs +30 -0
- package/dist/lib/node-esm/markdown-6DGZCJRM.mjs.map +7 -0
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/operation-resolver-OGXEUWHA.mjs +80 -0
- package/dist/lib/node-esm/operation-resolver-OGXEUWHA.mjs.map +7 -0
- package/dist/lib/node-esm/{react-surface-RK32YZWR.mjs → react-surface-RLHC6B77.mjs} +16 -19
- package/dist/lib/node-esm/react-surface-RLHC6B77.mjs.map +7 -0
- package/dist/lib/node-esm/types/index.mjs +5 -2
- package/dist/types/src/SheetPlugin.d.ts +2 -1
- package/dist/types/src/SheetPlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/anchor-sort/anchor-sort.d.ts +5 -0
- package/dist/types/src/capabilities/anchor-sort/anchor-sort.d.ts.map +1 -0
- package/dist/types/src/capabilities/anchor-sort/index.d.ts +3 -0
- package/dist/types/src/capabilities/anchor-sort/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/compute-graph-registry/compute-graph-registry.d.ts +5 -0
- package/dist/types/src/capabilities/compute-graph-registry/compute-graph-registry.d.ts.map +1 -0
- package/dist/types/src/capabilities/compute-graph-registry/index.d.ts +3 -0
- package/dist/types/src/capabilities/compute-graph-registry/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/index.d.ts +5 -6
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/markdown/index.d.ts +3 -0
- package/dist/types/src/capabilities/markdown/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/markdown/markdown.d.ts +5 -0
- package/dist/types/src/capabilities/markdown/markdown.d.ts.map +1 -0
- 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/GridSheet/GridSheet.d.ts.map +1 -1
- package/dist/types/src/components/GridSheet/GridSheet.stories.d.ts +1 -0
- package/dist/types/src/components/GridSheet/GridSheet.stories.d.ts.map +1 -1
- package/dist/types/src/components/GridSheet/SheetCellEditor.stories.d.ts +1 -1
- package/dist/types/src/components/GridSheet/SheetCellEditor.stories.d.ts.map +1 -1
- package/dist/types/src/components/RangeList/RangeList.d.ts.map +1 -1
- package/dist/types/src/components/SheetContainer/SheetContainer.d.ts +4 -5
- package/dist/types/src/components/SheetContainer/SheetContainer.d.ts.map +1 -1
- package/dist/types/src/components/SheetContainer/SheetContainer.stories.d.ts +3 -1
- package/dist/types/src/components/SheetContainer/SheetContainer.stories.d.ts.map +1 -1
- package/dist/types/src/components/SheetToolbar/SheetToolbar.d.ts.map +1 -1
- package/dist/types/src/components/SheetToolbar/SheetToolbar.stories.d.ts +2 -0
- package/dist/types/src/components/SheetToolbar/SheetToolbar.stories.d.ts.map +1 -1
- package/dist/types/src/components/SheetToolbar/align.d.ts +12 -19
- package/dist/types/src/components/SheetToolbar/align.d.ts.map +1 -1
- package/dist/types/src/components/SheetToolbar/style.d.ts +12 -18
- package/dist/types/src/components/SheetToolbar/style.d.ts.map +1 -1
- package/dist/types/src/components/SheetToolbar/useToolbarState.d.ts +14 -1
- package/dist/types/src/components/SheetToolbar/useToolbarState.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +1 -1
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/extensions/compute.stories.d.ts.map +1 -1
- package/dist/types/src/extensions/editor/sheet-extension.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +1 -1
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/integrations/thread-ranges.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/model/sheet-model.d.ts +2 -2
- package/dist/types/src/model/sheet-model.d.ts.map +1 -1
- package/dist/types/src/serializer.d.ts.map +1 -1
- package/dist/types/src/testing/testing.d.ts +8 -8
- package/dist/types/src/translations.d.ts +1 -0
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/Sheet.d.ts +34 -28
- package/dist/types/src/types/Sheet.d.ts.map +1 -1
- package/dist/types/src/types/capabilities.d.ts +6 -0
- package/dist/types/src/types/capabilities.d.ts.map +1 -0
- package/dist/types/src/types/index.d.ts +1 -0
- package/dist/types/src/types/index.d.ts.map +1 -1
- package/dist/types/src/types/types.d.ts +91 -65
- package/dist/types/src/types/types.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +75 -69
- package/src/SheetPlugin.tsx +40 -62
- package/src/capabilities/anchor-sort/anchor-sort.ts +26 -0
- package/src/capabilities/anchor-sort/index.ts +7 -0
- package/src/capabilities/compute-graph-registry/compute-graph-registry.ts +27 -0
- package/src/capabilities/compute-graph-registry/index.ts +7 -0
- package/src/capabilities/index.ts +5 -9
- package/src/capabilities/markdown/index.ts +7 -0
- package/src/capabilities/markdown/markdown.ts +30 -0
- package/src/capabilities/operation-resolver/index.ts +7 -0
- package/src/capabilities/operation-resolver/operation-resolver.ts +77 -0
- package/src/capabilities/react-surface/index.ts +7 -0
- package/src/capabilities/react-surface/react-surface.tsx +43 -0
- package/src/components/ComputeGraph/compute-graph.stories.tsx +1 -1
- package/src/components/GridSheet/GridSheet.stories.tsx +2 -2
- package/src/components/GridSheet/GridSheet.tsx +14 -19
- package/src/components/GridSheet/SheetCellEditor.stories.tsx +7 -4
- package/src/components/GridSheet/util.ts +2 -2
- package/src/components/RangeList/RangeList.tsx +5 -2
- package/src/components/SheetContainer/SheetContainer.stories.tsx +41 -21
- package/src/components/SheetContainer/SheetContainer.tsx +27 -20
- package/src/components/SheetContext/SheetContext.tsx +4 -4
- package/src/components/SheetToolbar/SheetToolbar.tsx +29 -18
- package/src/components/SheetToolbar/align.ts +41 -16
- package/src/components/SheetToolbar/style.ts +45 -15
- package/src/components/SheetToolbar/useToolbarState.ts +22 -5
- package/src/extensions/compute.stories.tsx +15 -6
- package/src/extensions/compute.ts +1 -1
- package/src/extensions/editor/sheet-extension.ts +7 -4
- package/src/index.ts +1 -1
- package/src/integrations/thread-ranges.ts +37 -41
- package/src/meta.ts +2 -2
- package/src/model/sheet-model.ts +75 -45
- package/src/playwright/playwright.config.ts +1 -1
- package/src/playwright/sheet.spec.ts +1 -0
- package/src/sanity.test.ts +1 -1
- package/src/serializer.ts +1 -1
- package/src/translations.ts +1 -0
- package/src/types/Sheet.ts +23 -20
- package/src/{capabilities → types}/capabilities.ts +2 -2
- package/src/types/index.ts +1 -0
- package/src/types/types.ts +81 -37
- package/dist/lib/browser/SheetContainer-66BNB3XG.mjs +0 -349
- package/dist/lib/browser/SheetContainer-66BNB3XG.mjs.map +0 -7
- package/dist/lib/browser/anchor-sort-FCQ5OZZK.mjs.map +0 -7
- package/dist/lib/browser/chunk-73AV3NH6.mjs +0 -15
- package/dist/lib/browser/chunk-73AV3NH6.mjs.map +0 -7
- package/dist/lib/browser/chunk-7VEWYJJN.mjs.map +0 -7
- package/dist/lib/browser/chunk-DVJ3QW3F.mjs +0 -907
- package/dist/lib/browser/chunk-DVJ3QW3F.mjs.map +0 -7
- package/dist/lib/browser/chunk-FWFAAGXL.mjs +0 -28
- package/dist/lib/browser/chunk-FWFAAGXL.mjs.map +0 -7
- package/dist/lib/browser/chunk-OU5KTWY3.mjs +0 -852
- package/dist/lib/browser/chunk-OU5KTWY3.mjs.map +0 -7
- package/dist/lib/browser/compute-graph-registry-AP5RA7W3.mjs +0 -21
- package/dist/lib/browser/compute-graph-registry-AP5RA7W3.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-66OAYVQF.mjs +0 -56
- package/dist/lib/browser/intent-resolver-66OAYVQF.mjs.map +0 -7
- package/dist/lib/browser/markdown-B6VKYY2S.mjs +0 -26
- package/dist/lib/browser/markdown-B6VKYY2S.mjs.map +0 -7
- package/dist/lib/browser/react-surface-5GYLVSMR.mjs.map +0 -7
- package/dist/lib/node-esm/SheetContainer-NWEQETAY.mjs +0 -350
- package/dist/lib/node-esm/SheetContainer-NWEQETAY.mjs.map +0 -7
- package/dist/lib/node-esm/anchor-sort-ZE7IS7SH.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-44YTKTMP.mjs +0 -16
- package/dist/lib/node-esm/chunk-44YTKTMP.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-4H2EHVWE.mjs +0 -908
- package/dist/lib/node-esm/chunk-4H2EHVWE.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-4MT3JJU2.mjs +0 -853
- package/dist/lib/node-esm/chunk-4MT3JJU2.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-4QV4AGWK.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-HILDMVPL.mjs +0 -29
- package/dist/lib/node-esm/chunk-HILDMVPL.mjs.map +0 -7
- package/dist/lib/node-esm/compute-graph-registry-UMQ5UYCL.mjs +0 -22
- package/dist/lib/node-esm/compute-graph-registry-UMQ5UYCL.mjs.map +0 -7
- package/dist/lib/node-esm/intent-resolver-VNKIMQQT.mjs +0 -57
- package/dist/lib/node-esm/intent-resolver-VNKIMQQT.mjs.map +0 -7
- package/dist/lib/node-esm/markdown-VKY7HXU2.mjs +0 -27
- package/dist/lib/node-esm/markdown-VKY7HXU2.mjs.map +0 -7
- package/dist/lib/node-esm/react-surface-RK32YZWR.mjs.map +0 -7
- package/dist/types/src/capabilities/anchor-sort.d.ts +0 -4
- package/dist/types/src/capabilities/anchor-sort.d.ts.map +0 -1
- package/dist/types/src/capabilities/capabilities.d.ts +0 -5
- package/dist/types/src/capabilities/capabilities.d.ts.map +0 -1
- package/dist/types/src/capabilities/compute-graph-registry.d.ts +0 -4
- package/dist/types/src/capabilities/compute-graph-registry.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/markdown.d.ts +0 -4
- package/dist/types/src/capabilities/markdown.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/anchor-sort.ts +0 -21
- package/src/capabilities/compute-graph-registry.ts +0 -23
- package/src/capabilities/intent-resolver.ts +0 -38
- package/src/capabilities/markdown.ts +0 -23
- package/src/capabilities/react-surface.tsx +0 -41
|
@@ -1,50 +1,7 @@
|
|
|
1
1
|
import * as Schema from 'effect/Schema';
|
|
2
|
-
import {
|
|
2
|
+
import { Capability } from '@dxos/app-framework';
|
|
3
3
|
export declare namespace SheetAction {
|
|
4
|
-
const
|
|
5
|
-
readonly _tag: Schema.tag<`${string}/create`>;
|
|
6
|
-
} & {
|
|
7
|
-
input: Schema.Struct<{
|
|
8
|
-
name: Schema.optional<typeof Schema.String>;
|
|
9
|
-
}>;
|
|
10
|
-
output: Schema.Struct<{
|
|
11
|
-
object: import("@dxos/echo/Type").obj<Schema.Struct<{
|
|
12
|
-
name: Schema.optional<typeof Schema.String>;
|
|
13
|
-
cells: Schema.mutable<Schema.Record$<typeof Schema.String, Schema.mutable<Schema.Struct<{
|
|
14
|
-
value: typeof Schema.Any;
|
|
15
|
-
}>>>>;
|
|
16
|
-
rows: Schema.mutable<Schema.Array$<typeof Schema.String>>;
|
|
17
|
-
columns: Schema.mutable<Schema.Array$<typeof Schema.String>>;
|
|
18
|
-
rowMeta: Schema.mutable<Schema.Record$<typeof Schema.String, Schema.mutable<Schema.Struct<{
|
|
19
|
-
size: Schema.optional<typeof Schema.Number>;
|
|
20
|
-
}>>>>;
|
|
21
|
-
columnMeta: Schema.mutable<Schema.Record$<typeof Schema.String, Schema.mutable<Schema.Struct<{
|
|
22
|
-
size: Schema.optional<typeof Schema.Number>;
|
|
23
|
-
}>>>>;
|
|
24
|
-
ranges: Schema.mutable<Schema.Array$<Schema.Struct<{
|
|
25
|
-
range: typeof Schema.String;
|
|
26
|
-
key: typeof Schema.String;
|
|
27
|
-
value: typeof Schema.String;
|
|
28
|
-
}>>>;
|
|
29
|
-
}>>;
|
|
30
|
-
}>;
|
|
31
|
-
}>;
|
|
32
|
-
export class Create extends Create_base {
|
|
33
|
-
}
|
|
34
|
-
const InsertAxis_base: Schema.TaggedClass<InsertAxis, `${string}/axis-insert`, {
|
|
35
|
-
readonly _tag: Schema.tag<`${string}/axis-insert`>;
|
|
36
|
-
} & {
|
|
37
|
-
input: Schema.Struct<{
|
|
38
|
-
model: Schema.Schema<SheetModel>;
|
|
39
|
-
axis: Schema.Union<[Schema.Literal<["row"]>, Schema.Literal<["col"]>]>;
|
|
40
|
-
index: typeof Schema.Number;
|
|
41
|
-
count: Schema.optional<typeof Schema.Number>;
|
|
42
|
-
}>;
|
|
43
|
-
output: typeof Schema.Void;
|
|
44
|
-
}>;
|
|
45
|
-
export class InsertAxis extends InsertAxis_base {
|
|
46
|
-
}
|
|
47
|
-
export const RestoreAxis: Schema.Struct<{
|
|
4
|
+
const RestoreAxis: Schema.Struct<{
|
|
48
5
|
axis: Schema.Union<[Schema.Literal<["row"]>, Schema.Literal<["col"]>]>;
|
|
49
6
|
axisIndex: typeof Schema.String;
|
|
50
7
|
index: typeof Schema.Number;
|
|
@@ -53,28 +10,97 @@ export declare namespace SheetAction {
|
|
|
53
10
|
}>;
|
|
54
11
|
values: Schema.Array$<typeof Schema.Any>;
|
|
55
12
|
}>;
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
13
|
+
type RestoreAxis = Schema.Schema.Type<typeof RestoreAxis>;
|
|
14
|
+
}
|
|
15
|
+
export declare namespace SheetOperation {
|
|
16
|
+
const OnCreateSpace: Omit<{
|
|
17
|
+
readonly meta: {
|
|
18
|
+
readonly key: `${string}/on-create-space`;
|
|
19
|
+
readonly name: "On Create Space";
|
|
20
|
+
};
|
|
21
|
+
readonly services: readonly [typeof Capability.Service];
|
|
22
|
+
readonly schema: {
|
|
23
|
+
readonly input: Schema.Struct<{
|
|
24
|
+
space: Schema.Schema<import("@dxos/client-protocol").Space, import("@dxos/client-protocol").Space, never>;
|
|
25
|
+
rootCollection: import("@dxos/echo/Type").Obj<{
|
|
26
|
+
readonly name?: string | undefined;
|
|
27
|
+
readonly objects: import("@dxos/echo/internal").Ref<any>[];
|
|
28
|
+
}, Schema.Struct.Fields>;
|
|
29
|
+
isDefault: Schema.optional<typeof Schema.Boolean>;
|
|
30
|
+
}>;
|
|
31
|
+
readonly output: typeof Schema.Void;
|
|
32
|
+
};
|
|
33
|
+
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
34
|
+
readonly executionMode: "sync" | "async";
|
|
35
|
+
};
|
|
36
|
+
const InsertAxis: Omit<{
|
|
37
|
+
readonly meta: {
|
|
38
|
+
readonly key: `${string}/axis-insert`;
|
|
39
|
+
readonly name: "Insert Axis";
|
|
40
|
+
};
|
|
41
|
+
readonly schema: {
|
|
42
|
+
readonly input: Schema.Struct<{
|
|
43
|
+
model: typeof Schema.Any;
|
|
65
44
|
axis: Schema.Union<[Schema.Literal<["row"]>, Schema.Literal<["col"]>]>;
|
|
66
|
-
axisIndex: typeof Schema.String;
|
|
67
45
|
index: typeof Schema.Number;
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
46
|
+
count: Schema.optional<typeof Schema.Number>;
|
|
47
|
+
}>;
|
|
48
|
+
readonly output: typeof Schema.Void;
|
|
49
|
+
};
|
|
50
|
+
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
51
|
+
readonly executionMode: "sync" | "async";
|
|
52
|
+
};
|
|
53
|
+
const DropAxisOutput: Schema.Struct<{
|
|
54
|
+
axis: Schema.Union<[Schema.Literal<["row"]>, Schema.Literal<["col"]>]>;
|
|
55
|
+
axisIndex: Schema.SchemaClass<string, string, never>;
|
|
56
|
+
index: Schema.SchemaClass<number, number, never>;
|
|
57
|
+
axisMeta: Schema.SchemaClass<any, any, never>;
|
|
58
|
+
values: Schema.Array$<typeof Schema.Any>;
|
|
75
59
|
}>;
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
60
|
+
type DropAxisOutput = Schema.Schema.Type<typeof DropAxisOutput>;
|
|
61
|
+
const DropAxis: Omit<{
|
|
62
|
+
readonly meta: {
|
|
63
|
+
readonly key: `${string}/axis-drop`;
|
|
64
|
+
readonly name: "Drop Axis";
|
|
65
|
+
};
|
|
66
|
+
readonly schema: {
|
|
67
|
+
readonly input: Schema.Struct<{
|
|
68
|
+
model: typeof Schema.Any;
|
|
69
|
+
axis: Schema.Union<[Schema.Literal<["row"]>, Schema.Literal<["col"]>]>;
|
|
70
|
+
axisIndex: typeof Schema.String;
|
|
71
|
+
}>;
|
|
72
|
+
readonly output: Schema.Struct<{
|
|
73
|
+
axis: Schema.Union<[Schema.Literal<["row"]>, Schema.Literal<["col"]>]>;
|
|
74
|
+
axisIndex: Schema.SchemaClass<string, string, never>;
|
|
75
|
+
index: Schema.SchemaClass<number, number, never>;
|
|
76
|
+
axisMeta: Schema.SchemaClass<any, any, never>;
|
|
77
|
+
values: Schema.Array$<typeof Schema.Any>;
|
|
78
|
+
}>;
|
|
79
|
+
};
|
|
80
|
+
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
81
|
+
readonly executionMode: "sync" | "async";
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Restore a dropped axis (inverse of DropAxis).
|
|
85
|
+
*/
|
|
86
|
+
const RestoreAxis: Omit<{
|
|
87
|
+
readonly meta: {
|
|
88
|
+
readonly key: `${string}/restore-axis`;
|
|
89
|
+
readonly name: "Restore Axis";
|
|
90
|
+
};
|
|
91
|
+
readonly schema: {
|
|
92
|
+
readonly input: Schema.Struct<{
|
|
93
|
+
model: Schema.SchemaClass<any, any, never>;
|
|
94
|
+
axis: Schema.Union<[Schema.Literal<["row"]>, Schema.Literal<["col"]>]>;
|
|
95
|
+
axisIndex: Schema.SchemaClass<string, string, never>;
|
|
96
|
+
index: Schema.SchemaClass<number, number, never>;
|
|
97
|
+
axisMeta: Schema.SchemaClass<any, any, never>;
|
|
98
|
+
values: Schema.Array$<typeof Schema.Any>;
|
|
99
|
+
}>;
|
|
100
|
+
readonly output: typeof Schema.Void;
|
|
101
|
+
};
|
|
102
|
+
}, "executionMode"> & import("effect/Pipeable").Pipeable & {
|
|
103
|
+
readonly executionMode: "sync" | "async";
|
|
104
|
+
};
|
|
79
105
|
}
|
|
80
106
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/types/types.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/types/types.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAYjD,yBAAiB,WAAW,CAAC;IACpB,MAAM,WAAW;;;;;;;;MAMtB,CAAC;IAEH,KAAY,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,WAAW,CAAC,CAAC;CAClE;AAOD,yBAAiB,cAAc,CAAC;IACvB,MAAM,aAAa;;;;;;;;;;;;;;;;;;;KAWxB,CAAC;IAEI,MAAM,UAAU;;;;;;;;;;;;;;;;KAWrB,CAAC;IAEI,MAAM,cAAc;;;;;;MAMzB,CAAC;IAEH,KAAY,cAAc,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,cAAc,CAAC,CAAC;IAEhE,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;KAUnB,CAAC;IAEH;;OAEG;IACI,MAAM,WAAW;;;;;;;;;;;;;;;;;;KAatB,CAAC;CACJ"}
|