@absolutejs/auth 0.54.6 → 0.54.7
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/manifest.js +21 -2
- package/dist/manifest.js.map +3 -3
- package/package.json +2 -2
package/dist/manifest.js
CHANGED
|
@@ -5923,8 +5923,27 @@ var toolAnnotations = Type.Object({
|
|
|
5923
5923
|
readOnlyHint: Type.Optional(Type.Boolean()),
|
|
5924
5924
|
title: Type.Optional(Type.String())
|
|
5925
5925
|
});
|
|
5926
|
+
var toolAuthorization = Type.Object({
|
|
5927
|
+
approval: Type.Optional(Type.Union([
|
|
5928
|
+
Type.Literal("always"),
|
|
5929
|
+
Type.Literal("never"),
|
|
5930
|
+
Type.Literal("policy")
|
|
5931
|
+
])),
|
|
5932
|
+
compensatingTool: Type.Optional(Type.String({ pattern: TOOL_NAME_PATTERN.source })),
|
|
5933
|
+
destinations: Type.Optional(Type.Array(Type.String({ minLength: 1 }))),
|
|
5934
|
+
effects: Type.Array(Type.String({ minLength: 1 }), { minItems: 1 }),
|
|
5935
|
+
idempotencyKeyField: Type.Optional(Type.String({ minLength: 1 })),
|
|
5936
|
+
requiredScopes: Type.Optional(Type.Array(Type.String({ minLength: 1 }))),
|
|
5937
|
+
reversible: Type.Optional(Type.Boolean()),
|
|
5938
|
+
spend: Type.Optional(Type.Object({
|
|
5939
|
+
amountMinorField: Type.String({ minLength: 1 }),
|
|
5940
|
+
currencyField: Type.String({ minLength: 1 }),
|
|
5941
|
+
maximumAmountMinor: Type.Optional(Type.Integer({ minimum: 0 }))
|
|
5942
|
+
}))
|
|
5943
|
+
});
|
|
5926
5944
|
var serializedTool = Type.Object({
|
|
5927
5945
|
annotations: Type.Optional(toolAnnotations),
|
|
5946
|
+
authorization: Type.Optional(toolAuthorization),
|
|
5928
5947
|
capabilities: Type.Optional(Type.Array(Type.Union([
|
|
5929
5948
|
Type.Literal("exec"),
|
|
5930
5949
|
Type.Literal("glob"),
|
|
@@ -5936,7 +5955,7 @@ var serializedTool = Type.Object({
|
|
|
5936
5955
|
kind: Type.Union([Type.Literal("runtime"), Type.Literal("workspace")])
|
|
5937
5956
|
});
|
|
5938
5957
|
var manifestSchema = Type.Object({
|
|
5939
|
-
contract: Type.Literal(1),
|
|
5958
|
+
contract: Type.Union([Type.Literal(1), Type.Literal(2)]),
|
|
5940
5959
|
identity: Type.Object({
|
|
5941
5960
|
accent: Type.Optional(Type.String({ pattern: "^#[0-9a-fA-F]{3,8}$" })),
|
|
5942
5961
|
category: Type.String({ minLength: 1 }),
|
|
@@ -8759,5 +8778,5 @@ export {
|
|
|
8759
8778
|
manifest
|
|
8760
8779
|
};
|
|
8761
8780
|
|
|
8762
|
-
//# debugId=
|
|
8781
|
+
//# debugId=39CCCF55D98EE47A64756E2164756E21
|
|
8763
8782
|
//# sourceMappingURL=manifest.js.map
|