@inflatable-cookie/longhorn 0.6.0 → 0.7.1
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/README.md +2 -2
- package/dist/agent-control/generated/protocol.d.ts +260 -0
- package/dist/agent-control/generated/protocol.js +2 -0
- package/dist/agent-control/index.d.ts +3 -0
- package/dist/agent-control/index.js +2 -0
- package/dist/agent-control/inject.d.ts +1 -0
- package/{src/agent-control/inject.ts → dist/agent-control/inject.js} +2 -4
- package/dist/agent-control/selection.d.ts +50 -0
- package/dist/agent-control/selection.js +75 -0
- package/dist/agent-control/shim.d.ts +61 -0
- package/dist/agent-control/shim.js +913 -0
- package/dist/bridge/direct.d.ts +9 -0
- package/dist/bridge/direct.js +12 -0
- package/dist/bridge/generated/fields.d.ts +28 -0
- package/dist/bridge/generated/fields.js +32 -0
- package/dist/bridge/generated/protocol.d.ts +276 -0
- package/dist/bridge/generated/protocol.js +84 -0
- package/dist/bridge/generated/variant-fields.d.ts +2 -0
- package/dist/bridge/generated/variant-fields.js +6 -0
- package/dist/bridge/index.d.ts +10 -0
- package/{src/bridge/index.ts → dist/bridge/index.js} +10 -10
- package/dist/bridge/job.d.ts +17 -0
- package/dist/bridge/job.js +65 -0
- package/dist/bridge/loopback.d.ts +17 -0
- package/dist/bridge/loopback.js +46 -0
- package/dist/bridge/operation.d.ts +28 -0
- package/dist/bridge/operation.js +71 -0
- package/dist/bridge/router.d.ts +11 -0
- package/dist/bridge/router.js +36 -0
- package/dist/bridge/runtime/connection.d.ts +19 -0
- package/dist/bridge/runtime/connection.js +180 -0
- package/dist/bridge/runtime/policy.d.ts +17 -0
- package/dist/bridge/runtime/policy.js +43 -0
- package/dist/bridge/runtime/retry.d.ts +8 -0
- package/dist/bridge/runtime/retry.js +30 -0
- package/dist/bridge/runtime.d.ts +3 -0
- package/dist/bridge/runtime.js +3 -0
- package/dist/bridge/session.d.ts +17 -0
- package/dist/bridge/session.js +31 -0
- package/dist/bridge/stream/connection.d.ts +23 -0
- package/dist/bridge/stream/connection.js +71 -0
- package/dist/bridge/stream/source.d.ts +19 -0
- package/dist/bridge/stream/source.js +40 -0
- package/dist/bridge/stream/tracker.d.ts +11 -0
- package/dist/bridge/stream/tracker.js +91 -0
- package/dist/bridge/stream.d.ts +6 -0
- package/dist/bridge/stream.js +6 -0
- package/dist/bridge/supervision.d.ts +61 -0
- package/dist/bridge/supervision.js +140 -0
- package/dist/bridge/validation/base.d.ts +19 -0
- package/dist/bridge/validation/base.js +68 -0
- package/dist/bridge/validation/jobs.d.ts +5 -0
- package/dist/bridge/validation/jobs.js +58 -0
- package/dist/bridge/validation/negotiation.d.ts +4 -0
- package/dist/bridge/validation/negotiation.js +135 -0
- package/dist/bridge/validation/operations.d.ts +10 -0
- package/dist/bridge/validation/operations.js +116 -0
- package/dist/bridge/validation/streams.d.ts +5 -0
- package/dist/bridge/validation/streams.js +25 -0
- package/dist/bridge/validation.d.ts +5 -0
- package/dist/bridge/validation.js +5 -0
- package/dist/commands/client.d.ts +21 -0
- package/dist/commands/client.js +79 -0
- package/dist/commands/controller.d.ts +78 -0
- package/dist/commands/controller.js +339 -0
- package/dist/commands/generated/fields.d.ts +39 -0
- package/dist/commands/generated/fields.js +43 -0
- package/dist/commands/generated/protocol.d.ts +958 -0
- package/dist/commands/generated/protocol.js +24 -0
- package/dist/commands/generated/variant-fields.d.ts +2 -0
- package/dist/commands/generated/variant-fields.js +86 -0
- package/dist/commands/index.d.ts +8 -0
- package/{src/commands/index.ts → dist/commands/index.js} +8 -8
- package/dist/commands/keyboard.d.ts +40 -0
- package/dist/commands/keyboard.js +246 -0
- package/dist/commands/physical-code.d.ts +2 -0
- package/dist/commands/physical-code.js +8 -0
- package/dist/commands/ports.d.ts +46 -0
- package/dist/commands/ports.js +1 -0
- package/dist/commands/projectors.d.ts +37 -0
- package/dist/commands/projectors.js +220 -0
- package/dist/commands/validation.d.ts +17 -0
- package/dist/commands/validation.js +481 -0
- package/dist/config/client.d.ts +19 -0
- package/dist/config/client.js +108 -0
- package/dist/config/generated/base.d.ts +750 -0
- package/dist/config/generated/base.js +20 -0
- package/dist/config/generated/fields.d.ts +50 -0
- package/dist/config/generated/fields.js +54 -0
- package/dist/config/generated/label-template.d.ts +1 -0
- package/dist/config/generated/label-template.js +8 -0
- package/dist/config/generated/labels.d.ts +4 -0
- package/dist/config/generated/labels.js +25 -0
- package/dist/config/generated/protocol.d.ts +2 -0
- package/dist/config/generated/protocol.js +3 -0
- package/dist/config/generated/restore.d.ts +731 -0
- package/dist/config/generated/restore.js +21 -0
- package/dist/config/generated/variant-fields.d.ts +2 -0
- package/dist/config/generated/variant-fields.js +127 -0
- package/dist/config/index.d.ts +7 -0
- package/{src/native-content/index.ts → dist/config/index.js} +7 -7
- package/dist/config/names.d.ts +13 -0
- package/dist/config/validation/commands.d.ts +14 -0
- package/dist/config/validation/commands.js +70 -0
- package/dist/config/validation/outcomes.d.ts +13 -0
- package/dist/config/validation/outcomes.js +195 -0
- package/dist/config/validation/primitives.d.ts +19 -0
- package/dist/config/validation/primitives.js +86 -0
- package/dist/config/validation/projection.d.ts +9 -0
- package/dist/config/validation/projection.js +226 -0
- package/dist/config/validation.d.ts +4 -0
- package/dist/config/validation.js +4 -0
- package/dist/core/connection.d.ts +69 -0
- package/dist/core/connection.js +291 -0
- package/dist/core/controller-lifecycle.d.ts +39 -0
- package/dist/core/controller-lifecycle.js +116 -0
- package/dist/core/generated/identifiers.d.ts +4 -0
- package/dist/core/generated/identifiers.js +3 -0
- package/dist/core/identifiers.d.ts +11 -0
- package/dist/core/identifiers.js +21 -0
- package/dist/core/index.d.ts +5 -0
- package/dist/core/index.js +4 -0
- package/dist/core/json-value.d.ts +8 -0
- package/dist/core/json-value.js +54 -0
- package/dist/core/listeners.d.ts +17 -0
- package/dist/core/listeners.js +29 -0
- package/dist/core/record.d.ts +8 -0
- package/dist/core/record.js +57 -0
- package/dist/core/transport.d.ts +12 -0
- package/dist/core/transport.js +3 -0
- package/dist/core/wire-copy.d.ts +1 -0
- package/dist/core/wire-copy.js +7 -0
- package/dist/history/client.d.ts +12 -0
- package/dist/history/client.js +36 -0
- package/dist/history/controller.d.ts +62 -0
- package/dist/history/controller.js +302 -0
- package/dist/history/direct.d.ts +9 -0
- package/dist/history/direct.js +9 -0
- package/dist/history/generated/fields.d.ts +14 -0
- package/dist/history/generated/fields.js +18 -0
- package/dist/history/generated/protocol.d.ts +390 -0
- package/dist/history/generated/protocol.js +12 -0
- package/dist/history/generated/variant-fields.d.ts +2 -0
- package/dist/history/generated/variant-fields.js +25 -0
- package/dist/history/index.d.ts +8 -0
- package/{src/config/index.ts → dist/history/index.js} +8 -7
- package/dist/history/ports.d.ts +18 -0
- package/dist/history/ports.js +1 -0
- package/dist/history/serialized.d.ts +11 -0
- package/dist/history/serialized.js +25 -0
- package/dist/history/validation.d.ts +11 -0
- package/dist/history/validation.js +253 -0
- package/dist/history-tree/client.d.ts +16 -0
- package/dist/history-tree/client.js +60 -0
- package/dist/history-tree/controller.d.ts +112 -0
- package/dist/history-tree/controller.js +408 -0
- package/dist/history-tree/direct.d.ts +3 -0
- package/dist/history-tree/direct.js +3 -0
- package/dist/history-tree/generated/fields.d.ts +23 -0
- package/dist/history-tree/generated/fields.js +27 -0
- package/dist/history-tree/generated/protocol.d.ts +759 -0
- package/dist/history-tree/generated/protocol.js +14 -0
- package/dist/history-tree/generated/variant-fields.d.ts +2 -0
- package/dist/history-tree/generated/variant-fields.js +43 -0
- package/dist/history-tree/index.d.ts +8 -0
- package/{src/history/index.ts → dist/history-tree/index.js} +8 -8
- package/dist/history-tree/ports.d.ts +26 -0
- package/dist/history-tree/ports.js +1 -0
- package/dist/history-tree/serialized.d.ts +15 -0
- package/dist/history-tree/serialized.js +37 -0
- package/dist/history-tree/validation.d.ts +26 -0
- package/dist/history-tree/validation.js +389 -0
- package/dist/layout/generated/protocol.d.ts +381 -0
- package/dist/layout/generated/protocol.js +7 -0
- package/dist/layout/generated/variant-fields.d.ts +2 -0
- package/dist/layout/generated/variant-fields.js +45 -0
- package/dist/layout/index.d.ts +4 -0
- package/dist/layout/index.js +4 -0
- package/dist/layout/ratio.d.ts +4 -0
- package/dist/layout/ratio.js +16 -0
- package/dist/layout/validation.d.ts +12 -0
- package/dist/layout/validation.js +104 -0
- package/dist/layout/visibility.d.ts +3 -0
- package/dist/layout/visibility.js +14 -0
- package/dist/licence/client.d.ts +14 -0
- package/dist/licence/client.js +51 -0
- package/dist/licence/controller.d.ts +138 -0
- package/dist/licence/controller.js +289 -0
- package/dist/licence/direct.d.ts +3 -0
- package/dist/licence/direct.js +3 -0
- package/dist/licence/generated/fields.d.ts +13 -0
- package/dist/licence/generated/fields.js +17 -0
- package/dist/licence/generated/protocol.d.ts +267 -0
- package/dist/licence/generated/protocol.js +10 -0
- package/dist/licence/generated/variant-fields.d.ts +2 -0
- package/dist/licence/generated/variant-fields.js +32 -0
- package/dist/licence/index.d.ts +10 -0
- package/dist/licence/index.js +14 -0
- package/dist/licence/key.d.ts +65 -0
- package/dist/licence/key.js +120 -0
- package/dist/licence/ports.d.ts +29 -0
- package/dist/licence/ports.js +1 -0
- package/dist/licence/serialized.d.ts +13 -0
- package/dist/licence/serialized.js +31 -0
- package/dist/licence/validation.d.ts +13 -0
- package/dist/licence/validation.js +247 -0
- package/dist/native-content/client.d.ts +51 -0
- package/dist/native-content/client.js +336 -0
- package/dist/native-content/direct.d.ts +10 -0
- package/dist/native-content/direct.js +3 -0
- package/dist/native-content/generated/fields.d.ts +27 -0
- package/dist/native-content/generated/fields.js +31 -0
- package/dist/native-content/generated/protocol.d.ts +675 -0
- package/dist/native-content/generated/protocol.js +26 -0
- package/dist/native-content/generated/variant-fields.d.ts +2 -0
- package/dist/native-content/generated/variant-fields.js +75 -0
- package/dist/native-content/index.d.ts +7 -0
- package/{src/transfer/index.ts → dist/native-content/index.js} +7 -6
- package/dist/native-content/ports.d.ts +19 -0
- package/dist/native-content/ports.js +1 -0
- package/dist/native-content/serialized.d.ts +12 -0
- package/dist/native-content/serialized.js +28 -0
- package/dist/native-content/validation/base.d.ts +21 -0
- package/dist/native-content/validation/base.js +118 -0
- package/dist/native-content/validation/messages.d.ts +9 -0
- package/dist/native-content/validation/messages.js +115 -0
- package/dist/native-content/validation/state.d.ts +12 -0
- package/dist/native-content/validation/state.js +319 -0
- package/dist/native-content/validation.d.ts +3 -0
- package/dist/native-content/validation.js +3 -0
- package/dist/notifications/client.d.ts +28 -0
- package/dist/notifications/client.js +92 -0
- package/dist/notifications/controller.d.ts +104 -0
- package/dist/notifications/controller.js +381 -0
- package/dist/notifications/direct.d.ts +8 -0
- package/dist/notifications/direct.js +3 -0
- package/dist/notifications/generated/fields.d.ts +15 -0
- package/dist/notifications/generated/fields.js +19 -0
- package/dist/notifications/generated/labels.d.ts +4 -0
- package/dist/notifications/generated/labels.js +14 -0
- package/dist/notifications/generated/protocol.d.ts +535 -0
- package/dist/notifications/generated/protocol.js +13 -0
- package/dist/notifications/generated/variant-fields.d.ts +2 -0
- package/dist/notifications/generated/variant-fields.js +35 -0
- package/dist/notifications/index.d.ts +11 -0
- package/dist/notifications/index.js +16 -0
- package/dist/notifications/ports.d.ts +15 -0
- package/dist/notifications/ports.js +1 -0
- package/dist/notifications/serialized.d.ts +10 -0
- package/dist/notifications/serialized.js +22 -0
- package/dist/notifications/toast.d.ts +27 -0
- package/{src/notifications/toast.ts → dist/notifications/toast.js} +6 -15
- package/{src/notifications/tone.ts → dist/notifications/tone.d.ts} +3 -9
- package/dist/notifications/tone.js +15 -0
- package/dist/notifications/validation.d.ts +11 -0
- package/dist/notifications/validation.js +248 -0
- package/dist/operation/bridge.d.ts +46 -0
- package/dist/operation/bridge.js +155 -0
- package/dist/operation/client.d.ts +29 -0
- package/dist/operation/client.js +97 -0
- package/dist/operation/controller.d.ts +62 -0
- package/dist/operation/controller.js +211 -0
- package/dist/operation/direct.d.ts +9 -0
- package/dist/operation/direct.js +3 -0
- package/dist/operation/generated/fields.d.ts +16 -0
- package/dist/operation/generated/fields.js +20 -0
- package/dist/operation/generated/labels.d.ts +2 -0
- package/dist/operation/generated/labels.js +12 -0
- package/dist/operation/generated/protocol.d.ts +794 -0
- package/dist/operation/generated/protocol.js +17 -0
- package/dist/operation/generated/variant-fields.d.ts +2 -0
- package/dist/operation/generated/variant-fields.js +58 -0
- package/dist/operation/index.d.ts +9 -0
- package/{src/history-tree/index.ts → dist/operation/index.js} +9 -8
- package/dist/operation/ports.d.ts +17 -0
- package/dist/operation/ports.js +1 -0
- package/dist/operation/serialized.d.ts +11 -0
- package/dist/operation/serialized.js +25 -0
- package/dist/operation/validation.d.ts +14 -0
- package/dist/operation/validation.js +431 -0
- package/dist/settings/client.d.ts +13 -0
- package/dist/settings/client.js +52 -0
- package/dist/settings/connection.d.ts +29 -0
- package/dist/settings/connection.js +140 -0
- package/dist/settings/generated/fields.d.ts +30 -0
- package/dist/settings/generated/fields.js +34 -0
- package/dist/settings/generated/protocol.d.ts +663 -0
- package/dist/settings/generated/protocol.js +16 -0
- package/dist/settings/generated/variant-fields.d.ts +2 -0
- package/dist/settings/generated/variant-fields.js +24 -0
- package/dist/settings/index.d.ts +7 -0
- package/{src/settings/index.ts → dist/settings/index.js} +7 -7
- package/dist/settings/names.d.ts +6 -0
- package/dist/settings/registry.d.ts +43 -0
- package/dist/settings/registry.js +70 -0
- package/dist/settings/validation/authority.d.ts +2 -0
- package/dist/settings/validation/authority.js +42 -0
- package/dist/settings/validation/command.d.ts +8 -0
- package/dist/settings/validation/command.js +95 -0
- package/dist/settings/validation/error.d.ts +7 -0
- package/dist/settings/validation/error.js +13 -0
- package/dist/settings/validation/primitives.d.ts +19 -0
- package/dist/settings/validation/primitives.js +109 -0
- package/dist/settings/validation/projection.d.ts +4 -0
- package/dist/settings/validation/projection.js +26 -0
- package/dist/settings/validation/registry.d.ts +2 -0
- package/dist/settings/validation/registry.js +85 -0
- package/dist/settings/validation.d.ts +4 -0
- package/dist/settings/validation.js +4 -0
- package/dist/surface-transfer/client.d.ts +10 -0
- package/dist/surface-transfer/client.js +23 -0
- package/dist/surface-transfer/generated/fields.d.ts +7 -0
- package/dist/surface-transfer/generated/fields.js +11 -0
- package/dist/surface-transfer/generated/protocol.d.ts +99 -0
- package/dist/surface-transfer/generated/protocol.js +7 -0
- package/dist/surface-transfer/generated/variant-fields.d.ts +2 -0
- package/dist/surface-transfer/generated/variant-fields.js +28 -0
- package/dist/surface-transfer/index.d.ts +4 -0
- package/{src/surfaces/index.ts → dist/surface-transfer/index.js} +4 -4
- package/dist/surface-transfer/validation.d.ts +11 -0
- package/dist/surface-transfer/validation.js +128 -0
- package/dist/surfaces/client.d.ts +18 -0
- package/dist/surfaces/client.js +69 -0
- package/dist/surfaces/generated/fields.d.ts +14 -0
- package/dist/surfaces/generated/fields.js +18 -0
- package/dist/surfaces/generated/protocol.d.ts +280 -0
- package/dist/surfaces/generated/protocol.js +6 -0
- package/dist/surfaces/generated/variant-fields.d.ts +2 -0
- package/dist/surfaces/generated/variant-fields.js +40 -0
- package/dist/surfaces/index.d.ts +4 -0
- package/{src/surface-transfer/index.ts → dist/surfaces/index.js} +4 -4
- package/dist/surfaces/validation.d.ts +17 -0
- package/dist/surfaces/validation.js +222 -0
- package/dist/transfer/client.d.ts +19 -0
- package/dist/transfer/client.js +50 -0
- package/dist/transfer/connection.d.ts +11 -0
- package/dist/transfer/connection.js +38 -0
- package/dist/transfer/generated/fields.d.ts +19 -0
- package/dist/transfer/generated/fields.js +23 -0
- package/dist/transfer/generated/protocol.d.ts +251 -0
- package/dist/transfer/generated/protocol.js +16 -0
- package/dist/transfer/generated/variant-fields.d.ts +2 -0
- package/dist/transfer/generated/variant-fields.js +43 -0
- package/dist/transfer/index.d.ts +6 -0
- package/dist/transfer/index.js +11 -0
- package/dist/transfer/payload.d.ts +9 -0
- package/dist/transfer/payload.js +46 -0
- package/dist/transfer/validation.d.ts +24 -0
- package/dist/transfer/validation.js +204 -0
- package/dist/update/client.d.ts +22 -0
- package/dist/update/client.js +86 -0
- package/dist/update/controller.d.ts +153 -0
- package/dist/update/controller.js +369 -0
- package/dist/update/direct.d.ts +3 -0
- package/dist/update/direct.js +3 -0
- package/dist/update/generated/fields.d.ts +14 -0
- package/dist/update/generated/fields.js +18 -0
- package/dist/update/generated/protocol.d.ts +352 -0
- package/dist/update/generated/protocol.js +14 -0
- package/dist/update/generated/variant-fields.d.ts +2 -0
- package/dist/update/generated/variant-fields.js +44 -0
- package/dist/update/index.d.ts +9 -0
- package/{src/update/index.ts → dist/update/index.js} +9 -9
- package/dist/update/ports.d.ts +33 -0
- package/dist/update/ports.js +1 -0
- package/dist/update/serialized.d.ts +15 -0
- package/dist/update/serialized.js +41 -0
- package/dist/update/validation.d.ts +25 -0
- package/dist/update/validation.js +251 -0
- package/package.json +110 -113
- package/src/agent-control/index.ts +0 -38
- package/src/agent-control/selection.ts +0 -128
- package/src/agent-control/shim.ts +0 -1022
- package/src/bridge/direct.ts +0 -22
- package/src/bridge/generated/fields.ts +0 -33
- package/src/bridge/generated/protocol.ts +0 -222
- package/src/bridge/generated/variant-fields.ts +0 -10
- package/src/bridge/job.ts +0 -41
- package/src/bridge/loopback.ts +0 -66
- package/src/bridge/operation.ts +0 -136
- package/src/bridge/router.ts +0 -58
- package/src/bridge/runtime/connection.ts +0 -290
- package/src/bridge/runtime/policy.ts +0 -69
- package/src/bridge/runtime/retry.ts +0 -48
- package/src/bridge/runtime.ts +0 -3
- package/src/bridge/session.ts +0 -57
- package/src/bridge/stream/connection.ts +0 -124
- package/src/bridge/stream/source.ts +0 -57
- package/src/bridge/stream/tracker.ts +0 -104
- package/src/bridge/stream.ts +0 -6
- package/src/bridge/supervision.ts +0 -189
- package/src/bridge/validation/base.ts +0 -142
- package/src/bridge/validation/jobs.ts +0 -91
- package/src/bridge/validation/negotiation.ts +0 -232
- package/src/bridge/validation/operations.ts +0 -189
- package/src/bridge/validation/streams.ts +0 -40
- package/src/bridge/validation.ts +0 -5
- package/src/commands/client.ts +0 -119
- package/src/commands/controller.ts +0 -396
- package/src/commands/generated/fields.ts +0 -44
- package/src/commands/generated/protocol.ts +0 -880
- package/src/commands/generated/variant-fields.ts +0 -88
- package/src/commands/keyboard.ts +0 -364
- package/src/commands/ports.ts +0 -76
- package/src/commands/projectors.ts +0 -308
- package/src/commands/validation.ts +0 -417
- package/src/config/client.ts +0 -202
- package/src/config/generated/base.ts +0 -714
- package/src/config/generated/fields.ts +0 -54
- package/src/config/generated/label-template.ts +0 -14
- package/src/config/generated/labels.ts +0 -30
- package/src/config/generated/protocol.ts +0 -3
- package/src/config/generated/restore.ts +0 -658
- package/src/config/generated/variant-fields.ts +0 -129
- package/src/config/validation/commands.ts +0 -143
- package/src/config/validation/outcomes.ts +0 -235
- package/src/config/validation/primitives.ts +0 -157
- package/src/config/validation/projection.ts +0 -323
- package/src/config/validation.ts +0 -7
- package/src/core/connection.ts +0 -261
- package/src/core/index.ts +0 -2
- package/src/core/record.ts +0 -4
- package/src/core/transport.ts +0 -13
- package/src/core/wire-copy.ts +0 -6
- package/src/history/client.ts +0 -59
- package/src/history/controller.ts +0 -385
- package/src/history/direct.ts +0 -19
- package/src/history/generated/fields.ts +0 -18
- package/src/history/generated/protocol.ts +0 -389
- package/src/history/generated/variant-fields.ts +0 -27
- package/src/history/ports.ts +0 -29
- package/src/history/serialized.ts +0 -34
- package/src/history/validation.ts +0 -350
- package/src/history-tree/client.ts +0 -92
- package/src/history-tree/controller.ts +0 -442
- package/src/history-tree/direct.ts +0 -5
- package/src/history-tree/generated/fields.ts +0 -26
- package/src/history-tree/generated/protocol.ts +0 -711
- package/src/history-tree/generated/variant-fields.ts +0 -39
- package/src/history-tree/ports.ts +0 -45
- package/src/history-tree/serialized.ts +0 -43
- package/src/history-tree/validation.ts +0 -468
- package/src/layout/generated/protocol.ts +0 -289
- package/src/layout/index.ts +0 -4
- package/src/layout/ratio.ts +0 -16
- package/src/layout/validation.ts +0 -101
- package/src/layout/visibility.ts +0 -29
- package/src/licence/client.ts +0 -69
- package/src/licence/controller.ts +0 -360
- package/src/licence/direct.ts +0 -5
- package/src/licence/generated/fields.ts +0 -17
- package/src/licence/generated/key-conformance.json +0 -70
- package/src/licence/generated/protocol.ts +0 -249
- package/src/licence/generated/variant-fields.ts +0 -34
- package/src/licence/index.ts +0 -14
- package/src/licence/key.ts +0 -153
- package/src/licence/ports.ts +0 -41
- package/src/licence/serialized.ts +0 -36
- package/src/licence/validation.ts +0 -310
- package/src/native-content/client.ts +0 -416
- package/src/native-content/direct.ts +0 -16
- package/src/native-content/generated/fields.ts +0 -32
- package/src/native-content/generated/protocol.ts +0 -498
- package/src/native-content/generated/variant-fields.ts +0 -77
- package/src/native-content/ports.ts +0 -40
- package/src/native-content/serialized.ts +0 -43
- package/src/native-content/validation/base.ts +0 -201
- package/src/native-content/validation/messages.ts +0 -178
- package/src/native-content/validation/state.ts +0 -402
- package/src/native-content/validation.ts +0 -7
- package/src/notifications/client.ts +0 -162
- package/src/notifications/controller.ts +0 -394
- package/src/notifications/direct.ts +0 -14
- package/src/notifications/generated/fields.ts +0 -19
- package/src/notifications/generated/labels.ts +0 -20
- package/src/notifications/generated/protocol.ts +0 -522
- package/src/notifications/generated/variant-fields.ts +0 -37
- package/src/notifications/index.ts +0 -16
- package/src/notifications/ports.ts +0 -26
- package/src/notifications/serialized.ts +0 -29
- package/src/notifications/validation.ts +0 -350
- package/src/operation/bridge.ts +0 -235
- package/src/operation/client.ts +0 -181
- package/src/operation/controller.ts +0 -312
- package/src/operation/direct.ts +0 -13
- package/src/operation/generated/fields.ts +0 -20
- package/src/operation/generated/labels.ts +0 -15
- package/src/operation/generated/protocol.ts +0 -762
- package/src/operation/generated/variant-fields.ts +0 -60
- package/src/operation/index.ts +0 -14
- package/src/operation/ports.ts +0 -30
- package/src/operation/serialized.ts +0 -38
- package/src/operation/validation.ts +0 -566
- package/src/settings/client.ts +0 -109
- package/src/settings/connection.ts +0 -232
- package/src/settings/generated/fields.ts +0 -34
- package/src/settings/generated/protocol.ts +0 -673
- package/src/settings/generated/variant-fields.ts +0 -26
- package/src/settings/registry.ts +0 -139
- package/src/settings/validation/authority.ts +0 -68
- package/src/settings/validation/command.ts +0 -145
- package/src/settings/validation/error.ts +0 -27
- package/src/settings/validation/primitives.ts +0 -187
- package/src/settings/validation/projection.ts +0 -34
- package/src/settings/validation/registry.ts +0 -122
- package/src/settings/validation.ts +0 -4
- package/src/surface-transfer/client.ts +0 -42
- package/src/surface-transfer/generated/fields.ts +0 -12
- package/src/surface-transfer/generated/protocol.ts +0 -61
- package/src/surface-transfer/generated/variant-fields.ts +0 -30
- package/src/surface-transfer/validation.ts +0 -191
- package/src/surfaces/client.ts +0 -130
- package/src/surfaces/generated/fields.ts +0 -19
- package/src/surfaces/generated/protocol.ts +0 -217
- package/src/surfaces/generated/variant-fields.ts +0 -42
- package/src/surfaces/validation.ts +0 -190
- package/src/transfer/client.ts +0 -99
- package/src/transfer/connection.ts +0 -79
- package/src/transfer/generated/fields.ts +0 -23
- package/src/transfer/generated/protocol.ts +0 -171
- package/src/transfer/generated/variant-fields.ts +0 -45
- package/src/transfer/payload.ts +0 -53
- package/src/transfer/validation.ts +0 -246
- package/src/update/client.ts +0 -88
- package/src/update/controller.ts +0 -403
- package/src/update/direct.ts +0 -5
- package/src/update/generated/fields.ts +0 -18
- package/src/update/generated/protocol.ts +0 -311
- package/src/update/generated/variant-fields.ts +0 -45
- package/src/update/ports.ts +0 -49
- package/src/update/serialized.ts +0 -46
- package/src/update/validation.ts +0 -327
- /package/{src/config/names.ts → dist/config/names.js} +0 -0
- /package/{src/settings/names.ts → dist/settings/names.js} +0 -0
|
@@ -1,714 +0,0 @@
|
|
|
1
|
-
// @generated by `effigy generate:config`; do not edit.
|
|
2
|
-
// Rust serde types are the wire authority.
|
|
3
|
-
import type { RestoreOperationsProjection } from "./restore.ts";
|
|
4
|
-
|
|
5
|
-
export const CONFIG_OPERATIONS_PROTOCOL_VERSION = 1 as const;
|
|
6
|
-
export const CONFIG_MAXIMUM_OPAQUE_ID_BYTES = 128 as const;
|
|
7
|
-
export const CONFIG_OPERATION_CAPABILITIES = ["storageDiagnostics","storageTransition","backupInventory","backupCreate","backupExport","backupRetention","backupEncryption","restoreInspection","restoreExecution","restoreAdapterExecution","restoreRecovery"] as const;
|
|
8
|
-
export const CONFIG_OPERATION_REJECTION_CODES = ["unauthorized","unsupported","authorityChanged","confirmationMismatch","transitionActive","recoveryRequired","conflicts","pendingPublication","selectionCancelled","archiveChanged","archiveCorrupt","archiveFutureVersion","identityMismatch","restorePlanStale","restoreActive","restoreAdapterChanged","incompleteInventory","encryptionInteractionRequired","policyBlocked"] as const;
|
|
9
|
-
export const STORAGE_BOOTSTRAP_STATES = ["selected","recoveryRequired"] as const;
|
|
10
|
-
export const BACKUP_PENDING_STATES = ["clear","pending"] as const;
|
|
11
|
-
export const BACKUP_ENCRYPTION_STATES = ["unavailable","available","interactionRequired","failed"] as const;
|
|
12
|
-
export const STORAGE_TRANSITION_INSPECT_STATUSES = ["ready","rejected"] as const;
|
|
13
|
-
export const STORAGE_TRANSITION_EXECUTE_STATUSES = ["committed","rejected"] as const;
|
|
14
|
-
export const STORAGE_RECOVERY_STATUSES = ["recovered","rejected"] as const;
|
|
15
|
-
export const STORAGE_CLEANUP_STATUSES = ["applied","rejected"] as const;
|
|
16
|
-
export const BACKUP_CREATE_STATUSES = ["published","rejected"] as const;
|
|
17
|
-
export const BACKUP_EXPORT_STATUSES = ["published","rejected"] as const;
|
|
18
|
-
export const BACKUP_RETENTION_APPLY_STATUSES = ["applied","rejected"] as const;
|
|
19
|
-
|
|
20
|
-
export type ConfigProtocolVersion = number;
|
|
21
|
-
|
|
22
|
-
export type ConfigGeneration = number;
|
|
23
|
-
|
|
24
|
-
export type ConfigRequestId = string;
|
|
25
|
-
|
|
26
|
-
export type ConfigOperationCapability = "storageDiagnostics" | "storageTransition" | "backupInventory" | "backupCreate" | "backupExport" | "backupRetention" | "backupEncryption" | "restoreInspection" | "restoreExecution" | "restoreAdapterExecution" | "restoreRecovery";
|
|
27
|
-
|
|
28
|
-
export type StorageProfileId = "platform-native-v1" | "unified-app-root-v1" | "shared-product-root-v1" | "portable-v1";
|
|
29
|
-
|
|
30
|
-
export type StorageLeafProvenanceProjection = "canonicalApplicationId" | "stableStorageName";
|
|
31
|
-
|
|
32
|
-
export type StorageRootProjection = {
|
|
33
|
-
/**
|
|
34
|
-
* Stable root kind.
|
|
35
|
-
*/
|
|
36
|
-
kind: string,
|
|
37
|
-
/**
|
|
38
|
-
* Exact resolved absolute path.
|
|
39
|
-
*/
|
|
40
|
-
path: string,
|
|
41
|
-
/**
|
|
42
|
-
* Stable authority provenance.
|
|
43
|
-
*/
|
|
44
|
-
provenance: string, };
|
|
45
|
-
|
|
46
|
-
export type StorageLayoutProjection = {
|
|
47
|
-
/**
|
|
48
|
-
* Active built-in profile.
|
|
49
|
-
*/
|
|
50
|
-
profile: StorageProfileId,
|
|
51
|
-
/**
|
|
52
|
-
* Resolved target platform.
|
|
53
|
-
*/
|
|
54
|
-
platform: string,
|
|
55
|
-
/**
|
|
56
|
-
* Canonical machine application identity.
|
|
57
|
-
*/
|
|
58
|
-
canonicalApplicationId: string,
|
|
59
|
-
/**
|
|
60
|
-
* Effective app-specific directory leaf.
|
|
61
|
-
*/
|
|
62
|
-
effectiveLeaf: string,
|
|
63
|
-
/**
|
|
64
|
-
* Source of the effective leaf.
|
|
65
|
-
*/
|
|
66
|
-
leafProvenance: StorageLeafProvenanceProjection,
|
|
67
|
-
/**
|
|
68
|
-
* Resolved roots in stable root-kind order.
|
|
69
|
-
*/
|
|
70
|
-
roots: Array<StorageRootProjection>,
|
|
71
|
-
/**
|
|
72
|
-
* Stable visible profile consequences.
|
|
73
|
-
*/
|
|
74
|
-
warnings: Array<string>,
|
|
75
|
-
/**
|
|
76
|
-
* Deterministic digest of this exact layout.
|
|
77
|
-
*/
|
|
78
|
-
layoutDigest: string, };
|
|
79
|
-
|
|
80
|
-
export type StorageBootstrapProjection = { "state": "selected",
|
|
81
|
-
/**
|
|
82
|
-
* Selection source.
|
|
83
|
-
*/
|
|
84
|
-
origin: string,
|
|
85
|
-
/**
|
|
86
|
-
* Host-visible locator path, when a locator owns selection.
|
|
87
|
-
*/
|
|
88
|
-
locatorPath: string | null,
|
|
89
|
-
/**
|
|
90
|
-
* Transition that last committed selection.
|
|
91
|
-
*/
|
|
92
|
-
transitionId: string | null,
|
|
93
|
-
/**
|
|
94
|
-
* Digest last committed by the locator.
|
|
95
|
-
*/
|
|
96
|
-
lastCommittedLayoutDigest: string | null, } | { "state": "recoveryRequired",
|
|
97
|
-
/**
|
|
98
|
-
* Stable recovery class.
|
|
99
|
-
*/
|
|
100
|
-
kind: string,
|
|
101
|
-
/**
|
|
102
|
-
* Safe recovery detail.
|
|
103
|
-
*/
|
|
104
|
-
detail: string,
|
|
105
|
-
/**
|
|
106
|
-
* Locator path involved in recovery.
|
|
107
|
-
*/
|
|
108
|
-
locatorPath: string,
|
|
109
|
-
/**
|
|
110
|
-
* Journal path involved in recovery.
|
|
111
|
-
*/
|
|
112
|
-
journalPath: string, };
|
|
113
|
-
|
|
114
|
-
export type StorageOperationsProjection = {
|
|
115
|
-
/**
|
|
116
|
-
* Exact active layout.
|
|
117
|
-
*/
|
|
118
|
-
layout: StorageLayoutProjection,
|
|
119
|
-
/**
|
|
120
|
-
* Locator or recovery state.
|
|
121
|
-
*/
|
|
122
|
-
bootstrap: StorageBootstrapProjection,
|
|
123
|
-
/**
|
|
124
|
-
* Host-supported profile targets.
|
|
125
|
-
*/
|
|
126
|
-
availableProfiles: Array<StorageProfileId>, };
|
|
127
|
-
|
|
128
|
-
export type StorageTransitionDomainProjection = {
|
|
129
|
-
/**
|
|
130
|
-
* Stable configuration domain id.
|
|
131
|
-
*/
|
|
132
|
-
domainId: string,
|
|
133
|
-
/**
|
|
134
|
-
* Storage lifecycle class.
|
|
135
|
-
*/
|
|
136
|
-
storageClass: string,
|
|
137
|
-
/**
|
|
138
|
-
* Planned action.
|
|
139
|
-
*/
|
|
140
|
-
action: string,
|
|
141
|
-
/**
|
|
142
|
-
* Exact source path when present.
|
|
143
|
-
*/
|
|
144
|
-
sourcePath: string | null,
|
|
145
|
-
/**
|
|
146
|
-
* Exact target path when present.
|
|
147
|
-
*/
|
|
148
|
-
targetPath: string | null,
|
|
149
|
-
/**
|
|
150
|
-
* Source evidence digest when present.
|
|
151
|
-
*/
|
|
152
|
-
sourceSha256: string | null, };
|
|
153
|
-
|
|
154
|
-
export type StorageTransitionConflictProjection = {
|
|
155
|
-
/**
|
|
156
|
-
* Stable conflict class.
|
|
157
|
-
*/
|
|
158
|
-
kind: string,
|
|
159
|
-
/**
|
|
160
|
-
* Affected path when available.
|
|
161
|
-
*/
|
|
162
|
-
path: string | null,
|
|
163
|
-
/**
|
|
164
|
-
* Safe conflict detail.
|
|
165
|
-
*/
|
|
166
|
-
detail: string, };
|
|
167
|
-
|
|
168
|
-
export type StorageTransitionPreviewProjection = {
|
|
169
|
-
/**
|
|
170
|
-
* Current layout digest.
|
|
171
|
-
*/
|
|
172
|
-
sourceLayoutDigest: string,
|
|
173
|
-
/**
|
|
174
|
-
* Resolved target layout digest.
|
|
175
|
-
*/
|
|
176
|
-
targetLayoutDigest: string,
|
|
177
|
-
/**
|
|
178
|
-
* Target profile.
|
|
179
|
-
*/
|
|
180
|
-
targetProfile: StorageProfileId,
|
|
181
|
-
/**
|
|
182
|
-
* Known domain actions.
|
|
183
|
-
*/
|
|
184
|
-
domains: Array<StorageTransitionDomainProjection>,
|
|
185
|
-
/**
|
|
186
|
-
* Unregistered source paths retained by the host.
|
|
187
|
-
*/
|
|
188
|
-
unknownSourcePaths: Array<string>,
|
|
189
|
-
/**
|
|
190
|
-
* Blocking or visible conflicts.
|
|
191
|
-
*/
|
|
192
|
-
conflicts: Array<StorageTransitionConflictProjection>,
|
|
193
|
-
/**
|
|
194
|
-
* Digest over exact inspected evidence.
|
|
195
|
-
*/
|
|
196
|
-
evidenceDigest: string,
|
|
197
|
-
/**
|
|
198
|
-
* Host-issued digest required for execution.
|
|
199
|
-
*/
|
|
200
|
-
confirmationDigest: string, };
|
|
201
|
-
|
|
202
|
-
export type StorageTransitionReceiptProjection = {
|
|
203
|
-
/**
|
|
204
|
-
* Durable transition identity.
|
|
205
|
-
*/
|
|
206
|
-
transitionId: string,
|
|
207
|
-
/**
|
|
208
|
-
* Stable terminal outcome.
|
|
209
|
-
*/
|
|
210
|
-
outcome: string,
|
|
211
|
-
/**
|
|
212
|
-
* Committed target layout digest.
|
|
213
|
-
*/
|
|
214
|
-
targetLayoutDigest: string,
|
|
215
|
-
/**
|
|
216
|
-
* Domains copied by the ordinary file path.
|
|
217
|
-
*/
|
|
218
|
-
copiedDomainIds: Array<string>,
|
|
219
|
-
/**
|
|
220
|
-
* Domains committed by custom adapters.
|
|
221
|
-
*/
|
|
222
|
-
customDomainIds: Array<string>,
|
|
223
|
-
/**
|
|
224
|
-
* Exact source paths retained after commit.
|
|
225
|
-
*/
|
|
226
|
-
retainedSourcePaths: Array<string>,
|
|
227
|
-
/**
|
|
228
|
-
* Digest over the exact committed receipt.
|
|
229
|
-
*/
|
|
230
|
-
receiptDigest: string, };
|
|
231
|
-
|
|
232
|
-
export type StorageRecoveryReceiptProjection = {
|
|
233
|
-
/**
|
|
234
|
-
* Recovered transition identity when one existed.
|
|
235
|
-
*/
|
|
236
|
-
transitionId: string | null,
|
|
237
|
-
/**
|
|
238
|
-
* Stable recovery outcome.
|
|
239
|
-
*/
|
|
240
|
-
outcome: string,
|
|
241
|
-
/**
|
|
242
|
-
* Active layout digest after recovery.
|
|
243
|
-
*/
|
|
244
|
-
activeLayoutDigest: string,
|
|
245
|
-
/**
|
|
246
|
-
* Safe recovery detail.
|
|
247
|
-
*/
|
|
248
|
-
detail: string, };
|
|
249
|
-
|
|
250
|
-
export type StorageCleanupReceiptProjection = {
|
|
251
|
-
/**
|
|
252
|
-
* Transition whose receipt authorized cleanup.
|
|
253
|
-
*/
|
|
254
|
-
transitionId: string,
|
|
255
|
-
/**
|
|
256
|
-
* Committed receipt digest rechecked by the host.
|
|
257
|
-
*/
|
|
258
|
-
transitionReceiptDigest: string,
|
|
259
|
-
/**
|
|
260
|
-
* Exact paths removed.
|
|
261
|
-
*/
|
|
262
|
-
removedPaths: Array<string>, };
|
|
263
|
-
|
|
264
|
-
export type BackupArchiveProjection = {
|
|
265
|
-
/**
|
|
266
|
-
* Exact root-level archive path.
|
|
267
|
-
*/
|
|
268
|
-
path: string,
|
|
269
|
-
/**
|
|
270
|
-
* Manifest archive id.
|
|
271
|
-
*/
|
|
272
|
-
archiveId: string,
|
|
273
|
-
/**
|
|
274
|
-
* Strict UTC creation time.
|
|
275
|
-
*/
|
|
276
|
-
createdAt: string,
|
|
277
|
-
/**
|
|
278
|
-
* Backup kind.
|
|
279
|
-
*/
|
|
280
|
-
kind: string,
|
|
281
|
-
/**
|
|
282
|
-
* Digest over exact published archive bytes.
|
|
283
|
-
*/
|
|
284
|
-
archiveSha256: string, };
|
|
285
|
-
|
|
286
|
-
export type BackupInventoryEntryState = "valid" | "locked" | "corrupt" | "foreign" | "unknown" | "unreadable" | "unmanaged";
|
|
287
|
-
|
|
288
|
-
export type BackupInventoryEntry = {
|
|
289
|
-
/**
|
|
290
|
-
* Root entry path.
|
|
291
|
-
*/
|
|
292
|
-
path: string | null,
|
|
293
|
-
/**
|
|
294
|
-
* Safe inventory state.
|
|
295
|
-
*/
|
|
296
|
-
state: BackupInventoryEntryState,
|
|
297
|
-
/**
|
|
298
|
-
* Stable diagnostic class.
|
|
299
|
-
*/
|
|
300
|
-
diagnosticKind: string,
|
|
301
|
-
/**
|
|
302
|
-
* Safe diagnostic detail.
|
|
303
|
-
*/
|
|
304
|
-
detail: string, };
|
|
305
|
-
|
|
306
|
-
export type BackupInventoryProjection = {
|
|
307
|
-
/**
|
|
308
|
-
* Operational backup root.
|
|
309
|
-
*/
|
|
310
|
-
root: string,
|
|
311
|
-
/**
|
|
312
|
-
* Proven same-app candidates, newest first.
|
|
313
|
-
*/
|
|
314
|
-
archives: Array<BackupArchiveProjection>,
|
|
315
|
-
/**
|
|
316
|
-
* Preserved uninspectable or excluded entries.
|
|
317
|
-
*/
|
|
318
|
-
entries: Array<BackupInventoryEntry>,
|
|
319
|
-
/**
|
|
320
|
-
* Whether enumeration completed within host bounds.
|
|
321
|
-
*/
|
|
322
|
-
complete: boolean, };
|
|
323
|
-
|
|
324
|
-
export type BackupPendingState = { "state": "clear" } | { "state": "pending",
|
|
325
|
-
/**
|
|
326
|
-
* Number of pending domains.
|
|
327
|
-
*/
|
|
328
|
-
domainCount: number,
|
|
329
|
-
/**
|
|
330
|
-
* Stable domain ids awaiting publication.
|
|
331
|
-
*/
|
|
332
|
-
domainIds: Array<string>, };
|
|
333
|
-
|
|
334
|
-
export type BackupEncryptionState = { "state": "unavailable" } | { "state": "available",
|
|
335
|
-
/**
|
|
336
|
-
* Safe provider display label.
|
|
337
|
-
*/
|
|
338
|
-
provider: string, } | { "state": "interactionRequired",
|
|
339
|
-
/**
|
|
340
|
-
* Safe provider display label.
|
|
341
|
-
*/
|
|
342
|
-
provider: string, } | { "state": "failed",
|
|
343
|
-
/**
|
|
344
|
-
* Safe provider display label.
|
|
345
|
-
*/
|
|
346
|
-
provider: string,
|
|
347
|
-
/**
|
|
348
|
-
* Redacted failure detail.
|
|
349
|
-
*/
|
|
350
|
-
detail: string, };
|
|
351
|
-
|
|
352
|
-
export type BackupRetentionReasonProjection = "newArchive" | "pinned" | "newestCount" | "age" | "milestone";
|
|
353
|
-
|
|
354
|
-
export type BackupRetentionProjection = {
|
|
355
|
-
/**
|
|
356
|
-
* Exact proven paths selected for deletion.
|
|
357
|
-
*/
|
|
358
|
-
deletionPaths: Array<string>,
|
|
359
|
-
/**
|
|
360
|
-
* Protected archive hash and reasons.
|
|
361
|
-
*/
|
|
362
|
-
retained: Array<[string, Array<BackupRetentionReasonProjection>]>,
|
|
363
|
-
/**
|
|
364
|
-
* Preserved listing and planning diagnostics.
|
|
365
|
-
*/
|
|
366
|
-
diagnostics: Array<BackupInventoryEntry>,
|
|
367
|
-
/**
|
|
368
|
-
* Host-issued digest required to apply this exact plan.
|
|
369
|
-
*/
|
|
370
|
-
confirmationDigest: string, };
|
|
371
|
-
|
|
372
|
-
export type BackupOperationsProjection = {
|
|
373
|
-
/**
|
|
374
|
-
* Current bounded inventory.
|
|
375
|
-
*/
|
|
376
|
-
inventory: BackupInventoryProjection,
|
|
377
|
-
/**
|
|
378
|
-
* Current pending-publication state.
|
|
379
|
-
*/
|
|
380
|
-
pending: BackupPendingState,
|
|
381
|
-
/**
|
|
382
|
-
* Safe encryption state.
|
|
383
|
-
*/
|
|
384
|
-
encryption: BackupEncryptionState,
|
|
385
|
-
/**
|
|
386
|
-
* Current host-owned retention plan when pruning is safe.
|
|
387
|
-
*/
|
|
388
|
-
retention: BackupRetentionProjection | null, };
|
|
389
|
-
|
|
390
|
-
export type ConfigOperationsSnapshot = {
|
|
391
|
-
/**
|
|
392
|
-
* Exact protocol version.
|
|
393
|
-
*/
|
|
394
|
-
protocolVersion: ConfigProtocolVersion,
|
|
395
|
-
/**
|
|
396
|
-
* Monotonic host generation.
|
|
397
|
-
*/
|
|
398
|
-
generation: ConfigGeneration,
|
|
399
|
-
/**
|
|
400
|
-
* Operations composed for this caller.
|
|
401
|
-
*/
|
|
402
|
-
capabilities: Array<ConfigOperationCapability>,
|
|
403
|
-
/**
|
|
404
|
-
* Storage projection when authorized.
|
|
405
|
-
*/
|
|
406
|
-
storage: StorageOperationsProjection | null,
|
|
407
|
-
/**
|
|
408
|
-
* Backup projection when authorized.
|
|
409
|
-
*/
|
|
410
|
-
backup: BackupOperationsProjection | null,
|
|
411
|
-
/**
|
|
412
|
-
* Restore operation and recovery state when authorized.
|
|
413
|
-
*/
|
|
414
|
-
restore: RestoreOperationsProjection | null, };
|
|
415
|
-
|
|
416
|
-
export type ConfigSnapshotCommand = {
|
|
417
|
-
/**
|
|
418
|
-
* Exact protocol version.
|
|
419
|
-
*/
|
|
420
|
-
protocolVersion: ConfigProtocolVersion,
|
|
421
|
-
/**
|
|
422
|
-
* Idempotency and correlation identity.
|
|
423
|
-
*/
|
|
424
|
-
requestId: ConfigRequestId, };
|
|
425
|
-
|
|
426
|
-
export type StorageTransitionInspectCommand = {
|
|
427
|
-
/**
|
|
428
|
-
* Exact protocol version.
|
|
429
|
-
*/
|
|
430
|
-
protocolVersion: ConfigProtocolVersion,
|
|
431
|
-
/**
|
|
432
|
-
* Idempotency and correlation identity.
|
|
433
|
-
*/
|
|
434
|
-
requestId: ConfigRequestId,
|
|
435
|
-
/**
|
|
436
|
-
* Target built-in profile.
|
|
437
|
-
*/
|
|
438
|
-
targetProfile: StorageProfileId,
|
|
439
|
-
/**
|
|
440
|
-
* Whether the host should include registered log domains.
|
|
441
|
-
*/
|
|
442
|
-
includeLogs: boolean, };
|
|
443
|
-
|
|
444
|
-
export type StorageTransitionExecuteCommand = {
|
|
445
|
-
/**
|
|
446
|
-
* Exact protocol version.
|
|
447
|
-
*/
|
|
448
|
-
protocolVersion: ConfigProtocolVersion,
|
|
449
|
-
/**
|
|
450
|
-
* Idempotency and correlation identity.
|
|
451
|
-
*/
|
|
452
|
-
requestId: ConfigRequestId,
|
|
453
|
-
/**
|
|
454
|
-
* Expected host generation.
|
|
455
|
-
*/
|
|
456
|
-
generation: ConfigGeneration,
|
|
457
|
-
/**
|
|
458
|
-
* Digest issued by transition inspection.
|
|
459
|
-
*/
|
|
460
|
-
confirmationDigest: string, };
|
|
461
|
-
|
|
462
|
-
export type StorageRecoveryCommand = {
|
|
463
|
-
/**
|
|
464
|
-
* Exact protocol version.
|
|
465
|
-
*/
|
|
466
|
-
protocolVersion: ConfigProtocolVersion,
|
|
467
|
-
/**
|
|
468
|
-
* Idempotency and correlation identity.
|
|
469
|
-
*/
|
|
470
|
-
requestId: ConfigRequestId, };
|
|
471
|
-
|
|
472
|
-
export type StorageCleanupCommand = {
|
|
473
|
-
/**
|
|
474
|
-
* Exact protocol version.
|
|
475
|
-
*/
|
|
476
|
-
protocolVersion: ConfigProtocolVersion,
|
|
477
|
-
/**
|
|
478
|
-
* Idempotency and correlation identity.
|
|
479
|
-
*/
|
|
480
|
-
requestId: ConfigRequestId,
|
|
481
|
-
/**
|
|
482
|
-
* Committed transition identity.
|
|
483
|
-
*/
|
|
484
|
-
transitionId: string,
|
|
485
|
-
/**
|
|
486
|
-
* Digest of the exact committed transition receipt.
|
|
487
|
-
*/
|
|
488
|
-
transitionReceiptDigest: string, };
|
|
489
|
-
|
|
490
|
-
export type PendingBackupPolicy = "refuse" | "flush";
|
|
491
|
-
|
|
492
|
-
export type BackupCreateCommand = {
|
|
493
|
-
/**
|
|
494
|
-
* Exact protocol version.
|
|
495
|
-
*/
|
|
496
|
-
protocolVersion: ConfigProtocolVersion,
|
|
497
|
-
/**
|
|
498
|
-
* Idempotency and correlation identity.
|
|
499
|
-
*/
|
|
500
|
-
requestId: ConfigRequestId,
|
|
501
|
-
/**
|
|
502
|
-
* Explicit handling for pending publication.
|
|
503
|
-
*/
|
|
504
|
-
pendingPolicy: PendingBackupPolicy, };
|
|
505
|
-
|
|
506
|
-
export type BackupExportCommand = {
|
|
507
|
-
/**
|
|
508
|
-
* Exact protocol version.
|
|
509
|
-
*/
|
|
510
|
-
protocolVersion: ConfigProtocolVersion,
|
|
511
|
-
/**
|
|
512
|
-
* Idempotency and correlation identity.
|
|
513
|
-
*/
|
|
514
|
-
requestId: ConfigRequestId,
|
|
515
|
-
/**
|
|
516
|
-
* Exact operational archive digest selected by the user.
|
|
517
|
-
*/
|
|
518
|
-
archiveSha256: string, };
|
|
519
|
-
|
|
520
|
-
export type BackupRetentionApplyCommand = {
|
|
521
|
-
/**
|
|
522
|
-
* Exact protocol version.
|
|
523
|
-
*/
|
|
524
|
-
protocolVersion: ConfigProtocolVersion,
|
|
525
|
-
/**
|
|
526
|
-
* Idempotency and correlation identity.
|
|
527
|
-
*/
|
|
528
|
-
requestId: ConfigRequestId,
|
|
529
|
-
/**
|
|
530
|
-
* Expected host generation.
|
|
531
|
-
*/
|
|
532
|
-
generation: ConfigGeneration,
|
|
533
|
-
/**
|
|
534
|
-
* Digest issued with the exact retention plan.
|
|
535
|
-
*/
|
|
536
|
-
confirmationDigest: string, };
|
|
537
|
-
|
|
538
|
-
export type ConfigOperationRejectionCode = "unauthorized" | "unsupported" | "authorityChanged" | "confirmationMismatch" | "transitionActive" | "recoveryRequired" | "conflicts" | "pendingPublication" | "selectionCancelled" | "archiveChanged" | "archiveCorrupt" | "archiveFutureVersion" | "identityMismatch" | "restorePlanStale" | "restoreActive" | "restoreAdapterChanged" | "incompleteInventory" | "encryptionInteractionRequired" | "policyBlocked";
|
|
539
|
-
|
|
540
|
-
export type ConfigOperationRejection = {
|
|
541
|
-
/**
|
|
542
|
-
* Stable rejection category.
|
|
543
|
-
*/
|
|
544
|
-
code: ConfigOperationRejectionCode,
|
|
545
|
-
/**
|
|
546
|
-
* Safe diagnostic detail.
|
|
547
|
-
*/
|
|
548
|
-
detail: string,
|
|
549
|
-
/**
|
|
550
|
-
* Fresh snapshot when authority can provide one.
|
|
551
|
-
*/
|
|
552
|
-
snapshot: ConfigOperationsSnapshot | null, };
|
|
553
|
-
|
|
554
|
-
export type StorageTransitionInspectOutcome = { "status": "ready",
|
|
555
|
-
/**
|
|
556
|
-
* Fresh host generation.
|
|
557
|
-
*/
|
|
558
|
-
generation: ConfigGeneration,
|
|
559
|
-
/**
|
|
560
|
-
* Host-issued exact preview.
|
|
561
|
-
*/
|
|
562
|
-
preview: StorageTransitionPreviewProjection, } | { "status": "rejected",
|
|
563
|
-
/**
|
|
564
|
-
* Typed refusal.
|
|
565
|
-
*/
|
|
566
|
-
rejection: ConfigOperationRejection, };
|
|
567
|
-
|
|
568
|
-
export type StorageTransitionExecuteOutcome = { "status": "committed",
|
|
569
|
-
/**
|
|
570
|
-
* Exact durable receipt.
|
|
571
|
-
*/
|
|
572
|
-
receipt: StorageTransitionReceiptProjection,
|
|
573
|
-
/**
|
|
574
|
-
* Fresh authority snapshot.
|
|
575
|
-
*/
|
|
576
|
-
snapshot: ConfigOperationsSnapshot, } | { "status": "rejected",
|
|
577
|
-
/**
|
|
578
|
-
* Typed refusal.
|
|
579
|
-
*/
|
|
580
|
-
rejection: ConfigOperationRejection, };
|
|
581
|
-
|
|
582
|
-
export type StorageRecoveryOutcome = { "status": "recovered",
|
|
583
|
-
/**
|
|
584
|
-
* Exact recovery evidence.
|
|
585
|
-
*/
|
|
586
|
-
receipt: StorageRecoveryReceiptProjection,
|
|
587
|
-
/**
|
|
588
|
-
* Fresh authority snapshot.
|
|
589
|
-
*/
|
|
590
|
-
snapshot: ConfigOperationsSnapshot, } | { "status": "rejected",
|
|
591
|
-
/**
|
|
592
|
-
* Typed refusal.
|
|
593
|
-
*/
|
|
594
|
-
rejection: ConfigOperationRejection, };
|
|
595
|
-
|
|
596
|
-
export type StorageCleanupOutcome = { "status": "applied",
|
|
597
|
-
/**
|
|
598
|
-
* Exact cleanup receipt.
|
|
599
|
-
*/
|
|
600
|
-
receipt: StorageCleanupReceiptProjection,
|
|
601
|
-
/**
|
|
602
|
-
* Fresh authority snapshot.
|
|
603
|
-
*/
|
|
604
|
-
snapshot: ConfigOperationsSnapshot, } | { "status": "rejected",
|
|
605
|
-
/**
|
|
606
|
-
* Typed refusal.
|
|
607
|
-
*/
|
|
608
|
-
rejection: ConfigOperationRejection, };
|
|
609
|
-
|
|
610
|
-
export type BackupCaptureReceiptProjection = {
|
|
611
|
-
/**
|
|
612
|
-
* Domains considered by host scope.
|
|
613
|
-
*/
|
|
614
|
-
selectedDomains: number,
|
|
615
|
-
/**
|
|
616
|
-
* Domains captured as exact source bytes.
|
|
617
|
-
*/
|
|
618
|
-
capturedDomains: number,
|
|
619
|
-
/**
|
|
620
|
-
* Domains recorded absent.
|
|
621
|
-
*/
|
|
622
|
-
absentDomains: number,
|
|
623
|
-
/**
|
|
624
|
-
* Domains preserved as non-restorable source.
|
|
625
|
-
*/
|
|
626
|
-
sourcePreservedDomains: number,
|
|
627
|
-
/**
|
|
628
|
-
* Domains explicitly excluded.
|
|
629
|
-
*/
|
|
630
|
-
excludedDomains: number,
|
|
631
|
-
/**
|
|
632
|
-
* Domains captured by custom adapters.
|
|
633
|
-
*/
|
|
634
|
-
customDomains: number,
|
|
635
|
-
/**
|
|
636
|
-
* Independently consistent external groups.
|
|
637
|
-
*/
|
|
638
|
-
externalConsistencyGroups: number,
|
|
639
|
-
/**
|
|
640
|
-
* Total retained payload bytes.
|
|
641
|
-
*/
|
|
642
|
-
totalPayloadBytes: number,
|
|
643
|
-
/**
|
|
644
|
-
* Whether pending publication was flushed first.
|
|
645
|
-
*/
|
|
646
|
-
flushedPendingPublication: boolean, };
|
|
647
|
-
|
|
648
|
-
export type BackupPublicationReceiptProjection = {
|
|
649
|
-
/**
|
|
650
|
-
* Exact published path.
|
|
651
|
-
*/
|
|
652
|
-
path: string,
|
|
653
|
-
/**
|
|
654
|
-
* Operational or user-export destination.
|
|
655
|
-
*/
|
|
656
|
-
destination: string,
|
|
657
|
-
/**
|
|
658
|
-
* Digest over exact published bytes.
|
|
659
|
-
*/
|
|
660
|
-
archiveSha256: string,
|
|
661
|
-
/**
|
|
662
|
-
* Established durability level.
|
|
663
|
-
*/
|
|
664
|
-
durability: string,
|
|
665
|
-
/**
|
|
666
|
-
* Whether an authorized export was replaced.
|
|
667
|
-
*/
|
|
668
|
-
replacedExisting: boolean, };
|
|
669
|
-
|
|
670
|
-
export type BackupCreateOutcome = { "status": "published",
|
|
671
|
-
/**
|
|
672
|
-
* Exact capture evidence.
|
|
673
|
-
*/
|
|
674
|
-
capture: BackupCaptureReceiptProjection,
|
|
675
|
-
/**
|
|
676
|
-
* Exact publication evidence.
|
|
677
|
-
*/
|
|
678
|
-
publication: BackupPublicationReceiptProjection,
|
|
679
|
-
/**
|
|
680
|
-
* Fresh authority snapshot.
|
|
681
|
-
*/
|
|
682
|
-
snapshot: ConfigOperationsSnapshot, } | { "status": "rejected",
|
|
683
|
-
/**
|
|
684
|
-
* Typed refusal.
|
|
685
|
-
*/
|
|
686
|
-
rejection: ConfigOperationRejection, };
|
|
687
|
-
|
|
688
|
-
export type BackupExportOutcome = { "status": "published",
|
|
689
|
-
/**
|
|
690
|
-
* Exact publication evidence.
|
|
691
|
-
*/
|
|
692
|
-
publication: BackupPublicationReceiptProjection,
|
|
693
|
-
/**
|
|
694
|
-
* Fresh authority snapshot.
|
|
695
|
-
*/
|
|
696
|
-
snapshot: ConfigOperationsSnapshot, } | { "status": "rejected",
|
|
697
|
-
/**
|
|
698
|
-
* Typed refusal.
|
|
699
|
-
*/
|
|
700
|
-
rejection: ConfigOperationRejection, };
|
|
701
|
-
|
|
702
|
-
export type BackupRetentionApplyOutcome = { "status": "applied",
|
|
703
|
-
/**
|
|
704
|
-
* Exact paths removed.
|
|
705
|
-
*/
|
|
706
|
-
deletedPaths: Array<string>,
|
|
707
|
-
/**
|
|
708
|
-
* Fresh authority snapshot.
|
|
709
|
-
*/
|
|
710
|
-
snapshot: ConfigOperationsSnapshot, } | { "status": "rejected",
|
|
711
|
-
/**
|
|
712
|
-
* Typed refusal.
|
|
713
|
-
*/
|
|
714
|
-
rejection: ConfigOperationRejection, };
|