@dxos/react-ui-canvas-compute 0.8.4-main.406dc2a → 0.8.4-main.43cb759274
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/LICENSE +102 -5
- package/dist/lib/browser/index.mjs +953 -1214
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/node-esm/index.mjs +953 -1214
- package/dist/lib/node-esm/index.mjs.map +4 -4
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/types/src/components/DiagnosticOverlay.d.ts.map +1 -1
- package/dist/types/src/compute-layout.d.ts.map +1 -1
- package/dist/types/src/compute.stories.d.ts +22 -1
- package/dist/types/src/compute.stories.d.ts.map +1 -1
- package/dist/types/src/graph/controller.d.ts +54 -53
- package/dist/types/src/graph/controller.d.ts.map +1 -1
- package/dist/types/src/graph/node-defs.d.ts.map +1 -1
- package/dist/types/src/hooks/useComputeGraphController.d.ts.map +1 -1
- package/dist/types/src/hooks/useComputeNodeState.d.ts +4 -5
- package/dist/types/src/hooks/useComputeNodeState.d.ts.map +1 -1
- package/dist/types/src/hooks/useGraphMonitor.d.ts +2 -2
- package/dist/types/src/hooks/useGraphMonitor.d.ts.map +1 -1
- package/dist/types/src/shapes/Append.d.ts +1 -1
- package/dist/types/src/shapes/Append.d.ts.map +1 -1
- package/dist/types/src/shapes/Array.d.ts +1 -1
- package/dist/types/src/shapes/Array.d.ts.map +1 -1
- package/dist/types/src/shapes/Audio.d.ts +1 -1
- package/dist/types/src/shapes/Audio.d.ts.map +1 -1
- package/dist/types/src/shapes/Beacon.d.ts +1 -1
- package/dist/types/src/shapes/Beacon.d.ts.map +1 -1
- package/dist/types/src/shapes/Boolean.d.ts +7 -7
- package/dist/types/src/shapes/Boolean.d.ts.map +1 -1
- package/dist/types/src/shapes/Chat.d.ts +1 -1
- package/dist/types/src/shapes/Chat.d.ts.map +1 -1
- package/dist/types/src/shapes/Constant.d.ts +1 -1
- package/dist/types/src/shapes/Constant.d.ts.map +1 -1
- package/dist/types/src/shapes/Database.d.ts +1 -1
- package/dist/types/src/shapes/Database.d.ts.map +1 -1
- package/dist/types/src/shapes/{Queue.d.ts → Feed.d.ts} +9 -9
- package/dist/types/src/shapes/Feed.d.ts.map +1 -0
- package/dist/types/src/shapes/Function.d.ts +1 -1
- package/dist/types/src/shapes/Function.d.ts.map +1 -1
- package/dist/types/src/shapes/Gpt.d.ts +1 -1
- package/dist/types/src/shapes/Gpt.d.ts.map +1 -1
- package/dist/types/src/shapes/GptRealtime.d.ts +1 -1
- package/dist/types/src/shapes/GptRealtime.d.ts.map +1 -1
- package/dist/types/src/shapes/Json.d.ts +2 -2
- package/dist/types/src/shapes/Json.d.ts.map +1 -1
- package/dist/types/src/shapes/Logic.d.ts +2 -2
- package/dist/types/src/shapes/Logic.d.ts.map +1 -1
- package/dist/types/src/shapes/RNG.d.ts +2 -2
- package/dist/types/src/shapes/RNG.d.ts.map +1 -1
- package/dist/types/src/shapes/Scope.d.ts +1 -1
- package/dist/types/src/shapes/Scope.d.ts.map +1 -1
- package/dist/types/src/shapes/Surface.d.ts +1 -1
- package/dist/types/src/shapes/Surface.d.ts.map +1 -1
- package/dist/types/src/shapes/Switch.d.ts +1 -1
- package/dist/types/src/shapes/Switch.d.ts.map +1 -1
- package/dist/types/src/shapes/Table.d.ts +1 -1
- package/dist/types/src/shapes/Table.d.ts.map +1 -1
- package/dist/types/src/shapes/Template.d.ts +2 -2
- package/dist/types/src/shapes/Template.d.ts.map +1 -1
- package/dist/types/src/shapes/Text.d.ts +1 -1
- package/dist/types/src/shapes/Text.d.ts.map +1 -1
- package/dist/types/src/shapes/TextToImage.d.ts +1 -1
- package/dist/types/src/shapes/TextToImage.d.ts.map +1 -1
- package/dist/types/src/shapes/Thread.d.ts +1 -1
- package/dist/types/src/shapes/Thread.d.ts.map +1 -1
- package/dist/types/src/shapes/Trigger.d.ts +10 -31
- package/dist/types/src/shapes/Trigger.d.ts.map +1 -1
- package/dist/types/src/shapes/common/Box.d.ts +4 -4
- package/dist/types/src/shapes/common/Box.d.ts.map +1 -1
- package/dist/types/src/shapes/common/FunctionBody.d.ts +2 -2
- package/dist/types/src/shapes/common/FunctionBody.d.ts.map +1 -1
- package/dist/types/src/shapes/common/TypeSelect.d.ts +1 -1
- package/dist/types/src/shapes/common/TypeSelect.d.ts.map +1 -1
- package/dist/types/src/shapes/defs.d.ts +1 -1
- package/dist/types/src/shapes/defs.d.ts.map +1 -1
- package/dist/types/src/shapes/index.d.ts +2 -2
- package/dist/types/src/shapes/index.d.ts.map +1 -1
- package/dist/types/src/testing/circuits.d.ts +18 -24
- package/dist/types/src/testing/circuits.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +62 -58
- package/src/README.md +0 -3
- package/src/compute.stories.tsx +90 -115
- package/src/graph/controller.ts +154 -79
- package/src/graph/node-defs.ts +31 -31
- package/src/hooks/useComputeNodeState.ts +7 -8
- package/src/hooks/useGraphMonitor.ts +11 -10
- package/src/json.test.ts +3 -3
- package/src/registry.ts +2 -2
- package/src/schema.test.ts +11 -11
- package/src/shapes/Audio.tsx +1 -2
- package/src/shapes/Beacon.tsx +0 -1
- package/src/shapes/Boolean.tsx +1 -1
- package/src/shapes/Chat.tsx +0 -1
- package/src/shapes/Constant.tsx +0 -1
- package/src/shapes/{Queue.tsx → Feed.tsx} +26 -21
- package/src/shapes/Function.tsx +13 -10
- package/src/shapes/Gpt.tsx +6 -2
- package/src/shapes/Json.tsx +9 -3
- package/src/shapes/RNG.tsx +5 -2
- package/src/shapes/Scope.tsx +0 -1
- package/src/shapes/Surface.tsx +12 -4
- package/src/shapes/Switch.tsx +0 -1
- package/src/shapes/Table.tsx +4 -3
- package/src/shapes/Template.tsx +0 -1
- package/src/shapes/Text.tsx +0 -1
- package/src/shapes/Thread.tsx +13 -10
- package/src/shapes/Trigger.tsx +43 -53
- package/src/shapes/common/Box.tsx +6 -9
- package/src/shapes/common/FunctionBody.tsx +2 -2
- package/src/shapes/common/TypeSelect.tsx +1 -1
- package/src/shapes/defs.ts +3 -3
- package/src/shapes/index.ts +2 -2
- package/src/testing/circuits.ts +9 -18
- package/dist/types/src/shapes/Queue.d.ts.map +0 -1
|
@@ -1,39 +1,18 @@
|
|
|
1
1
|
import * as Schema from 'effect/Schema';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { Trigger } from '@dxos/compute';
|
|
4
|
+
import { Ref } from '@dxos/echo';
|
|
5
|
+
import { type SpaceId } from '@dxos/keys';
|
|
5
6
|
import { type ShapeComponentProps, type ShapeDef } from '@dxos/react-ui-canvas-editor';
|
|
6
|
-
import { type CreateShapeProps } from './defs';
|
|
7
|
-
export
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
readonly data?: any;
|
|
13
|
-
}, never>, Schema.Struct<{
|
|
14
|
-
type: typeof Schema.String;
|
|
15
|
-
text: Schema.optional<typeof Schema.String>;
|
|
16
|
-
guide: Schema.optional<typeof Schema.Boolean>;
|
|
17
|
-
classNames: Schema.optional<typeof Schema.String>;
|
|
18
|
-
}>>, Schema.Struct<{
|
|
19
|
-
center: Schema.Struct<{
|
|
20
|
-
x: typeof Schema.Number;
|
|
21
|
-
y: typeof Schema.Number;
|
|
22
|
-
}>;
|
|
23
|
-
size: Schema.mutable<Schema.Struct<{
|
|
24
|
-
width: typeof Schema.Number;
|
|
25
|
-
height: typeof Schema.Number;
|
|
26
|
-
}>>;
|
|
27
|
-
}>>>, Schema.mutable<Schema.Struct<{
|
|
28
|
-
node: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
29
|
-
}>>>, Schema.Struct<{
|
|
30
|
-
type: Schema.Literal<["trigger"]>;
|
|
31
|
-
functionTrigger: Schema.optional<import("@dxos/echo/internal").Ref$<FunctionTrigger>>;
|
|
32
|
-
}>>;
|
|
33
|
-
export type TriggerShape = Schema.Schema.Type<typeof TriggerShape>;
|
|
7
|
+
import { ComputeShape, type CreateShapeProps } from './defs';
|
|
8
|
+
export interface TriggerShape extends ComputeShape {
|
|
9
|
+
type: 'trigger';
|
|
10
|
+
functionTrigger?: Ref.Ref<Trigger.Trigger>;
|
|
11
|
+
}
|
|
12
|
+
export declare const TriggerShape: Schema.Schema<TriggerShape>;
|
|
34
13
|
export type CreateTriggerProps = CreateShapeProps<Omit<TriggerShape, 'functionTrigger'>> & {
|
|
35
14
|
spaceId?: SpaceId;
|
|
36
|
-
triggerKind?:
|
|
15
|
+
triggerKind?: Trigger.Kind;
|
|
37
16
|
};
|
|
38
17
|
export declare const createTrigger: (props: CreateTriggerProps) => TriggerShape;
|
|
39
18
|
export type TriggerComponentProps = ShapeComponentProps<TriggerShape>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Trigger.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Trigger.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAoB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Trigger.d.ts","sourceRoot":"","sources":["../../../../src/shapes/Trigger.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EAAE,OAAO,EAAgB,MAAM,eAAe,CAAC;AAEtD,OAAO,EAAsB,GAAG,EAAE,MAAM,YAAY,CAAC;AAErD,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,YAAY,CAAC;AAG1C,OAAO,EAAE,KAAK,mBAAmB,EAAE,KAAK,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAGvF,OAAO,EAAE,YAAY,EAAE,KAAK,gBAAgB,EAAe,MAAM,QAAQ,CAAC;AAW1E,MAAM,WAAW,YAAa,SAAQ,YAAY;IAChD,IAAI,EAAE,SAAS,CAAC;IAChB,eAAe,CAAC,EAAE,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;CAC5C;AAED,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,YAAY,CAA6B,CAAC;AAEnF,MAAM,MAAM,kBAAkB,GAAG,gBAAgB,CAAC,IAAI,CAAC,YAAY,EAAE,iBAAiB,CAAC,CAAC,GAAG;IACzF,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,aAAa,UAAW,kBAAkB,KAAG,YAWzD,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,mBAAmB,CAAC,YAAY,CAAC,CAAC;AAEtE,eAAO,MAAM,gBAAgB,cAAe,qBAAqB,kCAsChE,CAAC;AAqDF,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAC,YAAY,CAQ/C,CAAC"}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import React, { type PropsWithChildren, type ReactNode } from 'react';
|
|
2
2
|
import { type ThemedClassName } from '@dxos/react-ui';
|
|
3
|
-
import { type
|
|
3
|
+
import { type CanvasBoard } from '@dxos/react-ui-canvas-editor';
|
|
4
4
|
export declare const headerHeight = 32;
|
|
5
5
|
export declare const footerHeight = 32;
|
|
6
6
|
export type BoxActionHandler = (action: 'run' | 'open' | 'close') => void;
|
|
7
7
|
export type BoxProps = PropsWithChildren<ThemedClassName<{
|
|
8
|
-
shape: Shape;
|
|
8
|
+
shape: CanvasBoard.Shape;
|
|
9
9
|
title?: string;
|
|
10
10
|
status?: string | ReactNode;
|
|
11
11
|
open?: boolean;
|
|
12
12
|
onAction?: BoxActionHandler;
|
|
13
13
|
}>>;
|
|
14
14
|
export declare const Box: React.ForwardRefExoticComponent<Omit<{
|
|
15
|
-
shape: Shape;
|
|
15
|
+
shape: CanvasBoard.Shape;
|
|
16
16
|
title?: string;
|
|
17
17
|
status?: string | ReactNode;
|
|
18
18
|
open?: boolean;
|
|
19
19
|
onAction?: BoxActionHandler;
|
|
20
20
|
}, "className"> & {
|
|
21
|
-
classNames?: import("@dxos/
|
|
21
|
+
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
22
22
|
} & {
|
|
23
23
|
children?: ReactNode | undefined;
|
|
24
24
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../../../src/shapes/common/Box.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,KAAK,SAAS,EAAc,MAAM,OAAO,CAAC;AAGlF,OAAO,EAAoB,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../../../src/shapes/common/Box.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,KAAK,SAAS,EAAc,MAAM,OAAO,CAAC;AAGlF,OAAO,EAAoB,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACxE,OAAO,EAAE,KAAK,WAAW,EAAiC,MAAM,8BAA8B,CAAC;AAG/F,eAAO,MAAM,YAAY,KAAK,CAAC;AAC/B,eAAO,MAAM,YAAY,KAAK,CAAC;AAE/B,MAAM,MAAM,gBAAgB,GAAG,CAAC,MAAM,EAAE,KAAK,GAAG,MAAM,GAAG,OAAO,KAAK,IAAI,CAAC;AAE1E,MAAM,MAAM,QAAQ,GAAG,iBAAiB,CACtC,eAAe,CAAC;IACd,KAAK,EAAE,WAAW,CAAC,KAAK,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,gBAAgB,CAAC;CAC7B,CAAC,CACH,CAAC;AAEF,eAAO,MAAM,GAAG;WARL,WAAW,CAAC,KAAK;YAChB,MAAM;aACL,MAAM,GAAG,SAAS;WACpB,OAAO;eACH,gBAAgB;;;;;wCAgD9B,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type * as Schema from 'effect/Schema';
|
|
2
2
|
import { type JSX } from 'react';
|
|
3
|
-
import { type
|
|
3
|
+
import { type CanvasBoard, type Polygon } from '@dxos/react-ui-canvas-editor';
|
|
4
4
|
import { type BoxProps } from '../common';
|
|
5
5
|
export type FunctionBodyProps = {
|
|
6
|
-
shape: Shape;
|
|
6
|
+
shape: CanvasBoard.Shape;
|
|
7
7
|
name?: string;
|
|
8
8
|
content?: JSX.Element;
|
|
9
9
|
inputSchema?: Schema.Schema.Any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FunctionBody.d.ts","sourceRoot":"","sources":["../../../../../src/shapes/common/FunctionBody.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,MAAM,eAAe,CAAC;AAE7C,OAAc,EAAE,KAAK,GAAG,EAAoB,MAAM,OAAO,CAAC;AAI1D,OAAO,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"FunctionBody.d.ts","sourceRoot":"","sources":["../../../../../src/shapes/common/FunctionBody.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,MAAM,eAAe,CAAC;AAE7C,OAAc,EAAE,KAAK,GAAG,EAAoB,MAAM,OAAO,CAAC;AAI1D,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAG9E,OAAO,EAAO,KAAK,QAAQ,EAA8B,MAAM,WAAW,CAAC;AAM3E,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,WAAW,CAAC,KAAK,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC;IAChC,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC;CAClC,GAAG,IAAI,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;AAG7B,eAAO,MAAM,YAAY,kEAOtB,iBAAiB,gBAwEnB,CAAC;AAEF,eAAO,MAAM,SAAS,UAAW,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,WAGlD,CAAC;AAEF,eAAO,MAAM,qBAAqB,UACzB,OAAO,UACP,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,WACjB,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,kEAQ3B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type SelectRootProps } from '@dxos/react-ui';
|
|
3
|
-
export declare const TypeSelect: ({ value, onValueChange }: Pick<SelectRootProps,
|
|
3
|
+
export declare const TypeSelect: ({ value, onValueChange }: Pick<SelectRootProps, 'value' | 'onValueChange'>) => React.JSX.Element;
|
|
4
4
|
//# sourceMappingURL=TypeSelect.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypeSelect.d.ts","sourceRoot":"","sources":["../../../../../src/shapes/common/TypeSelect.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAU,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAG9D,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"TypeSelect.d.ts","sourceRoot":"","sources":["../../../../../src/shapes/common/TypeSelect.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAU,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAG9D,eAAO,MAAM,UAAU,6BAA8B,IAAI,CAAC,eAAe,EAAE,OAAO,GAAG,eAAe,CAAC,sBAoBpG,CAAC"}
|
|
@@ -13,8 +13,8 @@ export declare const ComputeShape: Schema.extend<Schema.mutable<Schema.extend<Sc
|
|
|
13
13
|
readonly id: string;
|
|
14
14
|
readonly data?: any;
|
|
15
15
|
}, {
|
|
16
|
-
readonly id: string;
|
|
17
16
|
readonly data?: any;
|
|
17
|
+
readonly id: string;
|
|
18
18
|
}, never>, Schema.Struct<{
|
|
19
19
|
type: typeof Schema.String;
|
|
20
20
|
text: Schema.optional<typeof Schema.String>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../src/shapes/defs.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,SAAS,MAAM,kBAAkB,CAAC;AAI9C,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAM/C,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,QAAQ,CAAC;AAE9C,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../src/shapes/defs.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,SAAS,MAAM,kBAAkB,CAAC;AAI9C,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAM/C,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,QAAQ,CAAC;AAE9C,eAAO,MAAM,aAAa,QAAS,SAAS,CAAC,GAAG;;GACqC,CAAC;AAEtF,eAAO,MAAM,cAAc,SAAU,YAAY,8BACrB,CAAC;AAE7B,eAAO,MAAM,aAAa,OAAQ,MAAM,KAAG,CAAC,YAAY,GAAG,SAAS,EAAE,MAAM,CAG3E,CAAC;AAMF,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,OAAO,IAAI,IAAI,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;AAExG,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;IAMxB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,YAAY,CAAC,CAAC;AAEnE,eAAO,MAAM,WAAW,GAAI,CAAC,SAAS,YAAY,mBAAmB,gBAAgB,CAAC,CAAC,CAAC,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,KAAG,CAK7G,CAAC"}
|
|
@@ -8,11 +8,12 @@ export * from './Boolean';
|
|
|
8
8
|
export * from './Chat';
|
|
9
9
|
export * from './Constant';
|
|
10
10
|
export * from './Database';
|
|
11
|
+
export * from './Feed';
|
|
11
12
|
export * from './Function';
|
|
12
13
|
export * from './Gpt';
|
|
14
|
+
export * from './GptRealtime';
|
|
13
15
|
export * from './Json';
|
|
14
16
|
export * from './Logic';
|
|
15
|
-
export * from './Queue';
|
|
16
17
|
export * from './RNG';
|
|
17
18
|
export * from './Scope';
|
|
18
19
|
export * from './Surface';
|
|
@@ -23,5 +24,4 @@ export * from './Text';
|
|
|
23
24
|
export * from './Thread';
|
|
24
25
|
export * from './TextToImage';
|
|
25
26
|
export * from './Trigger';
|
|
26
|
-
export * from './GptRealtime';
|
|
27
27
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/shapes/index.ts"],"names":[],"mappings":"AAIA,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AAEvB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,OAAO,CAAC;AACtB,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/shapes/index.ts"],"names":[],"mappings":"AAIA,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AAEvB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,OAAO,CAAC;AACtB,cAAc,eAAe,CAAC;AAC9B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC"}
|
|
@@ -1,28 +1,22 @@
|
|
|
1
|
-
import { type ServiceContainer } from '@dxos/functions';
|
|
2
1
|
import { CanvasGraphModel } from '@dxos/react-ui-canvas-editor';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
};
|
|
22
|
-
} & {
|
|
23
|
-
node?: string | undefined;
|
|
24
|
-
}>;
|
|
25
|
-
};
|
|
2
|
+
export declare const createEmptyCircuit: () => CanvasGraphModel<{
|
|
3
|
+
id: string;
|
|
4
|
+
data?: any;
|
|
5
|
+
type: string;
|
|
6
|
+
text?: string | undefined;
|
|
7
|
+
guide?: boolean | undefined;
|
|
8
|
+
classNames?: string | undefined;
|
|
9
|
+
center: {
|
|
10
|
+
readonly x: number;
|
|
11
|
+
readonly y: number;
|
|
12
|
+
};
|
|
13
|
+
size: {
|
|
14
|
+
width: number;
|
|
15
|
+
height: number;
|
|
16
|
+
};
|
|
17
|
+
} & {
|
|
18
|
+
node?: string | undefined;
|
|
19
|
+
}>;
|
|
26
20
|
export declare const createBasicCircuit: () => CanvasGraphModel<{
|
|
27
21
|
id: string;
|
|
28
22
|
data?: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"circuits.d.ts","sourceRoot":"","sources":["../../../../src/testing/circuits.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"circuits.d.ts","sourceRoot":"","sources":["../../../../src/testing/circuits.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,gBAAgB,EAAyD,MAAM,8BAA8B,CAAC;AAiCvH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;EAE9B,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;EAa9B,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;EAiBlC,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;EAmB9B,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;EA2BhC,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;EAiEjC,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;EAqBjC,CAAC;AAEF,eAAO,MAAM,gBAAgB,YAAa;IACxC,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;;;;;;;;;;;;;;;;;EA6DA,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;EAIpC,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;EAS9B,CAAC"}
|