@spacefast/common 0.0.3 → 0.0.5
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/contracts/access.d.ts +4 -4
- package/dist/contracts/activity.d.ts +4 -4
- package/dist/contracts/annotations.d.ts +1 -1
- package/dist/contracts/api-keys.d.ts +6 -6
- package/dist/contracts/archives.d.ts +14 -14
- package/dist/contracts/billing.d.ts +21 -21
- package/dist/contracts/builds.d.ts +8 -8
- package/dist/contracts/channels.d.ts +2 -2
- package/dist/contracts/common.d.ts +5 -5
- package/dist/contracts/continuation.d.ts +66 -0
- package/dist/contracts/continuation.js +91 -0
- package/dist/contracts/deployments.d.ts +18 -18
- package/dist/contracts/device-auth.d.ts +6 -6
- package/dist/contracts/domains.d.ts +247 -247
- package/dist/contracts/enums.d.ts +2 -2
- package/dist/contracts/error-code-meta.d.ts +12 -0
- package/dist/contracts/error-code-meta.js +3 -0
- package/dist/contracts/error-codes.d.ts +1 -1
- package/dist/contracts/error-codes.js +3 -0
- package/dist/contracts/events.d.ts +12 -12
- package/dist/contracts/features.d.ts +17 -17
- package/dist/contracts/git.d.ts +3 -3
- package/dist/contracts/internal.d.ts +3 -3
- package/dist/contracts/mcp.d.ts +34 -34
- package/dist/contracts/me.d.ts +8 -8
- package/dist/contracts/operations.d.ts +2 -2
- package/dist/contracts/plan-policy.d.ts +4 -4
- package/dist/contracts/platform.d.ts +3 -3
- package/dist/contracts/repository-connections.d.ts +5 -5
- package/dist/contracts/resources.d.ts +15 -15
- package/dist/contracts/runtime-api.d.ts +4 -4
- package/dist/contracts/sites.d.ts +26 -26
- package/dist/contracts/spaces.d.ts +179 -89
- package/dist/contracts/spaces.js +57 -3
- package/dist/contracts/superadmin-emails.d.ts +3 -3
- package/dist/contracts/superadmin-queues.d.ts +58 -58
- package/dist/contracts/superadmin-spaces.d.ts +275 -9
- package/dist/contracts/superadmin-spaces.js +24 -0
- package/dist/contracts/superadmin-tenants.d.ts +8 -8
- package/dist/contracts/superadmin.d.ts +12 -12
- package/dist/contracts/tags.d.ts +38 -38
- package/dist/contracts/teams.d.ts +26 -8
- package/dist/contracts/teams.js +20 -0
- package/dist/contracts/transfers.d.ts +9 -9
- package/dist/contracts/variables.d.ts +14 -14
- package/dist/contracts/webhooks.d.ts +4 -4
- package/dist/contracts/zero.d.ts +8 -8
- package/dist/docs/agent-prose.js +8 -4
- package/dist/docs/agent-setup.js +3 -2
- package/dist/docs/error-docs.js +12 -0
- package/dist/utils/query-keys.d.ts +2 -2
- package/dist/utils/static-runtime-policy.d.ts +21 -0
- package/dist/utils/static-runtime-policy.js +119 -3
- package/package.json +1 -1
package/dist/contracts/spaces.js
CHANGED
|
@@ -14,7 +14,7 @@ export const AnonymousSpaceAccessSchema = z.object({
|
|
|
14
14
|
claimUrl: z
|
|
15
15
|
.string()
|
|
16
16
|
.nullable()
|
|
17
|
-
.describe("Browser-only link
|
|
17
|
+
.describe("Browser-only claim link in `/claim#five-word-token` form. The fragment is a human handoff capability; API clients send the same token as bearer auth."),
|
|
18
18
|
expiresAt: z
|
|
19
19
|
.string()
|
|
20
20
|
.datetime()
|
|
@@ -91,7 +91,7 @@ export const spaceClaimSchema = z
|
|
|
91
91
|
claimToken: z
|
|
92
92
|
.string()
|
|
93
93
|
.min(1)
|
|
94
|
-
.describe("One-time claim token returned at anonymous creation.
|
|
94
|
+
.describe("One-time claim token returned at anonymous creation. Browser claim links carry it as a URL fragment; API claim requests send it as bearer auth."),
|
|
95
95
|
teamId: z
|
|
96
96
|
.string()
|
|
97
97
|
.min(1)
|
|
@@ -112,6 +112,53 @@ export const spaceClaimSchema = z
|
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
114
|
});
|
|
115
|
+
export const anonymousClaimAssignSchema = z.object({
|
|
116
|
+
teamId: z.string().min(1).optional(),
|
|
117
|
+
});
|
|
118
|
+
export const anonymousClaimTeamSchema = z.object({
|
|
119
|
+
id: z.string(),
|
|
120
|
+
slug: z.string(),
|
|
121
|
+
name: z.string(),
|
|
122
|
+
});
|
|
123
|
+
export const anonymousClaimSpacePreviewSchema = z.object({
|
|
124
|
+
id: z.string(),
|
|
125
|
+
title: z.string(),
|
|
126
|
+
liveUrl: z.string().nullable(),
|
|
127
|
+
createdAt: z.string().datetime().nullable(),
|
|
128
|
+
});
|
|
129
|
+
export const anonymousClaimResponseSchema = z.object({
|
|
130
|
+
state: z.enum(["unclaimed", "claimed"]),
|
|
131
|
+
action: z.enum(["claimed", "login_required", "team_required", "confirm_assign"]),
|
|
132
|
+
space: anonymousClaimSpacePreviewSchema,
|
|
133
|
+
claim: z.object({
|
|
134
|
+
expiresAt: z.string().datetime().nullable(),
|
|
135
|
+
claimedAt: z.string().datetime().nullable(),
|
|
136
|
+
}),
|
|
137
|
+
teams: z.array(anonymousClaimTeamSchema).optional(),
|
|
138
|
+
});
|
|
139
|
+
export const anonymousClaimStatusResponseSchema = z.object({
|
|
140
|
+
publish: z.object({
|
|
141
|
+
status: z.enum(["pending", "ready", "failed", "expired", "claimed"]),
|
|
142
|
+
operationId: z.string().nullable().optional(),
|
|
143
|
+
}),
|
|
144
|
+
space: z.object({
|
|
145
|
+
id: z.string(),
|
|
146
|
+
liveUrl: z.string().nullable(),
|
|
147
|
+
}),
|
|
148
|
+
version: z.object({
|
|
149
|
+
id: z.string(),
|
|
150
|
+
ref: z.string().nullable(),
|
|
151
|
+
number: z.number().int().positive().nullable(),
|
|
152
|
+
status: VersionSchema.shape.status,
|
|
153
|
+
immutableUrl: z.string(),
|
|
154
|
+
manifestHash: z.string().nullable(),
|
|
155
|
+
}),
|
|
156
|
+
claim: z.object({
|
|
157
|
+
state: z.enum(["unclaimed", "claimed"]),
|
|
158
|
+
url: z.string().nullable(),
|
|
159
|
+
expiresAt: z.string().datetime().nullable(),
|
|
160
|
+
}),
|
|
161
|
+
});
|
|
115
162
|
export const spaceClaimReminderSchema = z.object({
|
|
116
163
|
email: z
|
|
117
164
|
.string()
|
|
@@ -448,7 +495,9 @@ export const publishReceiptSpaceSchema = z.object({
|
|
|
448
495
|
export const publishReceiptVersionSchema = z.object({
|
|
449
496
|
id: z.string(),
|
|
450
497
|
status: VersionSchema.shape.status,
|
|
451
|
-
immutableUrl: z.string()
|
|
498
|
+
immutableUrl: z.string(),
|
|
499
|
+
ref: z.string().nullable().optional(),
|
|
500
|
+
number: z.number().int().positive().nullable().optional(),
|
|
452
501
|
manifestHash: z.string().nullable(),
|
|
453
502
|
});
|
|
454
503
|
export const publishReceiptSchema = z.object({
|
|
@@ -486,6 +535,11 @@ export const publishReceiptSchema = z.object({
|
|
|
486
535
|
.describe('Promote endpoint; followable once the version reaches status "ready".'),
|
|
487
536
|
operation: z.string().optional().describe("Operation polling endpoint when publish queued."),
|
|
488
537
|
inspect: z.string().optional().describe("Space resource URL for follow-up reads."),
|
|
538
|
+
version: z.string().optional().describe("Version resource URL for structured clients."),
|
|
539
|
+
status: z
|
|
540
|
+
.string()
|
|
541
|
+
.optional()
|
|
542
|
+
.describe("Claim-token-authenticated anonymous publish status endpoint."),
|
|
489
543
|
})
|
|
490
544
|
.optional()
|
|
491
545
|
.describe("Follow-up links so agents can act on the receipt without knowing the full API."),
|
|
@@ -5,8 +5,8 @@ export declare const superadminEmailListQuerySchema: z.ZodObject<{
|
|
|
5
5
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
6
6
|
offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
7
7
|
status: z.ZodDefault<z.ZodEnum<{
|
|
8
|
-
failed: "failed";
|
|
9
8
|
all: "all";
|
|
9
|
+
failed: "failed";
|
|
10
10
|
delivered: "delivered";
|
|
11
11
|
scheduled: "scheduled";
|
|
12
12
|
sent: "sent";
|
|
@@ -20,17 +20,17 @@ export declare const superadminEmailListQuerySchema: z.ZodObject<{
|
|
|
20
20
|
userId: z.ZodOptional<z.ZodString>;
|
|
21
21
|
template: z.ZodOptional<z.ZodString>;
|
|
22
22
|
category: z.ZodDefault<z.ZodEnum<{
|
|
23
|
-
system: "system";
|
|
24
23
|
all: "all";
|
|
24
|
+
system: "system";
|
|
25
25
|
transactional: "transactional";
|
|
26
26
|
announcements: "announcements";
|
|
27
27
|
offers: "offers";
|
|
28
28
|
}>>;
|
|
29
29
|
timeRange: z.ZodDefault<z.ZodEnum<{
|
|
30
|
+
now: "now";
|
|
30
31
|
all: "all";
|
|
31
32
|
"7d": "7d";
|
|
32
33
|
"30d": "30d";
|
|
33
|
-
now: "now";
|
|
34
34
|
"1h": "1h";
|
|
35
35
|
"24h": "24h";
|
|
36
36
|
}>>;
|
|
@@ -2,23 +2,23 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const SUPERADMIN_BULLMQ_JOB_STATE_VALUES: readonly ["active", "completed", "delayed", "failed", "paused", "prioritized", "waiting", "waiting-children"];
|
|
3
3
|
export declare const SUPERADMIN_BULLMQ_QUEUE_CLEAN_STATE_VALUES: readonly ["active", "completed", "delayed", "failed", "paused", "prioritized", "waiting"];
|
|
4
4
|
export declare const superadminBullmqJobStateSchema: z.ZodEnum<{
|
|
5
|
-
completed: "completed";
|
|
6
|
-
failed: "failed";
|
|
7
5
|
active: "active";
|
|
8
|
-
|
|
6
|
+
failed: "failed";
|
|
7
|
+
completed: "completed";
|
|
9
8
|
delayed: "delayed";
|
|
10
|
-
paused: "paused";
|
|
11
9
|
prioritized: "prioritized";
|
|
10
|
+
waiting: "waiting";
|
|
12
11
|
"waiting-children": "waiting-children";
|
|
12
|
+
paused: "paused";
|
|
13
13
|
}>;
|
|
14
14
|
export declare const superadminBullmqQueueCleanStateSchema: z.ZodEnum<{
|
|
15
|
-
completed: "completed";
|
|
16
|
-
failed: "failed";
|
|
17
15
|
active: "active";
|
|
18
|
-
|
|
16
|
+
failed: "failed";
|
|
17
|
+
completed: "completed";
|
|
19
18
|
delayed: "delayed";
|
|
20
|
-
paused: "paused";
|
|
21
19
|
prioritized: "prioritized";
|
|
20
|
+
waiting: "waiting";
|
|
21
|
+
paused: "paused";
|
|
22
22
|
}>;
|
|
23
23
|
export declare const SuperadminBullmqQueueSchema: z.ZodObject<{
|
|
24
24
|
name: z.ZodString;
|
|
@@ -80,14 +80,14 @@ export declare const SuperadminBullmqJobSchema: z.ZodObject<{
|
|
|
80
80
|
id: z.ZodString;
|
|
81
81
|
name: z.ZodString;
|
|
82
82
|
state: z.ZodEnum<{
|
|
83
|
-
completed: "completed";
|
|
84
|
-
failed: "failed";
|
|
85
83
|
active: "active";
|
|
86
|
-
|
|
84
|
+
failed: "failed";
|
|
85
|
+
completed: "completed";
|
|
87
86
|
delayed: "delayed";
|
|
88
|
-
paused: "paused";
|
|
89
87
|
prioritized: "prioritized";
|
|
88
|
+
waiting: "waiting";
|
|
90
89
|
"waiting-children": "waiting-children";
|
|
90
|
+
paused: "paused";
|
|
91
91
|
}>;
|
|
92
92
|
attemptsMade: z.ZodNumber;
|
|
93
93
|
timestamp: z.ZodNumber;
|
|
@@ -100,14 +100,14 @@ export declare const SuperadminBullmqFleetJobSchema: z.ZodObject<{
|
|
|
100
100
|
id: z.ZodString;
|
|
101
101
|
name: z.ZodString;
|
|
102
102
|
state: z.ZodEnum<{
|
|
103
|
-
completed: "completed";
|
|
104
|
-
failed: "failed";
|
|
105
103
|
active: "active";
|
|
106
|
-
|
|
104
|
+
failed: "failed";
|
|
105
|
+
completed: "completed";
|
|
107
106
|
delayed: "delayed";
|
|
108
|
-
paused: "paused";
|
|
109
107
|
prioritized: "prioritized";
|
|
108
|
+
waiting: "waiting";
|
|
110
109
|
"waiting-children": "waiting-children";
|
|
110
|
+
paused: "paused";
|
|
111
111
|
}>;
|
|
112
112
|
attemptsMade: z.ZodNumber;
|
|
113
113
|
timestamp: z.ZodNumber;
|
|
@@ -123,14 +123,14 @@ export declare const superadminBullmqJobListQuerySchema: z.ZodObject<{
|
|
|
123
123
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
124
124
|
offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
125
125
|
state: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodEnum<{
|
|
126
|
-
completed: "completed";
|
|
127
|
-
failed: "failed";
|
|
128
126
|
active: "active";
|
|
129
|
-
|
|
127
|
+
failed: "failed";
|
|
128
|
+
completed: "completed";
|
|
130
129
|
delayed: "delayed";
|
|
131
|
-
paused: "paused";
|
|
132
130
|
prioritized: "prioritized";
|
|
131
|
+
waiting: "waiting";
|
|
133
132
|
"waiting-children": "waiting-children";
|
|
133
|
+
paused: "paused";
|
|
134
134
|
}>]>>;
|
|
135
135
|
}, z.core.$strip>;
|
|
136
136
|
export declare const SuperadminBullmqJobListSchema: z.ZodObject<{
|
|
@@ -140,14 +140,14 @@ export declare const SuperadminBullmqJobListSchema: z.ZodObject<{
|
|
|
140
140
|
prev: z.ZodNullable<z.ZodNumber>;
|
|
141
141
|
}, z.core.$strip>;
|
|
142
142
|
state: z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodEnum<{
|
|
143
|
-
completed: "completed";
|
|
144
|
-
failed: "failed";
|
|
145
143
|
active: "active";
|
|
146
|
-
|
|
144
|
+
failed: "failed";
|
|
145
|
+
completed: "completed";
|
|
147
146
|
delayed: "delayed";
|
|
148
|
-
paused: "paused";
|
|
149
147
|
prioritized: "prioritized";
|
|
148
|
+
waiting: "waiting";
|
|
150
149
|
"waiting-children": "waiting-children";
|
|
150
|
+
paused: "paused";
|
|
151
151
|
}>]>;
|
|
152
152
|
asc: z.ZodBoolean;
|
|
153
153
|
jobId: z.ZodNullable<z.ZodString>;
|
|
@@ -157,14 +157,14 @@ export declare const SuperadminBullmqJobListSchema: z.ZodObject<{
|
|
|
157
157
|
id: z.ZodString;
|
|
158
158
|
name: z.ZodString;
|
|
159
159
|
state: z.ZodEnum<{
|
|
160
|
-
completed: "completed";
|
|
161
|
-
failed: "failed";
|
|
162
160
|
active: "active";
|
|
163
|
-
|
|
161
|
+
failed: "failed";
|
|
162
|
+
completed: "completed";
|
|
164
163
|
delayed: "delayed";
|
|
165
|
-
paused: "paused";
|
|
166
164
|
prioritized: "prioritized";
|
|
165
|
+
waiting: "waiting";
|
|
167
166
|
"waiting-children": "waiting-children";
|
|
167
|
+
paused: "paused";
|
|
168
168
|
}>;
|
|
169
169
|
attemptsMade: z.ZodNumber;
|
|
170
170
|
timestamp: z.ZodNumber;
|
|
@@ -177,14 +177,14 @@ export declare const SuperadminBullmqJobListSchema: z.ZodObject<{
|
|
|
177
177
|
}, z.core.$strip>;
|
|
178
178
|
export declare const superadminBullmqFleetJobListQuerySchema: z.ZodObject<{
|
|
179
179
|
state: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodEnum<{
|
|
180
|
-
completed: "completed";
|
|
181
|
-
failed: "failed";
|
|
182
180
|
active: "active";
|
|
183
|
-
|
|
181
|
+
failed: "failed";
|
|
182
|
+
completed: "completed";
|
|
184
183
|
delayed: "delayed";
|
|
185
|
-
paused: "paused";
|
|
186
184
|
prioritized: "prioritized";
|
|
185
|
+
waiting: "waiting";
|
|
187
186
|
"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>>;
|
|
@@ -199,14 +199,14 @@ export declare const SuperadminBullmqFleetJobListSchema: z.ZodObject<{
|
|
|
199
199
|
prev: z.ZodNullable<z.ZodNumber>;
|
|
200
200
|
}, z.core.$strip>;
|
|
201
201
|
state: z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodEnum<{
|
|
202
|
-
completed: "completed";
|
|
203
|
-
failed: "failed";
|
|
204
202
|
active: "active";
|
|
205
|
-
|
|
203
|
+
failed: "failed";
|
|
204
|
+
completed: "completed";
|
|
206
205
|
delayed: "delayed";
|
|
207
|
-
paused: "paused";
|
|
208
206
|
prioritized: "prioritized";
|
|
207
|
+
waiting: "waiting";
|
|
209
208
|
"waiting-children": "waiting-children";
|
|
209
|
+
paused: "paused";
|
|
210
210
|
}>]>;
|
|
211
211
|
asc: z.ZodBoolean;
|
|
212
212
|
search: z.ZodNullable<z.ZodString>;
|
|
@@ -217,14 +217,14 @@ export declare const SuperadminBullmqFleetJobListSchema: z.ZodObject<{
|
|
|
217
217
|
id: z.ZodString;
|
|
218
218
|
name: z.ZodString;
|
|
219
219
|
state: z.ZodEnum<{
|
|
220
|
-
completed: "completed";
|
|
221
|
-
failed: "failed";
|
|
222
220
|
active: "active";
|
|
223
|
-
|
|
221
|
+
failed: "failed";
|
|
222
|
+
completed: "completed";
|
|
224
223
|
delayed: "delayed";
|
|
225
|
-
paused: "paused";
|
|
226
224
|
prioritized: "prioritized";
|
|
225
|
+
waiting: "waiting";
|
|
227
226
|
"waiting-children": "waiting-children";
|
|
227
|
+
paused: "paused";
|
|
228
228
|
}>;
|
|
229
229
|
attemptsMade: z.ZodNumber;
|
|
230
230
|
timestamp: z.ZodNumber;
|
|
@@ -241,14 +241,14 @@ export declare const SuperadminBullmqJobDetailSchema: z.ZodObject<{
|
|
|
241
241
|
queueName: z.ZodString;
|
|
242
242
|
name: z.ZodString;
|
|
243
243
|
state: z.ZodEnum<{
|
|
244
|
-
completed: "completed";
|
|
245
|
-
failed: "failed";
|
|
246
244
|
active: "active";
|
|
247
|
-
|
|
245
|
+
failed: "failed";
|
|
246
|
+
completed: "completed";
|
|
248
247
|
delayed: "delayed";
|
|
249
|
-
paused: "paused";
|
|
250
248
|
prioritized: "prioritized";
|
|
249
|
+
waiting: "waiting";
|
|
251
250
|
"waiting-children": "waiting-children";
|
|
251
|
+
paused: "paused";
|
|
252
252
|
}>;
|
|
253
253
|
attemptsMade: z.ZodNumber;
|
|
254
254
|
attemptsConfigured: z.ZodNullable<z.ZodNumber>;
|
|
@@ -292,13 +292,13 @@ export declare const SuperadminBullmqWorkerListSchema: z.ZodObject<{
|
|
|
292
292
|
}, z.core.$strip>;
|
|
293
293
|
export declare const superadminBullmqQueueCleanSchema: z.ZodObject<{
|
|
294
294
|
state: z.ZodDefault<z.ZodEnum<{
|
|
295
|
-
completed: "completed";
|
|
296
|
-
failed: "failed";
|
|
297
295
|
active: "active";
|
|
298
|
-
|
|
296
|
+
failed: "failed";
|
|
297
|
+
completed: "completed";
|
|
299
298
|
delayed: "delayed";
|
|
300
|
-
paused: "paused";
|
|
301
299
|
prioritized: "prioritized";
|
|
300
|
+
waiting: "waiting";
|
|
301
|
+
paused: "paused";
|
|
302
302
|
}>>;
|
|
303
303
|
graceMs: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
304
304
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -327,13 +327,13 @@ export declare const superadminBullmqQueueActionBodySchema: z.ZodUnion<readonly
|
|
|
327
327
|
}>;
|
|
328
328
|
}, z.core.$strip>, z.ZodObject<{
|
|
329
329
|
state: z.ZodDefault<z.ZodEnum<{
|
|
330
|
-
completed: "completed";
|
|
331
|
-
failed: "failed";
|
|
332
330
|
active: "active";
|
|
333
|
-
|
|
331
|
+
failed: "failed";
|
|
332
|
+
completed: "completed";
|
|
334
333
|
delayed: "delayed";
|
|
335
|
-
paused: "paused";
|
|
336
334
|
prioritized: "prioritized";
|
|
335
|
+
waiting: "waiting";
|
|
336
|
+
paused: "paused";
|
|
337
337
|
}>>;
|
|
338
338
|
graceMs: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
339
339
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -372,15 +372,15 @@ export declare const SuperadminBullmqFleetActionResponseSchema: z.ZodObject<{
|
|
|
372
372
|
affectedJobs: z.ZodNullable<z.ZodNumber>;
|
|
373
373
|
}, z.core.$strip>;
|
|
374
374
|
export declare const superadminBullmqJobActionSchema: z.ZodEnum<{
|
|
375
|
-
retry: "retry";
|
|
376
|
-
promote: "promote";
|
|
377
375
|
remove: "remove";
|
|
376
|
+
promote: "promote";
|
|
377
|
+
retry: "retry";
|
|
378
378
|
}>;
|
|
379
379
|
export declare const superadminBullmqJobActionBodySchema: z.ZodObject<{
|
|
380
380
|
action: z.ZodEnum<{
|
|
381
|
-
retry: "retry";
|
|
382
|
-
promote: "promote";
|
|
383
381
|
remove: "remove";
|
|
382
|
+
promote: "promote";
|
|
383
|
+
retry: "retry";
|
|
384
384
|
}>;
|
|
385
385
|
}, z.core.$strip>;
|
|
386
386
|
export declare const SuperadminBullmqJobActionResponseSchema: z.ZodObject<{
|
|
@@ -388,9 +388,9 @@ export declare const SuperadminBullmqJobActionResponseSchema: z.ZodObject<{
|
|
|
388
388
|
queueName: z.ZodString;
|
|
389
389
|
jobId: z.ZodString;
|
|
390
390
|
action: z.ZodEnum<{
|
|
391
|
-
retry: "retry";
|
|
392
|
-
promote: "promote";
|
|
393
391
|
remove: "remove";
|
|
392
|
+
promote: "promote";
|
|
393
|
+
retry: "retry";
|
|
394
394
|
}>;
|
|
395
395
|
}, z.core.$strip>;
|
|
396
396
|
export type SuperadminBullmqJobState = z.infer<typeof superadminBullmqJobStateSchema>;
|