@dxos/react-ui-canvas-compute 0.8.2-main.f11618f → 0.8.2-staging.7ac8446
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/index.mjs +2 -2
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/node/index.cjs +1 -1
- package/dist/lib/node/index.cjs.map +3 -3
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node-esm/index.mjs +2 -2
- package/dist/lib/node-esm/index.mjs.map +3 -3
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/types/src/shapes/Trigger.d.ts.map +1 -1
- package/package.json +38 -38
- package/src/schema.test.ts +2 -2
- package/src/shapes/Trigger.tsx +2 -2
|
@@ -2180,14 +2180,14 @@ import { EmailTriggerOutput, QueueTriggerOutput, SubscriptionTriggerOutput, Time
|
|
|
2180
2180
|
import { ObjectId as ObjectId4, Ref, S as S25 } from "@dxos/echo-schema";
|
|
2181
2181
|
import { FunctionTrigger, TriggerKind } from "@dxos/functions/types";
|
|
2182
2182
|
import { DXN as DXN2, SpaceId } from "@dxos/keys";
|
|
2183
|
-
import {
|
|
2183
|
+
import { create, makeRef as makeRef2, useSpace } from "@dxos/react-client/echo";
|
|
2184
2184
|
import { Select as Select2 } from "@dxos/react-ui";
|
|
2185
2185
|
var TriggerShape = S25.extend(ComputeShape, S25.Struct({
|
|
2186
2186
|
type: S25.Literal("trigger"),
|
|
2187
2187
|
functionTrigger: S25.optional(Ref(FunctionTrigger))
|
|
2188
2188
|
}));
|
|
2189
2189
|
var createTrigger = (props) => {
|
|
2190
|
-
const functionTrigger =
|
|
2190
|
+
const functionTrigger = create(FunctionTrigger, {
|
|
2191
2191
|
enabled: true,
|
|
2192
2192
|
spec: createTriggerSpec(props)
|
|
2193
2193
|
});
|