@lobu/runtime-device 24.7.0 → 24.9.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.
Files changed (88) hide show
  1. package/dist/component.json +1 -1
  2. package/dist/dependencies.bun.lock +35 -51
  3. package/npm-shrinkwrap.json +214 -334
  4. package/package.json +4 -2
  5. package/vendor/cli/dist/bundled-skills/lobu/SKILL.md +14 -3
  6. package/vendor/cli/dist/chrome-extension/manifest.json +5 -4
  7. package/vendor/cli/dist/chrome-extension/tools.js +2 -3
  8. package/vendor/cli/dist/commands/_lib/apply/apply-cmd.js +27 -0
  9. package/vendor/cli/dist/commands/_lib/apply/client.d.ts +16 -5
  10. package/vendor/cli/dist/commands/_lib/apply/client.js +31 -9
  11. package/vendor/cli/dist/commands/_lib/apply/deployment.d.ts +8 -12
  12. package/vendor/cli/dist/commands/_lib/apply/deployment.js +14 -1
  13. package/vendor/cli/dist/commands/_lib/apply/desired-state.d.ts +8 -4
  14. package/vendor/cli/dist/commands/_lib/apply/desired-state.js +2 -1
  15. package/vendor/cli/dist/commands/_lib/apply/diff.d.ts +26 -7
  16. package/vendor/cli/dist/commands/_lib/apply/diff.js +101 -30
  17. package/vendor/cli/dist/commands/_lib/apply/map-config.js +29 -2
  18. package/vendor/cli/dist/commands/_lib/apply/render.js +2 -0
  19. package/vendor/cli/dist/commands/_lib/apply/shared.d.ts +20 -0
  20. package/vendor/cli/dist/commands/_lib/apply/shared.js +22 -0
  21. package/vendor/cli/dist/commands/_lib/init-from-org/bootstrap.js +14 -0
  22. package/vendor/cli/dist/commands/dev.js +28 -4
  23. package/vendor/cli/dist/commands/memory/_lib/seed-cmd.js +6 -2
  24. package/vendor/cli/dist/config/define.d.ts +21 -3
  25. package/vendor/cli/dist/connectors/README.md +6 -2
  26. package/vendor/cli/dist/connectors/github.ts +16 -3
  27. package/vendor/cli/dist/connectors/imessage.ts +953 -0
  28. package/vendor/cli/dist/connectors/linkedin.ts +20 -377
  29. package/vendor/cli/dist/connectors/market_quotes.ts +388 -91
  30. package/vendor/cli/dist/connectors/postgres.ts +21 -14
  31. package/vendor/cli/dist/connectors/x-dm-adapter.js +55 -21
  32. package/vendor/cli/dist/connectors/x.ts +1 -1
  33. package/vendor/cli/dist/runtime-components.json +4 -4
  34. package/vendor/cli/dist/templates/AGENTS.md.tmpl +1 -1
  35. package/vendor/cli/package.json +1 -1
  36. package/vendor/connector-sdk/dist/connector-types.d.ts +23 -2
  37. package/vendor/connector-sdk/package.json +1 -1
  38. package/vendor/connector-worker/dist/daemon/automation.js +7 -4
  39. package/vendor/connector-worker/dist/env.d.ts +15 -0
  40. package/vendor/connector-worker/dist/env.js +17 -0
  41. package/vendor/connector-worker/dist/executor/isolate.d.ts +3 -1
  42. package/vendor/connector-worker/dist/executor/isolate.js +32 -8
  43. package/vendor/connector-worker/package.json +1 -1
  44. package/vendor/core/dist/classify-error.d.ts +3 -4
  45. package/vendor/core/dist/classify-error.js +8 -8
  46. package/vendor/core/dist/connector-query-errors.d.ts +6 -0
  47. package/vendor/core/dist/connector-query-errors.js +4 -0
  48. package/vendor/core/dist/contracts/tools/collection-presentation.d.ts +17 -1
  49. package/vendor/core/dist/contracts/tools/collection-presentation.js +27 -3
  50. package/vendor/core/dist/contracts/tools/manage-automations.d.ts +39 -0
  51. package/vendor/core/dist/contracts/tools/manage-automations.js +11 -1
  52. package/vendor/core/dist/contracts/tools/manage-entity-schema.js +1 -1
  53. package/vendor/core/dist/contracts/tools/manage-entity.d.ts +2 -0
  54. package/vendor/core/dist/contracts/tools/manage-entity.js +7 -0
  55. package/vendor/core/dist/contracts/tools/manage-feeds.d.ts +2 -0
  56. package/vendor/core/dist/contracts/tools/manage-feeds.js +3 -0
  57. package/vendor/core/dist/contracts/tools/manage-views.d.ts +249 -7
  58. package/vendor/core/dist/contracts/tools/manage-views.js +83 -21
  59. package/vendor/core/dist/contracts/tools/navigation.d.ts +248 -0
  60. package/vendor/core/dist/contracts/tools/navigation.js +284 -0
  61. package/vendor/core/dist/contracts/tools/view-attach.d.ts +7 -0
  62. package/vendor/core/dist/contracts/tools/view-attach.js +15 -0
  63. package/vendor/core/dist/contracts/tools/view-content-hash.d.ts +4 -1
  64. package/vendor/core/dist/contracts/tools/view-content-hash.js +4 -2
  65. package/vendor/core/dist/contracts/tools/view-definition.d.ts +2 -0
  66. package/vendor/core/dist/contracts/tools/view-definition.js +52 -0
  67. package/vendor/core/dist/contracts/tools/view-host.d.ts +68 -0
  68. package/vendor/core/dist/contracts/tools/view-host.js +30 -1
  69. package/vendor/core/dist/contracts/tools/view-scope.d.ts +31 -0
  70. package/vendor/core/dist/contracts/tools/view-scope.js +45 -0
  71. package/vendor/core/dist/error-report.js +1 -0
  72. package/vendor/core/dist/errors.d.ts +17 -24
  73. package/vendor/core/dist/errors.js +17 -24
  74. package/vendor/core/dist/types.d.ts +0 -6
  75. package/vendor/core/package.json +11 -1
  76. package/vendor/views/dist/api.d.ts +30 -5
  77. package/vendor/views/dist/api.js +22 -8
  78. package/vendor/views/dist/bridge.d.ts +17 -0
  79. package/vendor/views/dist/bridge.js +49 -1
  80. package/vendor/views/dist/components.d.ts +27 -5
  81. package/vendor/views/dist/components.js +57 -7
  82. package/vendor/views/dist/embed.d.ts +98 -0
  83. package/vendor/views/dist/embed.js +418 -0
  84. package/vendor/views/dist/index.d.ts +3 -1
  85. package/vendor/views/dist/index.js +1 -0
  86. package/vendor/views/package.json +1 -1
  87. package/vendor/cli/dist/connectors/linkedin-takeout.ts +0 -577
  88. package/vendor/cli/dist/connectors/takeout-utils.ts +0 -240
@@ -402,6 +402,19 @@ export declare const AutomationClaimNextWindowContextSchema: import("@sinclair/t
402
402
  feed_id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
403
403
  }>>>;
404
404
  extraction_schema: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>>;
405
+ /**
406
+ * The run's pinned Automation version instructions. Present on the first
407
+ * page of a window (no source_cursor / before_* cursor), omitted on
408
+ * continuation pages. Follow these instead of a cached copy of the prompt.
409
+ */
410
+ instructions: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
411
+ version_id: import("@sinclair/typebox").TInteger;
412
+ prompt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
413
+ skills: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
414
+ name: import("@sinclair/typebox").TString;
415
+ content: import("@sinclair/typebox").TString;
416
+ }>>;
417
+ }>>;
405
418
  }>;
406
419
  export type AutomationClaimNextWindowContext = Static<typeof AutomationClaimNextWindowContextSchema>;
407
420
  export declare const AutomationClaimNextWindowResultSchema: import("@sinclair/typebox").TObject<{
@@ -433,6 +446,19 @@ export declare const AutomationClaimNextWindowResultSchema: import("@sinclair/ty
433
446
  feed_id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
434
447
  }>>>;
435
448
  extraction_schema: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>>;
449
+ /**
450
+ * The run's pinned Automation version instructions. Present on the first
451
+ * page of a window (no source_cursor / before_* cursor), omitted on
452
+ * continuation pages. Follow these instead of a cached copy of the prompt.
453
+ */
454
+ instructions: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
455
+ version_id: import("@sinclair/typebox").TInteger;
456
+ prompt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
457
+ skills: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
458
+ name: import("@sinclair/typebox").TString;
459
+ content: import("@sinclair/typebox").TString;
460
+ }>>;
461
+ }>>;
436
462
  }>;
437
463
  }>;
438
464
  export type AutomationClaimNextWindowResult = Static<typeof AutomationClaimNextWindowResultSchema>;
@@ -599,6 +625,19 @@ export declare const ManageAutomationsResultSchema: import("@sinclair/typebox").
599
625
  feed_id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
600
626
  }>>>;
601
627
  extraction_schema: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>>;
628
+ /**
629
+ * The run's pinned Automation version instructions. Present on the first
630
+ * page of a window (no source_cursor / before_* cursor), omitted on
631
+ * continuation pages. Follow these instead of a cached copy of the prompt.
632
+ */
633
+ instructions: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
634
+ version_id: import("@sinclair/typebox").TInteger;
635
+ prompt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
636
+ skills: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
637
+ name: import("@sinclair/typebox").TString;
638
+ content: import("@sinclair/typebox").TString;
639
+ }>>;
640
+ }>>;
602
641
  }>;
603
642
  }>, import("@sinclair/typebox").TObject<{
604
643
  action: import("@sinclair/typebox").TLiteral<"trigger">;
@@ -355,7 +355,7 @@ exports.ManageAutomationsSchema = typebox_1.Type.Object({
355
355
  description: "Submit an Automation window result and advance the Automation arrival mark. Required after every claim_next_window, including when the window held nothing actionable: the mark moves only inside this call, so an unfinished claim lets the lease expire, times the run out, and serves the same content again on the next claim.",
356
356
  }),
357
357
  typebox_1.Type.Literal("claim_next_window", {
358
- description: "Atomically claim the Automation unclaimed arrival window and return bounded source context plus a fenced window token. The window is [arrival mark, now - settle) over events.created_at, not a calendar period. The caller MUST finish the claim with complete_window, even for an empty or non-actionable window.",
358
+ description: "Atomically claim the Automation unclaimed arrival window and return bounded source context plus a fenced window token. The first page carries context.instructions, the prompt and skills of the run's pinned version; follow them instead of a cached copy. The window is [arrival mark, now - settle) over events.created_at, not a calendar period. The caller MUST finish the claim with complete_window, even for an empty or non-actionable window.",
359
359
  }),
360
360
  typebox_1.Type.Literal("trigger", {
361
361
  description: "Create or reuse an immediate Automation run. The result identifies whether Lobu, a device worker, this caller, or another external caller owns execution. Follow the returned next_action: a pending external run uses knowledge.read then automations.completeWindow, while the owner of an existing external lease resumes it with automations.claimNextWindow.",
@@ -689,6 +689,16 @@ exports.AutomationClaimNextWindowContextSchema = typebox_1.Type.Object({
689
689
  feed_id: typebox_1.Type.Optional(typebox_1.Type.Integer()),
690
690
  }))),
691
691
  extraction_schema: typebox_1.Type.Optional(typebox_1.Type.Record(typebox_1.Type.String(), typebox_1.Type.Unknown())),
692
+ /**
693
+ * The run's pinned Automation version instructions. Present on the first
694
+ * page of a window (no source_cursor / before_* cursor), omitted on
695
+ * continuation pages. Follow these instead of a cached copy of the prompt.
696
+ */
697
+ instructions: typebox_1.Type.Optional(typebox_1.Type.Object({
698
+ version_id: typebox_1.Type.Integer(),
699
+ prompt: typebox_1.Type.Union([typebox_1.Type.String(), typebox_1.Type.Null()]),
700
+ skills: typebox_1.Type.Array(typebox_1.Type.Object({ name: typebox_1.Type.String(), content: typebox_1.Type.String() })),
701
+ })),
692
702
  });
693
703
  exports.AutomationClaimNextWindowResultSchema = typebox_1.Type.Object({
694
704
  action: typebox_1.Type.Literal("claim_next_window"),
@@ -95,7 +95,7 @@ exports.ManageEntitySchemaSchema = typebox_1.Type.Object({
95
95
  name: typebox_1.Type.Optional(typebox_1.Type.String({ description: "[create/update] Display name", minLength: 1 })),
96
96
  description: typebox_1.Type.Optional(typebox_1.Type.String({ description: "[create/update] Description" })),
97
97
  metadata_schema: typebox_1.Type.Optional(typebox_1.Type.Record(typebox_1.Type.String(), typebox_1.Type.Unknown(), {
98
- description: "[create/update] JSON Schema for metadata validation. Source-backed types declare a durable projected key with root x-lobu-record-key naming the key column; this enables string entity_id + entity_type addressing and authored links without storing source rows. A linked type cannot change its backing or key until its edges are unlinked. Entity property annotations: x-facet: true exposes scalar enum values as collection filters; x-sidebar: true also exposes those values as navigation shortcuts. x-enum-labels maps stringified enum values to display labels. x-table-label or title labels the attribute. These annotations do not grant access or define separate segments.",
98
+ description: "[create/update] JSON Schema for metadata validation. Source-backed types declare a durable projected key with root x-lobu-record-key naming the key column; this enables string entity_id + entity_type addressing and authored links without storing source rows. A linked type cannot change its backing or key until its edges are unlinked. Root x-lobu-stamps maps a server-owned timestamp field to the field it tracks (e.g. { stage_at: stage }): the stamp must be a declared property with type string and format date-time, and the tracked field a declared property; every write sets the stamp when the tracked field is set on create or changes value, and caller-supplied stamp values are ignored. Entity property annotations: x-facet: true exposes scalar enum values as collection filters; x-sidebar: true also exposes those values as navigation shortcuts. x-enum-labels maps stringified enum values to display labels. x-table-label or title labels the attribute. These annotations do not grant access or define separate segments.",
99
99
  })),
100
100
  list_scope: typebox_1.Type.Optional(typebox_1.Type.Union([typebox_1.Type.Literal("accessible"), typebox_1.Type.Literal("organization")], {
101
101
  description: "[list] accessible (default) includes the current org plus public schemas; organization returns only the bound org.",
@@ -25,6 +25,7 @@ export declare const UpdateEntityAction: import("@sinclair/typebox").TObject<{
25
25
  field_note: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
26
26
  affirm_fields: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
27
27
  manual_edit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
28
+ expected: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>>;
28
29
  automation_source: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
29
30
  automation_id: import("@sinclair/typebox").TNumber;
30
31
  run_id: import("@sinclair/typebox").TNumber;
@@ -169,6 +170,7 @@ export declare const ManageEntitySchema: import("@sinclair/typebox").TUnion<[imp
169
170
  field_note: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
170
171
  affirm_fields: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
171
172
  manual_edit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
173
+ expected: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>>;
172
174
  automation_source: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
173
175
  automation_id: import("@sinclair/typebox").TNumber;
174
176
  run_id: import("@sinclair/typebox").TNumber;
@@ -113,6 +113,8 @@ exports.CreateEntityAction = typebox_1.Type.Object({
113
113
  metadata: typebox_1.Type.Optional(Metadata),
114
114
  automation_source: typebox_1.Type.Optional(AutomationSource),
115
115
  });
116
+ /** Upper bound on `update`'s `expected` precondition keys. */
117
+ const MAX_EXPECTED_FIELDS = 50;
116
118
  exports.UpdateEntityAction = typebox_1.Type.Object({
117
119
  action: typebox_1.Type.Literal("update", {
118
120
  description: "Patch entity fields (human-owned fields queued for approval).",
@@ -136,6 +138,11 @@ exports.UpdateEntityAction = typebox_1.Type.Object({
136
138
  manual_edit: typebox_1.Type.Optional(typebox_1.Type.Boolean({
137
139
  description: "[update] Assert that the signed-in person made this change themselves, so it is recorded as their manual edit: the fields it sets (and affirm_fields) become theirs, and Automations then queue an approval instead of updating them. A wrong assertion takes the field away from Automations. Honoured for a person's own web-session edit, or for a token minted with the entities:manual_edit scope by a person in the web app, with no agent, MCP session or Automation behind the call; otherwise the update fails with 403 MANUAL_EDIT_NOT_ALLOWED and nothing is written. Defaults to false.",
138
140
  })),
141
+ // Optimistic concurrency: the values the caller read before writing
142
+ expected: typebox_1.Type.Optional(typebox_1.Type.Record(typebox_1.Type.String(), typebox_1.Type.Unknown(), {
143
+ maxProperties: MAX_EXPECTED_FIELDS,
144
+ description: `[update] Metadata field name -> the value the caller last read. Checked against the live row under the update's row lock: if any field differs, nothing is written (no field changes, ownership markers, events or approvals) and the update fails with 409 PRECONDITION_FAILED listing the field names in mismatched_fields. Values compare structurally (object key order is ignored); null matches a field that was never set. Metadata fields only (not name, content, slug or parent_id); at most ${MAX_EXPECTED_FIELDS} keys.`,
145
+ })),
139
146
  automation_source: typebox_1.Type.Optional(AutomationSource),
140
147
  });
141
148
  exports.ListEntitiesAction = typebox_1.Type.Object({
@@ -9,6 +9,7 @@ export declare const ListFeedsAction: import("@sinclair/typebox").TObject<{
9
9
  entity_id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
10
10
  status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"active">, import("@sinclair/typebox").TLiteral<"paused">]>>;
11
11
  health: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"healthy">, import("@sinclair/typebox").TLiteral<"failing">]>>;
12
+ include_event_count: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
12
13
  }>;
13
14
  export declare const ReadFeedAction: import("@sinclair/typebox").TObject<{
14
15
  action: import("@sinclair/typebox").TLiteral<"read_feed">;
@@ -155,6 +156,7 @@ export declare const ManageFeedsSchema: import("@sinclair/typebox").TUnion<[impo
155
156
  entity_id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
156
157
  status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"active">, import("@sinclair/typebox").TLiteral<"paused">]>>;
157
158
  health: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"healthy">, import("@sinclair/typebox").TLiteral<"failing">]>>;
159
+ include_event_count: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
158
160
  }>, import("@sinclair/typebox").TObject<{
159
161
  action: import("@sinclair/typebox").TLiteral<"read_feed">;
160
162
  feed_id: import("@sinclair/typebox").TNumber;
@@ -21,6 +21,9 @@ exports.ListFeedsAction = typebox_1.Type.Object({
21
21
  health: typebox_1.Type.Optional(typebox_1.Type.Union([typebox_1.Type.Literal("healthy"), typebox_1.Type.Literal("failing")], {
22
22
  description: "Filter by runtime health for active feeds on non-paused connections; paused feeds and feeds on paused connections are excluded. 'failing' = last sync failed or the feed has one or more consecutive failures; 'healthy' = otherwise. Surfaces active-but-failing feeds the `status` filter cannot.",
23
23
  })),
24
+ include_event_count: typebox_1.Type.Optional(typebox_1.Type.Boolean({
25
+ description: "Add `event_count`, each feed's stored events. Counting takes seconds on a busy connection, so it is off by default; ask for it only when you show the number.",
26
+ })),
24
27
  ...(0, pagination_1.paginationFields)(50),
25
28
  });
26
29
  // Metadata inspection is deliberately separate from source access. Reading one
@@ -1,6 +1,7 @@
1
1
  import { type Static } from "@sinclair/typebox";
2
2
  import type { ActionInput } from "./action-input";
3
- export declare const ViewKeySchema: import("@sinclair/typebox").TString;
3
+ export { ViewKeySchema, ViewScopeSchema } from "./view-scope";
4
+ export type { ViewScopeInput } from "./view-scope";
4
5
  export declare const ViewAttachmentSchema: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
5
6
  record: import("@sinclair/typebox").TString;
6
7
  id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
@@ -28,7 +29,11 @@ export declare const ViewParamDeclSchema: import("@sinclair/typebox").TObject<{
28
29
  }>;
29
30
  export type ViewParamDecl = Static<typeof ViewParamDeclSchema>;
30
31
  export declare const ViewActionDeclSchema: import("@sinclair/typebox").TObject<{
31
- emits: import("@sinclair/typebox").TString;
32
+ emits: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
33
+ updates: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
34
+ entityType: import("@sinclair/typebox").TString;
35
+ fields: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
36
+ }>>;
32
37
  }>;
33
38
  export type ViewActionDecl = Static<typeof ViewActionDeclSchema>;
34
39
  export declare const ViewDefinitionSchema: import("@sinclair/typebox").TObject<{
@@ -60,8 +65,13 @@ export declare const ViewDefinitionSchema: import("@sinclair/typebox").TObject<{
60
65
  }>>;
61
66
  }>>>;
62
67
  actions: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
63
- emits: import("@sinclair/typebox").TString;
68
+ emits: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
69
+ updates: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
70
+ entityType: import("@sinclair/typebox").TString;
71
+ fields: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
72
+ }>>;
64
73
  }>>>;
74
+ resources: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
65
75
  }>;
66
76
  export type ViewDefinitionDecl = Static<typeof ViewDefinitionSchema>;
67
77
  export declare const ViewRowSchema: import("@sinclair/typebox").TObject<{
@@ -94,8 +104,13 @@ export declare const ViewRowSchema: import("@sinclair/typebox").TObject<{
94
104
  }>>;
95
105
  }>>;
96
106
  actions: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
97
- emits: import("@sinclair/typebox").TString;
107
+ emits: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
108
+ updates: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
109
+ entityType: import("@sinclair/typebox").TString;
110
+ fields: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
111
+ }>>;
98
112
  }>>;
113
+ resources: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
99
114
  last_writer: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
100
115
  updated_at: import("@sinclair/typebox").TString;
101
116
  compiled_bytes: import("@sinclair/typebox").TInteger;
@@ -124,6 +139,58 @@ export declare const RemoveViewAction: import("@sinclair/typebox").TObject<{
124
139
  action: import("@sinclair/typebox").TLiteral<"remove">;
125
140
  key: import("@sinclair/typebox").TString;
126
141
  }>;
142
+ export declare const GetNavigationAction: import("@sinclair/typebox").TObject<{
143
+ action: import("@sinclair/typebox").TLiteral<"get_navigation">;
144
+ }>;
145
+ export declare const SetNavigationAction: import("@sinclair/typebox").TObject<{
146
+ action: import("@sinclair/typebox").TLiteral<"set_navigation">;
147
+ expected_revision: import("@sinclair/typebox").TInteger;
148
+ config: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
149
+ schemaVersion: import("@sinclair/typebox").TLiteral<1>;
150
+ sections: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
151
+ id: import("@sinclair/typebox").TString;
152
+ label: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
153
+ items: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
154
+ id: import("@sinclair/typebox").TString;
155
+ label: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
156
+ icon: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
157
+ target: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
158
+ kind: import("@sinclair/typebox").TLiteral<"view">;
159
+ key: import("@sinclair/typebox").TString;
160
+ scope: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
161
+ collection: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
162
+ search: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
163
+ filters: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
164
+ field: import("@sinclair/typebox").TString;
165
+ op: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"eq">, import("@sinclair/typebox").TLiteral<"neq">]>;
166
+ value: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNumber, import("@sinclair/typebox").TBoolean, import("@sinclair/typebox").TNull]>;
167
+ }>, import("@sinclair/typebox").TObject<{
168
+ field: import("@sinclair/typebox").TString;
169
+ op: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"lt">, import("@sinclair/typebox").TLiteral<"lte">, import("@sinclair/typebox").TLiteral<"gt">, import("@sinclair/typebox").TLiteral<"gte">]>;
170
+ value: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNumber]>;
171
+ }>]>>>;
172
+ segment: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
173
+ }>>;
174
+ type: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
175
+ entity: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
176
+ event: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
177
+ }>>;
178
+ params: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNumber, import("@sinclair/typebox").TBoolean]>>>;
179
+ }>, import("@sinclair/typebox").TObject<{
180
+ kind: import("@sinclair/typebox").TLiteral<"collection">;
181
+ entityType: import("@sinclair/typebox").TString;
182
+ }>, import("@sinclair/typebox").TObject<{
183
+ kind: import("@sinclair/typebox").TLiteral<"record">;
184
+ entityId: import("@sinclair/typebox").TInteger;
185
+ }>, import("@sinclair/typebox").TObject<{
186
+ kind: import("@sinclair/typebox").TLiteral<"link">;
187
+ href: import("@sinclair/typebox").TString;
188
+ }>]>>;
189
+ children: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
190
+ }>>;
191
+ }>>;
192
+ }>, import("@sinclair/typebox").TNull]>;
193
+ }>;
127
194
  export declare const ManageViewsSchema: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
128
195
  action: import("@sinclair/typebox").TLiteral<"set">;
129
196
  source_code: import("@sinclair/typebox").TString;
@@ -142,12 +209,64 @@ export declare const ManageViewsSchema: import("@sinclair/typebox").TUnion<[impo
142
209
  }>, import("@sinclair/typebox").TObject<{
143
210
  action: import("@sinclair/typebox").TLiteral<"remove">;
144
211
  key: import("@sinclair/typebox").TString;
212
+ }>, import("@sinclair/typebox").TObject<{
213
+ action: import("@sinclair/typebox").TLiteral<"get_navigation">;
214
+ }>, import("@sinclair/typebox").TObject<{
215
+ action: import("@sinclair/typebox").TLiteral<"set_navigation">;
216
+ expected_revision: import("@sinclair/typebox").TInteger;
217
+ config: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
218
+ schemaVersion: import("@sinclair/typebox").TLiteral<1>;
219
+ sections: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
220
+ id: import("@sinclair/typebox").TString;
221
+ label: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
222
+ items: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
223
+ id: import("@sinclair/typebox").TString;
224
+ label: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
225
+ icon: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
226
+ target: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
227
+ kind: import("@sinclair/typebox").TLiteral<"view">;
228
+ key: import("@sinclair/typebox").TString;
229
+ scope: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
230
+ collection: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
231
+ search: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
232
+ filters: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
233
+ field: import("@sinclair/typebox").TString;
234
+ op: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"eq">, import("@sinclair/typebox").TLiteral<"neq">]>;
235
+ value: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNumber, import("@sinclair/typebox").TBoolean, import("@sinclair/typebox").TNull]>;
236
+ }>, import("@sinclair/typebox").TObject<{
237
+ field: import("@sinclair/typebox").TString;
238
+ op: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"lt">, import("@sinclair/typebox").TLiteral<"lte">, import("@sinclair/typebox").TLiteral<"gt">, import("@sinclair/typebox").TLiteral<"gte">]>;
239
+ value: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNumber]>;
240
+ }>]>>>;
241
+ segment: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
242
+ }>>;
243
+ type: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
244
+ entity: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
245
+ event: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
246
+ }>>;
247
+ params: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNumber, import("@sinclair/typebox").TBoolean]>>>;
248
+ }>, import("@sinclair/typebox").TObject<{
249
+ kind: import("@sinclair/typebox").TLiteral<"collection">;
250
+ entityType: import("@sinclair/typebox").TString;
251
+ }>, import("@sinclair/typebox").TObject<{
252
+ kind: import("@sinclair/typebox").TLiteral<"record">;
253
+ entityId: import("@sinclair/typebox").TInteger;
254
+ }>, import("@sinclair/typebox").TObject<{
255
+ kind: import("@sinclair/typebox").TLiteral<"link">;
256
+ href: import("@sinclair/typebox").TString;
257
+ }>]>>;
258
+ children: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
259
+ }>>;
260
+ }>>;
261
+ }>, import("@sinclair/typebox").TNull]>;
145
262
  }>]>;
146
263
  export type ManageViewsArgs = Static<typeof ManageViewsSchema>;
147
264
  export type ViewSetInput = ActionInput<ManageViewsArgs, "set">;
148
265
  export type ViewGetInput = ActionInput<ManageViewsArgs, "get">;
149
266
  export type ViewListInput = ActionInput<ManageViewsArgs, "list">;
150
267
  export type ViewRemoveInput = ActionInput<ManageViewsArgs, "remove">;
268
+ export type NavigationGetInput = ActionInput<ManageViewsArgs, "get_navigation">;
269
+ export type NavigationSetInput = ActionInput<ManageViewsArgs, "set_navigation">;
151
270
  /**
152
271
  * Result of `manage_views` — discriminated union keyed on `action`.
153
272
  * TypeBox-first: `Static<>` derives the TS type from the same schema exposed as
@@ -185,8 +304,13 @@ export declare const ManageViewsResultSchema: import("@sinclair/typebox").TUnion
185
304
  }>>;
186
305
  }>>;
187
306
  actions: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
188
- emits: import("@sinclair/typebox").TString;
307
+ emits: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
308
+ updates: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
309
+ entityType: import("@sinclair/typebox").TString;
310
+ fields: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
311
+ }>>;
189
312
  }>>;
313
+ resources: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
190
314
  last_writer: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
191
315
  updated_at: import("@sinclair/typebox").TString;
192
316
  compiled_bytes: import("@sinclair/typebox").TInteger;
@@ -225,8 +349,13 @@ export declare const ManageViewsResultSchema: import("@sinclair/typebox").TUnion
225
349
  }>>;
226
350
  }>>;
227
351
  actions: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
228
- emits: import("@sinclair/typebox").TString;
352
+ emits: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
353
+ updates: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
354
+ entityType: import("@sinclair/typebox").TString;
355
+ fields: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
356
+ }>>;
229
357
  }>>;
358
+ resources: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
230
359
  last_writer: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
231
360
  updated_at: import("@sinclair/typebox").TString;
232
361
  compiled_bytes: import("@sinclair/typebox").TInteger;
@@ -271,8 +400,13 @@ export declare const ManageViewsResultSchema: import("@sinclair/typebox").TUnion
271
400
  }>>;
272
401
  }>>;
273
402
  actions: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
274
- emits: import("@sinclair/typebox").TString;
403
+ emits: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
404
+ updates: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
405
+ entityType: import("@sinclair/typebox").TString;
406
+ fields: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
407
+ }>>;
275
408
  }>>;
409
+ resources: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
276
410
  last_writer: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
277
411
  updated_at: import("@sinclair/typebox").TString;
278
412
  compiled_bytes: import("@sinclair/typebox").TInteger;
@@ -282,6 +416,114 @@ export declare const ManageViewsResultSchema: import("@sinclair/typebox").TUnion
282
416
  action: import("@sinclair/typebox").TLiteral<"remove">;
283
417
  key: import("@sinclair/typebox").TString;
284
418
  removed: import("@sinclair/typebox").TBoolean;
419
+ }>, import("@sinclair/typebox").TObject<{
420
+ action: import("@sinclair/typebox").TLiteral<"get_navigation">;
421
+ revision: import("@sinclair/typebox").TInteger;
422
+ config: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
423
+ schemaVersion: import("@sinclair/typebox").TLiteral<1>;
424
+ sections: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
425
+ id: import("@sinclair/typebox").TString;
426
+ label: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
427
+ items: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
428
+ id: import("@sinclair/typebox").TString;
429
+ label: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
430
+ icon: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
431
+ target: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
432
+ kind: import("@sinclair/typebox").TLiteral<"view">;
433
+ key: import("@sinclair/typebox").TString;
434
+ scope: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
435
+ collection: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
436
+ search: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
437
+ filters: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
438
+ field: import("@sinclair/typebox").TString;
439
+ op: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"eq">, import("@sinclair/typebox").TLiteral<"neq">]>;
440
+ value: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNumber, import("@sinclair/typebox").TBoolean, import("@sinclair/typebox").TNull]>;
441
+ }>, import("@sinclair/typebox").TObject<{
442
+ field: import("@sinclair/typebox").TString;
443
+ op: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"lt">, import("@sinclair/typebox").TLiteral<"lte">, import("@sinclair/typebox").TLiteral<"gt">, import("@sinclair/typebox").TLiteral<"gte">]>;
444
+ value: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNumber]>;
445
+ }>]>>>;
446
+ segment: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
447
+ }>>;
448
+ type: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
449
+ entity: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
450
+ event: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
451
+ }>>;
452
+ params: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNumber, import("@sinclair/typebox").TBoolean]>>>;
453
+ }>, import("@sinclair/typebox").TObject<{
454
+ kind: import("@sinclair/typebox").TLiteral<"collection">;
455
+ entityType: import("@sinclair/typebox").TString;
456
+ }>, import("@sinclair/typebox").TObject<{
457
+ kind: import("@sinclair/typebox").TLiteral<"record">;
458
+ entityId: import("@sinclair/typebox").TInteger;
459
+ }>, import("@sinclair/typebox").TObject<{
460
+ kind: import("@sinclair/typebox").TLiteral<"link">;
461
+ href: import("@sinclair/typebox").TString;
462
+ }>]>>;
463
+ children: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
464
+ }>>;
465
+ }>>;
466
+ }>, import("@sinclair/typebox").TNull]>>;
467
+ sections: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
468
+ id: import("@sinclair/typebox").TString;
469
+ label: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
470
+ items: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
471
+ id: import("@sinclair/typebox").TString;
472
+ label: import("@sinclair/typebox").TString;
473
+ icon: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
474
+ href: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
475
+ external: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
476
+ children: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>;
477
+ }>>;
478
+ }>>;
479
+ }>, import("@sinclair/typebox").TObject<{
480
+ action: import("@sinclair/typebox").TLiteral<"set_navigation">;
481
+ revision: import("@sinclair/typebox").TInteger;
482
+ config: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
483
+ schemaVersion: import("@sinclair/typebox").TLiteral<1>;
484
+ sections: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
485
+ id: import("@sinclair/typebox").TString;
486
+ label: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
487
+ items: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
488
+ id: import("@sinclair/typebox").TString;
489
+ label: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
490
+ icon: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
491
+ target: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
492
+ kind: import("@sinclair/typebox").TLiteral<"view">;
493
+ key: import("@sinclair/typebox").TString;
494
+ scope: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
495
+ collection: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
496
+ search: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
497
+ filters: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
498
+ field: import("@sinclair/typebox").TString;
499
+ op: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"eq">, import("@sinclair/typebox").TLiteral<"neq">]>;
500
+ value: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNumber, import("@sinclair/typebox").TBoolean, import("@sinclair/typebox").TNull]>;
501
+ }>, import("@sinclair/typebox").TObject<{
502
+ field: import("@sinclair/typebox").TString;
503
+ op: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"lt">, import("@sinclair/typebox").TLiteral<"lte">, import("@sinclair/typebox").TLiteral<"gt">, import("@sinclair/typebox").TLiteral<"gte">]>;
504
+ value: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNumber]>;
505
+ }>]>>>;
506
+ segment: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
507
+ }>>;
508
+ type: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
509
+ entity: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
510
+ event: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
511
+ }>>;
512
+ params: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNumber, import("@sinclair/typebox").TBoolean]>>>;
513
+ }>, import("@sinclair/typebox").TObject<{
514
+ kind: import("@sinclair/typebox").TLiteral<"collection">;
515
+ entityType: import("@sinclair/typebox").TString;
516
+ }>, import("@sinclair/typebox").TObject<{
517
+ kind: import("@sinclair/typebox").TLiteral<"record">;
518
+ entityId: import("@sinclair/typebox").TInteger;
519
+ }>, import("@sinclair/typebox").TObject<{
520
+ kind: import("@sinclair/typebox").TLiteral<"link">;
521
+ href: import("@sinclair/typebox").TString;
522
+ }>]>>;
523
+ children: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
524
+ }>>;
525
+ }>>;
526
+ }>, import("@sinclair/typebox").TNull]>;
285
527
  }>]>;
286
528
  export type ManageViewsResult = Static<typeof ManageViewsResultSchema>;
287
529
  //# sourceMappingURL=manage-views.d.ts.map