@aeolus-fleet/common 0.31.0 → 0.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fleet/index.d.ts +29 -6
- package/dist/fleet/index.js +27 -4
- package/dist/fleet/index.js.map +1 -1
- package/dist/ids/index.d.ts +3 -0
- package/dist/ids/index.js +2 -0
- package/dist/ids/index.js.map +1 -1
- package/dist/rules/duration.d.ts +2 -0
- package/dist/rules/duration.js +22 -0
- package/dist/rules/duration.js.map +1 -0
- package/dist/rules/index.d.ts +1 -0
- package/dist/rules/index.js +1 -0
- package/dist/rules/index.js.map +1 -1
- package/dist/schemas/apps-list.d.ts +4 -4
- package/dist/schemas/console.d.ts +3 -25
- package/dist/schemas/console.js +4 -3
- package/dist/schemas/console.js.map +1 -1
- package/dist/schemas/delivery.d.ts +26 -5
- package/dist/schemas/delivery.js +19 -7
- package/dist/schemas/delivery.js.map +1 -1
- package/dist/schemas/fleet.d.ts +36 -2
- package/dist/schemas/fleet.js +9 -2
- package/dist/schemas/fleet.js.map +1 -1
- package/dist/schemas/follow.d.ts +11 -0
- package/dist/schemas/history.d.ts +138 -2
- package/dist/schemas/history.js +25 -2
- package/dist/schemas/history.js.map +1 -1
- package/dist/schemas/index.d.ts +1 -0
- package/dist/schemas/index.js +1 -0
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/installation.d.ts +118 -4
- package/dist/schemas/installation.js +34 -5
- package/dist/schemas/installation.js.map +1 -1
- package/dist/schemas/label.d.ts +4 -4
- package/dist/schemas/message.d.ts +38 -2
- package/dist/schemas/message.js +34 -5
- package/dist/schemas/message.js.map +1 -1
- package/dist/schemas/needs-attention.d.ts +14 -0
- package/dist/schemas/schedule.d.ts +372 -0
- package/dist/schemas/schedule.js +132 -0
- package/dist/schemas/schedule.js.map +1 -0
- package/dist/schemas/scopes.d.ts +29 -3
- package/dist/schemas/scopes.js +17 -3
- package/dist/schemas/scopes.js.map +1 -1
- package/dist/schemas/ship.js +1 -1
- package/dist/schemas/statement.d.ts +5 -0
- package/dist/schemas/statement.js +3 -1
- package/dist/schemas/statement.js.map +1 -1
- package/dist/trierarch/report-details.js +1 -1
- package/package.json +1 -1
package/dist/fleet/index.d.ts
CHANGED
|
@@ -9,13 +9,13 @@ import { z } from 'zod';
|
|
|
9
9
|
* and checked by core before every call. `messages:force` sends a forced
|
|
10
10
|
* message, one that comes first (decision 0040); `fleet:on-behalf` reads on
|
|
11
11
|
* behalf of a named ship (decision 0034); `scopes:declare` takes up a
|
|
12
|
-
* plugin namespace
|
|
13
|
-
* (decision 0046). `fleet:person`, `fleet:owner`, `fleet:explain`,
|
|
12
|
+
* plugin namespace, `scopes:grant` grants and revokes on a live ship
|
|
13
|
+
* (decision 0046) and `scopes:define` defines the fleet's own scopes. `fleet:person`, `fleet:owner`, `fleet:explain`,
|
|
14
14
|
* `fleet:connect` and `labels:any` are the jobs that were argo's alone
|
|
15
15
|
* (decision 0053). `fleet:verify` writes verified facts (decision 0059).
|
|
16
16
|
* `meetings:open` opens a meeting (decision 0061).
|
|
17
17
|
*/
|
|
18
|
-
export declare const SCOPES: readonly ["messages:send", "messages:receive", "messages:force", "messages:resend", "fleet:read", "fleet:commission", "fleet:manage", "crew:assign", "crew:run", "labels:define", "labels:assign", "fleet:network", "fleet:on-behalf", "fleet:person", "fleet:owner", "fleet:explain", "fleet:connect", "labels:any", "fleet:verify", "scopes:declare", "scopes:grant", "meetings:open"];
|
|
18
|
+
export declare const SCOPES: readonly ["messages:send", "messages:receive", "messages:force", "messages:resend", "fleet:read", "fleet:commission", "fleet:manage", "crew:assign", "crew:run", "labels:define", "labels:assign", "fleet:network", "fleet:on-behalf", "fleet:person", "fleet:owner", "fleet:explain", "fleet:connect", "labels:any", "fleet:verify", "scopes:declare", "scopes:grant", "scopes:define", "meetings:open"];
|
|
19
19
|
export declare const scopeSchema: z.ZodEnum<{
|
|
20
20
|
"messages:send": "messages:send";
|
|
21
21
|
"messages:receive": "messages:receive";
|
|
@@ -38,6 +38,7 @@ export declare const scopeSchema: z.ZodEnum<{
|
|
|
38
38
|
"fleet:verify": "fleet:verify";
|
|
39
39
|
"scopes:declare": "scopes:declare";
|
|
40
40
|
"scopes:grant": "scopes:grant";
|
|
41
|
+
"scopes:define": "scopes:define";
|
|
41
42
|
"meetings:open": "meetings:open";
|
|
42
43
|
}>;
|
|
43
44
|
export type Scope = z.infer<typeof scopeSchema>;
|
|
@@ -45,6 +46,12 @@ export type Scope = z.infer<typeof scopeSchema>;
|
|
|
45
46
|
export declare const CORE_SCOPE_DESCRIPTIONS: Readonly<Record<Scope, string>>;
|
|
46
47
|
/** The namespaces core reserves and enforces; every other one is a plugin's (decision 0046). */
|
|
47
48
|
export declare const CORE_NAMESPACES: readonly ["messages", "fleet", "crew", "labels", "scopes", "meetings"];
|
|
49
|
+
/**
|
|
50
|
+
* The namespaces of the plugins Aeolus knows, reserved beside the core ones:
|
|
51
|
+
* the fleet never defines a scope in them, so a known plugin always finds
|
|
52
|
+
* its namespace free (decision 0046).
|
|
53
|
+
*/
|
|
54
|
+
export declare const RESERVED_NAMESPACES: readonly ["gateway", "squadrons", "trierarch"];
|
|
48
55
|
export declare const SCOPE_NAMESPACE_PATTERN: RegExp;
|
|
49
56
|
export declare const SCOPE_NAME_PATTERN: RegExp;
|
|
50
57
|
/** The most scopes a plugin declares in its namespace (decision 0046). */
|
|
@@ -141,12 +148,17 @@ export declare const shipStatusSchema: z.ZodEnum<{
|
|
|
141
148
|
retired: "retired";
|
|
142
149
|
}>;
|
|
143
150
|
export type ShipStatus = z.infer<typeof shipStatusSchema>;
|
|
144
|
-
/**
|
|
145
|
-
|
|
151
|
+
/**
|
|
152
|
+
* Who a message is for: one ship (by id or by name), any ship of a type, every
|
|
153
|
+
* other participant of a meeting (decision 0061), or every ship a label
|
|
154
|
+
* selection names (decision 0065).
|
|
155
|
+
*/
|
|
156
|
+
export declare const SELECTOR_KINDS: readonly ["ship", "type", "meeting", "label"];
|
|
146
157
|
export declare const selectorKindSchema: z.ZodEnum<{
|
|
147
158
|
type: "type";
|
|
148
159
|
ship: "ship";
|
|
149
160
|
meeting: "meeting";
|
|
161
|
+
label: "label";
|
|
150
162
|
}>;
|
|
151
163
|
export type SelectorKind = z.infer<typeof selectorKindSchema>;
|
|
152
164
|
/**
|
|
@@ -172,7 +184,7 @@ export declare const deliveryStateSchema: z.ZodEnum<{
|
|
|
172
184
|
}>;
|
|
173
185
|
export type DeliveryState = z.infer<typeof deliveryStateSchema>;
|
|
174
186
|
/** The event types written so far. Each later slice adds the ones it writes. */
|
|
175
|
-
export declare const EVENT_TYPES: readonly ["FleetInitialised", "ShipCommissioned", "OwnerSet", "OwnerChanged", "ShipClaimed", "LeaseRevoked", "CredentialRevoked", "StartingPromptIssued", "OperatorPasswordReset", "OperatorLoginSet", "MessageAccepted", "LeasePushed", "DeliveryReceived", "DeliveryHanded", "DeliveryAcknowledged", "DeliveryHandled", "DeliveryNotHandled", "DeliveryOverdue", "DeliveryUndeliverable", "DeliveryReturned", "ShipRetired", "DeliveryAbandoned", "DeliveryDismissed", "ShipRenamed", "ShipReported", "StatementSet", "TurnReported", "SignInTicketIssued", "FleetLimitsChanged", "ViewerSessionStarted", "CrewRequested", "CrewRequestRemoved", "CrewAssigned", "CrewStatusChanged", "CrewRequestExplained", "CrewRequestGivenBack", "LabelDefined", "LabelValuesChanged", "LabelRetired", "LabelAssigned", "LabelUnassigned", "LabelDeleted", "WorktreeClearRequested", "WorktreeCleared", "WorktreeClearRemoved", "NetworkRulesSet", "NetworkRulesDeclared", "NetworkRulesDraftSaved", "NetworkRulesDraftDiscarded", "NetworkPluginRegistered", "NetworkPluginUnregistered", "BuiltInRuleChanged", "ScopesDeclared", "ScopesChanged", "PluginConnected", "PluginDisconnected", "VerifiedFactsSet", "VerifiedFactsRemoved", "MeetingOpened", "ParticipantAdded", "MicRequested", "MicRequestWithdrawn", "MicGiven", "MicReleased", "MicTaken", "MicPatternSet", "ParticipantLeft", "ParticipantRejoined", "ParticipantRevoked", "OwnershipTransferred", "ModeratorNamed", "MeetingEnded"];
|
|
187
|
+
export declare const EVENT_TYPES: readonly ["FleetInitialised", "ShipCommissioned", "OwnerSet", "OwnerChanged", "ShipClaimed", "LeaseRevoked", "CredentialRevoked", "StartingPromptIssued", "OperatorPasswordReset", "OperatorLoginSet", "MessageAccepted", "LeasePushed", "DeliveryReceived", "DeliveryHanded", "DeliveryAcknowledged", "DeliveryHandled", "DeliveryNotHandled", "DeliveryOverdue", "DeliveryUndeliverable", "DeliveryReturned", "ShipRetired", "DeliveryAbandoned", "DeliveryDismissed", "ShipRenamed", "ShipReported", "StatementSet", "TurnReported", "SignInTicketIssued", "FleetLimitsChanged", "ViewerSessionStarted", "CrewRequested", "CrewRequestRemoved", "CrewAssigned", "CrewStatusChanged", "CrewRequestExplained", "CrewRequestGivenBack", "LabelDefined", "LabelValuesChanged", "LabelRetired", "LabelAssigned", "LabelUnassigned", "LabelDeleted", "WorktreeClearRequested", "WorktreeCleared", "WorktreeClearRemoved", "NetworkRulesSet", "NetworkRulesDeclared", "NetworkRulesDraftSaved", "NetworkRulesDraftDiscarded", "NetworkPluginRegistered", "NetworkPluginUnregistered", "BuiltInRuleChanged", "ScopesDeclared", "ScopesChanged", "ScopeDefined", "ScopeDescribed", "ScopeRemoved", "PluginConnected", "PluginDisconnected", "VerifiedFactsSet", "VerifiedFactsRemoved", "MeetingOpened", "ParticipantAdded", "MicRequested", "MicRequestWithdrawn", "MicGiven", "MicReleased", "MicTaken", "MicPatternSet", "ParticipantLeft", "ParticipantRejoined", "ParticipantRevoked", "OwnershipTransferred", "ModeratorNamed", "MeetingEnded", "ScheduleCreated", "ScheduleCancelled", "ScheduledSendRefused", "ScheduledSendMissed", "SchedulePaused", "ScheduleResumed", "ScheduleEnded", "HistoryPruned"];
|
|
176
188
|
export declare const eventTypeSchema: z.ZodEnum<{
|
|
177
189
|
FleetInitialised: "FleetInitialised";
|
|
178
190
|
ShipCommissioned: "ShipCommissioned";
|
|
@@ -228,6 +240,9 @@ export declare const eventTypeSchema: z.ZodEnum<{
|
|
|
228
240
|
BuiltInRuleChanged: "BuiltInRuleChanged";
|
|
229
241
|
ScopesDeclared: "ScopesDeclared";
|
|
230
242
|
ScopesChanged: "ScopesChanged";
|
|
243
|
+
ScopeDefined: "ScopeDefined";
|
|
244
|
+
ScopeDescribed: "ScopeDescribed";
|
|
245
|
+
ScopeRemoved: "ScopeRemoved";
|
|
231
246
|
PluginConnected: "PluginConnected";
|
|
232
247
|
PluginDisconnected: "PluginDisconnected";
|
|
233
248
|
VerifiedFactsSet: "VerifiedFactsSet";
|
|
@@ -246,6 +261,14 @@ export declare const eventTypeSchema: z.ZodEnum<{
|
|
|
246
261
|
OwnershipTransferred: "OwnershipTransferred";
|
|
247
262
|
ModeratorNamed: "ModeratorNamed";
|
|
248
263
|
MeetingEnded: "MeetingEnded";
|
|
264
|
+
ScheduleCreated: "ScheduleCreated";
|
|
265
|
+
ScheduleCancelled: "ScheduleCancelled";
|
|
266
|
+
ScheduledSendRefused: "ScheduledSendRefused";
|
|
267
|
+
ScheduledSendMissed: "ScheduledSendMissed";
|
|
268
|
+
SchedulePaused: "SchedulePaused";
|
|
269
|
+
ScheduleResumed: "ScheduleResumed";
|
|
270
|
+
ScheduleEnded: "ScheduleEnded";
|
|
271
|
+
HistoryPruned: "HistoryPruned";
|
|
249
272
|
}>;
|
|
250
273
|
export type EventType = z.infer<typeof eventTypeSchema>;
|
|
251
274
|
export * from './argo-message.js';
|
package/dist/fleet/index.js
CHANGED
|
@@ -9,8 +9,8 @@ import { z } from 'zod';
|
|
|
9
9
|
* and checked by core before every call. `messages:force` sends a forced
|
|
10
10
|
* message, one that comes first (decision 0040); `fleet:on-behalf` reads on
|
|
11
11
|
* behalf of a named ship (decision 0034); `scopes:declare` takes up a
|
|
12
|
-
* plugin namespace
|
|
13
|
-
* (decision 0046). `fleet:person`, `fleet:owner`, `fleet:explain`,
|
|
12
|
+
* plugin namespace, `scopes:grant` grants and revokes on a live ship
|
|
13
|
+
* (decision 0046) and `scopes:define` defines the fleet's own scopes. `fleet:person`, `fleet:owner`, `fleet:explain`,
|
|
14
14
|
* `fleet:connect` and `labels:any` are the jobs that were argo's alone
|
|
15
15
|
* (decision 0053). `fleet:verify` writes verified facts (decision 0059).
|
|
16
16
|
* `meetings:open` opens a meeting (decision 0061).
|
|
@@ -37,6 +37,7 @@ export const SCOPES = [
|
|
|
37
37
|
'fleet:verify',
|
|
38
38
|
'scopes:declare',
|
|
39
39
|
'scopes:grant',
|
|
40
|
+
'scopes:define',
|
|
40
41
|
'meetings:open',
|
|
41
42
|
];
|
|
42
43
|
export const scopeSchema = z.enum(SCOPES);
|
|
@@ -63,10 +64,17 @@ export const CORE_SCOPE_DESCRIPTIONS = {
|
|
|
63
64
|
'fleet:verify': 'Write and withdraw its verified facts about the ships it manages',
|
|
64
65
|
'scopes:declare': 'Take up one plugin namespace and declare its scopes',
|
|
65
66
|
'scopes:grant': 'Grant and revoke scopes on a live ship, within what its ship may grant',
|
|
67
|
+
'scopes:define': "Define, describe and remove the fleet's own scopes",
|
|
66
68
|
'meetings:open': 'Open a meeting of the ships its ship reaches, owning and moderating it',
|
|
67
69
|
};
|
|
68
70
|
/** The namespaces core reserves and enforces; every other one is a plugin's (decision 0046). */
|
|
69
71
|
export const CORE_NAMESPACES = ['messages', 'fleet', 'crew', 'labels', 'scopes', 'meetings'];
|
|
72
|
+
/**
|
|
73
|
+
* The namespaces of the plugins Aeolus knows, reserved beside the core ones:
|
|
74
|
+
* the fleet never defines a scope in them, so a known plugin always finds
|
|
75
|
+
* its namespace free (decision 0046).
|
|
76
|
+
*/
|
|
77
|
+
export const RESERVED_NAMESPACES = ['gateway', 'squadrons', 'trierarch'];
|
|
70
78
|
/** A namespace or an action: lowercase letters, digits and hyphens, starting with a letter, 1 to 32 characters (decision 0046). */
|
|
71
79
|
const SCOPE_PART = '[a-z][a-z0-9-]{0,31}';
|
|
72
80
|
export const SCOPE_NAMESPACE_PATTERN = new RegExp(`^${SCOPE_PART}$`);
|
|
@@ -143,8 +151,12 @@ export const locationKindSchema = z.enum(LOCATION_KINDS);
|
|
|
143
151
|
*/
|
|
144
152
|
export const SHIP_STATUSES = ['awaitingCrew', 'crewed', 'retired'];
|
|
145
153
|
export const shipStatusSchema = z.enum(SHIP_STATUSES);
|
|
146
|
-
/**
|
|
147
|
-
|
|
154
|
+
/**
|
|
155
|
+
* Who a message is for: one ship (by id or by name), any ship of a type, every
|
|
156
|
+
* other participant of a meeting (decision 0061), or every ship a label
|
|
157
|
+
* selection names (decision 0065).
|
|
158
|
+
*/
|
|
159
|
+
export const SELECTOR_KINDS = ['ship', 'type', 'meeting', 'label'];
|
|
148
160
|
export const selectorKindSchema = z.enum(SELECTOR_KINDS);
|
|
149
161
|
/**
|
|
150
162
|
* Where one delivery stands (docs/blueprint.md, "Key flows"): pending until a
|
|
@@ -224,6 +236,9 @@ export const EVENT_TYPES = [
|
|
|
224
236
|
'BuiltInRuleChanged',
|
|
225
237
|
'ScopesDeclared',
|
|
226
238
|
'ScopesChanged',
|
|
239
|
+
'ScopeDefined',
|
|
240
|
+
'ScopeDescribed',
|
|
241
|
+
'ScopeRemoved',
|
|
227
242
|
'PluginConnected',
|
|
228
243
|
'PluginDisconnected',
|
|
229
244
|
'VerifiedFactsSet',
|
|
@@ -242,6 +257,14 @@ export const EVENT_TYPES = [
|
|
|
242
257
|
'OwnershipTransferred',
|
|
243
258
|
'ModeratorNamed',
|
|
244
259
|
'MeetingEnded',
|
|
260
|
+
'ScheduleCreated',
|
|
261
|
+
'ScheduleCancelled',
|
|
262
|
+
'ScheduledSendRefused',
|
|
263
|
+
'ScheduledSendMissed',
|
|
264
|
+
'SchedulePaused',
|
|
265
|
+
'ScheduleResumed',
|
|
266
|
+
'ScheduleEnded',
|
|
267
|
+
'HistoryPruned',
|
|
245
268
|
];
|
|
246
269
|
export const eventTypeSchema = z.enum(EVENT_TYPES);
|
|
247
270
|
export * from './argo-message.js';
|
package/dist/fleet/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/fleet/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;GAIG;AAEH;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,eAAe;IACf,kBAAkB;IAClB,gBAAgB;IAChB,iBAAiB;IACjB,YAAY;IACZ,kBAAkB;IAClB,cAAc;IACd,aAAa;IACb,UAAU;IACV,eAAe;IACf,eAAe;IACf,eAAe;IACf,iBAAiB;IACjB,cAAc;IACd,aAAa;IACb,eAAe;IACf,eAAe;IACf,YAAY;IACZ,cAAc;IACd,gBAAgB;IAChB,cAAc;IACd,eAAe;CACP,CAAC;AACX,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AAG1C,gEAAgE;AAChE,MAAM,CAAC,MAAM,uBAAuB,GAAoC;IACtE,eAAe,EAAE,kCAAkC;IACnD,kBAAkB,EAAE,oDAAoD;IACxE,gBAAgB,EAAE,0CAA0C;IAC5D,iBAAiB,EAAE,gEAAgE;IACnF,YAAY,EAAE,sEAAsE;IACpF,kBAAkB,EAAE,+DAA+D;IACnF,cAAc,EAAE,qHAAqH;IACrI,aAAa,EAAE,8DAA8D;IAC7E,UAAU,EAAE,6DAA6D;IACzE,eAAe,EAAE,sEAAsE;IACvF,eAAe,EAAE,wDAAwD;IACzE,eAAe,EAAE,0DAA0D;IAC3E,iBAAiB,EAAE,6DAA6D;IAChF,cAAc,EAAE,6CAA6C;IAC7D,aAAa,EAAE,0CAA0C;IACzD,eAAe,EAAE,iEAAiE;IAClF,eAAe,EAAE,+CAA+C;IAChE,YAAY,EAAE,qEAAqE;IACnF,cAAc,EAAE,kEAAkE;IAClF,gBAAgB,EAAE,qDAAqD;IACvE,cAAc,EAAE,wEAAwE;IACxF,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,MAAM,eAAe,GAAG,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;AAGnD,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,4BAA4B,CAAC;AAE3C;;;;GAIG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAU,CAAC"}
|
package/dist/ids/index.d.ts
CHANGED
|
@@ -26,6 +26,8 @@ export declare const ID_PREFIXES: {
|
|
|
26
26
|
readonly request: "req";
|
|
27
27
|
/** A meeting of ships (decision 0061). */
|
|
28
28
|
readonly meeting: "mtg";
|
|
29
|
+
/** A ship's scheduled message (decision 0062). */
|
|
30
|
+
readonly schedule: "sch";
|
|
29
31
|
};
|
|
30
32
|
export type IdKind = keyof typeof ID_PREFIXES;
|
|
31
33
|
/** Every kind of id, in the order of ID_PREFIXES. */
|
|
@@ -46,6 +48,7 @@ export type LabelValueId = Id<'labelValue'>;
|
|
|
46
48
|
export type ReachRefusalId = Id<'reachRefusal'>;
|
|
47
49
|
export type RequestId = Id<'request'>;
|
|
48
50
|
export type MeetingId = Id<'meeting'>;
|
|
51
|
+
export type ScheduleId = Id<'schedule'>;
|
|
49
52
|
export interface IdGeneratorOptions {
|
|
50
53
|
/** Milliseconds since the Unix epoch. Defaults to `Date.now`. */
|
|
51
54
|
now?: () => number;
|
package/dist/ids/index.js
CHANGED
package/dist/ids/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ids/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,KAAK,EAAE,KAAK;IACZ,IAAI,EAAE,KAAK;IACX,OAAO,EAAE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C,GAAG,EAAE,CAAC,CAAC;QAC3C,CAAC;QACD,MAAM,IAAI,CAAC,CAAC,IAAI,IAAI,CAAC,GAAG,CAAC,CAAC;IAC5B,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC;AAED;;;;GAIG;AACH,SAAS,SAAS,CAAC,KAAiB;IAClC,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,KAAK,GAAG,CAAC,EAAE,CAAC;QACxC,MAAM,IAAI,UAAU,CAAC,kDAAkD,CAAC,CAAC;IAC3E,CAAC;IACD,KAAK,IAAI,KAAK,GAAG,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,KAAK,IAAI,CAAC,EAAE,KAAK,IAAI,CAAC,EAAE,CAAC;QAC1D,MAAM,IAAI,GAAG,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QAC/B,IAAI,IAAI,GAAG,GAAG,EAAE,CAAC;YACf,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,GAAG,CAAC,CAAC;YACxB,OAAO;QACT,CAAC;QACD,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACnB,CAAC;AACH,CAAC;AAED,SAAS,MAAM,CAAC,KAAa;IAC3B,MAAM,IAAI,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC7B,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;QACvB,MAAM,IAAI,UAAU,CAAC,uBAAuB,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAC/D,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* An ISO 8601 duration of a fixed length: weeks alone, or days, hours,
|
|
3
|
+
* minutes and seconds (`PT30M`, `P1DT2H`, `P1W`). Years and months have no
|
|
4
|
+
* fixed length, so they are no duration here.
|
|
5
|
+
*/
|
|
6
|
+
const DURATION = /^P(?:(\d+)W|(?:(\d+)D)?(?:T(?:(\d+)H)?(?:(\d+)M)?(?:(\d+(?:\.\d+)?)S)?)?)$/;
|
|
7
|
+
const SECOND_MS = 1000;
|
|
8
|
+
const MINUTE_MS = 60 * SECOND_MS;
|
|
9
|
+
const HOUR_MS = 60 * MINUTE_MS;
|
|
10
|
+
const DAY_MS = 24 * HOUR_MS;
|
|
11
|
+
const WEEK_MS = 7 * DAY_MS;
|
|
12
|
+
/** The duration's length in milliseconds; none for a text that is no duration, or one of no length. */
|
|
13
|
+
export function durationMs(text) {
|
|
14
|
+
const match = DURATION.exec(text);
|
|
15
|
+
if (!match || text.endsWith('T')) {
|
|
16
|
+
return undefined;
|
|
17
|
+
}
|
|
18
|
+
const [, weeks, days, hours, minutes, seconds] = match;
|
|
19
|
+
const ms = Number(weeks ?? 0) * WEEK_MS + Number(days ?? 0) * DAY_MS + Number(hours ?? 0) * HOUR_MS + Number(minutes ?? 0) * MINUTE_MS + Math.round(Number(seconds ?? 0) * SECOND_MS);
|
|
20
|
+
return ms > 0 ? ms : undefined;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=duration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"duration.js","sourceRoot":"","sources":["../../src/rules/duration.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,QAAQ,GAAG,4EAA4E,CAAC;AAE9F,MAAM,SAAS,GAAG,IAAI,CAAC;AACvB,MAAM,SAAS,GAAG,EAAE,GAAG,SAAS,CAAC;AACjC,MAAM,OAAO,GAAG,EAAE,GAAG,SAAS,CAAC;AAC/B,MAAM,MAAM,GAAG,EAAE,GAAG,OAAO,CAAC;AAC5B,MAAM,OAAO,GAAG,CAAC,GAAG,MAAM,CAAC;AAE3B,uGAAuG;AACvG,MAAM,UAAU,UAAU,CAAC,IAAY;IACrC,MAAM,KAAK,GAAG,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAClC,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;QACjC,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,MAAM,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,CAAC,GAAG,KAAK,CAAC;IACvD,MAAM,EAAE,GACN,MAAM,CAAC,KAAK,IAAI,CAAC,CAAC,GAAG,OAAO,GAAG,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,GAAG,MAAM,GAAG,MAAM,CAAC,KAAK,IAAI,CAAC,CAAC,GAAG,OAAO,GAAG,MAAM,CAAC,OAAO,IAAI,CAAC,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,IAAI,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC;IAC7K,OAAO,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;AACjC,CAAC"}
|
package/dist/rules/index.d.ts
CHANGED
package/dist/rules/index.js
CHANGED
package/dist/rules/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC"}
|
|
@@ -2,8 +2,8 @@ import { z } from 'zod';
|
|
|
2
2
|
/** The Aeolus web apps the header switches between (H12: plugin pages are not apps yet). */
|
|
3
3
|
export declare const HEADER_APPS: readonly ["console", "gateway", "account", "admin"];
|
|
4
4
|
export declare const headerAppSchema: z.ZodEnum<{
|
|
5
|
-
console: "console";
|
|
6
5
|
gateway: "gateway";
|
|
6
|
+
console: "console";
|
|
7
7
|
account: "account";
|
|
8
8
|
admin: "admin";
|
|
9
9
|
}>;
|
|
@@ -11,8 +11,8 @@ export type HeaderApp = z.infer<typeof headerAppSchema>;
|
|
|
11
11
|
/** An app the header links to, and where: an http(s) address only, since the browser follows it. */
|
|
12
12
|
export declare const appLinkSchema: z.ZodObject<{
|
|
13
13
|
app: z.ZodEnum<{
|
|
14
|
-
console: "console";
|
|
15
14
|
gateway: "gateway";
|
|
15
|
+
console: "console";
|
|
16
16
|
account: "account";
|
|
17
17
|
admin: "admin";
|
|
18
18
|
}>;
|
|
@@ -26,8 +26,8 @@ export declare const appsListSchema: z.ZodObject<{
|
|
|
26
26
|
}, z.core.$strip>;
|
|
27
27
|
apps: z.ZodArray<z.ZodObject<{
|
|
28
28
|
app: z.ZodEnum<{
|
|
29
|
-
console: "console";
|
|
30
29
|
gateway: "gateway";
|
|
30
|
+
console: "console";
|
|
31
31
|
account: "account";
|
|
32
32
|
admin: "admin";
|
|
33
33
|
}>;
|
|
@@ -39,8 +39,8 @@ export declare const appsListSchema: z.ZodObject<{
|
|
|
39
39
|
argo: z.ZodBoolean;
|
|
40
40
|
apps: z.ZodArray<z.ZodObject<{
|
|
41
41
|
app: z.ZodEnum<{
|
|
42
|
-
console: "console";
|
|
43
42
|
gateway: "gateway";
|
|
43
|
+
console: "console";
|
|
44
44
|
account: "account";
|
|
45
45
|
admin: "admin";
|
|
46
46
|
}>;
|
|
@@ -45,7 +45,8 @@ export declare const consoleSessionKindSchema: z.ZodEnum<{
|
|
|
45
45
|
* someone is signed in. The fleet, when the session expires (ISO 8601 in
|
|
46
46
|
* UTC), whose session it is, and the scopes of its ship: a viewer reads only.
|
|
47
47
|
* An account's is its account token: its id, when the token ends, and the
|
|
48
|
-
* scopes it carries.
|
|
48
|
+
* scopes it carries. Scopes a plugin declares come beside core's, so the
|
|
49
|
+
* plugin checks its own on the session (#1234).
|
|
49
50
|
*/
|
|
50
51
|
export declare const consoleSessionOutputSchema: z.ZodObject<{
|
|
51
52
|
fleetId: z.ZodType<`flt_${string}`, unknown, z.core.$ZodTypeInternals<`flt_${string}`, unknown>>;
|
|
@@ -57,30 +58,7 @@ export declare const consoleSessionOutputSchema: z.ZodObject<{
|
|
|
57
58
|
account: "account";
|
|
58
59
|
}>;
|
|
59
60
|
accountId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "AccountId", "out">>;
|
|
60
|
-
scopes: z.ZodArray<z.
|
|
61
|
-
"messages:send": "messages:send";
|
|
62
|
-
"messages:receive": "messages:receive";
|
|
63
|
-
"messages:force": "messages:force";
|
|
64
|
-
"messages:resend": "messages:resend";
|
|
65
|
-
"fleet:read": "fleet:read";
|
|
66
|
-
"fleet:commission": "fleet:commission";
|
|
67
|
-
"fleet:manage": "fleet:manage";
|
|
68
|
-
"crew:assign": "crew:assign";
|
|
69
|
-
"crew:run": "crew:run";
|
|
70
|
-
"labels:define": "labels:define";
|
|
71
|
-
"labels:assign": "labels:assign";
|
|
72
|
-
"fleet:network": "fleet:network";
|
|
73
|
-
"fleet:on-behalf": "fleet:on-behalf";
|
|
74
|
-
"fleet:person": "fleet:person";
|
|
75
|
-
"fleet:owner": "fleet:owner";
|
|
76
|
-
"fleet:explain": "fleet:explain";
|
|
77
|
-
"fleet:connect": "fleet:connect";
|
|
78
|
-
"labels:any": "labels:any";
|
|
79
|
-
"fleet:verify": "fleet:verify";
|
|
80
|
-
"scopes:declare": "scopes:declare";
|
|
81
|
-
"scopes:grant": "scopes:grant";
|
|
82
|
-
"meetings:open": "meetings:open";
|
|
83
|
-
}>>;
|
|
61
|
+
scopes: z.ZodArray<z.ZodString>;
|
|
84
62
|
}, z.core.$strip>;
|
|
85
63
|
/** Input of `console.presentAccountToken`: the account token pagasae gave the console's server for this fleet (decision 0058). */
|
|
86
64
|
export declare const presentAccountTokenInputSchema: z.ZodObject<{
|
package/dist/schemas/console.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import {
|
|
2
|
+
import { scopeNameSchema } from '../fleet/index.js';
|
|
3
3
|
import { idSchema } from '../ids/index.js';
|
|
4
4
|
import { accountIdSchema } from './account-token.js';
|
|
5
5
|
import { EMAIL_REQUIRED, EMAIL_TOO_LONG, OPERATOR_EMAIL_MAX_LENGTH, OPERATOR_PASSWORD_MAX_LENGTH, OPERATOR_PASSWORD_MIN_LENGTH, PASSWORD_REQUIRED, PASSWORD_TOO_LONG, PASSWORD_TOO_SHORT, } from '../rules/sign-in.js';
|
|
@@ -41,7 +41,8 @@ export const consoleSessionKindSchema = z.enum(['operator', 'viewer', 'account']
|
|
|
41
41
|
* someone is signed in. The fleet, when the session expires (ISO 8601 in
|
|
42
42
|
* UTC), whose session it is, and the scopes of its ship: a viewer reads only.
|
|
43
43
|
* An account's is its account token: its id, when the token ends, and the
|
|
44
|
-
* scopes it carries.
|
|
44
|
+
* scopes it carries. Scopes a plugin declares come beside core's, so the
|
|
45
|
+
* plugin checks its own on the session (#1234).
|
|
45
46
|
*/
|
|
46
47
|
export const consoleSessionOutputSchema = z.object({
|
|
47
48
|
fleetId: idSchema('fleet'),
|
|
@@ -50,7 +51,7 @@ export const consoleSessionOutputSchema = z.object({
|
|
|
50
51
|
expiresAt: z.iso.datetime(),
|
|
51
52
|
kind: consoleSessionKindSchema,
|
|
52
53
|
accountId: accountIdSchema.optional(),
|
|
53
|
-
scopes: z.array(
|
|
54
|
+
scopes: z.array(scopeNameSchema),
|
|
54
55
|
});
|
|
55
56
|
/** Input of `console.presentAccountToken`: the account token pagasae gave the console's server for this fleet (decision 0058). */
|
|
56
57
|
export const presentAccountTokenInputSchema = z.object({ token: z.string().min(1).max(16_384) });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"console.js","sourceRoot":"","sources":["../../src/schemas/console.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"console.js","sourceRoot":"","sources":["../../src/schemas/console.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EACL,cAAc,EACd,cAAc,EACd,yBAAyB,EACzB,4BAA4B,EAC5B,4BAA4B,EAC5B,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAE7B,4DAA4D;AAC5D,MAAM,CAAC,MAAM,sBAAsB,GAAG,mBAAmB,CAAC;AAC1D,OAAO,EAAE,0BAA0B,EAAE,yBAAyB,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AAE1H;;;;;GAKG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC;IACxC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,cAAc,CAAC,CAAC,GAAG,CAAC,yBAAyB,EAAE,cAAc,CAAC;IAC9F,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,iBAAiB,CAAC,CAAC,GAAG,CAAC,4BAA4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C,CAAC;AAIH,mCAAmC;AACnC,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,CAAC,CAAC;AAEpE;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,cAAc,CAAC,CAAC,GAAG,CAAC,yBAAyB,EAAE,cAAc,CAAC;IAC9F,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,4BAA4B,EAAE,kBAAkB,CAAC,CAAC,GAAG,CAAC,4BAA4B,EAAE,iBAAiB,CAAC;IAC/H,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,4BAA4B,EAAE,iBAAiB,CAAC,CAAC,QAAQ,EAAE;CAC5F,CAAC,CAAC;AAIH,mEAAmE;AACnE,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;AAEvD,mEAAmE;AACnE,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC"}
|
|
@@ -54,6 +54,8 @@ export declare const receivedDeliverySchema: z.ZodObject<{
|
|
|
54
54
|
attempts: z.ZodInt;
|
|
55
55
|
isForced: z.ZodBoolean;
|
|
56
56
|
meetingId: z.ZodNullable<z.ZodType<`mtg_${string}`, unknown, z.core.$ZodTypeInternals<`mtg_${string}`, unknown>>>;
|
|
57
|
+
scheduleId: z.ZodNullable<z.ZodType<`sch_${string}`, unknown, z.core.$ZodTypeInternals<`sch_${string}`, unknown>>>;
|
|
58
|
+
sendTime: z.ZodNullable<z.ZodISODateTime>;
|
|
57
59
|
}, z.core.$strip>;
|
|
58
60
|
export type ReceivedDelivery = z.infer<typeof receivedDeliverySchema>;
|
|
59
61
|
/** Output of `ship.receive`: the deliveries claimed, none when the wait ended without one. */
|
|
@@ -79,6 +81,8 @@ export declare const receiveOutputSchema: z.ZodObject<{
|
|
|
79
81
|
attempts: z.ZodInt;
|
|
80
82
|
isForced: z.ZodBoolean;
|
|
81
83
|
meetingId: z.ZodNullable<z.ZodType<`mtg_${string}`, unknown, z.core.$ZodTypeInternals<`mtg_${string}`, unknown>>>;
|
|
84
|
+
scheduleId: z.ZodNullable<z.ZodType<`sch_${string}`, unknown, z.core.$ZodTypeInternals<`sch_${string}`, unknown>>>;
|
|
85
|
+
sendTime: z.ZodNullable<z.ZodISODateTime>;
|
|
82
86
|
}, z.core.$strip>>;
|
|
83
87
|
}, z.core.$strip>;
|
|
84
88
|
export type ReceiveOutput = z.infer<typeof receiveOutputSchema>;
|
|
@@ -115,6 +119,8 @@ export declare const pushReceivedDeliverySchema: z.ZodObject<{
|
|
|
115
119
|
sentAt: z.ZodISODateTime;
|
|
116
120
|
isForced: z.ZodBoolean;
|
|
117
121
|
meetingId: z.ZodNullable<z.ZodType<`mtg_${string}`, unknown, z.core.$ZodTypeInternals<`mtg_${string}`, unknown>>>;
|
|
122
|
+
scheduleId: z.ZodNullable<z.ZodType<`sch_${string}`, unknown, z.core.$ZodTypeInternals<`sch_${string}`, unknown>>>;
|
|
123
|
+
sendTime: z.ZodNullable<z.ZodISODateTime>;
|
|
118
124
|
attempts: z.ZodInt;
|
|
119
125
|
state: z.ZodEnum<{
|
|
120
126
|
received: "received";
|
|
@@ -126,7 +132,8 @@ export type PushReceivedDelivery = z.infer<typeof pushReceivedDeliverySchema>;
|
|
|
126
132
|
/**
|
|
127
133
|
* Input of `ship.pushReceive`: at most how many deliveries to take, 1 to 10,
|
|
128
134
|
* one without it, and what wakes the ship, kept from the lease's first push
|
|
129
|
-
* receive (interop 5.1).
|
|
135
|
+
* receive (interop 5.1). With shouldSkipHanded, leave handed deliveries out;
|
|
136
|
+
* received deliveries still return so a lost answer remains recoverable.
|
|
130
137
|
*/
|
|
131
138
|
export declare const pushReceiveInputSchema: z.ZodOptional<z.ZodObject<{
|
|
132
139
|
max: z.ZodOptional<z.ZodInt>;
|
|
@@ -137,6 +144,7 @@ export declare const pushReceiveInputSchema: z.ZodOptional<z.ZodObject<{
|
|
|
137
144
|
personApp: "personApp";
|
|
138
145
|
adapter: "adapter";
|
|
139
146
|
}>>;
|
|
147
|
+
shouldSkipHanded: z.ZodOptional<z.ZodBoolean>;
|
|
140
148
|
}, z.core.$strip>>;
|
|
141
149
|
export type PushReceiveInput = z.infer<typeof pushReceiveInputSchema>;
|
|
142
150
|
/** Output of `ship.pushReceive`: the deliveries taken, none when the wait ended without one. */
|
|
@@ -161,6 +169,8 @@ export declare const pushReceiveOutputSchema: z.ZodObject<{
|
|
|
161
169
|
sentAt: z.ZodISODateTime;
|
|
162
170
|
isForced: z.ZodBoolean;
|
|
163
171
|
meetingId: z.ZodNullable<z.ZodType<`mtg_${string}`, unknown, z.core.$ZodTypeInternals<`mtg_${string}`, unknown>>>;
|
|
172
|
+
scheduleId: z.ZodNullable<z.ZodType<`sch_${string}`, unknown, z.core.$ZodTypeInternals<`sch_${string}`, unknown>>>;
|
|
173
|
+
sendTime: z.ZodNullable<z.ZodISODateTime>;
|
|
164
174
|
attempts: z.ZodInt;
|
|
165
175
|
state: z.ZodEnum<{
|
|
166
176
|
received: "received";
|
|
@@ -276,6 +286,8 @@ export declare const deliveryOutputSchema: z.ZodObject<{
|
|
|
276
286
|
sentAt: z.ZodISODateTime;
|
|
277
287
|
isForced: z.ZodBoolean;
|
|
278
288
|
meetingId: z.ZodNullable<z.ZodType<`mtg_${string}`, unknown, z.core.$ZodTypeInternals<`mtg_${string}`, unknown>>>;
|
|
289
|
+
scheduleId: z.ZodNullable<z.ZodType<`sch_${string}`, unknown, z.core.$ZodTypeInternals<`sch_${string}`, unknown>>>;
|
|
290
|
+
sendTime: z.ZodNullable<z.ZodISODateTime>;
|
|
279
291
|
attempts: z.ZodInt;
|
|
280
292
|
state: z.ZodEnum<{
|
|
281
293
|
pending: "pending";
|
|
@@ -296,8 +308,10 @@ export declare const sentMessageInputSchema: z.ZodObject<{
|
|
|
296
308
|
}, z.core.$strip>;
|
|
297
309
|
export type SentMessageInput = z.infer<typeof sentMessageInputSchema>;
|
|
298
310
|
/**
|
|
299
|
-
* Output of `ship.sentMessage`: where
|
|
300
|
-
* sent stands, and since when, with its
|
|
311
|
+
* Output of `ship.sentMessage`: where each delivery of a message its sender
|
|
312
|
+
* sent stands, and since when, with its ship (null while no ship of a type
|
|
313
|
+
* claimed it): one for a ship or a type, one per ship for a label (decision
|
|
314
|
+
* 0065). Its recipient by name, type or value ids. No payload.
|
|
301
315
|
*/
|
|
302
316
|
export declare const sentMessageOutputSchema: z.ZodObject<{
|
|
303
317
|
messageId: z.ZodType<`msg_${string}`, unknown, z.core.$ZodTypeInternals<`msg_${string}`, unknown>>;
|
|
@@ -314,9 +328,16 @@ export declare const sentMessageOutputSchema: z.ZodObject<{
|
|
|
314
328
|
}, z.core.$strip>, z.ZodObject<{
|
|
315
329
|
kind: z.ZodLiteral<"meeting">;
|
|
316
330
|
meetingId: z.ZodType<`mtg_${string}`, unknown, z.core.$ZodTypeInternals<`mtg_${string}`, unknown>>;
|
|
331
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
332
|
+
kind: z.ZodLiteral<"label">;
|
|
333
|
+
valueIds: z.ZodReadonly<z.ZodArray<z.ZodType<`lbv_${string}`, unknown, z.core.$ZodTypeInternals<`lbv_${string}`, unknown>>>>;
|
|
317
334
|
}, z.core.$strip>], "kind">;
|
|
318
|
-
|
|
335
|
+
deliveries: z.ZodArray<z.ZodObject<{
|
|
319
336
|
deliveryId: z.ZodType<`dlv_${string}`, unknown, z.core.$ZodTypeInternals<`dlv_${string}`, unknown>>;
|
|
337
|
+
ship: z.ZodNullable<z.ZodObject<{
|
|
338
|
+
id: z.ZodType<`shp_${string}`, unknown, z.core.$ZodTypeInternals<`shp_${string}`, unknown>>;
|
|
339
|
+
name: z.ZodString;
|
|
340
|
+
}, z.core.$strip>>;
|
|
320
341
|
state: z.ZodEnum<{
|
|
321
342
|
pending: "pending";
|
|
322
343
|
received: "received";
|
|
@@ -329,6 +350,6 @@ export declare const sentMessageOutputSchema: z.ZodObject<{
|
|
|
329
350
|
abandoned: "abandoned";
|
|
330
351
|
}>;
|
|
331
352
|
since: z.ZodISODateTime;
|
|
332
|
-
}, z.core.$strip
|
|
353
|
+
}, z.core.$strip>>;
|
|
333
354
|
}, z.core.$strip>;
|
|
334
355
|
export type SentMessageOutput = z.infer<typeof sentMessageOutputSchema>;
|
package/dist/schemas/delivery.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { deliveryStateSchema } from '../fleet/index.js';
|
|
3
3
|
import { idSchema } from '../ids/index.js';
|
|
4
|
-
import { leaseWakerSchema,
|
|
4
|
+
import { leaseWakerSchema, partySchema } from './history.js';
|
|
5
5
|
import { isOneLine } from './report.js';
|
|
6
6
|
/**
|
|
7
7
|
* Inputs and outputs of receiving and acknowledging deliveries (`ship.receive`
|
|
@@ -55,6 +55,9 @@ export const receivedDeliverySchema = z.object({
|
|
|
55
55
|
isForced: z.boolean(),
|
|
56
56
|
/** The meeting its message was contributed to or tells of; null outside a meeting (decision 0061). */
|
|
57
57
|
meetingId: idSchema('meeting').nullable(),
|
|
58
|
+
/** The schedule its message was sent for, and that send time; both null on a live send (decision 0062). */
|
|
59
|
+
scheduleId: idSchema('schedule').nullable(),
|
|
60
|
+
sendTime: z.iso.datetime().nullable(),
|
|
58
61
|
});
|
|
59
62
|
/** Output of `ship.receive`: the deliveries claimed, none when the wait ended without one. */
|
|
60
63
|
export const receiveOutputSchema = z.object({
|
|
@@ -80,10 +83,11 @@ export const pushReceivedDeliverySchema = receivedDeliverySchema.extend({
|
|
|
80
83
|
/**
|
|
81
84
|
* Input of `ship.pushReceive`: at most how many deliveries to take, 1 to 10,
|
|
82
85
|
* one without it, and what wakes the ship, kept from the lease's first push
|
|
83
|
-
* receive (interop 5.1).
|
|
86
|
+
* receive (interop 5.1). With shouldSkipHanded, leave handed deliveries out;
|
|
87
|
+
* received deliveries still return so a lost answer remains recoverable.
|
|
84
88
|
*/
|
|
85
89
|
export const pushReceiveInputSchema = z
|
|
86
|
-
.object({ max: z.int().min(1).max(RECEIVE_MAX_UPPER_BOUND).optional(), waker: leaseWakerSchema.optional() })
|
|
90
|
+
.object({ max: z.int().min(1).max(RECEIVE_MAX_UPPER_BOUND).optional(), waker: leaseWakerSchema.optional(), shouldSkipHanded: z.boolean().optional() })
|
|
87
91
|
.optional();
|
|
88
92
|
/** The channel of a hand-over: 1 to 32 of a-z, 0-9, `/`, `.` and `-`, such as `tmux` or `tools/call`. */
|
|
89
93
|
const CHANNEL = /^[a-z0-9/.-]{1,32}$/;
|
|
@@ -162,13 +166,21 @@ export const deliveryOutputSchema = receivedDeliverySchema.extend({
|
|
|
162
166
|
/** Input of `ship.sentMessage`: a message the caller sent. */
|
|
163
167
|
export const sentMessageInputSchema = z.object({ messageId: idSchema('message') });
|
|
164
168
|
/**
|
|
165
|
-
* Output of `ship.sentMessage`: where
|
|
166
|
-
* sent stands, and since when, with its
|
|
169
|
+
* Output of `ship.sentMessage`: where each delivery of a message its sender
|
|
170
|
+
* sent stands, and since when, with its ship (null while no ship of a type
|
|
171
|
+
* claimed it): one for a ship or a type, one per ship for a label (decision
|
|
172
|
+
* 0065). Its recipient by name, type or value ids. No payload.
|
|
167
173
|
*/
|
|
168
174
|
export const sentMessageOutputSchema = z.object({
|
|
169
175
|
messageId: idSchema('message'),
|
|
170
176
|
sentAt: z.iso.datetime(),
|
|
171
|
-
|
|
172
|
-
|
|
177
|
+
/** A label selection by its value ids as sent: its texts are read with fleet:read only. */
|
|
178
|
+
recipient: z.discriminatedUnion('kind', [
|
|
179
|
+
z.object({ kind: z.literal('ship'), ship: partySchema }),
|
|
180
|
+
z.object({ kind: z.literal('type'), type: z.string() }),
|
|
181
|
+
z.object({ kind: z.literal('meeting'), meetingId: idSchema('meeting') }),
|
|
182
|
+
z.object({ kind: z.literal('label'), valueIds: z.array(idSchema('labelValue')).readonly() }),
|
|
183
|
+
]),
|
|
184
|
+
deliveries: z.array(z.object({ deliveryId: idSchema('delivery'), ship: partySchema.nullable(), state: deliveryStateSchema, since: z.iso.datetime() })),
|
|
173
185
|
});
|
|
174
186
|
//# sourceMappingURL=delivery.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delivery.js","sourceRoot":"","sources":["../../src/schemas/delivery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,
|
|
1
|
+
{"version":3,"file":"delivery.js","sourceRoot":"","sources":["../../src/schemas/delivery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC;;;;;GAKG;AAEH,wEAAwE;AACxE,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC;AAErC;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,EAAE,CAAC;AAE1C,gGAAgG;AAChG,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC;KAChC,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,uB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