@shivaedev/admin 0.16.1 → 0.16.3
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/CHANGELOG.md +19 -0
- package/dist/jobs/page.d.ts +23 -23
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.16.3 - 2026-11-01
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- Update `@shivaedev/access` from 0.3.4 to 0.3.5.
|
|
8
|
+
- Update `@shivaedev/contract` from 0.30.0 to 0.30.1.
|
|
9
|
+
- Update `@shivaedev/errors` from 0.4.0 to 0.4.1.
|
|
10
|
+
- Update `@shivaedev/identity` from 0.15.0 to 0.16.0.
|
|
11
|
+
- Update `@shivaedev/jobs` from 0.28.3 to 0.29.0.
|
|
12
|
+
- Update `@shivaedev/react` from 0.31.0 to 0.31.1.
|
|
13
|
+
|
|
14
|
+
## 0.16.2 - 2026-11-01
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- Update `@shivaedev/identity` from 0.14.0 to 0.15.0.
|
|
19
|
+
- Update `@shivaedev/jobs` from 0.28.2 to 0.28.3.
|
|
20
|
+
- Update `@shivaedev/react` from 0.30.1 to 0.31.0.
|
|
21
|
+
|
|
3
22
|
## 0.16.1 - 2026-10-31
|
|
4
23
|
|
|
5
24
|
### Changed
|
package/dist/jobs/page.d.ts
CHANGED
|
@@ -202,7 +202,7 @@ export declare function jobsPage<const TQueues extends readonly JobsEntry[]>(...
|
|
|
202
202
|
readonly failedCount: Schema.Number;
|
|
203
203
|
readonly queuedCount: Schema.Number;
|
|
204
204
|
readonly totalCount: Schema.Number;
|
|
205
|
-
}>, Schema.Union<readonly [Schema.Union<readonly (typeof import("@shivaedev/errors/taxonomy.ts").BadRequest | typeof import("#jobs/schemas.ts").JobsUnavailable | typeof import("#jobs/schemas.ts").JobsPayloadInvalid | typeof import("#jobs/schemas.ts").JobsQueueUnregistered)[]>, typeof import("@shivaedev/contract/readPolicyErrors.ts").QueryReadDenied]>, typeof JobsPermission, never> | import("effect/rpc/Rpc").Rpc<"admin.jobs.
|
|
205
|
+
}>, Schema.Union<readonly [Schema.Union<readonly (typeof import("@shivaedev/errors/taxonomy.ts").BadRequest | typeof import("#jobs/schemas.ts").JobsUnavailable | typeof import("#jobs/schemas.ts").JobsPayloadInvalid | typeof import("#jobs/schemas.ts").JobsQueueUnregistered)[]>, typeof import("@shivaedev/contract/readPolicyErrors.ts").QueryReadDenied]>, typeof JobsPermission, never> | import("effect/rpc/Rpc").Rpc<"admin.jobs.failed", Schema.Struct<{
|
|
206
206
|
cursor: Schema.optionalKey<Schema.String>;
|
|
207
207
|
limit: Schema.Number;
|
|
208
208
|
queue: Schema.String;
|
|
@@ -222,15 +222,9 @@ export declare function jobsPage<const TQueues extends readonly JobsEntry[]>(...
|
|
|
222
222
|
readonly state: Schema.Literals<readonly ["created", "retry", "active", "completed", "cancelled", "failed"]>;
|
|
223
223
|
readonly data: Schema.Unknown;
|
|
224
224
|
readonly queue: Schema.Literal<string>;
|
|
225
|
-
readonly sourceId: Schema.OptionFromNullOr<Schema.String>;
|
|
226
|
-
readonly sourceOutput: Schema.NullOr<Schema.Struct<{
|
|
227
|
-
readonly _tag: Schema.withDecodingDefaultKey<Schema.String, never>;
|
|
228
|
-
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
229
|
-
}>>;
|
|
230
|
-
readonly sourceQueue: Schema.Literal<string>;
|
|
231
225
|
}>[]>>;
|
|
232
226
|
readonly next: Schema.OptionFromNullOr<Schema.String>;
|
|
233
|
-
}>, Schema.Union<readonly [Schema.Union<readonly (typeof import("@shivaedev/errors/taxonomy.ts").BadRequest | typeof import("#jobs/schemas.ts").JobsUnavailable | typeof import("#jobs/schemas.ts").JobsPayloadInvalid | typeof import("#jobs/schemas.ts").JobsQueueUnregistered)[]>, typeof import("@shivaedev/contract/readPolicyErrors.ts").QueryReadDenied]>, typeof JobsPermission, never> | import("effect/rpc/Rpc").Rpc<"admin.jobs.
|
|
227
|
+
}>, Schema.Union<readonly [Schema.Union<readonly (typeof import("@shivaedev/errors/taxonomy.ts").BadRequest | typeof import("#jobs/schemas.ts").JobsUnavailable | typeof import("#jobs/schemas.ts").JobsPayloadInvalid | typeof import("#jobs/schemas.ts").JobsQueueUnregistered)[]>, typeof import("@shivaedev/contract/readPolicyErrors.ts").QueryReadDenied]>, typeof JobsPermission, never> | import("effect/rpc/Rpc").Rpc<"admin.jobs.deadLettered", Schema.Struct<{
|
|
234
228
|
cursor: Schema.optionalKey<Schema.String>;
|
|
235
229
|
limit: Schema.Number;
|
|
236
230
|
queue: Schema.String;
|
|
@@ -250,22 +244,14 @@ export declare function jobsPage<const TQueues extends readonly JobsEntry[]>(...
|
|
|
250
244
|
readonly state: Schema.Literals<readonly ["created", "retry", "active", "completed", "cancelled", "failed"]>;
|
|
251
245
|
readonly data: Schema.Unknown;
|
|
252
246
|
readonly queue: Schema.Literal<string>;
|
|
247
|
+
readonly sourceId: Schema.OptionFromNullOr<Schema.String>;
|
|
248
|
+
readonly sourceOutput: Schema.NullOr<Schema.Struct<{
|
|
249
|
+
readonly _tag: Schema.withDecodingDefaultKey<Schema.String, never>;
|
|
250
|
+
readonly message: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
251
|
+
}>>;
|
|
252
|
+
readonly sourceQueue: Schema.Literal<string>;
|
|
253
253
|
}>[]>>;
|
|
254
254
|
readonly next: Schema.OptionFromNullOr<Schema.String>;
|
|
255
|
-
}>, Schema.Union<readonly [Schema.Union<readonly (typeof import("@shivaedev/errors/taxonomy.ts").BadRequest | typeof import("#jobs/schemas.ts").JobsUnavailable | typeof import("#jobs/schemas.ts").JobsPayloadInvalid | typeof import("#jobs/schemas.ts").JobsQueueUnregistered)[]>, typeof import("@shivaedev/contract/readPolicyErrors.ts").QueryReadDenied]>, typeof JobsPermission, never> | import("effect/rpc/Rpc").Rpc<"admin.jobs.health", Schema.Void, Schema.Struct<{
|
|
256
|
-
readonly activeTotal: Schema.Number;
|
|
257
|
-
readonly deadLetteredTotal: Schema.Number;
|
|
258
|
-
readonly failedTotal: Schema.Number;
|
|
259
|
-
readonly jobs: Schema.$Array<Schema.Struct<{
|
|
260
|
-
readonly activeCount: Schema.Number;
|
|
261
|
-
readonly deadLetteredCount: Schema.Number;
|
|
262
|
-
readonly failedCount: Schema.Number;
|
|
263
|
-
readonly name: Schema.String;
|
|
264
|
-
readonly queuedCount: Schema.Number;
|
|
265
|
-
readonly readyCount: Schema.Number;
|
|
266
|
-
}>>;
|
|
267
|
-
readonly queuedTotal: Schema.Number;
|
|
268
|
-
readonly readyTotal: Schema.Number;
|
|
269
255
|
}>, Schema.Union<readonly [Schema.Union<readonly (typeof import("@shivaedev/errors/taxonomy.ts").BadRequest | typeof import("#jobs/schemas.ts").JobsUnavailable | typeof import("#jobs/schemas.ts").JobsPayloadInvalid | typeof import("#jobs/schemas.ts").JobsQueueUnregistered)[]>, typeof import("@shivaedev/contract/readPolicyErrors.ts").QueryReadDenied]>, typeof JobsPermission, never> | import("effect/rpc/Rpc").Rpc<"admin.jobs.job", Schema.Struct<{
|
|
270
256
|
id: Schema.String;
|
|
271
257
|
queue: Schema.String;
|
|
@@ -284,7 +270,21 @@ export declare function jobsPage<const TQueues extends readonly JobsEntry[]>(...
|
|
|
284
270
|
readonly state: Schema.Literals<readonly ["created", "retry", "active", "completed", "cancelled", "failed"]>;
|
|
285
271
|
readonly data: Schema.Unknown;
|
|
286
272
|
readonly queue: Schema.Literal<string>;
|
|
287
|
-
}>[]>>, Schema.Union<readonly [Schema.Union<readonly (typeof import("@shivaedev/errors/taxonomy.ts").BadRequest | typeof import("#jobs/schemas.ts").JobsUnavailable | typeof import("#jobs/schemas.ts").JobsPayloadInvalid | typeof import("#jobs/schemas.ts").JobsQueueUnregistered)[]>, typeof import("@shivaedev/contract/readPolicyErrors.ts").QueryReadDenied]>, typeof JobsPermission, never
|
|
273
|
+
}>[]>>, Schema.Union<readonly [Schema.Union<readonly (typeof import("@shivaedev/errors/taxonomy.ts").BadRequest | typeof import("#jobs/schemas.ts").JobsUnavailable | typeof import("#jobs/schemas.ts").JobsPayloadInvalid | typeof import("#jobs/schemas.ts").JobsQueueUnregistered)[]>, typeof import("@shivaedev/contract/readPolicyErrors.ts").QueryReadDenied]>, typeof JobsPermission, never> | import("effect/rpc/Rpc").Rpc<"admin.jobs.health", Schema.Void, Schema.Struct<{
|
|
274
|
+
readonly activeTotal: Schema.Number;
|
|
275
|
+
readonly deadLetteredTotal: Schema.Number;
|
|
276
|
+
readonly failedTotal: Schema.Number;
|
|
277
|
+
readonly jobs: Schema.$Array<Schema.Struct<{
|
|
278
|
+
readonly activeCount: Schema.Number;
|
|
279
|
+
readonly deadLetteredCount: Schema.Number;
|
|
280
|
+
readonly failedCount: Schema.Number;
|
|
281
|
+
readonly name: Schema.String;
|
|
282
|
+
readonly queuedCount: Schema.Number;
|
|
283
|
+
readonly readyCount: Schema.Number;
|
|
284
|
+
}>>;
|
|
285
|
+
readonly queuedTotal: Schema.Number;
|
|
286
|
+
readonly readyTotal: Schema.Number;
|
|
287
|
+
}>, Schema.Union<readonly [Schema.Union<readonly (typeof import("@shivaedev/errors/taxonomy.ts").BadRequest | typeof import("#jobs/schemas.ts").JobsUnavailable | typeof import("#jobs/schemas.ts").JobsPayloadInvalid | typeof import("#jobs/schemas.ts").JobsQueueUnregistered)[]>, typeof import("@shivaedev/contract/readPolicyErrors.ts").QueryReadDenied]>, typeof JobsPermission, never>, readonly [], undefined>;
|
|
288
288
|
} & {
|
|
289
289
|
queues: TQueues;
|
|
290
290
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shivaedev/admin",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.3",
|
|
4
4
|
"description": "Explicit admin page contracts and a protected native Effect RPC registry",
|
|
5
5
|
"homepage": "https://github.com/ShivaeDev/platform/tree/main/packages/admin#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -42,20 +42,20 @@
|
|
|
42
42
|
"README.md"
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@shivaedev/access": "0.3.
|
|
45
|
+
"@shivaedev/access": "0.3.5",
|
|
46
46
|
"@shivaedev/changes": "0.6.0",
|
|
47
|
-
"@shivaedev/contract": "0.30.
|
|
48
|
-
"@shivaedev/errors": "0.4.
|
|
49
|
-
"@shivaedev/identity": "0.
|
|
50
|
-
"@shivaedev/jobs": "0.
|
|
51
|
-
"@shivaedev/react": "0.
|
|
47
|
+
"@shivaedev/contract": "0.30.1",
|
|
48
|
+
"@shivaedev/errors": "0.4.1",
|
|
49
|
+
"@shivaedev/identity": "0.16.0",
|
|
50
|
+
"@shivaedev/jobs": "0.29.0",
|
|
51
|
+
"@shivaedev/react": "0.31.1"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@effect/atom-react": "4.0.6",
|
|
55
|
-
"@shivaedev/quality": "0.
|
|
56
|
-
"@shivaedev/server": "0.
|
|
57
|
-
"@shivaedev/test-sql": "0.15.
|
|
58
|
-
"@shivaedev/test-story": "0.31.
|
|
55
|
+
"@shivaedev/quality": "0.53.1",
|
|
56
|
+
"@shivaedev/server": "0.16.1",
|
|
57
|
+
"@shivaedev/test-sql": "0.15.3",
|
|
58
|
+
"@shivaedev/test-story": "0.31.4",
|
|
59
59
|
"@types/node": "24.19.2",
|
|
60
60
|
"@types/react": "19.3.0",
|
|
61
61
|
"@types/react-dom": "19.3.0",
|