@voltro/protocol 0.83.1 → 0.85.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/CHANGELOG.md +1191 -0
- package/THIRD-PARTY-NOTICES.md +1 -57
- package/dist/apikey.d.ts +32 -34
- package/dist/index.d.ts +1276 -1349
- package/dist/index.js +1022 -733
- package/dist/inspect.d.ts +88 -88
- package/dist/inspect.js +103 -53
- package/dist/jwt.d.ts +32 -34
- package/dist/rest.d.ts +72 -57
- package/dist/rest.js +287 -208
- package/dist/{restFormat-EZ8k9ZcQ.js → restFormat-BlgTLxm1.js} +108 -114
- package/dist/{scopes-Di756ENh.js → scopes-ClywBij8.js} +167 -137
- package/dist/session.d.ts +90 -96
- package/dist/session.js +1 -1
- package/package.json +4 -8
package/THIRD-PARTY-NOTICES.md
CHANGED
|
@@ -5,66 +5,10 @@ property of its respective copyright holders and is used under the terms of
|
|
|
5
5
|
its license. This file is provided for attribution; it grants no rights in
|
|
6
6
|
@voltro/protocol itself, which is proprietary (see LICENSE).
|
|
7
7
|
|
|
8
|
-
Generated from the resolved runtime dependency closure (
|
|
8
|
+
Generated from the resolved runtime dependency closure (5 packages).
|
|
9
9
|
|
|
10
10
|
---
|
|
11
11
|
|
|
12
|
-
## @effect/experimental@0.61.1
|
|
13
|
-
|
|
14
|
-
License: MIT
|
|
15
|
-
|
|
16
|
-
```
|
|
17
|
-
MIT License
|
|
18
|
-
|
|
19
|
-
Copyright (c) 2023-present The Contributors
|
|
20
|
-
|
|
21
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
22
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
23
|
-
in the Software without restriction, including without limitation the rights
|
|
24
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
25
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
26
|
-
furnished to do so, subject to the following conditions:
|
|
27
|
-
|
|
28
|
-
The above copyright notice and this permission notice shall be included in all
|
|
29
|
-
copies or substantial portions of the Software.
|
|
30
|
-
|
|
31
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
32
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
33
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
34
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
35
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
36
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
37
|
-
SOFTWARE.
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
## @effect/sql@0.52.1
|
|
41
|
-
|
|
42
|
-
License: MIT
|
|
43
|
-
|
|
44
|
-
```
|
|
45
|
-
MIT License
|
|
46
|
-
|
|
47
|
-
Copyright (c) 2023-present The Contributors
|
|
48
|
-
|
|
49
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
50
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
51
|
-
in the Software without restriction, including without limitation the rights
|
|
52
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
53
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
54
|
-
furnished to do so, subject to the following conditions:
|
|
55
|
-
|
|
56
|
-
The above copyright notice and this permission notice shall be included in all
|
|
57
|
-
copies or substantial portions of the Software.
|
|
58
|
-
|
|
59
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
60
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
61
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
62
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
63
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
64
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
65
|
-
SOFTWARE.
|
|
66
|
-
```
|
|
67
|
-
|
|
68
12
|
## jose@6.2.12
|
|
69
13
|
|
|
70
14
|
License: MIT
|
package/dist/apikey.d.ts
CHANGED
|
@@ -194,33 +194,31 @@ declare type StrategyResolution = {
|
|
|
194
194
|
readonly reason: string;
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
declare const Subject: Schema.Union<[Schema.Struct<{
|
|
198
|
-
type: Schema.Literal<
|
|
199
|
-
id:
|
|
200
|
-
tenantId:
|
|
201
|
-
scopes: Schema.optional<Schema
|
|
202
|
-
metadata: Schema.optional<Schema
|
|
197
|
+
declare const Subject: Schema.Union<readonly [Schema.Struct<{
|
|
198
|
+
readonly type: Schema.Literal<"user">;
|
|
199
|
+
readonly id: Schema.String;
|
|
200
|
+
readonly tenantId: Schema.String;
|
|
201
|
+
readonly scopes: Schema.optional<Schema.$Array<Schema.String>>;
|
|
202
|
+
readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
203
203
|
}>, Schema.Struct<{
|
|
204
|
-
type: Schema.Literal<
|
|
205
|
-
id:
|
|
206
|
-
tenantId:
|
|
207
|
-
scopes: Schema.optional<Schema
|
|
208
|
-
metadata: Schema.optional<Schema
|
|
204
|
+
readonly type: Schema.Literal<"apiKey">;
|
|
205
|
+
readonly id: Schema.String;
|
|
206
|
+
readonly tenantId: Schema.String;
|
|
207
|
+
readonly scopes: Schema.optional<Schema.$Array<Schema.String>>;
|
|
208
|
+
readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
209
209
|
}>, Schema.Struct<{
|
|
210
|
-
type: Schema.Literal<
|
|
211
|
-
id:
|
|
212
|
-
tenantId:
|
|
210
|
+
readonly type: Schema.Literal<"serviceAccount">;
|
|
211
|
+
readonly id: Schema.String;
|
|
212
|
+
readonly tenantId: Schema.String;
|
|
213
213
|
/** Application actor used for audit columns; null means machine work with
|
|
214
214
|
* no application actor. Identity only, never a permission grant. */
|
|
215
|
-
auditActorId: Schema.
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
scopes: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
219
|
-
metadata: Schema.optional<Schema.Record$<typeof Schema.String, typeof Schema.Unknown>>;
|
|
215
|
+
readonly auditActorId: Schema.optionalKey<Schema.NullOr<Schema.String>>;
|
|
216
|
+
readonly scopes: Schema.optional<Schema.$Array<Schema.String>>;
|
|
217
|
+
readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
220
218
|
}>, Schema.Struct<{
|
|
221
|
-
type: Schema.Literal<
|
|
222
|
-
id:
|
|
223
|
-
tenantId: Schema.NullOr<
|
|
219
|
+
readonly type: Schema.Literal<"anonymous">;
|
|
220
|
+
readonly id: Schema.Null;
|
|
221
|
+
readonly tenantId: Schema.NullOr<Schema.String>;
|
|
224
222
|
/**
|
|
225
223
|
* Set when this caller PRESENTED a credential and it was rejected — an
|
|
226
224
|
* expired token above all. Absent when they presented none.
|
|
@@ -237,21 +235,21 @@ declare const Subject: Schema.Union<[Schema.Struct<{
|
|
|
237
235
|
* must not break an `openAccess` procedure that needs no session at all. The
|
|
238
236
|
* fact travels, and only a guard that actually refuses spends it.
|
|
239
237
|
*/
|
|
240
|
-
credentialRejected: Schema.optional<
|
|
238
|
+
readonly credentialRejected: Schema.optional<Schema.String>;
|
|
241
239
|
}>, Schema.Struct<{
|
|
242
|
-
type: Schema.Literal<
|
|
243
|
-
id:
|
|
244
|
-
tenantId:
|
|
245
|
-
scopes: Schema.optional<Schema
|
|
246
|
-
metadata: Schema.optional<Schema
|
|
240
|
+
readonly type: Schema.Literal<"system">;
|
|
241
|
+
readonly id: Schema.String;
|
|
242
|
+
readonly tenantId: Schema.Null;
|
|
243
|
+
readonly scopes: Schema.optional<Schema.$Array<Schema.String>>;
|
|
244
|
+
readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
247
245
|
}>, Schema.Struct<{
|
|
248
|
-
type: Schema.Literal<
|
|
249
|
-
id:
|
|
246
|
+
readonly type: Schema.Literal<"service">;
|
|
247
|
+
readonly id: Schema.String;
|
|
250
248
|
/** The calling app's name, as the callee lists it in `serviceCallers`. */
|
|
251
|
-
service:
|
|
252
|
-
tenantId:
|
|
253
|
-
scopes: Schema.optional<Schema
|
|
254
|
-
metadata: Schema.optional<Schema
|
|
249
|
+
readonly service: Schema.String;
|
|
250
|
+
readonly tenantId: Schema.Null;
|
|
251
|
+
readonly scopes: Schema.optional<Schema.$Array<Schema.String>>;
|
|
252
|
+
readonly metadata: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
255
253
|
}>]>;
|
|
256
254
|
|
|
257
255
|
declare type Subject = typeof Subject.Type;
|