@spacefast/common 0.0.5 → 0.0.6
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/agents/connect-targets.d.ts +133 -0
- package/dist/agents/connect-targets.js +224 -0
- package/dist/brand.d.ts +1 -0
- package/dist/brand.js +5 -0
- package/dist/config/domains.d.ts +12 -6
- package/dist/config/domains.js +30 -38
- package/dist/contracts/access.d.ts +825 -125
- package/dist/contracts/access.js +771 -148
- package/dist/contracts/activity.d.ts +1 -1
- package/dist/contracts/activity.js +28 -2
- package/dist/contracts/annotations.d.ts +2 -4
- package/dist/contracts/api-keys.d.ts +3 -4
- package/dist/contracts/api-keys.js +9 -6
- package/dist/contracts/archives.d.ts +8 -2
- package/dist/contracts/archives.js +11 -4
- package/dist/contracts/billing.d.ts +0 -9
- package/dist/contracts/builds.d.ts +25 -21
- package/dist/contracts/builds.js +12 -0
- package/dist/contracts/common.d.ts +2 -0
- package/dist/contracts/common.js +4 -0
- package/dist/contracts/continuation.d.ts +0 -3
- package/dist/contracts/countries.d.ts +2 -0
- package/dist/contracts/countries.js +261 -0
- package/dist/contracts/deployments.d.ts +34 -34
- package/dist/contracts/device-auth.d.ts +4 -11
- package/dist/contracts/device-auth.js +4 -0
- package/dist/contracts/docs.d.ts +119 -0
- package/dist/contracts/docs.js +51 -0
- package/dist/contracts/domains.d.ts +96 -54
- package/dist/contracts/domains.js +26 -4
- package/dist/contracts/enums.d.ts +15 -16
- package/dist/contracts/enums.js +25 -14
- package/dist/contracts/error-code-meta.d.ts +72 -0
- package/dist/contracts/error-code-meta.js +96 -10
- package/dist/contracts/error-codes.d.ts +1 -1
- package/dist/contracts/error-codes.js +14 -0
- package/dist/contracts/events.d.ts +1 -1
- package/dist/contracts/features.d.ts +76 -6
- package/dist/contracts/features.js +178 -13
- package/dist/contracts/git.d.ts +2 -8
- package/dist/contracts/ids.d.ts +5 -0
- package/dist/contracts/ids.js +5 -0
- package/dist/contracts/mcp.d.ts +8 -10
- package/dist/contracts/me.js +1 -1
- package/dist/contracts/oauth-resources.d.ts +19 -8
- package/dist/contracts/oauth-resources.js +44 -13
- package/dist/contracts/platform.d.ts +0 -102
- package/dist/contracts/platform.js +0 -50
- package/dist/contracts/push-new.d.ts +4 -4
- package/dist/contracts/quotas.d.ts +2 -0
- package/dist/contracts/quotas.js +8 -0
- package/dist/contracts/repository-connections.d.ts +6 -8
- package/dist/contracts/resources.d.ts +97 -13
- package/dist/contracts/resources.js +26 -2
- package/dist/contracts/routes.d.ts +0 -2
- package/dist/contracts/runtime-api.d.ts +361 -39
- package/dist/contracts/runtime-api.js +275 -6
- package/dist/contracts/sites.d.ts +19 -2
- package/dist/contracts/sites.js +21 -0
- package/dist/contracts/space-config.d.ts +201 -2
- package/dist/contracts/space-config.js +135 -5
- package/dist/contracts/spaces.d.ts +364 -193
- package/dist/contracts/spaces.js +40 -8
- package/dist/contracts/superadmin-emails.d.ts +4 -2
- package/dist/contracts/superadmin-emails.js +8 -0
- package/dist/contracts/superadmin-queues.d.ts +26 -26
- package/dist/contracts/superadmin-spaces.d.ts +170 -42
- package/dist/contracts/superadmin.d.ts +6 -93
- package/dist/contracts/superadmin.js +6 -14
- package/dist/contracts/tags.d.ts +10 -9
- package/dist/contracts/tags.js +2 -1
- package/dist/contracts/teams.d.ts +21 -22
- package/dist/contracts/teams.js +0 -1
- package/dist/contracts/theme-json.d.ts +30 -0
- package/dist/contracts/theme-json.js +48 -0
- package/dist/contracts/variables.d.ts +0 -2
- package/dist/contracts/variables.js +0 -5
- package/dist/contracts/webhooks.d.ts +2 -0
- package/dist/contracts/webhooks.js +1 -1
- package/dist/contracts/zero.d.ts +5 -10
- package/dist/docs/agent-prose.d.ts +43 -3
- package/dist/docs/agent-prose.js +146 -7
- package/dist/docs/agent-setup.js +45 -13
- package/dist/docs/agent-solutions.d.ts +5 -5
- package/dist/docs/agent-solutions.js +2 -2
- package/dist/docs/catalog.d.ts +650 -0
- package/dist/docs/catalog.js +758 -0
- package/dist/docs/error-docs.d.ts +0 -2
- package/dist/docs/error-docs.js +77 -35
- package/dist/docs/index-build.d.ts +17 -0
- package/dist/docs/index-build.js +24 -0
- package/dist/docs/search.d.ts +54 -0
- package/dist/docs/search.js +96 -0
- package/dist/docs/skill-distribution.d.ts +5 -3
- package/dist/docs/skill-distribution.js +8 -8
- package/dist/utils/access-match.d.ts +39 -0
- package/dist/utils/access-match.js +296 -0
- package/dist/utils/auth-redirect.d.ts +3 -1
- package/dist/utils/auth-redirect.js +21 -1
- package/dist/utils/build-settings.d.ts +6 -0
- package/dist/utils/build-settings.js +429 -46
- package/dist/utils/claim-token.d.ts +8 -0
- package/dist/utils/claim-token.js +23 -2
- package/dist/utils/content-type.d.ts +1 -0
- package/dist/utils/content-type.js +1 -1
- package/dist/utils/credential-policy.d.ts +54 -0
- package/dist/utils/{access-policy.js → credential-policy.js} +28 -2
- package/dist/utils/gate-theme.d.ts +61 -0
- package/dist/utils/gate-theme.js +217 -0
- package/dist/utils/git-repository.d.ts +0 -1
- package/dist/utils/git-repository.js +0 -3
- package/dist/utils/id-hints.d.ts +8 -0
- package/dist/utils/id-hints.js +61 -0
- package/dist/utils/local-space-state.d.ts +91 -0
- package/dist/utils/local-space-state.js +251 -0
- package/dist/utils/oauth-signed-query.d.ts +8 -0
- package/dist/utils/oauth-signed-query.js +26 -0
- package/dist/utils/publish-detection.d.ts +0 -8
- package/dist/utils/publish-detection.js +0 -93
- package/dist/utils/publish-policy.d.ts +6 -5
- package/dist/utils/publish-policy.js +71 -7
- package/dist/utils/query-keys.d.ts +15 -4
- package/dist/utils/query-keys.js +27 -4
- package/dist/utils/runtime-paths.d.ts +0 -1
- package/dist/utils/runtime-paths.js +0 -1
- package/dist/utils/runtime-upload-batch.d.ts +18 -0
- package/dist/utils/runtime-upload-batch.js +90 -0
- package/dist/utils/runtime-upload.d.ts +2 -0
- package/dist/utils/runtime-upload.js +5 -0
- package/dist/utils/space-config.d.ts +4 -0
- package/dist/utils/space-config.js +10 -1
- package/dist/utils/space-theme.d.ts +2 -0
- package/dist/utils/space-theme.js +9 -0
- package/dist/utils/static-runtime-policy.d.ts +0 -21
- package/dist/utils/static-runtime-policy.js +19 -103
- package/dist/utils/upload-session.d.ts +1 -1
- package/dist/utils/wpcom-auth-redirects.d.ts +32 -2
- package/dist/utils/wpcom-auth-redirects.js +26 -10
- package/dist/vocabulary.d.ts +130 -30
- package/dist/vocabulary.js +77 -36
- package/package.json +16 -1
- package/dist/contracts/account.d.ts +0 -28
- package/dist/contracts/account.js +0 -54
- package/dist/contracts/intercom.d.ts +0 -6
- package/dist/contracts/intercom.js +0 -5
- package/dist/contracts/telemetry.d.ts +0 -2
- package/dist/contracts/telemetry.js +0 -1
- package/dist/utils/access-policy.d.ts +0 -39
- package/dist/utils/error-display.d.ts +0 -7
- package/dist/utils/error-display.js +0 -42
package/dist/contracts/spaces.js
CHANGED
|
@@ -3,7 +3,7 @@ import { AsyncOperationSchema, baseDiagnosticSchema, CursorPaginationSchema, cur
|
|
|
3
3
|
import { versionStatus, spaceStatus } from "./enums.js";
|
|
4
4
|
import { conventionFilesSchema, uploadInstructionsSchema, manifestFileSchema } from "./internal.js";
|
|
5
5
|
import { ChannelPointerSchema, VersionSchema, PublishSourceSchema, SpaceSchema, } from "./resources.js";
|
|
6
|
-
import { spaceConfigSchema } from "./space-config.js";
|
|
6
|
+
import { spaceConfigSchema, spacePlacementConfigSchema } from "./space-config.js";
|
|
7
7
|
import { principalIdSchema } from "./transfers.js";
|
|
8
8
|
import { zeroRuntimeKindSchema } from "./zero.js";
|
|
9
9
|
export const AnonymousSpaceAccessSchema = z.object({
|
|
@@ -14,7 +14,7 @@ export const AnonymousSpaceAccessSchema = z.object({
|
|
|
14
14
|
claimUrl: z
|
|
15
15
|
.string()
|
|
16
16
|
.nullable()
|
|
17
|
-
.describe("Browser-only claim link in `/claim#
|
|
17
|
+
.describe("Browser-only claim link in `/claim#nonce` form. The fragment is a human handoff capability; API clients use the claim token as bearer auth for publish/update/status/exchange."),
|
|
18
18
|
expiresAt: z
|
|
19
19
|
.string()
|
|
20
20
|
.datetime()
|
|
@@ -74,6 +74,7 @@ export const spacePatchSchema = z.object({
|
|
|
74
74
|
.optional()
|
|
75
75
|
.describe("Replaces the stored SpaceConfig overlay; null clears it."),
|
|
76
76
|
dataLocation: z.string().min(1).optional(),
|
|
77
|
+
placement: spacePlacementConfigSchema.optional(),
|
|
77
78
|
noindex: z
|
|
78
79
|
.boolean()
|
|
79
80
|
.optional()
|
|
@@ -91,7 +92,7 @@ export const spaceClaimSchema = z
|
|
|
91
92
|
claimToken: z
|
|
92
93
|
.string()
|
|
93
94
|
.min(1)
|
|
94
|
-
.describe("One-time claim token returned at anonymous creation.
|
|
95
|
+
.describe("One-time claim token returned at anonymous creation. API clients send it as bearer auth; browser claim links carry a separate nonce fragment."),
|
|
95
96
|
teamId: z
|
|
96
97
|
.string()
|
|
97
98
|
.min(1)
|
|
@@ -102,6 +103,10 @@ export const spaceClaimSchema = z
|
|
|
102
103
|
.min(1)
|
|
103
104
|
.optional()
|
|
104
105
|
.describe("Alias of teamId; must match when both are provided."),
|
|
106
|
+
agentContinuation: z
|
|
107
|
+
.boolean()
|
|
108
|
+
.optional()
|
|
109
|
+
.describe("Keep the publishing agent authorized after the claim (default false unless explicitly granted): the claim token demotes to a one-time voucher exchangeable for a durable publish access token."),
|
|
105
110
|
})
|
|
106
111
|
.superRefine((value, ctx) => {
|
|
107
112
|
if (value.teamId && value.targetTeamId && value.teamId !== value.targetTeamId) {
|
|
@@ -114,6 +119,18 @@ export const spaceClaimSchema = z
|
|
|
114
119
|
});
|
|
115
120
|
export const anonymousClaimAssignSchema = z.object({
|
|
116
121
|
teamId: z.string().min(1).optional(),
|
|
122
|
+
nonce: z.string().min(1).optional().describe("Browser claim nonce from the claim URL fragment."),
|
|
123
|
+
agentContinuation: z
|
|
124
|
+
.boolean()
|
|
125
|
+
.optional()
|
|
126
|
+
.describe("Keep the publishing agent authorized after the claim (default false unless explicitly granted): the claim token demotes to a one-time voucher exchangeable for a durable publish access token."),
|
|
127
|
+
});
|
|
128
|
+
export const anonymousClaimResolveSchema = z.object({
|
|
129
|
+
nonce: z.string().min(1).optional().describe("Browser claim nonce from the claim URL fragment."),
|
|
130
|
+
agentContinuation: z
|
|
131
|
+
.boolean()
|
|
132
|
+
.optional()
|
|
133
|
+
.describe("Applied when the resolve auto-claims (signed-in user with exactly one writable team). Defaults to false unless explicitly granted."),
|
|
117
134
|
});
|
|
118
135
|
export const anonymousClaimTeamSchema = z.object({
|
|
119
136
|
id: z.string(),
|
|
@@ -150,13 +167,32 @@ export const anonymousClaimStatusResponseSchema = z.object({
|
|
|
150
167
|
ref: z.string().nullable(),
|
|
151
168
|
number: z.number().int().positive().nullable(),
|
|
152
169
|
status: VersionSchema.shape.status,
|
|
153
|
-
immutableUrl: z.string(),
|
|
170
|
+
immutableUrl: z.string().nullable(),
|
|
154
171
|
manifestHash: z.string().nullable(),
|
|
155
172
|
}),
|
|
156
173
|
claim: z.object({
|
|
157
174
|
state: z.enum(["unclaimed", "claimed"]),
|
|
158
175
|
url: z.string().nullable(),
|
|
159
176
|
expiresAt: z.string().datetime().nullable(),
|
|
177
|
+
continuation: z
|
|
178
|
+
.enum(["available", "used", "unavailable"])
|
|
179
|
+
.optional()
|
|
180
|
+
.describe("Present once the space is claimed: whether this claim token can still be exchanged once for a durable access token (POST /v1/anonymous-claim/exchange)."),
|
|
181
|
+
}),
|
|
182
|
+
});
|
|
183
|
+
export const anonymousClaimExchangeResponseSchema = z.object({
|
|
184
|
+
space: z.object({
|
|
185
|
+
id: z.string(),
|
|
186
|
+
slug: z.string(),
|
|
187
|
+
liveUrl: z.string().nullable(),
|
|
188
|
+
}),
|
|
189
|
+
credential: z.object({
|
|
190
|
+
accessToken: z
|
|
191
|
+
.string()
|
|
192
|
+
.describe("Durable publish access token minted by the one-time exchange. Shown exactly once — store it (e.g. .spacefast/state.json) and never print it."),
|
|
193
|
+
accessTokenId: z.string(),
|
|
194
|
+
label: z.string().nullable(),
|
|
195
|
+
teamId: z.string(),
|
|
160
196
|
}),
|
|
161
197
|
});
|
|
162
198
|
export const spaceClaimReminderSchema = z.object({
|
|
@@ -261,9 +297,6 @@ export const spaceVersionFileIndexSchema = z.object({
|
|
|
261
297
|
byHash: z.record(z.string(), spaceVersionFileIndexEntrySchema),
|
|
262
298
|
byPath: z.record(z.string(), spaceVersionFileIndexEntrySchema),
|
|
263
299
|
});
|
|
264
|
-
export const spaceVersionFilesQuerySchema = z.object({
|
|
265
|
-
q: z.string().trim().min(1).max(255).optional(),
|
|
266
|
-
});
|
|
267
300
|
export const spaceVersionFilesSearchSchema = z.object({
|
|
268
301
|
query: z.string().nullable(),
|
|
269
302
|
total: z.number().int().nonnegative(),
|
|
@@ -556,7 +589,6 @@ export const spaceVersionResumeResponseSchema = z.object({
|
|
|
556
589
|
.default([])
|
|
557
590
|
.describe("Manifest paths ignored by the server because the current plan does not allow them."),
|
|
558
591
|
});
|
|
559
|
-
export const spaceVersionRefreshResponseSchema = spaceVersionResumeResponseSchema;
|
|
560
592
|
// Promote body (spec "Explicit version routes"): `{ channel? }` defaulting to
|
|
561
593
|
// "live". Channels beyond live arrive additively; non-live names reject with
|
|
562
594
|
// `channel_unsupported` until then. Rollback is promoting an older ready
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const superadminEmailStatusValues: readonly ["all", "scheduled", "sent", "delivered", "bounced", "dropped", "complained", "opened", "clicked", "failed"];
|
|
3
|
-
export declare const superadminEmailCategoryValues: readonly ["transactional", "announcements", "offers", "system"];
|
|
3
|
+
export declare const superadminEmailCategoryValues: readonly ["transactional", "announcements", "offers", "system", "invites"];
|
|
4
4
|
export declare const superadminEmailListQuerySchema: z.ZodObject<{
|
|
5
5
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
6
6
|
offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -8,10 +8,10 @@ export declare const superadminEmailListQuerySchema: z.ZodObject<{
|
|
|
8
8
|
all: "all";
|
|
9
9
|
failed: "failed";
|
|
10
10
|
delivered: "delivered";
|
|
11
|
+
dropped: "dropped";
|
|
11
12
|
scheduled: "scheduled";
|
|
12
13
|
sent: "sent";
|
|
13
14
|
bounced: "bounced";
|
|
14
|
-
dropped: "dropped";
|
|
15
15
|
complained: "complained";
|
|
16
16
|
opened: "opened";
|
|
17
17
|
clicked: "clicked";
|
|
@@ -25,6 +25,7 @@ export declare const superadminEmailListQuerySchema: z.ZodObject<{
|
|
|
25
25
|
transactional: "transactional";
|
|
26
26
|
announcements: "announcements";
|
|
27
27
|
offers: "offers";
|
|
28
|
+
invites: "invites";
|
|
28
29
|
}>>;
|
|
29
30
|
timeRange: z.ZodDefault<z.ZodEnum<{
|
|
30
31
|
now: "now";
|
|
@@ -46,6 +47,7 @@ export declare const superadminEmailSendSchema: z.ZodObject<{
|
|
|
46
47
|
transactional: "transactional";
|
|
47
48
|
announcements: "announcements";
|
|
48
49
|
offers: "offers";
|
|
50
|
+
invites: "invites";
|
|
49
51
|
}>>;
|
|
50
52
|
type: z.ZodDefault<z.ZodString>;
|
|
51
53
|
props: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -13,11 +13,19 @@ export const superadminEmailStatusValues = [
|
|
|
13
13
|
"clicked",
|
|
14
14
|
"failed",
|
|
15
15
|
];
|
|
16
|
+
// "invites" is the invite/request sending stream (access-plan X-25): mail
|
|
17
|
+
// carrying sender-authored content to arbitrary non-user addresses is
|
|
18
|
+
// attacker-adjacent, so it is categorized apart from transactional mail —
|
|
19
|
+
// burned reputation on the invite stream must never take down password
|
|
20
|
+
// resets. Stream-level isolation at the provider (a separate SES
|
|
21
|
+
// configuration set / sending identity) is an infra follow-up; the category
|
|
22
|
+
// is the seam it keys off.
|
|
16
23
|
export const superadminEmailCategoryValues = [
|
|
17
24
|
"transactional",
|
|
18
25
|
"announcements",
|
|
19
26
|
"offers",
|
|
20
27
|
"system",
|
|
28
|
+
"invites",
|
|
21
29
|
];
|
|
22
30
|
export const superadminEmailListQuerySchema = z.object({
|
|
23
31
|
limit: z.coerce.number().int().min(1).max(100).default(25),
|
|
@@ -5,20 +5,20 @@ export declare const superadminBullmqJobStateSchema: z.ZodEnum<{
|
|
|
5
5
|
active: "active";
|
|
6
6
|
failed: "failed";
|
|
7
7
|
completed: "completed";
|
|
8
|
+
waiting: "waiting";
|
|
8
9
|
delayed: "delayed";
|
|
10
|
+
paused: "paused";
|
|
9
11
|
prioritized: "prioritized";
|
|
10
|
-
waiting: "waiting";
|
|
11
12
|
"waiting-children": "waiting-children";
|
|
12
|
-
paused: "paused";
|
|
13
13
|
}>;
|
|
14
14
|
export declare const superadminBullmqQueueCleanStateSchema: z.ZodEnum<{
|
|
15
15
|
active: "active";
|
|
16
16
|
failed: "failed";
|
|
17
17
|
completed: "completed";
|
|
18
|
-
delayed: "delayed";
|
|
19
|
-
prioritized: "prioritized";
|
|
20
18
|
waiting: "waiting";
|
|
19
|
+
delayed: "delayed";
|
|
21
20
|
paused: "paused";
|
|
21
|
+
prioritized: "prioritized";
|
|
22
22
|
}>;
|
|
23
23
|
export declare const SuperadminBullmqQueueSchema: z.ZodObject<{
|
|
24
24
|
name: z.ZodString;
|
|
@@ -83,11 +83,11 @@ export declare const SuperadminBullmqJobSchema: z.ZodObject<{
|
|
|
83
83
|
active: "active";
|
|
84
84
|
failed: "failed";
|
|
85
85
|
completed: "completed";
|
|
86
|
+
waiting: "waiting";
|
|
86
87
|
delayed: "delayed";
|
|
88
|
+
paused: "paused";
|
|
87
89
|
prioritized: "prioritized";
|
|
88
|
-
waiting: "waiting";
|
|
89
90
|
"waiting-children": "waiting-children";
|
|
90
|
-
paused: "paused";
|
|
91
91
|
}>;
|
|
92
92
|
attemptsMade: z.ZodNumber;
|
|
93
93
|
timestamp: z.ZodNumber;
|
|
@@ -103,11 +103,11 @@ export declare const SuperadminBullmqFleetJobSchema: z.ZodObject<{
|
|
|
103
103
|
active: "active";
|
|
104
104
|
failed: "failed";
|
|
105
105
|
completed: "completed";
|
|
106
|
+
waiting: "waiting";
|
|
106
107
|
delayed: "delayed";
|
|
108
|
+
paused: "paused";
|
|
107
109
|
prioritized: "prioritized";
|
|
108
|
-
waiting: "waiting";
|
|
109
110
|
"waiting-children": "waiting-children";
|
|
110
|
-
paused: "paused";
|
|
111
111
|
}>;
|
|
112
112
|
attemptsMade: z.ZodNumber;
|
|
113
113
|
timestamp: z.ZodNumber;
|
|
@@ -126,11 +126,11 @@ export declare const superadminBullmqJobListQuerySchema: z.ZodObject<{
|
|
|
126
126
|
active: "active";
|
|
127
127
|
failed: "failed";
|
|
128
128
|
completed: "completed";
|
|
129
|
+
waiting: "waiting";
|
|
129
130
|
delayed: "delayed";
|
|
131
|
+
paused: "paused";
|
|
130
132
|
prioritized: "prioritized";
|
|
131
|
-
waiting: "waiting";
|
|
132
133
|
"waiting-children": "waiting-children";
|
|
133
|
-
paused: "paused";
|
|
134
134
|
}>]>>;
|
|
135
135
|
}, z.core.$strip>;
|
|
136
136
|
export declare const SuperadminBullmqJobListSchema: z.ZodObject<{
|
|
@@ -143,11 +143,11 @@ export declare const SuperadminBullmqJobListSchema: z.ZodObject<{
|
|
|
143
143
|
active: "active";
|
|
144
144
|
failed: "failed";
|
|
145
145
|
completed: "completed";
|
|
146
|
+
waiting: "waiting";
|
|
146
147
|
delayed: "delayed";
|
|
148
|
+
paused: "paused";
|
|
147
149
|
prioritized: "prioritized";
|
|
148
|
-
waiting: "waiting";
|
|
149
150
|
"waiting-children": "waiting-children";
|
|
150
|
-
paused: "paused";
|
|
151
151
|
}>]>;
|
|
152
152
|
asc: z.ZodBoolean;
|
|
153
153
|
jobId: z.ZodNullable<z.ZodString>;
|
|
@@ -160,11 +160,11 @@ export declare const SuperadminBullmqJobListSchema: z.ZodObject<{
|
|
|
160
160
|
active: "active";
|
|
161
161
|
failed: "failed";
|
|
162
162
|
completed: "completed";
|
|
163
|
+
waiting: "waiting";
|
|
163
164
|
delayed: "delayed";
|
|
165
|
+
paused: "paused";
|
|
164
166
|
prioritized: "prioritized";
|
|
165
|
-
waiting: "waiting";
|
|
166
167
|
"waiting-children": "waiting-children";
|
|
167
|
-
paused: "paused";
|
|
168
168
|
}>;
|
|
169
169
|
attemptsMade: z.ZodNumber;
|
|
170
170
|
timestamp: z.ZodNumber;
|
|
@@ -180,11 +180,11 @@ export declare const superadminBullmqFleetJobListQuerySchema: z.ZodObject<{
|
|
|
180
180
|
active: "active";
|
|
181
181
|
failed: "failed";
|
|
182
182
|
completed: "completed";
|
|
183
|
+
waiting: "waiting";
|
|
183
184
|
delayed: "delayed";
|
|
185
|
+
paused: "paused";
|
|
184
186
|
prioritized: "prioritized";
|
|
185
|
-
waiting: "waiting";
|
|
186
187
|
"waiting-children": "waiting-children";
|
|
187
|
-
paused: "paused";
|
|
188
188
|
}>]>>;
|
|
189
189
|
offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
190
190
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -202,11 +202,11 @@ export declare const SuperadminBullmqFleetJobListSchema: z.ZodObject<{
|
|
|
202
202
|
active: "active";
|
|
203
203
|
failed: "failed";
|
|
204
204
|
completed: "completed";
|
|
205
|
+
waiting: "waiting";
|
|
205
206
|
delayed: "delayed";
|
|
207
|
+
paused: "paused";
|
|
206
208
|
prioritized: "prioritized";
|
|
207
|
-
waiting: "waiting";
|
|
208
209
|
"waiting-children": "waiting-children";
|
|
209
|
-
paused: "paused";
|
|
210
210
|
}>]>;
|
|
211
211
|
asc: z.ZodBoolean;
|
|
212
212
|
search: z.ZodNullable<z.ZodString>;
|
|
@@ -220,11 +220,11 @@ export declare const SuperadminBullmqFleetJobListSchema: z.ZodObject<{
|
|
|
220
220
|
active: "active";
|
|
221
221
|
failed: "failed";
|
|
222
222
|
completed: "completed";
|
|
223
|
+
waiting: "waiting";
|
|
223
224
|
delayed: "delayed";
|
|
225
|
+
paused: "paused";
|
|
224
226
|
prioritized: "prioritized";
|
|
225
|
-
waiting: "waiting";
|
|
226
227
|
"waiting-children": "waiting-children";
|
|
227
|
-
paused: "paused";
|
|
228
228
|
}>;
|
|
229
229
|
attemptsMade: z.ZodNumber;
|
|
230
230
|
timestamp: z.ZodNumber;
|
|
@@ -244,11 +244,11 @@ export declare const SuperadminBullmqJobDetailSchema: z.ZodObject<{
|
|
|
244
244
|
active: "active";
|
|
245
245
|
failed: "failed";
|
|
246
246
|
completed: "completed";
|
|
247
|
+
waiting: "waiting";
|
|
247
248
|
delayed: "delayed";
|
|
249
|
+
paused: "paused";
|
|
248
250
|
prioritized: "prioritized";
|
|
249
|
-
waiting: "waiting";
|
|
250
251
|
"waiting-children": "waiting-children";
|
|
251
|
-
paused: "paused";
|
|
252
252
|
}>;
|
|
253
253
|
attemptsMade: z.ZodNumber;
|
|
254
254
|
attemptsConfigured: z.ZodNullable<z.ZodNumber>;
|
|
@@ -295,10 +295,10 @@ export declare const superadminBullmqQueueCleanSchema: z.ZodObject<{
|
|
|
295
295
|
active: "active";
|
|
296
296
|
failed: "failed";
|
|
297
297
|
completed: "completed";
|
|
298
|
-
delayed: "delayed";
|
|
299
|
-
prioritized: "prioritized";
|
|
300
298
|
waiting: "waiting";
|
|
299
|
+
delayed: "delayed";
|
|
301
300
|
paused: "paused";
|
|
301
|
+
prioritized: "prioritized";
|
|
302
302
|
}>>;
|
|
303
303
|
graceMs: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
304
304
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -330,10 +330,10 @@ export declare const superadminBullmqQueueActionBodySchema: z.ZodUnion<readonly
|
|
|
330
330
|
active: "active";
|
|
331
331
|
failed: "failed";
|
|
332
332
|
completed: "completed";
|
|
333
|
-
delayed: "delayed";
|
|
334
|
-
prioritized: "prioritized";
|
|
335
333
|
waiting: "waiting";
|
|
334
|
+
delayed: "delayed";
|
|
336
335
|
paused: "paused";
|
|
336
|
+
prioritized: "prioritized";
|
|
337
337
|
}>>;
|
|
338
338
|
graceMs: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
339
339
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|