@dxos/plugin-routine 0.10.0 → 0.11.0
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/PLUGIN.mdl +18 -13
- package/dist/lib/RoutinePlugin.mjs +2 -0
- package/dist/lib/RoutinePlugin.node.mjs +894 -0
- package/dist/lib/RoutinePlugin.node.mjs.map +1 -0
- package/dist/lib/RoutinePlugin.workerd.mjs +20 -0
- package/dist/lib/RoutinePlugin.workerd.mjs.map +1 -0
- package/dist/lib/capabilities/node.mjs +12 -0
- package/dist/lib/capabilities/node.mjs.map +1 -0
- package/dist/lib/capabilities.mjs +14 -0
- package/dist/lib/capabilities.mjs.map +1 -0
- package/dist/lib/chunk-RoutineArticle.mjs +79 -0
- package/dist/lib/chunk-RoutineArticle.mjs.map +1 -0
- package/dist/lib/chunk-RoutineCompanion.mjs +192 -0
- package/dist/lib/chunk-RoutineCompanion.mjs.map +1 -0
- package/dist/lib/chunk-RoutinePlugin.mjs +38 -0
- package/dist/lib/chunk-RoutinePlugin.mjs.map +1 -0
- package/dist/lib/chunk-RoutineSettings.mjs +50 -0
- package/dist/lib/chunk-RoutineSettings.mjs.map +1 -0
- package/dist/lib/chunk-RoutineTraceCompanion.mjs +208 -0
- package/dist/lib/chunk-RoutineTraceCompanion.mjs.map +1 -0
- package/dist/lib/chunk-SkillArticle.mjs +28 -0
- package/dist/lib/chunk-SkillArticle.mjs.map +1 -0
- package/dist/lib/chunk-app-graph-builder.mjs +71 -0
- package/dist/lib/chunk-app-graph-builder.mjs.map +1 -0
- package/dist/lib/chunk-create-object.mjs +23 -0
- package/dist/lib/chunk-create-object.mjs.map +1 -0
- package/dist/lib/chunk-create-routine.mjs +34 -0
- package/dist/lib/chunk-create-routine.mjs.map +1 -0
- package/dist/lib/chunk-create-trigger-from-template.mjs +48 -0
- package/dist/lib/chunk-create-trigger-from-template.mjs.map +1 -0
- package/dist/lib/chunk-layer-specs.mjs +179 -0
- package/dist/lib/chunk-layer-specs.mjs.map +1 -0
- package/dist/lib/{neutral/chunk-HLO4LYXT.mjs → chunk-meta.mjs} +19 -27
- package/dist/lib/chunk-meta.mjs.map +1 -0
- package/dist/lib/chunk-operation-handler.mjs +11 -0
- package/dist/lib/chunk-operation-handler.mjs.map +1 -0
- package/dist/lib/chunk-paths.mjs +11 -0
- package/dist/lib/chunk-paths.mjs.map +1 -0
- package/dist/lib/chunk-react-surface.mjs +64 -0
- package/dist/lib/chunk-react-surface.mjs.map +1 -0
- package/dist/lib/chunk-registry-sync.mjs +104 -0
- package/dist/lib/chunk-registry-sync.mjs.map +1 -0
- package/dist/lib/chunk-run-routine.mjs +57 -0
- package/dist/lib/chunk-run-routine.mjs.map +1 -0
- package/dist/lib/chunk-templates.mjs +37 -0
- package/dist/lib/chunk-templates.mjs.map +1 -0
- package/dist/lib/chunk-trigger-runtime-controller.mjs +73 -0
- package/dist/lib/chunk-trigger-runtime-controller.mjs.map +1 -0
- package/dist/lib/chunk-types.mjs +149 -0
- package/dist/lib/chunk-types.mjs.map +1 -0
- package/dist/lib/chunk-util.mjs +142 -0
- package/dist/lib/chunk-util.mjs.map +1 -0
- package/dist/lib/components.mjs +1645 -0
- package/dist/lib/components.mjs.map +1 -0
- package/dist/lib/containers.mjs +11 -0
- package/dist/lib/containers.mjs.map +1 -0
- package/dist/lib/hooks.mjs +37 -0
- package/dist/lib/hooks.mjs.map +1 -0
- package/dist/lib/index.mjs +5 -0
- package/dist/lib/meta.mjs +2 -0
- package/dist/lib/operations.mjs +7 -0
- package/dist/lib/operations.mjs.map +1 -0
- package/dist/lib/plugin.mjs +9 -0
- package/dist/lib/plugin.mjs.map +1 -0
- package/dist/lib/testing.mjs +2 -0
- package/dist/lib/translations.mjs +110 -0
- package/dist/lib/translations.mjs.map +1 -0
- package/dist/lib/types.mjs +2 -0
- package/dist/types/src/RoutinePlugin.d.ts.map +1 -1
- package/dist/types/src/RoutinePlugin.node.d.ts.map +1 -1
- package/dist/types/src/RoutinePlugin.workerd.d.ts.map +1 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts +1 -1
- package/dist/types/src/capabilities/create-object.d.ts +1 -1
- package/dist/types/src/capabilities/index.d.ts +0 -1
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/layer-specs.d.ts +1 -1
- package/dist/types/src/capabilities/operation-handler.d.ts +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/capabilities/registry-sync.d.ts +1 -1
- package/dist/types/src/capabilities/templates.d.ts +1 -1
- package/dist/types/src/capabilities/trigger-runtime-controller.d.ts +1 -1
- package/dist/types/src/commands/trigger/create/{queue.d.ts → feed.d.ts} +2 -2
- package/dist/types/src/commands/trigger/create/feed.d.ts.map +1 -0
- package/dist/types/src/commands/trigger/update/{queue.d.ts → feed.d.ts} +2 -2
- package/dist/types/src/commands/trigger/update/feed.d.ts.map +1 -0
- package/dist/types/src/commands/trigger/util.d.ts +1 -1
- package/dist/types/src/commands/trigger/util.d.ts.map +1 -1
- package/dist/types/src/components/InstructionsEditor/InstructionsEditor.d.ts +7 -5
- package/dist/types/src/components/InstructionsEditor/InstructionsEditor.d.ts.map +1 -1
- package/dist/types/src/components/InstructionsEditor/InstructionsEditor.stories.d.ts +3 -3
- package/dist/types/src/components/InstructionsEditor/InstructionsEditor.stories.d.ts.map +1 -1
- package/dist/types/src/components/RoutineCard/RoutineCard.d.ts +9 -0
- package/dist/types/src/components/RoutineCard/RoutineCard.d.ts.map +1 -0
- package/dist/types/src/components/RoutineCard/RoutineCard.stories.d.ts +21 -0
- package/dist/types/src/components/RoutineCard/RoutineCard.stories.d.ts.map +1 -0
- package/dist/types/src/components/RoutineCard/index.d.ts +2 -0
- package/dist/types/src/components/RoutineCard/index.d.ts.map +1 -0
- package/dist/types/src/components/RoutineForm/RoutineForm.d.ts +7 -2
- package/dist/types/src/components/RoutineForm/RoutineForm.d.ts.map +1 -1
- package/dist/types/src/components/Schedule/Schedule.d.ts +2 -26
- package/dist/types/src/components/Schedule/Schedule.d.ts.map +1 -1
- package/dist/types/src/components/Schedule/days.d.ts +24 -0
- package/dist/types/src/components/Schedule/days.d.ts.map +1 -0
- package/dist/types/src/components/Schedule/describe-schedule.d.ts +3 -0
- package/dist/types/src/components/Schedule/describe-schedule.d.ts.map +1 -0
- package/dist/types/src/components/Schedule/index.d.ts +2 -0
- package/dist/types/src/components/Schedule/index.d.ts.map +1 -1
- package/dist/types/src/components/TemplateEditor/TemplateEditor.d.ts +1 -1
- package/dist/types/src/components/TemplateEditor/TemplateEditor.d.ts.map +1 -1
- package/dist/types/src/components/TriggerEditor/TriggerEditor.d.ts +1 -2
- package/dist/types/src/components/TriggerEditor/TriggerEditor.d.ts.map +1 -1
- package/dist/types/src/components/TriggerEditor/TriggerKindSelector.d.ts +5 -2
- package/dist/types/src/components/TriggerEditor/TriggerKindSelector.d.ts.map +1 -1
- package/dist/types/src/components/TriggerEditor/trigger-kind-icon.d.ts +5 -0
- package/dist/types/src/components/TriggerEditor/trigger-kind-icon.d.ts.map +1 -0
- 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/containers/RoutineArticle/RoutineArticle.d.ts +5 -10
- package/dist/types/src/containers/RoutineArticle/RoutineArticle.d.ts.map +1 -1
- package/dist/types/src/containers/RoutineArticle/RoutineArticle.stories.d.ts +6 -2
- package/dist/types/src/containers/RoutineArticle/RoutineArticle.stories.d.ts.map +1 -1
- package/dist/types/src/containers/RoutineCompanion/RoutineCompanion.d.ts +4 -12
- package/dist/types/src/containers/RoutineCompanion/RoutineCompanion.d.ts.map +1 -1
- package/dist/types/src/containers/RoutineCompanion/RoutineCompanion.stories.d.ts.map +1 -1
- package/dist/types/src/containers/RoutineSettings/RoutineSettings.d.ts +4 -8
- package/dist/types/src/containers/RoutineSettings/RoutineSettings.d.ts.map +1 -1
- package/dist/types/src/containers/RoutineTraceCompanion/RoutineTraceCompanion.d.ts +5 -3
- package/dist/types/src/containers/RoutineTraceCompanion/RoutineTraceCompanion.d.ts.map +1 -1
- package/dist/types/src/containers/RoutineTraceCompanion/RoutineTraceCompanion.stories.d.ts.map +1 -1
- package/dist/types/src/containers/RoutineTraceCompanion/useRoutineRuns.d.ts +1 -1
- package/dist/types/src/containers/RoutineTraceCompanion/useRoutineRuns.d.ts.map +1 -1
- package/dist/types/src/containers/SkillArticle/SkillArticle.d.ts +4 -1
- package/dist/types/src/containers/SkillArticle/SkillArticle.d.ts.map +1 -1
- package/dist/types/src/hooks/useTriggerRuntimeControls.d.ts +1 -1
- package/dist/types/src/hooks/useTriggerRuntimeControls.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +1 -0
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/operations/run-routine.d.ts.map +1 -1
- package/dist/types/src/operations/run-routine.test.d.ts +2 -0
- package/dist/types/src/operations/run-routine.test.d.ts.map +1 -0
- package/dist/types/src/paths.d.ts.map +1 -1
- package/dist/types/src/templates/index.d.ts +1 -1
- package/dist/types/src/templates/index.d.ts.map +1 -1
- package/dist/types/src/testing/test-functions.d.ts +30 -6
- package/dist/types/src/testing/test-functions.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/RoutineCapabilities.d.ts +9 -3
- package/dist/types/src/types/RoutineCapabilities.d.ts.map +1 -1
- package/dist/types/src/types/RoutineOperation.d.ts +2 -3
- package/dist/types/src/types/RoutineOperation.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/util/index.d.ts +1 -0
- package/dist/types/src/util/index.d.ts.map +1 -1
- package/dist/types/src/util/routines-for-object.d.ts +6 -3
- package/dist/types/src/util/routines-for-object.d.ts.map +1 -1
- package/dist/types/src/util/wire.d.ts +21 -0
- package/dist/types/src/util/wire.d.ts.map +1 -0
- package/dist/types/src/util/wire.test.d.ts +2 -0
- package/dist/types/src/util/wire.test.d.ts.map +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/dx.config.ts +3 -2
- package/package.json +73 -71
- package/src/RoutinePlugin.node.ts +1 -2
- package/src/RoutinePlugin.tsx +2 -4
- package/src/RoutinePlugin.workerd.ts +1 -2
- package/src/capabilities/app-graph-builder.ts +9 -7
- package/src/capabilities/create-object.ts +2 -2
- package/src/capabilities/index.ts +0 -1
- package/src/capabilities/layer-specs.ts +78 -12
- package/src/capabilities/{react-surface.tsx → react-surface.ts} +18 -22
- package/src/capabilities/trigger-runtime-controller.test.ts +12 -18
- package/src/capabilities/trigger-runtime-controller.ts +22 -25
- package/src/commands/trigger/create/{queue.ts → feed.ts} +1 -1
- package/src/commands/trigger/create/index.ts +2 -2
- package/src/commands/trigger/update/{queue.ts → feed.ts} +1 -1
- package/src/commands/trigger/update/index.ts +2 -2
- package/src/commands/trigger/util.ts +1 -2
- package/src/components/InstructionsEditor/InstructionsEditor.stories.tsx +7 -6
- package/src/components/InstructionsEditor/InstructionsEditor.tsx +31 -19
- package/src/components/RoutineCard/RoutineCard.stories.tsx +95 -0
- package/src/components/RoutineCard/RoutineCard.tsx +60 -0
- package/src/components/{MasterDetail → RoutineCard}/index.ts +1 -1
- package/src/components/RoutineForm/RoutineForm.tsx +60 -52
- package/src/components/Schedule/Schedule.stories.tsx +1 -1
- package/src/components/Schedule/Schedule.tsx +4 -73
- package/src/components/Schedule/days.ts +18 -0
- package/src/components/Schedule/describe-schedule.ts +64 -0
- package/src/components/Schedule/index.ts +2 -0
- package/src/components/TemplateEditor/TemplateEditor.stories.tsx +1 -1
- package/src/components/TemplateEditor/TemplateForm.tsx +1 -1
- package/src/components/TriggerEditor/TriggerEditor.stories.tsx +3 -3
- package/src/components/TriggerEditor/TriggerEditor.tsx +79 -66
- package/src/components/TriggerEditor/TriggerKindSelector.tsx +4 -30
- package/src/components/TriggerEditor/trigger-kind-icon.ts +38 -0
- package/src/components/index.ts +1 -1
- package/src/containers/RoutineArticle/RoutineArticle.stories.tsx +78 -19
- package/src/containers/RoutineArticle/RoutineArticle.tsx +8 -4
- package/src/containers/RoutineCompanion/RoutineCompanion.stories.tsx +5 -4
- package/src/containers/RoutineCompanion/RoutineCompanion.tsx +11 -7
- package/src/containers/RoutineSettings/RoutineSettings.tsx +22 -33
- package/src/containers/RoutineTraceCompanion/RoutineTraceCompanion.stories.tsx +6 -5
- package/src/containers/RoutineTraceCompanion/RoutineTraceCompanion.tsx +3 -1
- package/src/containers/RoutineTraceCompanion/useRoutineRuns.ts +3 -5
- package/src/containers/SkillArticle/SkillArticle.tsx +2 -0
- package/src/hooks/useTriggerRuntimeControls.ts +2 -2
- package/src/index.ts +1 -0
- package/src/operations/create-routine.ts +1 -1
- package/src/operations/create-trigger-from-template.ts +2 -2
- package/src/operations/run-routine.test.ts +150 -0
- package/src/operations/run-routine.ts +18 -2
- package/src/paths.ts +5 -5
- package/src/templates/index.ts +5 -3
- package/src/translations.ts +5 -6
- package/src/types/RoutineCapabilities.ts +10 -4
- package/src/types/RoutineOperation.ts +7 -6
- package/src/types/index.ts +0 -1
- package/src/util/index.ts +1 -0
- package/src/util/routines-for-object.test.ts +37 -5
- package/src/util/routines-for-object.ts +33 -8
- package/src/util/wire.test.ts +77 -0
- package/src/util/wire.ts +76 -0
- package/dist/lib/neutral/RoutineArticle-UNTMV4CC.mjs +0 -95
- package/dist/lib/neutral/RoutineArticle-UNTMV4CC.mjs.map +0 -7
- package/dist/lib/neutral/RoutineCompanion-ZZ6WMY7I.mjs +0 -249
- package/dist/lib/neutral/RoutineCompanion-ZZ6WMY7I.mjs.map +0 -7
- package/dist/lib/neutral/RoutinePlugin.mjs +0 -10
- package/dist/lib/neutral/RoutinePlugin.mjs.map +0 -7
- package/dist/lib/neutral/RoutinePlugin.node.mjs +0 -1133
- package/dist/lib/neutral/RoutinePlugin.node.mjs.map +0 -7
- package/dist/lib/neutral/RoutinePlugin.workerd.mjs +0 -36
- package/dist/lib/neutral/RoutinePlugin.workerd.mjs.map +0 -7
- package/dist/lib/neutral/RoutineSettings-ZJOM4F3S.mjs +0 -48
- package/dist/lib/neutral/RoutineSettings-ZJOM4F3S.mjs.map +0 -7
- package/dist/lib/neutral/RoutineTraceCompanion-5U6R7LJE.mjs +0 -236
- package/dist/lib/neutral/RoutineTraceCompanion-5U6R7LJE.mjs.map +0 -7
- package/dist/lib/neutral/SkillArticle-WWDNKW2Z.mjs +0 -27
- package/dist/lib/neutral/SkillArticle-WWDNKW2Z.mjs.map +0 -7
- package/dist/lib/neutral/app-graph-builder-FALWLZTI.mjs +0 -90
- package/dist/lib/neutral/app-graph-builder-FALWLZTI.mjs.map +0 -7
- package/dist/lib/neutral/capabilities/index.mjs +0 -25
- package/dist/lib/neutral/capabilities/index.mjs.map +0 -7
- package/dist/lib/neutral/capabilities/node.mjs +0 -19
- package/dist/lib/neutral/capabilities/node.mjs.map +0 -7
- package/dist/lib/neutral/chunk-674LDIUJ.mjs +0 -9
- package/dist/lib/neutral/chunk-674LDIUJ.mjs.map +0 -7
- package/dist/lib/neutral/chunk-HLO4LYXT.mjs.map +0 -7
- package/dist/lib/neutral/chunk-J5LGTIGS.mjs +0 -10
- package/dist/lib/neutral/chunk-J5LGTIGS.mjs.map +0 -7
- package/dist/lib/neutral/chunk-P3TDQKOO.mjs +0 -8
- package/dist/lib/neutral/chunk-P3TDQKOO.mjs.map +0 -7
- package/dist/lib/neutral/chunk-R7J2MU2M.mjs +0 -263
- package/dist/lib/neutral/chunk-R7J2MU2M.mjs.map +0 -7
- package/dist/lib/neutral/chunk-WLNL77C7.mjs +0 -14
- package/dist/lib/neutral/chunk-WLNL77C7.mjs.map +0 -7
- package/dist/lib/neutral/chunk-YGWSAKLD.mjs +0 -65
- package/dist/lib/neutral/chunk-YGWSAKLD.mjs.map +0 -7
- package/dist/lib/neutral/components/index.mjs +0 -1921
- package/dist/lib/neutral/components/index.mjs.map +0 -7
- package/dist/lib/neutral/containers/index.mjs +0 -17
- package/dist/lib/neutral/containers/index.mjs.map +0 -7
- package/dist/lib/neutral/create-object-V23KVDMJ.mjs +0 -25
- package/dist/lib/neutral/create-object-V23KVDMJ.mjs.map +0 -7
- package/dist/lib/neutral/create-routine-6QBY6TWF.mjs +0 -38
- package/dist/lib/neutral/create-routine-6QBY6TWF.mjs.map +0 -7
- package/dist/lib/neutral/create-trigger-from-template-U3KNS77V.mjs +0 -70
- package/dist/lib/neutral/create-trigger-from-template-U3KNS77V.mjs.map +0 -7
- package/dist/lib/neutral/hooks/index.mjs +0 -47
- package/dist/lib/neutral/hooks/index.mjs.map +0 -7
- package/dist/lib/neutral/index.mjs +0 -27
- package/dist/lib/neutral/index.mjs.map +0 -7
- package/dist/lib/neutral/layer-specs-2TWJU5HI.mjs +0 -135
- package/dist/lib/neutral/layer-specs-2TWJU5HI.mjs.map +0 -7
- package/dist/lib/neutral/meta.json +0 -1
- package/dist/lib/neutral/meta.mjs +0 -8
- package/dist/lib/neutral/meta.mjs.map +0 -7
- package/dist/lib/neutral/navigation-resolver-KQIWUH6F.mjs +0 -18
- package/dist/lib/neutral/navigation-resolver-KQIWUH6F.mjs.map +0 -7
- package/dist/lib/neutral/operation-handler-QKLJSDCQ.mjs +0 -13
- package/dist/lib/neutral/operation-handler-QKLJSDCQ.mjs.map +0 -7
- package/dist/lib/neutral/operations/index.mjs +0 -8
- package/dist/lib/neutral/operations/index.mjs.map +0 -7
- package/dist/lib/neutral/plugin.mjs +0 -16
- package/dist/lib/neutral/plugin.mjs.map +0 -7
- package/dist/lib/neutral/react-surface-GMO7I7YE.mjs +0 -67
- package/dist/lib/neutral/react-surface-GMO7I7YE.mjs.map +0 -7
- package/dist/lib/neutral/registry-sync-DYPOC7ZG.mjs +0 -86
- package/dist/lib/neutral/registry-sync-DYPOC7ZG.mjs.map +0 -7
- package/dist/lib/neutral/run-routine-AEWO6SYD.mjs +0 -37
- package/dist/lib/neutral/run-routine-AEWO6SYD.mjs.map +0 -7
- package/dist/lib/neutral/templates-IIUCEBAX.mjs +0 -49
- package/dist/lib/neutral/templates-IIUCEBAX.mjs.map +0 -7
- package/dist/lib/neutral/testing.mjs +0 -8
- package/dist/lib/neutral/testing.mjs.map +0 -7
- package/dist/lib/neutral/translations.mjs +0 -115
- package/dist/lib/neutral/translations.mjs.map +0 -7
- package/dist/lib/neutral/trigger-runtime-controller-WIDDFGQT.mjs +0 -77
- package/dist/lib/neutral/trigger-runtime-controller-WIDDFGQT.mjs.map +0 -7
- package/dist/lib/neutral/types/index.mjs +0 -17
- package/dist/lib/neutral/types/index.mjs.map +0 -7
- package/dist/types/src/capabilities/navigation-resolver.d.ts +0 -5
- package/dist/types/src/capabilities/navigation-resolver.d.ts.map +0 -1
- package/dist/types/src/commands/trigger/create/queue.d.ts.map +0 -1
- package/dist/types/src/commands/trigger/update/queue.d.ts.map +0 -1
- package/dist/types/src/components/MasterDetail/MasterDetail.d.ts +0 -51
- package/dist/types/src/components/MasterDetail/MasterDetail.d.ts.map +0 -1
- package/dist/types/src/components/MasterDetail/MasterDetail.stories.d.ts +0 -16
- package/dist/types/src/components/MasterDetail/MasterDetail.stories.d.ts.map +0 -1
- package/dist/types/src/components/MasterDetail/index.d.ts +0 -2
- package/dist/types/src/components/MasterDetail/index.d.ts.map +0 -1
- package/dist/types/src/types/Routine.d.ts +0 -55
- package/dist/types/src/types/Routine.d.ts.map +0 -1
- package/dist/types/src/types/Routine.test.d.ts +0 -2
- package/dist/types/src/types/Routine.test.d.ts.map +0 -1
- package/src/capabilities/navigation-resolver.ts +0 -21
- package/src/components/MasterDetail/MasterDetail.stories.tsx +0 -100
- package/src/components/MasterDetail/MasterDetail.tsx +0 -175
- package/src/types/Routine.test.ts +0 -51
- package/src/types/Routine.ts +0 -144
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Effect from 'effect/Effect';
|
|
2
2
|
import { Capability } from '@dxos/app-framework';
|
|
3
|
-
declare const _default: (props: void) => Effect.Effect<[Capability.Any, Capability.Any, Capability.Any, Capability.Any, Capability.Any, Capability.Any, Capability.Any, Capability.Any, Capability.Any], never,
|
|
3
|
+
declare const _default: (props: void) => Effect.Effect<[Capability.Any, Capability.Any, Capability.Any, Capability.Any, Capability.Any, Capability.Any, Capability.Any, Capability.Any, Capability.Any, Capability.Any, Capability.Any, Capability.Any], never, import("effect/Scope").Scope>;
|
|
4
4
|
export default _default;
|
|
5
5
|
//# sourceMappingURL=layer-specs.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as Effect from 'effect/Effect';
|
|
2
2
|
import { Capability } from '@dxos/app-framework';
|
|
3
3
|
import type { OperationHandlerSet } from '@dxos/compute';
|
|
4
|
-
declare const _default: (props: OperationHandlerSet.OperationHandlerSet) => Effect.Effect<Capability.ModuleReturn, Error, Capability.Service>;
|
|
4
|
+
declare const _default: (props: OperationHandlerSet.OperationHandlerSet) => Effect.Effect<Capability.ModuleReturn, Error, import("effect/Scope").Scope | Capability.Service>;
|
|
5
5
|
export default _default;
|
|
6
6
|
//# sourceMappingURL=operation-handler.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Effect from 'effect/Effect';
|
|
2
2
|
import { Capability } from '@dxos/app-framework';
|
|
3
|
-
declare const _default: (props: void) => Effect.Effect<Capability.Any, never,
|
|
3
|
+
declare const _default: (props: void) => Effect.Effect<Capability.Any, never, import("effect/Scope").Scope>;
|
|
4
4
|
export default _default;
|
|
5
5
|
//# sourceMappingURL=react-surface.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.
|
|
1
|
+
{"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -16,6 +16,6 @@ import { Capability } from '@dxos/app-framework';
|
|
|
16
16
|
* modules (see the TODO in process-manager-capability.ts), so the subscriptions
|
|
17
17
|
* are not explicitly cancelled. They are effectively scoped to the client's lifetime.
|
|
18
18
|
*/
|
|
19
|
-
declare const _default: (props: void) => Effect.Effect<void, Error, Capability.Service>;
|
|
19
|
+
declare const _default: (props: void) => Effect.Effect<void, Error, import("effect/Scope").Scope | Capability.Service>;
|
|
20
20
|
export default _default;
|
|
21
21
|
//# sourceMappingURL=registry-sync.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Effect from 'effect/Effect';
|
|
2
2
|
import { Capability } from '@dxos/app-framework';
|
|
3
|
-
declare const _default: (props: void) => Effect.Effect<Capability.Any[], never,
|
|
3
|
+
declare const _default: (props: void) => Effect.Effect<Capability.Any[], never, import("effect/Scope").Scope>;
|
|
4
4
|
export default _default;
|
|
5
5
|
//# sourceMappingURL=templates.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Effect from 'effect/Effect';
|
|
2
2
|
import { Capability } from '@dxos/app-framework';
|
|
3
|
-
declare const _default: (props: void) => Effect.Effect<Capability.Any, Error, Capability.Service>;
|
|
3
|
+
declare const _default: (props: void) => Effect.Effect<Capability.Any, Error, import("effect/Scope").Scope | Capability.Service>;
|
|
4
4
|
export default _default;
|
|
5
5
|
//# sourceMappingURL=trigger-runtime-controller.d.ts.map
|
|
@@ -3,11 +3,11 @@ import * as Prompt from '@effect/cli/Prompt';
|
|
|
3
3
|
import * as HashMap from 'effect/HashMap';
|
|
4
4
|
import * as Option from 'effect/Option';
|
|
5
5
|
import { CommandConfig } from '@dxos/cli-util';
|
|
6
|
-
export declare const
|
|
6
|
+
export declare const feed: Command.Command<"feed", import("@dxos/client").ClientService | CommandConfig | Prompt.Prompt.Environment, import("@dxos/echo/Err").EntityNotFoundError | Error | import("@dxos/cli-util").SpaceNotFoundError, {
|
|
7
7
|
readonly spaceId: Option.Option<import("@dxos/keys").SpaceId>;
|
|
8
8
|
readonly enabled: boolean;
|
|
9
9
|
readonly functionId: Option.Option<string>;
|
|
10
10
|
readonly feed: Option.Option<string>;
|
|
11
11
|
readonly input: Option.Option<HashMap.HashMap<string, string>>;
|
|
12
12
|
}>;
|
|
13
|
-
//# sourceMappingURL=
|
|
13
|
+
//# sourceMappingURL=feed.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feed.d.ts","sourceRoot":"","sources":["../../../../../../src/commands/trigger/create/feed.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAC;AAE/C,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAG7C,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAU/C,eAAO,MAAM,IAAI;;;;;;EAgEhB,CAAC"}
|
|
@@ -2,7 +2,7 @@ import * as Command from '@effect/cli/Command';
|
|
|
2
2
|
import * as Prompt from '@effect/cli/Prompt';
|
|
3
3
|
import * as Option from 'effect/Option';
|
|
4
4
|
import { CommandConfig } from '@dxos/cli-util';
|
|
5
|
-
export declare const
|
|
5
|
+
export declare const feed: Command.Command<"feed", import("@dxos/client").ClientService | CommandConfig | Prompt.Prompt.Environment, import("@dxos/echo/Err").EntityNotFoundError | Error | import("@dxos/cli-util").SpaceNotFoundError, {
|
|
6
6
|
readonly spaceId: Option.Option<import("@dxos/keys").SpaceId>;
|
|
7
7
|
readonly id: Option.Option<string>;
|
|
8
8
|
readonly enabled: boolean;
|
|
@@ -10,4 +10,4 @@ export declare const queue: Command.Command<"feed", import("@dxos/client").Clien
|
|
|
10
10
|
readonly feed: Option.Option<string>;
|
|
11
11
|
readonly input: Option.Option<import("effect/HashMap").HashMap<string, string>>;
|
|
12
12
|
}>;
|
|
13
|
-
//# sourceMappingURL=
|
|
13
|
+
//# sourceMappingURL=feed.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feed.d.ts","sourceRoot":"","sources":["../../../../../../src/commands/trigger/update/feed.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAC;AAE/C,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAG7C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAU/C,eAAO,MAAM,IAAI;;;;;;;EAwChB,CAAC"}
|
|
@@ -32,7 +32,7 @@ export declare const selectFunction: () => Effect.Effect<string, Error, Database
|
|
|
32
32
|
* If kind is provided, filters triggers by that kind.
|
|
33
33
|
* Queries the database for triggers and prompts the user to select one.
|
|
34
34
|
*/
|
|
35
|
-
export declare const selectTrigger: (kind?: "email" | "feed" | "subscription" | "timer" | "webhook" | undefined) => Effect.Effect<string, import("@dxos/echo/Err").EntityNotFoundError | Error, Database.Service | import("@effect/platform/Terminal").Terminal>;
|
|
35
|
+
export declare const selectTrigger: (kind?: "direct" | "email" | "feed" | "subscription" | "timer" | "webhook" | undefined) => Effect.Effect<string, import("@dxos/echo/Err").EntityNotFoundError | Error, Database.Service | import("@effect/platform/Terminal").Terminal>;
|
|
36
36
|
/**
|
|
37
37
|
* Selects a feed interactively from available feeds in the database.
|
|
38
38
|
* Queries schemas with FeedAnnotation, then queries objects of those types,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../../src/commands/trigger/util.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAG7C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,KAAK,KAAK,MAAM,MAAM,eAAe,CAAC;AAI7C,OAAO,EAAa,OAAO,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../../src/commands/trigger/util.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAG7C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,KAAK,KAAK,MAAM,MAAM,eAAe,CAAC;AAI7C,OAAO,EAAa,OAAO,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAc,QAAQ,EAAU,IAAI,EAAwC,MAAM,YAAY,CAAC;AAKtG,MAAM,MAAM,mBAAmB,GAAG,WAAW,GAAG,eAAe,GAAG,KAAK,CAAC;AAExE;;;GAGG;AACH,eAAO,MAAM,sBAAsB,YAAa,OAAO,CAAC,OAAO,iBAAiB,MAAM,EAAE,KAAG,mBAK1F,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,0LAoCvB,CAAC;AA4BH;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,qOAoK/B,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,cAAc,qGAmBzB,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,aAAa,yOAoCxB,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,UAAU,wGAyDrB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,mBAAmB,OAAQ,MAAM,2CACqD,CAAC"}
|
|
@@ -5,12 +5,14 @@ export type InstructionsEditorProps = {
|
|
|
5
5
|
db?: Database.Database;
|
|
6
6
|
instructions: Instructions.Instructions;
|
|
7
7
|
readonly?: boolean;
|
|
8
|
+
/** Instructions schema fields rendered AND written back; others are left untouched. */
|
|
9
|
+
fields?: readonly string[];
|
|
8
10
|
};
|
|
9
11
|
/**
|
|
10
|
-
* Sub-form: edits the owned Instructions in place — its `text` (Markdown)
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
12
|
+
* Sub-form: edits the owned Instructions in place — by default its `text` (Markdown) and `skills`,
|
|
13
|
+
* both fields of the Instructions schema. A bare Form.Root + FieldSet (no Viewport) keeps these
|
|
14
|
+
* fields left-aligned with the sibling general/action forms; only the rendered fields are written
|
|
15
|
+
* back so a partial editor never clobbers the rest of the object.
|
|
14
16
|
*/
|
|
15
|
-
export declare const InstructionsEditor: ({ db: dbProp, instructions, readonly }: InstructionsEditorProps) => React.JSX.Element;
|
|
17
|
+
export declare const InstructionsEditor: ({ db: dbProp, instructions, readonly, fields, }: InstructionsEditorProps) => React.JSX.Element;
|
|
16
18
|
//# sourceMappingURL=InstructionsEditor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InstructionsEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/InstructionsEditor/InstructionsEditor.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,YAAY,EAAS,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,KAAK,QAAQ,EAAqB,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"InstructionsEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/InstructionsEditor/InstructionsEditor.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,YAAY,EAAS,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,KAAK,QAAQ,EAAqB,MAAM,YAAY,CAAC;AAY9D,MAAM,MAAM,uBAAuB,GAAG;IACpC,EAAE,CAAC,EAAE,QAAQ,CAAC,QAAQ,CAAC;IACvB,YAAY,EAAE,YAAY,CAAC,YAAY,CAAC;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,uFAAuF;IACvF,MAAM,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CAC5B,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,oDAK5B,uBAAuB,sBA8CzB,CAAC"}
|
|
@@ -10,8 +10,8 @@ declare const meta: {
|
|
|
10
10
|
};
|
|
11
11
|
export default meta;
|
|
12
12
|
type Story = StoryObj<typeof meta>;
|
|
13
|
-
/** A routine with no skills
|
|
13
|
+
/** A routine with no skills: the form shows an empty add affordance. */
|
|
14
14
|
export declare const Default: Story;
|
|
15
|
-
/** A routine seeded with a
|
|
16
|
-
export declare const
|
|
15
|
+
/** A routine seeded with a skill: the Skills field renders the populated ref slot. */
|
|
16
|
+
export declare const WithSkill: Story;
|
|
17
17
|
//# sourceMappingURL=InstructionsEditor.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InstructionsEditor.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/InstructionsEditor/InstructionsEditor.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"InstructionsEditor.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/InstructionsEditor/InstructionsEditor.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAkC1B,QAAA,MAAM,IAAI;;;;;;;CAO2B,CAAC;eAEvB,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,wEAAwE;AACxE,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF,sFAAsF;AACtF,eAAO,MAAM,SAAS,EAAE,KAOvB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type AppSurface } from '@dxos/app-toolkit/ui';
|
|
3
|
+
import { type Routine } from '@dxos/compute';
|
|
4
|
+
export type RoutineCardProps = AppSurface.ObjectCardProps<Routine.Routine>;
|
|
5
|
+
export declare function RoutineCard({ subject }: RoutineCardProps): React.JSX.Element;
|
|
6
|
+
export declare namespace RoutineCard {
|
|
7
|
+
var displayName: string;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=RoutineCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RoutineCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/RoutineCard/RoutineCard.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,KAAK,OAAO,EAAgB,MAAM,eAAe,CAAC;AAQ3D,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,eAAe,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;oCAQ/C,EAAE,OAAO,EAAE,EAAE,gBAAgB"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
render: () => React.JSX.Element;
|
|
6
|
+
decorators: import("@storybook/react").Decorator[];
|
|
7
|
+
parameters: {
|
|
8
|
+
translations: import("i18next").Resource[];
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default meta;
|
|
12
|
+
type Story = StoryObj<typeof meta>;
|
|
13
|
+
/** An active scheduled routine: the schedule summary, with the green check marking it switched on. */
|
|
14
|
+
export declare const Default: Story;
|
|
15
|
+
/** The same routine switched off: same summary, no check. */
|
|
16
|
+
export declare const Inactive: Story;
|
|
17
|
+
/** A non-timer trigger has no parameters worth summarizing, so the kind description stands in. */
|
|
18
|
+
export declare const QueryTrigger: Story;
|
|
19
|
+
/** A freshly created (blank-template) routine: the body prompts for a trigger. */
|
|
20
|
+
export declare const NoTrigger: Story;
|
|
21
|
+
//# sourceMappingURL=RoutineCard.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RoutineCard.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/RoutineCard/RoutineCard.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAoD1B,QAAA,MAAM,IAAI;;;;;;;CAO2B,CAAC;eAEvB,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,sGAAsG;AACtG,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF,6DAA6D;AAC7D,eAAO,MAAM,QAAQ,EAAE,KAEtB,CAAC;AAEF,kGAAkG;AAClG,eAAO,MAAM,YAAY,EAAE,KAQ1B,CAAC;AAEF,kFAAkF;AAClF,eAAO,MAAM,SAAS,EAAE,KAEvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/RoutineCard/index.ts"],"names":[],"mappings":"AAIA,cAAc,eAAe,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { Routine } from '@dxos/compute';
|
|
2
3
|
import { type Database } from '@dxos/echo';
|
|
3
|
-
import { Routine } from '#types';
|
|
4
4
|
export type RoutineFormProps = {
|
|
5
5
|
db: Database.Database;
|
|
6
6
|
routine: Routine.Routine;
|
|
@@ -20,6 +20,11 @@ export type RoutineFormProps = {
|
|
|
20
20
|
* The sub-forms read and autosave the routine's owned instructions and primary trigger directly off the
|
|
21
21
|
* `routine` graph (live editing); `readonly` displays them without edit affordances. The optional Save/Cancel
|
|
22
22
|
* row is used only by the companion's create-from-template flow.
|
|
23
|
+
*
|
|
24
|
+
* Created with `composable()` so it carries the COMPOSABLE marker and can be the child of
|
|
25
|
+
* `Panel.Content asChild` (forwards ref and merges layout props onto the scroll viewport).
|
|
23
26
|
*/
|
|
24
|
-
export declare const RoutineForm:
|
|
27
|
+
export declare const RoutineForm: React.ForwardRefExoticComponent<Omit<RoutineFormProps, "className"> & {
|
|
28
|
+
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
29
|
+
} & Pick<React.HTMLAttributes<Element>, "children" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
|
|
25
30
|
//# sourceMappingURL=RoutineForm.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RoutineForm.d.ts","sourceRoot":"","sources":["../../../../../src/components/RoutineForm/RoutineForm.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAuD,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"RoutineForm.d.ts","sourceRoot":"","sources":["../../../../../src/components/RoutineForm/RoutineForm.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAuD,MAAM,OAAO,CAAC;AAE5E,OAAO,EAA2B,OAAO,EAAW,MAAM,eAAe,CAAC;AAC1E,OAAO,EAAE,KAAK,QAAQ,EAAqD,MAAM,YAAY,CAAC;AAmB9F,MAAM,MAAM,gBAAgB,GAAG;IAC7B,EAAE,EAAE,QAAQ,CAAC,QAAQ,CAAC;IACtB,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC;IACzB,yFAAyF;IACzF,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kHAAkH;IAClH,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,gCAAgC;IAChC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,WAAW;;6GAoDvB,CAAC"}
|
|
@@ -1,30 +1,8 @@
|
|
|
1
1
|
import React, { type PropsWithChildren } from 'react';
|
|
2
2
|
import { ThemedClassName } from '@dxos/react-ui';
|
|
3
|
+
import { type Day } from './days';
|
|
3
4
|
export declare const ScheduleKinds: readonly ['hourly', 'daily', 'weekly', 'monthly', 'custom'];
|
|
4
5
|
export type ScheduleKind = (typeof ScheduleKinds)[number];
|
|
5
|
-
export declare const Days: readonly [{
|
|
6
|
-
readonly value: 'mon';
|
|
7
|
-
readonly label: 'Mon';
|
|
8
|
-
}, {
|
|
9
|
-
readonly value: 'tue';
|
|
10
|
-
readonly label: 'Tue';
|
|
11
|
-
}, {
|
|
12
|
-
readonly value: 'wed';
|
|
13
|
-
readonly label: 'Wed';
|
|
14
|
-
}, {
|
|
15
|
-
readonly value: 'thu';
|
|
16
|
-
readonly label: 'Thu';
|
|
17
|
-
}, {
|
|
18
|
-
readonly value: 'fri';
|
|
19
|
-
readonly label: 'Fri';
|
|
20
|
-
}, {
|
|
21
|
-
readonly value: 'sat';
|
|
22
|
-
readonly label: 'Sat';
|
|
23
|
-
}, {
|
|
24
|
-
readonly value: 'sun';
|
|
25
|
-
readonly label: 'Sun';
|
|
26
|
-
}];
|
|
27
|
-
export type Day = (typeof Days)[number]['value'];
|
|
28
6
|
/** Discriminated schedule value. Times are `HH:mm` (24h); `once.date` is `YYYY-MM-DDTHH:mm`. */
|
|
29
7
|
export type ScheduleValue = {
|
|
30
8
|
kind: 'hourly';
|
|
@@ -66,7 +44,7 @@ export type ScheduleBodyProps = ThemedClassName;
|
|
|
66
44
|
export declare const Schedule: {
|
|
67
45
|
Root: React.ForwardRefExoticComponent<Omit<ScheduleRootProps, "className"> & {
|
|
68
46
|
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
69
|
-
} & Pick<React.HTMLAttributes<Element>, "children" | "
|
|
47
|
+
} & Pick<React.HTMLAttributes<Element>, "children" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
|
|
70
48
|
Header: React.ForwardRefExoticComponent<ScheduleHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
71
49
|
Kind: React.ForwardRefExoticComponent<Omit<{}, "className"> & {
|
|
72
50
|
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
@@ -75,6 +53,4 @@ export declare const Schedule: {
|
|
|
75
53
|
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
76
54
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
77
55
|
};
|
|
78
|
-
/** Human-readable summary of the schedule, suitable for the header. */
|
|
79
|
-
export declare const describeSchedule: (value: ScheduleValue, timezone?: string) => string;
|
|
80
56
|
//# sourceMappingURL=Schedule.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Schedule.d.ts","sourceRoot":"","sources":["../../../../../src/components/Schedule/Schedule.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAgE,MAAM,OAAO,CAAC;AAGpH,OAAO,EAEL,eAAe,EAMhB,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"Schedule.d.ts","sourceRoot":"","sources":["../../../../../src/components/Schedule/Schedule.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAgE,MAAM,OAAO,CAAC;AAGpH,OAAO,EAEL,eAAe,EAMhB,MAAM,gBAAgB,CAAC;AAMxB,OAAO,EAAE,KAAK,GAAG,EAAQ,MAAM,QAAQ,CAAC;AAOxC,eAAO,MAAM,aAAa,YAGxB,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,SAAS,EACT,QAAQ,CACA,CAAC;AAEX,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC;AAI1D,gGAAgG;AAChG,MAAM,MAAM,aAAa,GAErB;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GAClC;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAC/B;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,GAAG,EAAE,CAAA;CAAE,GAC7C;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAC9C;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AA0GrC,MAAM,MAAM,iBAAiB,GAAG,eAAe,CAC7C,iBAAiB,CAAC;IAChB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IAC/C,yEAAyE;IACzE,KAAK,CAAC,EAAE,SAAS,YAAY,EAAE,CAAC;IAChC;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC,CACH,CAAC;AAgEF,MAAM,MAAM,mBAAmB,GAAG;IAAE,UAAU,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAmB1D,MAAM,MAAM,iBAAiB,GAAG,eAAe,CAAC;AAqChD,MAAM,MAAM,iBAAiB,GAAG,eAAe,CAAC;AAchD,eAAO,MAAM,QAAQ;IACnB,IAAI;;;IACJ,MAAM;IACN,IAAI;;;IACJ,IAAI;;;CACL,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare const Days: readonly [{
|
|
2
|
+
readonly value: 'mon';
|
|
3
|
+
readonly label: 'Mon';
|
|
4
|
+
}, {
|
|
5
|
+
readonly value: 'tue';
|
|
6
|
+
readonly label: 'Tue';
|
|
7
|
+
}, {
|
|
8
|
+
readonly value: 'wed';
|
|
9
|
+
readonly label: 'Wed';
|
|
10
|
+
}, {
|
|
11
|
+
readonly value: 'thu';
|
|
12
|
+
readonly label: 'Thu';
|
|
13
|
+
}, {
|
|
14
|
+
readonly value: 'fri';
|
|
15
|
+
readonly label: 'Fri';
|
|
16
|
+
}, {
|
|
17
|
+
readonly value: 'sat';
|
|
18
|
+
readonly label: 'Sat';
|
|
19
|
+
}, {
|
|
20
|
+
readonly value: 'sun';
|
|
21
|
+
readonly label: 'Sun';
|
|
22
|
+
}];
|
|
23
|
+
export type Day = (typeof Days)[number]['value'];
|
|
24
|
+
//# sourceMappingURL=days.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"days.d.ts","sourceRoot":"","sources":["../../../../../src/components/Schedule/days.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,IAAI;aACb,KAAK,EAAE,KAAK;aAAE,KAAK,EAAE,KAAK;;aAC1B,KAAK,EAAE,KAAK;aAAE,KAAK,EAAE,KAAK;;aAC1B,KAAK,EAAE,KAAK;aAAE,KAAK,EAAE,KAAK;;aAC1B,KAAK,EAAE,KAAK;aAAE,KAAK,EAAE,KAAK;;aAC1B,KAAK,EAAE,KAAK;aAAE,KAAK,EAAE,KAAK;;aAC1B,KAAK,EAAE,KAAK;aAAE,KAAK,EAAE,KAAK;;aAC1B,KAAK,EAAE,KAAK;aAAE,KAAK,EAAE,KAAK;EACpB,CAAC;AAEX,MAAM,MAAM,GAAG,GAAG,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"describe-schedule.d.ts","sourceRoot":"","sources":["../../../../../src/components/Schedule/describe-schedule.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AA+BhD,eAAO,MAAM,gBAAgB,UAAW,aAAa,aAAa,MAAM,KAAG,MA0B1E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Schedule/index.ts"],"names":[],"mappings":"AAIA,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AAExB,cAAc,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Schedule/index.ts"],"names":[],"mappings":"AAIA,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AAExB,cAAc,QAAQ,CAAC;AACvB,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC"}
|
|
@@ -9,5 +9,5 @@ export type TemplateEditorProps = {
|
|
|
9
9
|
};
|
|
10
10
|
export declare const TemplateEditor: React.ForwardRefExoticComponent<Omit<TemplateEditorProps, "className"> & {
|
|
11
11
|
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
12
|
-
} & Pick<React.HTMLAttributes<Element>, "children" | "
|
|
12
|
+
} & Pick<React.HTMLAttributes<Element>, "children" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
|
|
13
13
|
//# sourceMappingURL=TemplateEditor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TemplateEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/TemplateEditor/TemplateEditor.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,YAAY,CAAC;AAKtC,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,cAAc,CAAC;AAczC,MAAM,MAAM,mBAAmB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,yCAAyC;IACzC,MAAM,CAAC,EAAE,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC5B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,cAAc;;
|
|
1
|
+
{"version":3,"file":"TemplateEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/TemplateEditor/TemplateEditor.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,YAAY,CAAC;AAKtC,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,cAAc,CAAC;AAczC,MAAM,MAAM,mBAAmB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,yCAAyC;IACzC,MAAM,CAAC,EAAE,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC5B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,cAAc;;6GA0C1B,CAAC"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Trigger } from '@dxos/compute';
|
|
2
|
+
import { Routine, Trigger } from '@dxos/compute';
|
|
3
3
|
import { type Database } from '@dxos/echo';
|
|
4
4
|
import { ThemedClassName } from '@dxos/react-ui';
|
|
5
5
|
import { type FormFieldRendererProps } from '@dxos/react-ui-form';
|
|
6
|
-
import { Routine } from '#types';
|
|
7
6
|
export type TriggerEditorProps = ThemedClassName<{
|
|
8
7
|
db: Database.Database;
|
|
9
8
|
routine: Routine.Routine;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TriggerEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/TriggerEditor/TriggerEditor.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAE9D,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"TriggerEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/TriggerEditor/TriggerEditor.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAE9D,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,KAAK,QAAQ,EAAmD,MAAM,YAAY,CAAC;AAE5F,OAAO,EAAqB,eAAe,EAAkB,MAAM,gBAAgB,CAAC;AACpF,OAAO,EAA2B,KAAK,sBAAsB,EAAe,MAAM,qBAAqB,CAAC;AAqKxG,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC;IAC/C,EAAE,EAAE,QAAQ,CAAC,QAAQ,CAAC;IACtB,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC;IAC1B,sFAAsF;IACtF,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC,CAAC;AAEH,eAAO,MAAM,aAAa,mDAAoD,kBAAkB,sBAgD/F,CAAC;iCAGuB,KAAK,EAAE,sBAAsB;;;;2BAiBnC,KAAK,EAAE,sBAAsB"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
/** Trigger spec kinds surfaced as selectable variants. Matches the discriminants of `Trigger.Spec`. */
|
|
3
3
|
export type TriggerKind = 'timer' | 'feed' | 'subscription' | 'webhook' | 'email';
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
export type TriggerKindOption = {
|
|
5
|
+
kind: TriggerKind;
|
|
6
|
+
icon: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
};
|
|
6
9
|
export type TriggerKindSelectorProps = {
|
|
7
10
|
onChange: (kind: TriggerKind) => void;
|
|
8
11
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TriggerKindSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/TriggerEditor/TriggerKindSelector.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"TriggerKindSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/TriggerEditor/TriggerKindSelector.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAS3C,uGAAuG;AACvG,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,MAAM,GAAG,cAAc,GAAG,SAAS,GAAG,OAAO,CAAC;AAElF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,WAAW,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAIF,MAAM,MAAM,wBAAwB,GAAG;IACrC,QAAQ,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;CACvC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,iBAAkB,wBAAwB,sBA2BzE,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type TriggerKind, type TriggerKindOption } from './TriggerKindSelector';
|
|
2
|
+
/** Icon for a trigger kind, shared by the picker rows and the selected-variant editor header. */
|
|
3
|
+
export declare const OPTIONS: readonly TriggerKindOption[];
|
|
4
|
+
export declare const getTriggerKindIcon: (kind: TriggerKind) => string;
|
|
5
|
+
//# sourceMappingURL=trigger-kind-icon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trigger-kind-icon.d.ts","sourceRoot":"","sources":["../../../../../src/components/TriggerEditor/trigger-kind-icon.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAMjF,iGAAiG;AACjG,eAAO,MAAM,OAAO,EAAE,SAAS,iBAAiB,EAuB/C,CAAC;AAEF,eAAO,MAAM,kBAAkB,SAAU,WAAW,KAAG,MAC2B,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * from './RoutineForm';
|
|
2
2
|
export * from './CreateRoutinePanel';
|
|
3
|
-
export * from './MasterDetail';
|
|
4
3
|
export * from './InstructionsEditor';
|
|
4
|
+
export * from './RoutineCard';
|
|
5
5
|
export * from './Schedule';
|
|
6
6
|
export * from './TemplateEditor';
|
|
7
7
|
export * from './TriggerEditor';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC"}
|
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type AppSurface } from '@dxos/app-toolkit/ui';
|
|
3
|
-
import { Routine } from '
|
|
3
|
+
import { Routine } from '@dxos/compute';
|
|
4
4
|
export type RoutineArticleProps = AppSurface.ObjectArticleProps<Routine.Routine>;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* TODO(wittjosiah): Disable editing while the routine is running (you shouldn't mutate running code). This was
|
|
10
|
-
* previously wired as "read-only when enabled" via a routine-level toggle, but that is not how we want to
|
|
11
|
-
* achieve it — reintroduce a run-state-based lock instead.
|
|
12
|
-
*/
|
|
13
|
-
export declare const RoutineArticle: ({ role, attendableId, subject }: RoutineArticleProps) => React.JSX.Element | null;
|
|
5
|
+
export declare function RoutineArticle({ role, attendableId, subject }: RoutineArticleProps): React.JSX.Element | null;
|
|
6
|
+
export declare namespace RoutineArticle {
|
|
7
|
+
var displayName: string;
|
|
8
|
+
}
|
|
14
9
|
//# sourceMappingURL=RoutineArticle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RoutineArticle.d.ts","sourceRoot":"","sources":["../../../../../src/containers/RoutineArticle/RoutineArticle.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAGhE,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"RoutineArticle.d.ts","sourceRoot":"","sources":["../../../../../src/containers/RoutineArticle/RoutineArticle.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAGhE,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAUxC,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC,kBAAkB,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;uCAUlD,EAAE,IAAI,EAAE,YAAY,EAAE,OAAO,EAAE,EAAE,mBAAmB"}
|
|
@@ -13,8 +13,12 @@ export default meta;
|
|
|
13
13
|
type Story = StoryObj<typeof meta>;
|
|
14
14
|
/** Empty automation — no trigger or action yet. The Run action is disabled until a runnable is set. */
|
|
15
15
|
export declare const Empty: Story;
|
|
16
|
-
/**
|
|
17
|
-
|
|
16
|
+
/**
|
|
17
|
+
* Side-by-side: the composite editor, an editable properties form, and a live raw view of the
|
|
18
|
+
* underlying objects (routine + primary trigger). Seeded with a trigger so trigger-spec edits are
|
|
19
|
+
* immediately observable across all three columns.
|
|
20
|
+
*/
|
|
21
|
+
export declare const ThreeColumn: Story;
|
|
18
22
|
/** Automation with a timer trigger pre-configured for a daily 9 AM schedule. */
|
|
19
23
|
export declare const WithTimerTrigger: Story;
|
|
20
24
|
//# sourceMappingURL=RoutineArticle.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RoutineArticle.stories.d.ts","sourceRoot":"","sources":["../../../../../src/containers/RoutineArticle/RoutineArticle.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjE,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"RoutineArticle.stories.d.ts","sourceRoot":"","sources":["../../../../../src/containers/RoutineArticle/RoutineArticle.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAsK1B,QAAA,MAAM,IAAI;;;;;;;;CAQ2B,CAAC;eAEvB,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,uGAAuG;AACvG,eAAO,MAAM,KAAK,EAAE,KAEnB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,WAAW,EAAE,KAGzB,CAAC;AAEF,gFAAgF;AAChF,eAAO,MAAM,gBAAgB,EAAE,KAE9B,CAAC"}
|
|
@@ -2,16 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import { type AppSurface } from '@dxos/app-toolkit/ui';
|
|
3
3
|
import { Obj } from '@dxos/echo';
|
|
4
4
|
export type RoutineCompanionProps = AppSurface.ObjectArticleProps<Obj.Unknown>;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
* The list is session-stable: a routine seen connected stays listed even after it loses its association
|
|
10
|
-
* (flagged with a 'detached' adornment) so it doesn't vanish mid-edit. The toolbar create menu offers a
|
|
11
|
-
* template picker (contributed via {@link RoutineCapabilities.Template}, filtered by `appliesTo`); each
|
|
12
|
-
* template's `scaffold` returns a fully-wired in-memory routine graph, shown editable in {@link RoutineForm}
|
|
13
|
-
* and committed on Save with a single `Database.add` (which cascades the owned children). Existing routines
|
|
14
|
-
* are edited in place.
|
|
15
|
-
*/
|
|
16
|
-
export declare const RoutineCompanion: ({ subject: object, attendableId }: RoutineCompanionProps) => React.JSX.Element | null;
|
|
5
|
+
export declare function RoutineCompanion({ subject: object, attendableId }: RoutineCompanionProps): React.JSX.Element | null;
|
|
6
|
+
export declare namespace RoutineCompanion {
|
|
7
|
+
var displayName: string;
|
|
8
|
+
}
|
|
17
9
|
//# sourceMappingURL=RoutineCompanion.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RoutineCompanion.d.ts","sourceRoot":"","sources":["../../../../../src/containers/RoutineCompanion/RoutineCompanion.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAGtE,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"RoutineCompanion.d.ts","sourceRoot":"","sources":["../../../../../src/containers/RoutineCompanion/RoutineCompanion.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAGtE,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAEvD,OAAO,EAAoB,GAAG,EAAQ,MAAM,YAAY,CAAC;AAiBzD,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,kBAAkB,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;yCAa9C,EAAE,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,EAAE,qBAAqB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RoutineCompanion.stories.d.ts","sourceRoot":"","sources":["../../../../../src/containers/RoutineCompanion/RoutineCompanion.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjE,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"RoutineCompanion.stories.d.ts","sourceRoot":"","sources":["../../../../../src/containers/RoutineCompanion/RoutineCompanion.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjE,OAAO,KAAK,MAAM,OAAO,CAAC;AA4D1B,QAAA,MAAM,IAAI;;;;;;;;CAQ2B,CAAC;eAEvB,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC"}
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
* article + per-object companion), so this page is focused on runtime management — where the space's
|
|
7
|
-
* routines execute.
|
|
8
|
-
*/
|
|
9
|
-
export declare const RoutineSettings: ({ space }: RoutineSettingsProps) => React.JSX.Element;
|
|
2
|
+
export declare function RoutineSettings(): React.JSX.Element | null;
|
|
3
|
+
export declare namespace RoutineSettings {
|
|
4
|
+
var displayName: string;
|
|
5
|
+
}
|
|
10
6
|
//# sourceMappingURL=RoutineSettings.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RoutineSettings.d.ts","sourceRoot":"","sources":["../../../../../src/containers/RoutineSettings/RoutineSettings.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC
|
|
1
|
+
{"version":3,"file":"RoutineSettings.d.ts","sourceRoot":"","sources":["../../../../../src/containers/RoutineSettings/RoutineSettings.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Routine } from '
|
|
2
|
+
import { Routine } from '@dxos/compute';
|
|
3
3
|
export type RoutineTraceCompanionProps = {
|
|
4
4
|
role?: string;
|
|
5
5
|
subject: Routine.Routine;
|
|
6
6
|
};
|
|
7
|
-
|
|
8
|
-
export declare
|
|
7
|
+
export declare function RoutineTraceCompanion({ role, subject }: RoutineTraceCompanionProps): React.JSX.Element;
|
|
8
|
+
export declare namespace RoutineTraceCompanion {
|
|
9
|
+
var displayName: string;
|
|
10
|
+
}
|
|
9
11
|
//# sourceMappingURL=RoutineTraceCompanion.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RoutineTraceCompanion.d.ts","sourceRoot":"","sources":["../../../../../src/containers/RoutineTraceCompanion/RoutineTraceCompanion.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"RoutineTraceCompanion.d.ts","sourceRoot":"","sources":["../../../../../src/containers/RoutineTraceCompanion/RoutineTraceCompanion.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAuBxC,MAAM,MAAM,0BAA0B,GAAG;IACvC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC;CAC1B,CAAC;8CAGoC,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,0BAA0B"}
|
package/dist/types/src/containers/RoutineTraceCompanion/RoutineTraceCompanion.stories.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RoutineTraceCompanion.stories.d.ts","sourceRoot":"","sources":["../../../../../src/containers/RoutineTraceCompanion/RoutineTraceCompanion.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjE,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"RoutineTraceCompanion.stories.d.ts","sourceRoot":"","sources":["../../../../../src/containers/RoutineTraceCompanion/RoutineTraceCompanion.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjE,OAAO,KAAK,MAAM,OAAO,CAAC;AA+G1B,QAAA,MAAM,IAAI;;;;;;;;CAQ2B,CAAC;eAEvB,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useRoutineRuns.d.ts","sourceRoot":"","sources":["../../../../../src/containers/RoutineTraceCompanion/useRoutineRuns.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useRoutineRuns.d.ts","sourceRoot":"","sources":["../../../../../src/containers/RoutineTraceCompanion/useRoutineRuns.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,OAAO,EAAS,MAAM,eAAe,CAAC;AAEpD,OAAO,EAAE,KAAK,QAAQ,EAAiB,MAAM,YAAY,CAAC;AAI1D,OAAO,EAAE,KAAK,UAAU,EAAiB,MAAM,QAAQ,CAAC;AAExD;;;;;GAKG;AACH,eAAO,MAAM,cAAc,OAAQ,QAAQ,CAAC,QAAQ,GAAG,SAAS,WAAW,OAAO,CAAC,OAAO,KAAG,UAAU,EA2BtG,CAAC"}
|