@tai42/api-client 20.0.0 → 21.0.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/README.md +29 -0
- package/dist/agents.d.ts.map +1 -1
- package/dist/agents.js +6 -4
- package/dist/agents.js.map +1 -1
- package/dist/client/agents-client.d.ts.map +1 -1
- package/dist/client/agents-client.js +3 -2
- package/dist/client/agents-client.js.map +1 -1
- package/dist/client/auth-client.d.ts +129 -127
- package/dist/client/auth-client.d.ts.map +1 -1
- package/dist/client/auth-client.js +68 -28
- package/dist/client/auth-client.js.map +1 -1
- package/dist/client/backend-client.d.ts +14 -13
- package/dist/client/backend-client.d.ts.map +1 -1
- package/dist/client/backend-client.js +7 -3
- package/dist/client/backend-client.js.map +1 -1
- package/dist/client/backup-client.d.ts +45 -19
- package/dist/client/backup-client.d.ts.map +1 -1
- package/dist/client/backup-client.js +8 -3
- package/dist/client/backup-client.js.map +1 -1
- package/dist/client/capabilities-client.d.ts +20 -16
- package/dist/client/capabilities-client.d.ts.map +1 -1
- package/dist/client/capabilities-client.js +3 -2
- package/dist/client/capabilities-client.js.map +1 -1
- package/dist/client/channels-client.d.ts.map +1 -1
- package/dist/client/channels-client.js +2 -1
- package/dist/client/channels-client.js.map +1 -1
- package/dist/client/config-client.d.ts +44 -17
- package/dist/client/config-client.d.ts.map +1 -1
- package/dist/client/config-client.js +10 -4
- package/dist/client/config-client.js.map +1 -1
- package/dist/client/connectors-client.d.ts +270 -81
- package/dist/client/connectors-client.d.ts.map +1 -1
- package/dist/client/connectors-client.js +38 -10
- package/dist/client/connectors-client.js.map +1 -1
- package/dist/client/conversations-client.d.ts +440 -86
- package/dist/client/conversations-client.d.ts.map +1 -1
- package/dist/client/conversations-client.js +46 -17
- package/dist/client/conversations-client.js.map +1 -1
- package/dist/client/hooks-client.d.ts +3 -3
- package/dist/client/hooks-client.d.ts.map +1 -1
- package/dist/client/hooks-client.js +12 -7
- package/dist/client/hooks-client.js.map +1 -1
- package/dist/client/index.d.ts +2272 -914
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +10 -2
- package/dist/client/index.js.map +1 -1
- package/dist/client/interactions-client.d.ts +19 -14
- package/dist/client/interactions-client.d.ts.map +1 -1
- package/dist/client/interactions-client.js +21 -9
- package/dist/client/interactions-client.js.map +1 -1
- package/dist/client/login-client.d.ts +18 -17
- package/dist/client/login-client.d.ts.map +1 -1
- package/dist/client/login-client.js +8 -4
- package/dist/client/login-client.js.map +1 -1
- package/dist/client/manifest-client.d.ts +276 -105
- package/dist/client/manifest-client.d.ts.map +1 -1
- package/dist/client/manifest-client.js +22 -16
- package/dist/client/manifest-client.js.map +1 -1
- package/dist/client/marketplace-client.d.ts +181 -51
- package/dist/client/marketplace-client.d.ts.map +1 -1
- package/dist/client/marketplace-client.js +23 -12
- package/dist/client/marketplace-client.js.map +1 -1
- package/dist/client/mcp-config-schema-client.d.ts.map +1 -1
- package/dist/client/mcp-config-schema-client.js +2 -1
- package/dist/client/mcp-config-schema-client.js.map +1 -1
- package/dist/client/notifications-client.d.ts +43 -6
- package/dist/client/notifications-client.d.ts.map +1 -1
- package/dist/client/notifications-client.js +2 -1
- package/dist/client/notifications-client.js.map +1 -1
- package/dist/client/observability-client.d.ts +78 -38
- package/dist/client/observability-client.d.ts.map +1 -1
- package/dist/client/observability-client.js +29 -6
- package/dist/client/observability-client.js.map +1 -1
- package/dist/client/plugins-client.d.ts +8 -6
- package/dist/client/plugins-client.d.ts.map +1 -1
- package/dist/client/plugins-client.js +2 -1
- package/dist/client/plugins-client.js.map +1 -1
- package/dist/client/policy-client.d.ts +4 -4
- package/dist/client/policy-client.d.ts.map +1 -1
- package/dist/client/policy-client.js +11 -4
- package/dist/client/policy-client.js.map +1 -1
- package/dist/client/presets-client.d.ts +84 -39
- package/dist/client/presets-client.d.ts.map +1 -1
- package/dist/client/presets-client.js +25 -13
- package/dist/client/presets-client.js.map +1 -1
- package/dist/client/profiles-client.d.ts +40 -33
- package/dist/client/profiles-client.d.ts.map +1 -1
- package/dist/client/profiles-client.js +15 -10
- package/dist/client/profiles-client.js.map +1 -1
- package/dist/client/schedules-client.d.ts +21 -17
- package/dist/client/schedules-client.d.ts.map +1 -1
- package/dist/client/schedules-client.js +8 -5
- package/dist/client/schedules-client.js.map +1 -1
- package/dist/client/settings-schema-client.d.ts +1 -1
- package/dist/client/settings-schema-client.d.ts.map +1 -1
- package/dist/client/settings-schema-client.js +2 -1
- package/dist/client/settings-schema-client.js.map +1 -1
- package/dist/client/states-client.d.ts +215 -87
- package/dist/client/states-client.d.ts.map +1 -1
- package/dist/client/states-client.js +98 -37
- package/dist/client/states-client.js.map +1 -1
- package/dist/client/storage-client.d.ts +5 -5
- package/dist/client/storage-client.d.ts.map +1 -1
- package/dist/client/storage-client.js +24 -12
- package/dist/client/storage-client.js.map +1 -1
- package/dist/client/sub-mcp-client.d.ts +3 -1
- package/dist/client/sub-mcp-client.d.ts.map +1 -1
- package/dist/client/sub-mcp-client.js +9 -4
- package/dist/client/sub-mcp-client.js.map +1 -1
- package/dist/client/system-client.d.ts +2 -2
- package/dist/client/system-client.d.ts.map +1 -1
- package/dist/client/system-client.js +2 -1
- package/dist/client/system-client.js.map +1 -1
- package/dist/client/templates-client.d.ts +65 -6
- package/dist/client/templates-client.d.ts.map +1 -1
- package/dist/client/templates-client.js +25 -7
- package/dist/client/templates-client.js.map +1 -1
- package/dist/client/tool-extensions-client.d.ts +41 -16
- package/dist/client/tool-extensions-client.d.ts.map +1 -1
- package/dist/client/tool-extensions-client.js +6 -4
- package/dist/client/tool-extensions-client.js.map +1 -1
- package/dist/client/tool-meta-client.d.ts +8 -8
- package/dist/client/tool-meta-client.d.ts.map +1 -1
- package/dist/client/tool-meta-client.js +12 -8
- package/dist/client/tool-meta-client.js.map +1 -1
- package/dist/client/tools-client.d.ts +150 -23
- package/dist/client/tools-client.d.ts.map +1 -1
- package/dist/client/tools-client.js +8 -8
- package/dist/client/tools-client.js.map +1 -1
- package/dist/client/trigger-links-client.d.ts +11 -9
- package/dist/client/trigger-links-client.d.ts.map +1 -1
- package/dist/client/trigger-links-client.js +4 -4
- package/dist/client/trigger-links-client.js.map +1 -1
- package/dist/fleet-report.d.ts +21 -5
- package/dist/fleet-report.d.ts.map +1 -1
- package/dist/fleet-report.js +31 -6
- package/dist/fleet-report.js.map +1 -1
- package/dist/generated/api-routes.d.ts +1014 -0
- package/dist/generated/api-routes.d.ts.map +1 -0
- package/dist/generated/api-routes.js +322 -0
- package/dist/generated/api-routes.js.map +1 -0
- package/dist/generated/openapi-schemas.d.ts +12425 -0
- package/dist/generated/openapi-schemas.d.ts.map +1 -0
- package/dist/generated/openapi-schemas.js +671 -0
- package/dist/generated/openapi-schemas.js.map +1 -0
- package/dist/generated/served-schemas.d.ts +6698 -349
- package/dist/generated/served-schemas.d.ts.map +1 -1
- package/dist/generated/served-schemas.js +7062 -21
- package/dist/generated/served-schemas.js.map +1 -1
- package/dist/headers.d.ts +4 -0
- package/dist/headers.d.ts.map +1 -0
- package/dist/headers.js +4 -0
- package/dist/headers.js.map +1 -0
- package/dist/http.d.ts.map +1 -1
- package/dist/http.js +4 -3
- package/dist/http.js.map +1 -1
- package/dist/index.d.ts +7 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/schemas/api-keys.d.ts +14 -12
- package/dist/schemas/api-keys.d.ts.map +1 -1
- package/dist/schemas/api-keys.js +9 -23
- package/dist/schemas/api-keys.js.map +1 -1
- package/dist/schemas/auth-routes.d.ts +34 -29
- package/dist/schemas/auth-routes.d.ts.map +1 -1
- package/dist/schemas/auth-routes.js +22 -27
- package/dist/schemas/auth-routes.js.map +1 -1
- package/dist/schemas/backup.d.ts +157 -36
- package/dist/schemas/backup.d.ts.map +1 -1
- package/dist/schemas/backup.js +27 -26
- package/dist/schemas/backup.js.map +1 -1
- package/dist/schemas/capabilities.d.ts +32 -22
- package/dist/schemas/capabilities.d.ts.map +1 -1
- package/dist/schemas/capabilities.js +15 -40
- package/dist/schemas/capabilities.js.map +1 -1
- package/dist/schemas/channels.d.ts +1 -1
- package/dist/schemas/channels.d.ts.map +1 -1
- package/dist/schemas/channels.js +2 -5
- package/dist/schemas/channels.js.map +1 -1
- package/dist/schemas/config.d.ts.map +1 -1
- package/dist/schemas/config.js +4 -6
- package/dist/schemas/config.js.map +1 -1
- package/dist/schemas/connectors.d.ts +381 -185
- package/dist/schemas/connectors.d.ts.map +1 -1
- package/dist/schemas/connectors.js +54 -101
- package/dist/schemas/connectors.js.map +1 -1
- package/dist/schemas/conversations.d.ts +977 -248
- package/dist/schemas/conversations.d.ts.map +1 -1
- package/dist/schemas/conversations.js +40 -134
- package/dist/schemas/conversations.js.map +1 -1
- package/dist/schemas/extensions.d.ts +9 -6
- package/dist/schemas/extensions.d.ts.map +1 -1
- package/dist/schemas/extensions.js +6 -4
- package/dist/schemas/extensions.js.map +1 -1
- package/dist/schemas/fleet.d.ts +153 -99
- package/dist/schemas/fleet.d.ts.map +1 -1
- package/dist/schemas/fleet.js +41 -51
- package/dist/schemas/fleet.js.map +1 -1
- package/dist/schemas/hooks.d.ts +34 -34
- package/dist/schemas/hooks.d.ts.map +1 -1
- package/dist/schemas/hooks.js +15 -34
- package/dist/schemas/hooks.js.map +1 -1
- package/dist/schemas/index.d.ts +0 -1
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +0 -1
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/interactions.d.ts +150 -127
- package/dist/schemas/interactions.d.ts.map +1 -1
- package/dist/schemas/interactions.js +44 -129
- package/dist/schemas/interactions.js.map +1 -1
- package/dist/schemas/login.d.ts +36 -37
- package/dist/schemas/login.d.ts.map +1 -1
- package/dist/schemas/login.js +8 -42
- package/dist/schemas/login.js.map +1 -1
- package/dist/schemas/manifest-mcp.d.ts +61 -35
- package/dist/schemas/manifest-mcp.d.ts.map +1 -1
- package/dist/schemas/manifest-mcp.js +13 -19
- package/dist/schemas/manifest-mcp.js.map +1 -1
- package/dist/schemas/marketplace.d.ts +219 -133
- package/dist/schemas/marketplace.d.ts.map +1 -1
- package/dist/schemas/marketplace.js +35 -120
- package/dist/schemas/marketplace.js.map +1 -1
- package/dist/schemas/members.d.ts +59 -52
- package/dist/schemas/members.d.ts.map +1 -1
- package/dist/schemas/members.js +20 -52
- package/dist/schemas/members.js.map +1 -1
- package/dist/schemas/notifications.d.ts +115 -17
- package/dist/schemas/notifications.d.ts.map +1 -1
- package/dist/schemas/notifications.js +9 -35
- package/dist/schemas/notifications.js.map +1 -1
- package/dist/schemas/observability.d.ts +174 -72
- package/dist/schemas/observability.d.ts.map +1 -1
- package/dist/schemas/observability.js +23 -76
- package/dist/schemas/observability.js.map +1 -1
- package/dist/schemas/policy.d.ts +11 -11
- package/dist/schemas/policy.d.ts.map +1 -1
- package/dist/schemas/policy.js +5 -12
- package/dist/schemas/policy.js.map +1 -1
- package/dist/schemas/presets.d.ts +109 -64
- package/dist/schemas/presets.d.ts.map +1 -1
- package/dist/schemas/presets.js +12 -48
- package/dist/schemas/presets.js.map +1 -1
- package/dist/schemas/principals.d.ts +28 -21
- package/dist/schemas/principals.d.ts.map +1 -1
- package/dist/schemas/principals.js +13 -25
- package/dist/schemas/principals.js.map +1 -1
- package/dist/schemas/profiles.d.ts +75 -63
- package/dist/schemas/profiles.d.ts.map +1 -1
- package/dist/schemas/profiles.js +24 -54
- package/dist/schemas/profiles.js.map +1 -1
- package/dist/schemas/roles.d.ts +22 -22
- package/dist/schemas/roles.d.ts.map +1 -1
- package/dist/schemas/roles.js +10 -17
- package/dist/schemas/roles.js.map +1 -1
- package/dist/schemas/schedules.d.ts +21 -15
- package/dist/schemas/schedules.d.ts.map +1 -1
- package/dist/schemas/schedules.js +4 -13
- package/dist/schemas/schedules.js.map +1 -1
- package/dist/schemas/served.d.ts +6373 -181
- package/dist/schemas/served.d.ts.map +1 -1
- package/dist/schemas/served.js +21 -0
- package/dist/schemas/served.js.map +1 -1
- package/dist/schemas/settings-schema.d.ts +1 -1
- package/dist/schemas/settings-schema.d.ts.map +1 -1
- package/dist/schemas/settings-schema.js +17 -19
- package/dist/schemas/settings-schema.js.map +1 -1
- package/dist/schemas/setup.d.ts +6 -6
- package/dist/schemas/setup.d.ts.map +1 -1
- package/dist/schemas/setup.js +2 -11
- package/dist/schemas/setup.js.map +1 -1
- package/dist/schemas/states.d.ts +450 -135
- package/dist/schemas/states.d.ts.map +1 -1
- package/dist/schemas/states.js +76 -140
- package/dist/schemas/states.js.map +1 -1
- package/dist/schemas/storage.d.ts +7 -8
- package/dist/schemas/storage.d.ts.map +1 -1
- package/dist/schemas/storage.js +8 -17
- package/dist/schemas/storage.js.map +1 -1
- package/dist/schemas/studio-plugins.d.ts +24 -18
- package/dist/schemas/studio-plugins.d.ts.map +1 -1
- package/dist/schemas/studio-plugins.js +5 -19
- package/dist/schemas/studio-plugins.js.map +1 -1
- package/dist/schemas/sub-mcp.d.ts +11 -8
- package/dist/schemas/sub-mcp.d.ts.map +1 -1
- package/dist/schemas/sub-mcp.js +10 -19
- package/dist/schemas/sub-mcp.js.map +1 -1
- package/dist/schemas/system-kinds.d.ts +76 -46
- package/dist/schemas/system-kinds.d.ts.map +1 -1
- package/dist/schemas/system-kinds.js +11 -28
- package/dist/schemas/system-kinds.js.map +1 -1
- package/dist/schemas/templates.d.ts +83 -25
- package/dist/schemas/templates.d.ts.map +1 -1
- package/dist/schemas/templates.js +8 -9
- package/dist/schemas/templates.js.map +1 -1
- package/dist/schemas/tool-meta.d.ts +15 -15
- package/dist/schemas/tool-meta.d.ts.map +1 -1
- package/dist/schemas/tool-meta.js +6 -21
- package/dist/schemas/tool-meta.js.map +1 -1
- package/dist/schemas/tools.d.ts +177 -56
- package/dist/schemas/tools.d.ts.map +1 -1
- package/dist/schemas/tools.js +20 -41
- package/dist/schemas/tools.js.map +1 -1
- package/dist/schemas/trigger-links.d.ts +22 -17
- package/dist/schemas/trigger-links.d.ts.map +1 -1
- package/dist/schemas/trigger-links.js +7 -27
- package/dist/schemas/trigger-links.js.map +1 -1
- package/dist/tool-runs.d.ts +175 -54
- package/dist/tool-runs.d.ts.map +1 -1
- package/dist/tool-runs.js +33 -34
- package/dist/tool-runs.js.map +1 -1
- package/package.json +4 -3
- package/src/agents.ts +16 -4
- package/src/client/agents-client.ts +3 -2
- package/src/client/auth-client.ts +102 -37
- package/src/client/backend-client.ts +8 -3
- package/src/client/backup-client.ts +8 -3
- package/src/client/capabilities-client.ts +4 -2
- package/src/client/channels-client.ts +3 -1
- package/src/client/config-client.ts +13 -5
- package/src/client/connectors-client.ts +91 -16
- package/src/client/conversations-client.ts +79 -30
- package/src/client/hooks-client.ts +25 -12
- package/src/client/index.ts +16 -4
- package/src/client/interactions-client.ts +40 -16
- package/src/client/login-client.ts +8 -4
- package/src/client/manifest-client.ts +48 -24
- package/src/client/marketplace-client.ts +23 -12
- package/src/client/mcp-config-schema-client.ts +2 -1
- package/src/client/notifications-client.ts +2 -1
- package/src/client/observability-client.ts +60 -8
- package/src/client/plugins-client.ts +2 -1
- package/src/client/policy-client.ts +24 -9
- package/src/client/presets-client.ts +26 -13
- package/src/client/profiles-client.ts +53 -24
- package/src/client/schedules-client.ts +14 -20
- package/src/client/settings-schema-client.ts +2 -1
- package/src/client/states-client.ts +151 -49
- package/src/client/storage-client.ts +43 -14
- package/src/client/sub-mcp-client.ts +10 -4
- package/src/client/system-client.ts +2 -1
- package/src/client/templates-client.ts +26 -7
- package/src/client/tool-extensions-client.ts +14 -7
- package/src/client/tool-meta-client.ts +46 -21
- package/src/client/tools-client.ts +13 -8
- package/src/client/trigger-links-client.ts +10 -6
- package/src/fleet-report.ts +48 -7
- package/src/generated/api-routes.ts +327 -0
- package/src/generated/openapi-schemas.ts +1508 -0
- package/src/generated/served-schemas.ts +7120 -40
- package/src/headers.ts +4 -0
- package/src/http.ts +4 -3
- package/src/index.ts +44 -10
- package/src/schemas/api-keys.ts +9 -25
- package/src/schemas/auth-routes.ts +27 -28
- package/src/schemas/backup.ts +33 -31
- package/src/schemas/capabilities.ts +16 -39
- package/src/schemas/channels.ts +4 -4
- package/src/schemas/config.ts +6 -6
- package/src/schemas/connectors.ts +61 -102
- package/src/schemas/conversations.ts +43 -133
- package/src/schemas/extensions.ts +7 -4
- package/src/schemas/fleet.ts +51 -51
- package/src/schemas/hooks.ts +18 -37
- package/src/schemas/index.ts +0 -1
- package/src/schemas/interactions.ts +48 -131
- package/src/schemas/login.ts +10 -41
- package/src/schemas/manifest-mcp.ts +13 -19
- package/src/schemas/marketplace.ts +37 -120
- package/src/schemas/members.ts +21 -51
- package/src/schemas/notifications.ts +10 -34
- package/src/schemas/observability.ts +34 -79
- package/src/schemas/policy.ts +5 -12
- package/src/schemas/presets.ts +13 -48
- package/src/schemas/principals.ts +17 -24
- package/src/schemas/profiles.ts +25 -55
- package/src/schemas/roles.ts +11 -17
- package/src/schemas/schedules.ts +4 -15
- package/src/schemas/served.ts +33 -0
- package/src/schemas/settings-schema.ts +18 -23
- package/src/schemas/setup.ts +4 -10
- package/src/schemas/states.ts +88 -139
- package/src/schemas/storage.ts +10 -16
- package/src/schemas/studio-plugins.ts +8 -19
- package/src/schemas/sub-mcp.ts +12 -18
- package/src/schemas/system-kinds.ts +12 -29
- package/src/schemas/templates.ts +8 -10
- package/src/schemas/tool-meta.ts +8 -20
- package/src/schemas/tools.ts +22 -45
- package/src/schemas/trigger-links.ts +8 -26
- package/src/tool-runs.ts +47 -38
- package/dist/client/web-entry-gate-client.d.ts +0 -34
- package/dist/client/web-entry-gate-client.d.ts.map +0 -1
- package/dist/client/web-entry-gate-client.js +0 -25
- package/dist/client/web-entry-gate-client.js.map +0 -1
- package/dist/schemas/web-entry.d.ts +0 -45
- package/dist/schemas/web-entry.d.ts.map +0 -1
- package/dist/schemas/web-entry.js +0 -36
- package/dist/schemas/web-entry.js.map +0 -1
- package/src/client/web-entry-gate-client.ts +0 -45
- package/src/schemas/web-entry.ts +0 -46
package/dist/schemas/policy.d.ts
CHANGED
|
@@ -20,39 +20,39 @@ export type ValidateConditionResult = z.infer<typeof validateConditionResult>;
|
|
|
20
20
|
* mirroring the preset version shape.
|
|
21
21
|
*/
|
|
22
22
|
export declare const policyVersion: z.ZodObject<{
|
|
23
|
+
created_at: z.ZodString;
|
|
24
|
+
is_current: z.ZodDefault<z.ZodBoolean>;
|
|
25
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
23
26
|
version: z.ZodNumber;
|
|
24
27
|
body: z.ZodObject<{
|
|
25
|
-
condition: z.ZodDefault<z.
|
|
28
|
+
condition: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
26
29
|
content: z.ZodOptional<z.ZodString>;
|
|
27
30
|
id: z.ZodOptional<z.ZodString>;
|
|
28
31
|
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
29
|
-
}, z.core.$strict
|
|
32
|
+
}, z.core.$strict>>>;
|
|
30
33
|
policy_data: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
31
34
|
scopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
32
35
|
}, z.core.$strip>;
|
|
33
|
-
tags: z.ZodArray<z.ZodString>;
|
|
34
|
-
created_at: z.ZodString;
|
|
35
|
-
is_current: z.ZodBoolean;
|
|
36
36
|
}, z.core.$strip>;
|
|
37
37
|
export type PolicyVersion = z.infer<typeof policyVersion>;
|
|
38
38
|
export declare const policyVersionList: z.ZodArray<z.ZodObject<{
|
|
39
|
+
created_at: z.ZodString;
|
|
40
|
+
is_current: z.ZodDefault<z.ZodBoolean>;
|
|
41
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
39
42
|
version: z.ZodNumber;
|
|
40
43
|
body: z.ZodObject<{
|
|
41
|
-
condition: z.ZodDefault<z.
|
|
44
|
+
condition: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
42
45
|
content: z.ZodOptional<z.ZodString>;
|
|
43
46
|
id: z.ZodOptional<z.ZodString>;
|
|
44
47
|
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
45
|
-
}, z.core.$strict
|
|
48
|
+
}, z.core.$strict>>>;
|
|
46
49
|
policy_data: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
47
50
|
scopes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
48
51
|
}, z.core.$strip>;
|
|
49
|
-
tags: z.ZodArray<z.ZodString>;
|
|
50
|
-
created_at: z.ZodString;
|
|
51
|
-
is_current: z.ZodBoolean;
|
|
52
52
|
}, z.core.$strip>>;
|
|
53
53
|
/** `POST /api/auth/api-keys/{user_id}/policy/rollback` — the re-pointed version. */
|
|
54
54
|
export declare const policyRollback: z.ZodObject<{
|
|
55
|
-
user_id: z.ZodString;
|
|
56
55
|
active_version: z.ZodNumber;
|
|
56
|
+
user_id: z.ZodString;
|
|
57
57
|
}, z.core.$strip>;
|
|
58
58
|
//# sourceMappingURL=policy.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"policy.d.ts","sourceRoot":"","sources":["../../src/schemas/policy.ts"],"names":[],"mappings":"AAAA,uEAAuE;AACvE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"policy.d.ts","sourceRoot":"","sources":["../../src/schemas/policy.ts"],"names":[],"mappings":"AAAA,uEAAuE;AACvE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB;;;iBAA+B,CAAC;AACpE,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE9E;;;;;GAKG;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;iBAAuD,CAAC;AAClF,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAE1D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;kBAAyB,CAAC;AAExD,oFAAoF;AACpF,eAAO,MAAM,cAAc;;;iBAA+B,CAAC"}
|
package/dist/schemas/policy.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/** Access-policy validation, version and rollback response schemas. */
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
+
import * as openapi from '../generated/openapi-schemas';
|
|
3
4
|
import { policyBody } from './served';
|
|
4
5
|
/**
|
|
5
6
|
* `POST /api/auth/validate-condition` — the fail-closed jq guard. `ok` is the
|
|
@@ -9,24 +10,16 @@ import { policyBody } from './served';
|
|
|
9
10
|
* syntactically-broken condition can be caught before it locks a key out. A drift
|
|
10
11
|
* throws `ApiSchemaError`.
|
|
11
12
|
*/
|
|
12
|
-
export const validateConditionResult =
|
|
13
|
-
ok: z.boolean(),
|
|
14
|
-
result: z.boolean().nullable(),
|
|
15
|
-
});
|
|
13
|
+
export const validateConditionResult = openapi.conditionCheckResult;
|
|
16
14
|
/**
|
|
17
15
|
* One immutable policy version row
|
|
18
16
|
* (`GET /api/auth/api-keys/{user_id}/policy/versions`). `is_current` flags the
|
|
19
17
|
* active pointer; `tags` is the generic per-version label list (kind-agnostic),
|
|
20
18
|
* mirroring the preset version shape.
|
|
21
19
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
body: policyBody,
|
|
25
|
-
tags: z.array(z.string()),
|
|
26
|
-
created_at: z.string(),
|
|
27
|
-
is_current: z.boolean(),
|
|
28
|
-
});
|
|
20
|
+
// The body is hand-typed: the spec publishes a version body as an open object.
|
|
21
|
+
export const policyVersion = openapi.documentVersion.extend({ body: policyBody });
|
|
29
22
|
export const policyVersionList = z.array(policyVersion);
|
|
30
23
|
/** `POST /api/auth/api-keys/{user_id}/policy/rollback` — the re-pointed version. */
|
|
31
|
-
export const policyRollback =
|
|
24
|
+
export const policyRollback = openapi.policyRollbackResult;
|
|
32
25
|
//# sourceMappingURL=policy.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"policy.js","sourceRoot":"","sources":["../../src/schemas/policy.ts"],"names":[],"mappings":"AAAA,uEAAuE;AACvE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtC;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,
|
|
1
|
+
{"version":3,"file":"policy.js","sourceRoot":"","sources":["../../src/schemas/policy.ts"],"names":[],"mappings":"AAAA,uEAAuE;AACvE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,OAAO,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtC;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,OAAO,CAAC,oBAAoB,CAAC;AAGpE;;;;;GAKG;AACH,+EAA+E;AAC/E,MAAM,CAAC,MAAM,aAAa,GAAG,OAAO,CAAC,eAAe,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC,CAAC;AAGlF,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;AAExD,oFAAoF;AACpF,MAAM,CAAC,MAAM,cAAc,GAAG,OAAO,CAAC,oBAAoB,CAAC"}
|
|
@@ -16,55 +16,55 @@ export declare const presetExtensions: z.ZodArray<z.ZodArray<z.ZodUnion<readonly
|
|
|
16
16
|
* nothing is coerced.
|
|
17
17
|
*/
|
|
18
18
|
export declare const presetRecord: z.ZodObject<{
|
|
19
|
-
|
|
19
|
+
active_version: z.ZodNumber;
|
|
20
20
|
base_tool: z.ZodString;
|
|
21
|
+
conflicted: z.ZodBoolean;
|
|
22
|
+
conflicted_reason: z.ZodNullable<z.ZodString>;
|
|
21
23
|
description: z.ZodString;
|
|
22
|
-
|
|
24
|
+
input_schema: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
25
|
+
name: z.ZodString;
|
|
26
|
+
output_schema: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
27
|
+
used_by: z.ZodArray<z.ZodString>;
|
|
28
|
+
uses: z.ZodArray<z.ZodString>;
|
|
23
29
|
extensions: z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
24
30
|
name: z.ZodString;
|
|
25
31
|
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
26
32
|
}, z.core.$strip>]>>>;
|
|
27
|
-
output_schema: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
28
|
-
input_schema: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
29
|
-
conflicted: z.ZodBoolean;
|
|
30
|
-
conflicted_reason: z.ZodNullable<z.ZodString>;
|
|
31
|
-
uses: z.ZodArray<z.ZodString>;
|
|
32
|
-
used_by: z.ZodArray<z.ZodString>;
|
|
33
33
|
}, z.core.$strip>;
|
|
34
34
|
export type PresetRecord = z.infer<typeof presetRecord>;
|
|
35
35
|
export declare const presetList: z.ZodArray<z.ZodObject<{
|
|
36
|
-
|
|
36
|
+
active_version: z.ZodNumber;
|
|
37
37
|
base_tool: z.ZodString;
|
|
38
|
+
conflicted: z.ZodBoolean;
|
|
39
|
+
conflicted_reason: z.ZodNullable<z.ZodString>;
|
|
38
40
|
description: z.ZodString;
|
|
39
|
-
|
|
41
|
+
input_schema: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
42
|
+
name: z.ZodString;
|
|
43
|
+
output_schema: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
44
|
+
used_by: z.ZodArray<z.ZodString>;
|
|
45
|
+
uses: z.ZodArray<z.ZodString>;
|
|
40
46
|
extensions: z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
41
47
|
name: z.ZodString;
|
|
42
48
|
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
43
49
|
}, z.core.$strip>]>>>;
|
|
44
|
-
output_schema: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
45
|
-
input_schema: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
46
|
-
conflicted: z.ZodBoolean;
|
|
47
|
-
conflicted_reason: z.ZodNullable<z.ZodString>;
|
|
48
|
-
uses: z.ZodArray<z.ZodString>;
|
|
49
|
-
used_by: z.ZodArray<z.ZodString>;
|
|
50
50
|
}, z.core.$strip>>;
|
|
51
51
|
/** `GET /api/presets/{name}` — the record plus the active version's baked kwargs. */
|
|
52
52
|
export declare const presetDetail: z.ZodObject<{
|
|
53
|
-
|
|
53
|
+
active_version: z.ZodNumber;
|
|
54
54
|
base_tool: z.ZodString;
|
|
55
|
+
conflicted: z.ZodBoolean;
|
|
56
|
+
conflicted_reason: z.ZodNullable<z.ZodString>;
|
|
55
57
|
description: z.ZodString;
|
|
56
|
-
|
|
58
|
+
fixed_kwargs: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
59
|
+
input_schema: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
60
|
+
name: z.ZodString;
|
|
61
|
+
output_schema: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
62
|
+
used_by: z.ZodArray<z.ZodString>;
|
|
63
|
+
uses: z.ZodArray<z.ZodString>;
|
|
57
64
|
extensions: z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
58
65
|
name: z.ZodString;
|
|
59
66
|
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
60
67
|
}, z.core.$strip>]>>>;
|
|
61
|
-
output_schema: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
62
|
-
input_schema: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
63
|
-
conflicted: z.ZodBoolean;
|
|
64
|
-
conflicted_reason: z.ZodNullable<z.ZodString>;
|
|
65
|
-
uses: z.ZodArray<z.ZodString>;
|
|
66
|
-
used_by: z.ZodArray<z.ZodString>;
|
|
67
|
-
fixed_kwargs: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
68
68
|
}, z.core.$strip>;
|
|
69
69
|
export type PresetDetail = z.infer<typeof presetDetail>;
|
|
70
70
|
/**
|
|
@@ -74,6 +74,9 @@ export type PresetDetail = z.infer<typeof presetDetail>;
|
|
|
74
74
|
* removed record-level categorization and from the tool_meta overlay.
|
|
75
75
|
*/
|
|
76
76
|
export declare const presetVersion: z.ZodObject<{
|
|
77
|
+
created_at: z.ZodString;
|
|
78
|
+
is_current: z.ZodDefault<z.ZodBoolean>;
|
|
79
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
77
80
|
version: z.ZodNumber;
|
|
78
81
|
body: z.ZodObject<{
|
|
79
82
|
base_tool: z.ZodString;
|
|
@@ -90,22 +93,22 @@ export declare const presetVersion: z.ZodObject<{
|
|
|
90
93
|
id: z.ZodOptional<z.ZodString>;
|
|
91
94
|
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
92
95
|
}, z.core.$strict>, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>>;
|
|
93
|
-
state_binding: z.ZodDefault<z.
|
|
96
|
+
state_binding: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
94
97
|
states: z.ZodArray<z.ZodObject<{
|
|
95
98
|
input_injections: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
96
99
|
into: z.ZodString;
|
|
97
|
-
jq: z.ZodDefault<z.
|
|
100
|
+
jq: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
98
101
|
content: z.ZodOptional<z.ZodString>;
|
|
99
102
|
id: z.ZodOptional<z.ZodString>;
|
|
100
103
|
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
101
|
-
}, z.core.$strict
|
|
102
|
-
template_jq: z.ZodDefault<z.
|
|
104
|
+
}, z.core.$strict>>>;
|
|
105
|
+
template_jq: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
103
106
|
}, z.core.$strict>>>;
|
|
104
|
-
scope_expr: z.ZodDefault<z.
|
|
107
|
+
scope_expr: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
105
108
|
content: z.ZodOptional<z.ZodString>;
|
|
106
109
|
id: z.ZodOptional<z.ZodString>;
|
|
107
110
|
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
108
|
-
}, z.core.$strict
|
|
111
|
+
}, z.core.$strict>>>;
|
|
109
112
|
state: z.ZodString;
|
|
110
113
|
subject_expr: z.ZodObject<{
|
|
111
114
|
content: z.ZodOptional<z.ZodString>;
|
|
@@ -114,32 +117,32 @@ export declare const presetVersion: z.ZodObject<{
|
|
|
114
117
|
}, z.core.$strict>;
|
|
115
118
|
templates: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
116
119
|
updates: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
117
|
-
adapter: z.ZodDefault<z.
|
|
120
|
+
adapter: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
118
121
|
content: z.ZodOptional<z.ZodString>;
|
|
119
122
|
id: z.ZodOptional<z.ZodString>;
|
|
120
123
|
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
121
|
-
}, z.core.$strict
|
|
122
|
-
jq: z.ZodDefault<z.
|
|
124
|
+
}, z.core.$strict>>>;
|
|
125
|
+
jq: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
123
126
|
content: z.ZodOptional<z.ZodString>;
|
|
124
127
|
id: z.ZodOptional<z.ZodString>;
|
|
125
128
|
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
126
|
-
}, z.core.$strict
|
|
127
|
-
op_id: z.ZodDefault<z.
|
|
129
|
+
}, z.core.$strict>>>;
|
|
130
|
+
op_id: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
128
131
|
content: z.ZodOptional<z.ZodString>;
|
|
129
132
|
id: z.ZodOptional<z.ZodString>;
|
|
130
133
|
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
131
|
-
}, z.core.$strict
|
|
132
|
-
template_jq: z.ZodDefault<z.
|
|
134
|
+
}, z.core.$strict>>>;
|
|
135
|
+
template_jq: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
133
136
|
}, z.core.$strict>>>;
|
|
134
137
|
}, z.core.$strict>>;
|
|
135
|
-
}, z.core.$strict
|
|
138
|
+
}, z.core.$strict>>>;
|
|
136
139
|
}, z.core.$strip>;
|
|
137
|
-
tags: z.ZodArray<z.ZodString>;
|
|
138
|
-
created_at: z.ZodString;
|
|
139
|
-
is_current: z.ZodBoolean;
|
|
140
140
|
}, z.core.$strip>;
|
|
141
141
|
export type PresetVersion = z.infer<typeof presetVersion>;
|
|
142
142
|
export declare const presetVersionList: z.ZodArray<z.ZodObject<{
|
|
143
|
+
created_at: z.ZodString;
|
|
144
|
+
is_current: z.ZodDefault<z.ZodBoolean>;
|
|
145
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
143
146
|
version: z.ZodNumber;
|
|
144
147
|
body: z.ZodObject<{
|
|
145
148
|
base_tool: z.ZodString;
|
|
@@ -156,22 +159,22 @@ export declare const presetVersionList: z.ZodArray<z.ZodObject<{
|
|
|
156
159
|
id: z.ZodOptional<z.ZodString>;
|
|
157
160
|
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
158
161
|
}, z.core.$strict>, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodNull]>>;
|
|
159
|
-
state_binding: z.ZodDefault<z.
|
|
162
|
+
state_binding: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
160
163
|
states: z.ZodArray<z.ZodObject<{
|
|
161
164
|
input_injections: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
162
165
|
into: z.ZodString;
|
|
163
|
-
jq: z.ZodDefault<z.
|
|
166
|
+
jq: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
164
167
|
content: z.ZodOptional<z.ZodString>;
|
|
165
168
|
id: z.ZodOptional<z.ZodString>;
|
|
166
169
|
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
167
|
-
}, z.core.$strict
|
|
168
|
-
template_jq: z.ZodDefault<z.
|
|
170
|
+
}, z.core.$strict>>>;
|
|
171
|
+
template_jq: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
169
172
|
}, z.core.$strict>>>;
|
|
170
|
-
scope_expr: z.ZodDefault<z.
|
|
173
|
+
scope_expr: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
171
174
|
content: z.ZodOptional<z.ZodString>;
|
|
172
175
|
id: z.ZodOptional<z.ZodString>;
|
|
173
176
|
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
174
|
-
}, z.core.$strict
|
|
177
|
+
}, z.core.$strict>>>;
|
|
175
178
|
state: z.ZodString;
|
|
176
179
|
subject_expr: z.ZodObject<{
|
|
177
180
|
content: z.ZodOptional<z.ZodString>;
|
|
@@ -180,45 +183,87 @@ export declare const presetVersionList: z.ZodArray<z.ZodObject<{
|
|
|
180
183
|
}, z.core.$strict>;
|
|
181
184
|
templates: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
182
185
|
updates: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
183
|
-
adapter: z.ZodDefault<z.
|
|
186
|
+
adapter: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
184
187
|
content: z.ZodOptional<z.ZodString>;
|
|
185
188
|
id: z.ZodOptional<z.ZodString>;
|
|
186
189
|
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
187
|
-
}, z.core.$strict
|
|
188
|
-
jq: z.ZodDefault<z.
|
|
190
|
+
}, z.core.$strict>>>;
|
|
191
|
+
jq: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
189
192
|
content: z.ZodOptional<z.ZodString>;
|
|
190
193
|
id: z.ZodOptional<z.ZodString>;
|
|
191
194
|
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
192
|
-
}, z.core.$strict
|
|
193
|
-
op_id: z.ZodDefault<z.
|
|
195
|
+
}, z.core.$strict>>>;
|
|
196
|
+
op_id: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
194
197
|
content: z.ZodOptional<z.ZodString>;
|
|
195
198
|
id: z.ZodOptional<z.ZodString>;
|
|
196
199
|
kwargs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
197
|
-
}, z.core.$strict
|
|
198
|
-
template_jq: z.ZodDefault<z.
|
|
200
|
+
}, z.core.$strict>>>;
|
|
201
|
+
template_jq: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
199
202
|
}, z.core.$strict>>>;
|
|
200
203
|
}, z.core.$strict>>;
|
|
201
|
-
}, z.core.$strict
|
|
204
|
+
}, z.core.$strict>>>;
|
|
202
205
|
}, z.core.$strip>;
|
|
203
|
-
tags: z.ZodArray<z.ZodString>;
|
|
204
|
-
created_at: z.ZodString;
|
|
205
|
-
is_current: z.ZodBoolean;
|
|
206
206
|
}, z.core.$strip>>;
|
|
207
207
|
/** `POST /api/presets/{name}/rollback` — the re-pointed active version. */
|
|
208
208
|
export declare const presetRollback: z.ZodObject<{
|
|
209
|
-
name: z.ZodString;
|
|
210
209
|
active_version: z.ZodNumber;
|
|
210
|
+
fanout: z.ZodObject<{
|
|
211
|
+
error: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
212
|
+
local_only: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
|
213
|
+
mode: z.ZodString;
|
|
214
|
+
note: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
215
|
+
op: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
216
|
+
reachable: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
|
217
|
+
results: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
218
|
+
detail: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
219
|
+
error: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
220
|
+
name: z.ZodString;
|
|
221
|
+
outcome: z.ZodString;
|
|
222
|
+
payload: z.ZodDefault<z.ZodNullable<z.ZodUnknown>>;
|
|
223
|
+
}, z.core.$strip>>>>;
|
|
224
|
+
}, z.core.$strip>;
|
|
225
|
+
name: z.ZodString;
|
|
211
226
|
}, z.core.$strip>;
|
|
212
227
|
/** `DELETE /api/presets/{name}` — the removed preset. */
|
|
213
228
|
export declare const presetDeleted: z.ZodObject<{
|
|
229
|
+
deleted: z.ZodBoolean;
|
|
230
|
+
fanout: z.ZodObject<{
|
|
231
|
+
error: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
232
|
+
local_only: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
|
233
|
+
mode: z.ZodString;
|
|
234
|
+
note: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
235
|
+
op: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
236
|
+
reachable: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
|
237
|
+
results: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
238
|
+
detail: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
239
|
+
error: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
240
|
+
name: z.ZodString;
|
|
241
|
+
outcome: z.ZodString;
|
|
242
|
+
payload: z.ZodDefault<z.ZodNullable<z.ZodUnknown>>;
|
|
243
|
+
}, z.core.$strip>>>>;
|
|
244
|
+
}, z.core.$strip>;
|
|
214
245
|
name: z.ZodString;
|
|
215
|
-
deleted: z.ZodLiteral<true>;
|
|
216
246
|
}, z.core.$strip>;
|
|
217
247
|
/** `POST /api/presets/{name}/rename` — the re-keyed record identity. */
|
|
218
248
|
export declare const presetRenamed: z.ZodObject<{
|
|
249
|
+
active_version: z.ZodNumber;
|
|
250
|
+
fanout: z.ZodObject<{
|
|
251
|
+
error: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
252
|
+
local_only: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
|
253
|
+
mode: z.ZodString;
|
|
254
|
+
note: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
255
|
+
op: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
256
|
+
reachable: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
|
257
|
+
results: z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
258
|
+
detail: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
259
|
+
error: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
260
|
+
name: z.ZodString;
|
|
261
|
+
outcome: z.ZodString;
|
|
262
|
+
payload: z.ZodDefault<z.ZodNullable<z.ZodUnknown>>;
|
|
263
|
+
}, z.core.$strip>>>>;
|
|
264
|
+
}, z.core.$strip>;
|
|
219
265
|
name: z.ZodString;
|
|
220
266
|
renamed_from: z.ZodString;
|
|
221
|
-
active_version: z.ZodNumber;
|
|
222
267
|
}, z.core.$strip>;
|
|
223
268
|
export type PresetRenamed = z.infer<typeof presetRenamed>;
|
|
224
269
|
/**
|
|
@@ -239,8 +284,8 @@ export type PresetReferees = z.infer<typeof presetReferees>;
|
|
|
239
284
|
* `ApiSchemaError`.
|
|
240
285
|
*/
|
|
241
286
|
export declare const presetValidation: z.ZodObject<{
|
|
242
|
-
valid: z.ZodBoolean;
|
|
243
287
|
error: z.ZodNullable<z.ZodString>;
|
|
288
|
+
valid: z.ZodBoolean;
|
|
244
289
|
}, z.core.$strip>;
|
|
245
290
|
export type PresetValidation = z.infer<typeof presetValidation>;
|
|
246
291
|
/**
|
|
@@ -251,8 +296,8 @@ export type PresetValidation = z.infer<typeof presetValidation>;
|
|
|
251
296
|
*/
|
|
252
297
|
export declare const presetVersionTags: z.ZodObject<{
|
|
253
298
|
name: z.ZodString;
|
|
254
|
-
version: z.ZodNumber;
|
|
255
299
|
tags: z.ZodArray<z.ZodString>;
|
|
300
|
+
version: z.ZodNumber;
|
|
256
301
|
}, z.core.$strip>;
|
|
257
302
|
export type PresetVersionTags = z.infer<typeof presetVersionTags>;
|
|
258
303
|
//# sourceMappingURL=presets.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"presets.d.ts","sourceRoot":"","sources":["../../src/schemas/presets.ts"],"names":[],"mappings":"AAAA,8DAA8D;AAC9D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"presets.d.ts","sourceRoot":"","sources":["../../src/schemas/presets.ts"],"names":[],"mappings":"AAAA,8DAA8D;AAC9D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,2EAA2E;AAC3E,eAAO,MAAM,gBAAgB;;;qBAA2C,CAAC;AAEzE;;;;;;;;;GASG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;iBAAoE,CAAC;AAC9F,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAExD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;kBAAwB,CAAC;AAEhD,qFAAqF;AACrF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;iBAAoE,CAAC;AAC9F,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAExD;;;;;GAKG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAuD,CAAC;AAClF,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAE1D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAAyB,CAAC;AAExD,2EAA2E;AAC3E,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;iBAA+B,CAAC;AAE3D,yDAAyD;AACzD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;iBAA6B,CAAC;AAExD,wEAAwE;AACxE,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;iBAA6B,CAAC;AACxD,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAE1D;;;;;GAKG;AACH,eAAO,MAAM,cAAc;;;iBAA+B,CAAC;AAC3D,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB;;;iBAAgC,CAAC;AAC9D,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEhE;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB;;;;iBAAkC,CAAC;AACjE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
|
package/dist/schemas/presets.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
/** Preset record, version and validation response schemas. */
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
+
import * as openapi from '../generated/openapi-schemas';
|
|
3
4
|
import { presetExtensionElement } from './extensions';
|
|
4
5
|
import { presetBody } from './served';
|
|
6
|
+
// The extension combos and the version body are hand-typed: the spec publishes a
|
|
7
|
+
// config-bearing element and a version body as open objects.
|
|
5
8
|
/** A list of extension COMBOS — each combo an ordered list of elements. */
|
|
6
9
|
export const presetExtensions = z.array(z.array(presetExtensionElement));
|
|
7
10
|
/**
|
|
@@ -14,82 +17,43 @@ export const presetExtensions = z.array(z.array(presetExtensionElement));
|
|
|
14
17
|
* (`GET /api/tool-meta`), never on the record. A drift throws `ApiSchemaError`;
|
|
15
18
|
* nothing is coerced.
|
|
16
19
|
*/
|
|
17
|
-
export const presetRecord =
|
|
18
|
-
name: z.string(),
|
|
19
|
-
base_tool: z.string(),
|
|
20
|
-
description: z.string(),
|
|
21
|
-
active_version: z.number(),
|
|
22
|
-
extensions: presetExtensions,
|
|
23
|
-
output_schema: z.record(z.string(), z.unknown()).nullable(),
|
|
24
|
-
input_schema: z.record(z.string(), z.unknown()).nullable(),
|
|
25
|
-
conflicted: z.boolean(),
|
|
26
|
-
// The human-readable cause a row is quarantined (its name collided with a
|
|
27
|
-
// foreign tool at boot), or `null` when the row is not conflicted. Rendered
|
|
28
|
-
// verbatim; nothing is coerced.
|
|
29
|
-
conflicted_reason: z.string().nullable(),
|
|
30
|
-
// Sorted preset-name cross-references: `uses` names the presets this one
|
|
31
|
-
// composes as tools; `used_by` names the presets that compose this one.
|
|
32
|
-
uses: z.array(z.string()),
|
|
33
|
-
used_by: z.array(z.string()),
|
|
34
|
-
});
|
|
20
|
+
export const presetRecord = openapi.presetRecordView.extend({ extensions: presetExtensions });
|
|
35
21
|
export const presetList = z.array(presetRecord);
|
|
36
22
|
/** `GET /api/presets/{name}` — the record plus the active version's baked kwargs. */
|
|
37
|
-
export const presetDetail =
|
|
38
|
-
fixed_kwargs: z.record(z.string(), z.unknown()),
|
|
39
|
-
});
|
|
23
|
+
export const presetDetail = openapi.presetDetailView.extend({ extensions: presetExtensions });
|
|
40
24
|
/**
|
|
41
25
|
* One immutable version row (`GET /api/presets/{name}/versions[/{version}]`).
|
|
42
26
|
* `is_current` flags the active version; `tags` here is the GENERIC per-version
|
|
43
27
|
* label list (kind-agnostic) — the only preset tags that remain, distinct from the
|
|
44
28
|
* removed record-level categorization and from the tool_meta overlay.
|
|
45
29
|
*/
|
|
46
|
-
export const presetVersion =
|
|
47
|
-
version: z.number(),
|
|
48
|
-
body: presetBody,
|
|
49
|
-
tags: z.array(z.string()),
|
|
50
|
-
created_at: z.string(),
|
|
51
|
-
is_current: z.boolean(),
|
|
52
|
-
});
|
|
30
|
+
export const presetVersion = openapi.documentVersion.extend({ body: presetBody });
|
|
53
31
|
export const presetVersionList = z.array(presetVersion);
|
|
54
32
|
/** `POST /api/presets/{name}/rollback` — the re-pointed active version. */
|
|
55
|
-
export const presetRollback =
|
|
33
|
+
export const presetRollback = openapi.presetRollbackResult;
|
|
56
34
|
/** `DELETE /api/presets/{name}` — the removed preset. */
|
|
57
|
-
export const presetDeleted =
|
|
35
|
+
export const presetDeleted = openapi.presetDeleteResult;
|
|
58
36
|
/** `POST /api/presets/{name}/rename` — the re-keyed record identity. */
|
|
59
|
-
export const presetRenamed =
|
|
60
|
-
name: z.string(),
|
|
61
|
-
renamed_from: z.string(),
|
|
62
|
-
active_version: z.number(),
|
|
63
|
-
});
|
|
37
|
+
export const presetRenamed = openapi.presetRenameResult;
|
|
64
38
|
/**
|
|
65
39
|
* `GET /api/presets/{name}/referees` — every OTHER preset whose active authored
|
|
66
40
|
* composition names this one as a tool (the referees a rename would strand). An
|
|
67
41
|
* empty list is the clean case; a non-empty list means a rename is blocked until
|
|
68
42
|
* those presets are updated. A drift throws `ApiSchemaError`.
|
|
69
43
|
*/
|
|
70
|
-
export const presetReferees =
|
|
71
|
-
name: z.string(),
|
|
72
|
-
referees: z.array(z.string()),
|
|
73
|
-
});
|
|
44
|
+
export const presetReferees = openapi.presetRefereesResult;
|
|
74
45
|
/**
|
|
75
46
|
* `POST /api/presets/validate` — the dry-run verdict for a preset draft. `valid`
|
|
76
47
|
* is the absence of an `error`; an invalid draft is a SUCCESSFUL validation (HTTP
|
|
77
48
|
* 200), so `error` carries the server's verbatim message. A drift throws
|
|
78
49
|
* `ApiSchemaError`.
|
|
79
50
|
*/
|
|
80
|
-
export const presetValidation =
|
|
81
|
-
valid: z.boolean(),
|
|
82
|
-
error: z.string().nullable(),
|
|
83
|
-
});
|
|
51
|
+
export const presetValidation = openapi.presetValidateVerdict;
|
|
84
52
|
/**
|
|
85
53
|
* `PUT /api/presets/{name}/versions/{version}/tags` — the re-annotated version.
|
|
86
54
|
* Version tags are labels on an immutable body, so this rebinds nothing; the
|
|
87
55
|
* response echoes the identity plus the new tag list. A drift throws
|
|
88
56
|
* `ApiSchemaError`.
|
|
89
57
|
*/
|
|
90
|
-
export const presetVersionTags =
|
|
91
|
-
name: z.string(),
|
|
92
|
-
version: z.number(),
|
|
93
|
-
tags: z.array(z.string()),
|
|
94
|
-
});
|
|
58
|
+
export const presetVersionTags = openapi.presetVersionTagsResult;
|
|
95
59
|
//# sourceMappingURL=presets.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"presets.js","sourceRoot":"","sources":["../../src/schemas/presets.ts"],"names":[],"mappings":"AAAA,8DAA8D;AAC9D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtC,2EAA2E;AAC3E,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,CAAC;AAEzE;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,
|
|
1
|
+
{"version":3,"file":"presets.js","sourceRoot":"","sources":["../../src/schemas/presets.ts"],"names":[],"mappings":"AAAA,8DAA8D;AAC9D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,OAAO,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtC,iFAAiF;AACjF,6DAA6D;AAE7D,2EAA2E;AAC3E,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,CAAC;AAEzE;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,OAAO,CAAC,gBAAgB,CAAC,MAAM,CAAC,EAAE,UAAU,EAAE,gBAAgB,EAAE,CAAC,CAAC;AAG9F,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;AAEhD,qFAAqF;AACrF,MAAM,CAAC,MAAM,YAAY,GAAG,OAAO,CAAC,gBAAgB,CAAC,MAAM,CAAC,EAAE,UAAU,EAAE,gBAAgB,EAAE,CAAC,CAAC;AAG9F;;;;;GAKG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,OAAO,CAAC,eAAe,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC,CAAC;AAGlF,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;AAExD,2EAA2E;AAC3E,MAAM,CAAC,MAAM,cAAc,GAAG,OAAO,CAAC,oBAAoB,CAAC;AAE3D,yDAAyD;AACzD,MAAM,CAAC,MAAM,aAAa,GAAG,OAAO,CAAC,kBAAkB,CAAC;AAExD,wEAAwE;AACxE,MAAM,CAAC,MAAM,aAAa,GAAG,OAAO,CAAC,kBAAkB,CAAC;AAGxD;;;;;GAKG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,OAAO,CAAC,oBAAoB,CAAC;AAG3D;;;;;GAKG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,OAAO,CAAC,qBAAqB,CAAC;AAG9D;;;;;GAKG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,OAAO,CAAC,uBAAuB,CAAC"}
|
|
@@ -1,54 +1,61 @@
|
|
|
1
1
|
/** Principal (identity) reference, row, listing and delete-result schemas. */
|
|
2
|
-
import { z } from 'zod';
|
|
2
|
+
import type { z } from 'zod';
|
|
3
3
|
/**
|
|
4
4
|
* A compact reference to a principal — the owner of a key, or the human behind a
|
|
5
5
|
* session — carried inline on payloads that name one.
|
|
6
6
|
*/
|
|
7
7
|
export declare const principalRef: z.ZodObject<{
|
|
8
|
-
|
|
8
|
+
display_name: z.ZodString;
|
|
9
9
|
kind: z.ZodEnum<{
|
|
10
10
|
human: "human";
|
|
11
11
|
service: "service";
|
|
12
12
|
}>;
|
|
13
|
-
|
|
13
|
+
user_id: z.ZodString;
|
|
14
14
|
}, z.core.$strip>;
|
|
15
15
|
export type PrincipalRef = z.infer<typeof principalRef>;
|
|
16
16
|
/**
|
|
17
|
-
* A principal
|
|
18
|
-
*
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
* A principal's kind: `human` (logs in interactively) or `service` (holds keys only,
|
|
18
|
+
* never logs in).
|
|
19
|
+
*/
|
|
20
|
+
export declare const principalKind: z.ZodEnum<{
|
|
21
|
+
human: "human";
|
|
22
|
+
service: "service";
|
|
23
|
+
}>;
|
|
24
|
+
export type PrincipalKind = z.infer<typeof principalKind>;
|
|
25
|
+
/**
|
|
26
|
+
* A principal row (`/api/auth/principals`). `created_by` is the principal that created
|
|
27
|
+
* this one, or `null` for the owner the setup door mints. `disabled` turns off every
|
|
28
|
+
* credential the principal owns. `created_at` is an ISO-8601 instant.
|
|
22
29
|
*/
|
|
23
30
|
export declare const principal: z.ZodObject<{
|
|
24
|
-
|
|
31
|
+
created_at: z.ZodString;
|
|
32
|
+
created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
disabled: z.ZodDefault<z.ZodBoolean>;
|
|
34
|
+
display_name: z.ZodString;
|
|
25
35
|
kind: z.ZodEnum<{
|
|
26
36
|
human: "human";
|
|
27
37
|
service: "service";
|
|
28
38
|
}>;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
disabled: z.ZodBoolean;
|
|
32
|
-
created_at: z.ZodString;
|
|
33
|
-
}, z.core.$strip>;
|
|
39
|
+
user_id: z.ZodString;
|
|
40
|
+
}, z.core.$strict>;
|
|
34
41
|
export type Principal = z.infer<typeof principal>;
|
|
35
42
|
/** The principals listing (`GET /api/auth/principals`). */
|
|
36
43
|
export declare const principalList: z.ZodArray<z.ZodObject<{
|
|
37
|
-
|
|
44
|
+
created_at: z.ZodString;
|
|
45
|
+
created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
46
|
+
disabled: z.ZodDefault<z.ZodBoolean>;
|
|
47
|
+
display_name: z.ZodString;
|
|
38
48
|
kind: z.ZodEnum<{
|
|
39
49
|
human: "human";
|
|
40
50
|
service: "service";
|
|
41
51
|
}>;
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
disabled: z.ZodBoolean;
|
|
45
|
-
created_at: z.ZodString;
|
|
46
|
-
}, z.core.$strip>>;
|
|
52
|
+
user_id: z.ZodString;
|
|
53
|
+
}, z.core.$strict>>;
|
|
47
54
|
export type PrincipalList = z.infer<typeof principalList>;
|
|
48
55
|
/** The delete result (`DELETE /api/auth/principals/{user_id}`). */
|
|
49
56
|
export declare const principalDeleted: z.ZodObject<{
|
|
50
|
-
user_id: z.ZodString;
|
|
51
57
|
deleted: z.ZodBoolean;
|
|
58
|
+
user_id: z.ZodString;
|
|
52
59
|
}, z.core.$strip>;
|
|
53
60
|
export type PrincipalDeleted = z.infer<typeof principalDeleted>;
|
|
54
61
|
//# sourceMappingURL=principals.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"principals.d.ts","sourceRoot":"","sources":["../../src/schemas/principals.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"principals.d.ts","sourceRoot":"","sources":["../../src/schemas/principals.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAI7B;;;GAGG;AACH,eAAO,MAAM,YAAY;;;;;;;iBAAuB,CAAC;AACjD,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAExD;;;GAGG;AACH,eAAO,MAAM,aAAa;;;EAA+B,CAAC;AAC1D,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAE1D;;;;GAIG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;kBAAoB,CAAC;AAC3C,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC;AAElD,2DAA2D;AAC3D,eAAO,MAAM,aAAa;;;;;;;;;;mBAA2B,CAAC;AACtD,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAE1D,mEAAmE;AACnE,eAAO,MAAM,gBAAgB;;;iBAA2B,CAAC;AACzD,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
|