@opengeni/contracts 2.5.0-canary.2 → 2.7.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/dist/agent-topology.d.ts +292 -0
- package/dist/atlassian.js +6 -5
- package/dist/chunk-BCS7WHCK.js +139 -0
- package/dist/chunk-BCS7WHCK.js.map +1 -0
- package/dist/{chunk-4I7DWNRR.js → chunk-ILB4IYNN.js} +6977 -6701
- package/dist/chunk-ILB4IYNN.js.map +1 -0
- package/dist/connection-authority.js +6 -5
- package/dist/connection-authority.js.map +1 -1
- package/dist/editable-artifact-live.js +1 -1
- package/dist/editable-artifact-serialized-commit.js +1 -1
- package/dist/editable-artifacts.js +8 -8
- package/dist/google-drive.js +7 -6
- package/dist/google-drive.js.map +1 -1
- package/dist/index.d.ts +137 -140
- package/dist/index.js +155 -47
- package/dist/managed-auth-session-sets.d.ts +215 -0
- package/dist/managed-auth-session-sets.js +166 -0
- package/dist/managed-auth-session-sets.js.map +1 -0
- package/dist/organization-recovery.d.ts +337 -0
- package/dist/organization-recovery.js +37 -0
- package/dist/organization-recovery.js.map +1 -0
- package/dist/personal-github.js +6 -5
- package/dist/personal-github.js.map +1 -1
- package/dist/session-topology-primitives.d.ts +22 -0
- package/dist/work-claims.d.ts +411 -0
- package/package.json +9 -1
- package/src/agent-topology.ts +69 -0
- package/src/image-generation.ts +8 -2
- package/src/index.ts +69 -81
- package/src/managed-auth-session-sets.ts +208 -0
- package/src/organization-recovery.ts +186 -0
- package/src/session-topology-primitives.ts +21 -0
- package/src/work-claims.ts +266 -0
- package/dist/chunk-4I7DWNRR.js.map +0 -1
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
// src/managed-auth-session-sets.ts
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
var MANAGED_AUTH_SESSION_SET_MAX_SLOTS = 8;
|
|
4
|
+
var MANAGED_AUTH_TRANSACTION_TTL_SECONDS = 600;
|
|
5
|
+
var MANAGED_AUTH_RETURN_INTENT_MAX_BYTES = 2048;
|
|
6
|
+
var MANAGED_AUTH_SESSION_SET_API_CONTRACT_HEADER = "x-opengeni-api-contract";
|
|
7
|
+
var MANAGED_AUTH_SESSION_SET_API_CONTRACT_REVISION = "2026-08-personal-only-organization-setup-v1";
|
|
8
|
+
var ManagedAuthSessionSetMode = z.enum(["legacy", "dual", "broker"]);
|
|
9
|
+
var ManagedAuthLoginSlotState = z.enum(["active", "reauth_required"]);
|
|
10
|
+
var ManagedAuthVerifiedClaim = z.object({
|
|
11
|
+
kind: z.literal("email"),
|
|
12
|
+
value: z.string().email().max(320)
|
|
13
|
+
});
|
|
14
|
+
var ManagedAuthLoginSlot = z.object({
|
|
15
|
+
id: z.string().uuid(),
|
|
16
|
+
displayName: z.string().min(1).max(256),
|
|
17
|
+
verifiedClaim: ManagedAuthVerifiedClaim,
|
|
18
|
+
state: ManagedAuthLoginSlotState
|
|
19
|
+
});
|
|
20
|
+
var ManagedAuthSessionSetState = z.enum(["ready", "actor_change_required"]);
|
|
21
|
+
var ManagedAuthSessionSetProjection = z.object({
|
|
22
|
+
mode: ManagedAuthSessionSetMode,
|
|
23
|
+
generation: z.string().regex(/^[1-9][0-9]*$/),
|
|
24
|
+
actorEpoch: z.string().regex(/^[1-9][0-9]*$/),
|
|
25
|
+
csrfToken: z.string().min(32).max(512),
|
|
26
|
+
selectedSlotId: z.string().uuid().nullable(),
|
|
27
|
+
state: ManagedAuthSessionSetState,
|
|
28
|
+
slots: z.array(ManagedAuthLoginSlot).max(MANAGED_AUTH_SESSION_SET_MAX_SLOTS)
|
|
29
|
+
});
|
|
30
|
+
var ManagedAuthOperationIdentity = z.object({
|
|
31
|
+
operationId: z.string().uuid(),
|
|
32
|
+
expectedGeneration: z.string().regex(/^[1-9][0-9]*$/)
|
|
33
|
+
});
|
|
34
|
+
var BootstrapManagedAuthSessionSetRequest = ManagedAuthOperationIdentity;
|
|
35
|
+
var ManagedAuthReturnIntent = z.string().min(1).superRefine((value, context) => {
|
|
36
|
+
if (new TextEncoder().encode(value).byteLength > MANAGED_AUTH_RETURN_INTENT_MAX_BYTES) {
|
|
37
|
+
context.addIssue({ code: "custom", message: "return intent exceeds its UTF-8 byte limit" });
|
|
38
|
+
}
|
|
39
|
+
if (!value.startsWith("/") || value.startsWith("//") || value.includes("?") || value.includes("#") || /[\u0000-\u001f\u007f\\]/.test(value)) {
|
|
40
|
+
context.addIssue({
|
|
41
|
+
code: "custom",
|
|
42
|
+
message: "return intent must be a safe same-origin path"
|
|
43
|
+
});
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
try {
|
|
47
|
+
const parsed = new URL(value, "https://opengeni.invalid");
|
|
48
|
+
const uuid = "[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}";
|
|
49
|
+
const supportedPath = new RegExp(
|
|
50
|
+
`^/(?:sessions/${uuid}|workspaces/${uuid}(?:/sessions(?:/${uuid})?)?)$`,
|
|
51
|
+
"i"
|
|
52
|
+
);
|
|
53
|
+
if (parsed.origin !== "https://opengeni.invalid" || parsed.username || parsed.password || parsed.search || parsed.hash || !supportedPath.test(value) || parsed.pathname !== value) {
|
|
54
|
+
context.addIssue({
|
|
55
|
+
code: "custom",
|
|
56
|
+
message: "return intent contains unsafe authority data"
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
} catch {
|
|
60
|
+
context.addIssue({
|
|
61
|
+
code: "custom",
|
|
62
|
+
message: "return intent is not a valid same-origin path"
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
var BeginManagedAuthLoginTransactionRequest = ManagedAuthOperationIdentity.extend({
|
|
67
|
+
kind: z.enum(["add", "reauth"]),
|
|
68
|
+
slotId: z.string().uuid().optional(),
|
|
69
|
+
returnIntent: ManagedAuthReturnIntent.optional()
|
|
70
|
+
}).superRefine((value, context) => {
|
|
71
|
+
if (value.kind === "reauth" !== Boolean(value.slotId)) {
|
|
72
|
+
context.addIssue({
|
|
73
|
+
code: "custom",
|
|
74
|
+
path: ["slotId"],
|
|
75
|
+
message: "reauth requires exactly one slot id and add forbids one"
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
var ManagedAuthLoginTransaction = z.object({
|
|
80
|
+
id: z.string().uuid(),
|
|
81
|
+
kind: z.enum(["add", "reauth"]),
|
|
82
|
+
expiresAt: z.string().datetime(),
|
|
83
|
+
returnIntentId: z.string().uuid().nullable()
|
|
84
|
+
});
|
|
85
|
+
var CompleteManagedAuthEmailPasswordTransactionRequest = ManagedAuthOperationIdentity.extend({
|
|
86
|
+
transactionId: z.string().uuid(),
|
|
87
|
+
email: z.string().email().max(320),
|
|
88
|
+
password: z.string().min(1).max(1024)
|
|
89
|
+
});
|
|
90
|
+
var CompleteManagedAuthLoginTransactionResponse = z.object({
|
|
91
|
+
projection: ManagedAuthSessionSetProjection,
|
|
92
|
+
returnIntent: ManagedAuthReturnIntent.nullable()
|
|
93
|
+
});
|
|
94
|
+
var CancelManagedAuthLoginTransactionRequest = ManagedAuthOperationIdentity.extend({
|
|
95
|
+
transactionId: z.string().uuid()
|
|
96
|
+
});
|
|
97
|
+
var SelectManagedAuthLoginSlotRequest = ManagedAuthOperationIdentity.extend({
|
|
98
|
+
slotId: z.string().uuid()
|
|
99
|
+
});
|
|
100
|
+
var LogoutManagedAuthLoginSlotRequest = ManagedAuthOperationIdentity.extend({
|
|
101
|
+
slotId: z.string().uuid(),
|
|
102
|
+
replacementSlotId: z.string().uuid().nullable()
|
|
103
|
+
});
|
|
104
|
+
var LogoutManagedAuthSessionSetRequest = ManagedAuthOperationIdentity;
|
|
105
|
+
var ManagedAuthLogoutAllReceipt = z.object({
|
|
106
|
+
generation: z.string().regex(/^[1-9][0-9]*$/),
|
|
107
|
+
actorEpoch: z.string().regex(/^[1-9][0-9]*$/),
|
|
108
|
+
state: z.literal("logged_out")
|
|
109
|
+
});
|
|
110
|
+
var ResolveManagedAuthDeepLinkRequest = z.object({
|
|
111
|
+
path: ManagedAuthReturnIntent
|
|
112
|
+
});
|
|
113
|
+
var ManagedAuthDeepLinkResolution = z.discriminatedUnion("kind", [
|
|
114
|
+
z.object({ kind: z.literal("current") }),
|
|
115
|
+
z.object({ kind: z.literal("switch_required"), slot: ManagedAuthLoginSlot }),
|
|
116
|
+
z.object({ kind: z.literal("unavailable") })
|
|
117
|
+
]);
|
|
118
|
+
var ManagedAuthSessionSetErrorCode = z.enum([
|
|
119
|
+
"actor_change_required",
|
|
120
|
+
"actor_mutation_in_flight",
|
|
121
|
+
"api_contract_changed",
|
|
122
|
+
"browser_session_set_required",
|
|
123
|
+
"browser_session_set_unavailable",
|
|
124
|
+
"generation_conflict",
|
|
125
|
+
"invalid_browser_session_set_request",
|
|
126
|
+
"invalid_transaction",
|
|
127
|
+
"managed_authentication_required",
|
|
128
|
+
"managed_authentication_unavailable",
|
|
129
|
+
"operation_outcome_unknown",
|
|
130
|
+
"operation_reused",
|
|
131
|
+
"origin_rejected",
|
|
132
|
+
"login_transaction_rate_limited",
|
|
133
|
+
"provider_route_blocked",
|
|
134
|
+
"slot_limit_reached",
|
|
135
|
+
"slot_already_exists",
|
|
136
|
+
"slot_unavailable"
|
|
137
|
+
]);
|
|
138
|
+
export {
|
|
139
|
+
BeginManagedAuthLoginTransactionRequest,
|
|
140
|
+
BootstrapManagedAuthSessionSetRequest,
|
|
141
|
+
CancelManagedAuthLoginTransactionRequest,
|
|
142
|
+
CompleteManagedAuthEmailPasswordTransactionRequest,
|
|
143
|
+
CompleteManagedAuthLoginTransactionResponse,
|
|
144
|
+
LogoutManagedAuthLoginSlotRequest,
|
|
145
|
+
LogoutManagedAuthSessionSetRequest,
|
|
146
|
+
MANAGED_AUTH_RETURN_INTENT_MAX_BYTES,
|
|
147
|
+
MANAGED_AUTH_SESSION_SET_API_CONTRACT_HEADER,
|
|
148
|
+
MANAGED_AUTH_SESSION_SET_API_CONTRACT_REVISION,
|
|
149
|
+
MANAGED_AUTH_SESSION_SET_MAX_SLOTS,
|
|
150
|
+
MANAGED_AUTH_TRANSACTION_TTL_SECONDS,
|
|
151
|
+
ManagedAuthDeepLinkResolution,
|
|
152
|
+
ManagedAuthLoginSlot,
|
|
153
|
+
ManagedAuthLoginSlotState,
|
|
154
|
+
ManagedAuthLoginTransaction,
|
|
155
|
+
ManagedAuthLogoutAllReceipt,
|
|
156
|
+
ManagedAuthOperationIdentity,
|
|
157
|
+
ManagedAuthReturnIntent,
|
|
158
|
+
ManagedAuthSessionSetErrorCode,
|
|
159
|
+
ManagedAuthSessionSetMode,
|
|
160
|
+
ManagedAuthSessionSetProjection,
|
|
161
|
+
ManagedAuthSessionSetState,
|
|
162
|
+
ManagedAuthVerifiedClaim,
|
|
163
|
+
ResolveManagedAuthDeepLinkRequest,
|
|
164
|
+
SelectManagedAuthLoginSlotRequest
|
|
165
|
+
};
|
|
166
|
+
//# sourceMappingURL=managed-auth-session-sets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/managed-auth-session-sets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nexport const MANAGED_AUTH_SESSION_SET_MAX_SLOTS = 8 as const;\nexport const MANAGED_AUTH_TRANSACTION_TTL_SECONDS = 600 as const;\nexport const MANAGED_AUTH_RETURN_INTENT_MAX_BYTES = 2_048 as const;\nexport const MANAGED_AUTH_SESSION_SET_API_CONTRACT_HEADER = \"x-opengeni-api-contract\" as const;\nexport const MANAGED_AUTH_SESSION_SET_API_CONTRACT_REVISION =\n \"2026-08-personal-only-organization-setup-v1\" as const;\n\nexport const ManagedAuthSessionSetMode = z.enum([\"legacy\", \"dual\", \"broker\"]);\nexport type ManagedAuthSessionSetMode = z.infer<typeof ManagedAuthSessionSetMode>;\n\nexport const ManagedAuthLoginSlotState = z.enum([\"active\", \"reauth_required\"]);\nexport type ManagedAuthLoginSlotState = z.infer<typeof ManagedAuthLoginSlotState>;\n\nexport const ManagedAuthVerifiedClaim = z.object({\n kind: z.literal(\"email\"),\n value: z.string().email().max(320),\n});\nexport type ManagedAuthVerifiedClaim = z.infer<typeof ManagedAuthVerifiedClaim>;\n\n/** Secret-free, browser-safe summary. Provider session ids and tokens never enter this shape. */\nexport const ManagedAuthLoginSlot = z.object({\n id: z.string().uuid(),\n displayName: z.string().min(1).max(256),\n verifiedClaim: ManagedAuthVerifiedClaim,\n state: ManagedAuthLoginSlotState,\n});\nexport type ManagedAuthLoginSlot = z.infer<typeof ManagedAuthLoginSlot>;\n\nexport const ManagedAuthSessionSetState = z.enum([\"ready\", \"actor_change_required\"]);\nexport type ManagedAuthSessionSetState = z.infer<typeof ManagedAuthSessionSetState>;\n\nexport const ManagedAuthSessionSetProjection = z.object({\n mode: ManagedAuthSessionSetMode,\n generation: z.string().regex(/^[1-9][0-9]*$/),\n actorEpoch: z.string().regex(/^[1-9][0-9]*$/),\n csrfToken: z.string().min(32).max(512),\n selectedSlotId: z.string().uuid().nullable(),\n state: ManagedAuthSessionSetState,\n slots: z.array(ManagedAuthLoginSlot).max(MANAGED_AUTH_SESSION_SET_MAX_SLOTS),\n});\nexport type ManagedAuthSessionSetProjection = z.infer<typeof ManagedAuthSessionSetProjection>;\n\nexport const ManagedAuthOperationIdentity = z.object({\n operationId: z.string().uuid(),\n expectedGeneration: z.string().regex(/^[1-9][0-9]*$/),\n});\nexport type ManagedAuthOperationIdentity = z.infer<typeof ManagedAuthOperationIdentity>;\n\nexport const BootstrapManagedAuthSessionSetRequest = ManagedAuthOperationIdentity;\nexport type BootstrapManagedAuthSessionSetRequest = z.infer<\n typeof BootstrapManagedAuthSessionSetRequest\n>;\n\nexport const ManagedAuthReturnIntent = z\n .string()\n .min(1)\n .superRefine((value, context) => {\n if (new TextEncoder().encode(value).byteLength > MANAGED_AUTH_RETURN_INTENT_MAX_BYTES) {\n context.addIssue({ code: \"custom\", message: \"return intent exceeds its UTF-8 byte limit\" });\n }\n if (\n !value.startsWith(\"/\") ||\n value.startsWith(\"//\") ||\n value.includes(\"?\") ||\n value.includes(\"#\") ||\n /[\\u0000-\\u001f\\u007f\\\\]/.test(value)\n ) {\n context.addIssue({\n code: \"custom\",\n message: \"return intent must be a safe same-origin path\",\n });\n return;\n }\n try {\n const parsed = new URL(value, \"https://opengeni.invalid\");\n const uuid = \"[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}\";\n const supportedPath = new RegExp(\n `^/(?:sessions/${uuid}|workspaces/${uuid}(?:/sessions(?:/${uuid})?)?)$`,\n \"i\",\n );\n if (\n parsed.origin !== \"https://opengeni.invalid\" ||\n parsed.username ||\n parsed.password ||\n parsed.search ||\n parsed.hash ||\n !supportedPath.test(value) ||\n parsed.pathname !== value\n ) {\n context.addIssue({\n code: \"custom\",\n message: \"return intent contains unsafe authority data\",\n });\n }\n } catch {\n context.addIssue({\n code: \"custom\",\n message: \"return intent is not a valid same-origin path\",\n });\n }\n });\n\nexport const BeginManagedAuthLoginTransactionRequest = ManagedAuthOperationIdentity.extend({\n kind: z.enum([\"add\", \"reauth\"]),\n slotId: z.string().uuid().optional(),\n returnIntent: ManagedAuthReturnIntent.optional(),\n}).superRefine((value, context) => {\n if ((value.kind === \"reauth\") !== Boolean(value.slotId)) {\n context.addIssue({\n code: \"custom\",\n path: [\"slotId\"],\n message: \"reauth requires exactly one slot id and add forbids one\",\n });\n }\n});\nexport type BeginManagedAuthLoginTransactionRequest = z.infer<\n typeof BeginManagedAuthLoginTransactionRequest\n>;\n\nexport const ManagedAuthLoginTransaction = z.object({\n id: z.string().uuid(),\n kind: z.enum([\"add\", \"reauth\"]),\n expiresAt: z.string().datetime(),\n returnIntentId: z.string().uuid().nullable(),\n});\nexport type ManagedAuthLoginTransaction = z.infer<typeof ManagedAuthLoginTransaction>;\n\nexport const CompleteManagedAuthEmailPasswordTransactionRequest =\n ManagedAuthOperationIdentity.extend({\n transactionId: z.string().uuid(),\n email: z.string().email().max(320),\n password: z.string().min(1).max(1_024),\n });\nexport type CompleteManagedAuthEmailPasswordTransactionRequest = z.infer<\n typeof CompleteManagedAuthEmailPasswordTransactionRequest\n>;\n\nexport const CompleteManagedAuthLoginTransactionResponse = z.object({\n projection: ManagedAuthSessionSetProjection,\n returnIntent: ManagedAuthReturnIntent.nullable(),\n});\nexport type CompleteManagedAuthLoginTransactionResponse = z.infer<\n typeof CompleteManagedAuthLoginTransactionResponse\n>;\n\nexport const CancelManagedAuthLoginTransactionRequest = ManagedAuthOperationIdentity.extend({\n transactionId: z.string().uuid(),\n});\nexport type CancelManagedAuthLoginTransactionRequest = z.infer<\n typeof CancelManagedAuthLoginTransactionRequest\n>;\n\nexport const SelectManagedAuthLoginSlotRequest = ManagedAuthOperationIdentity.extend({\n slotId: z.string().uuid(),\n});\nexport type SelectManagedAuthLoginSlotRequest = z.infer<typeof SelectManagedAuthLoginSlotRequest>;\n\nexport const LogoutManagedAuthLoginSlotRequest = ManagedAuthOperationIdentity.extend({\n slotId: z.string().uuid(),\n replacementSlotId: z.string().uuid().nullable(),\n});\nexport type LogoutManagedAuthLoginSlotRequest = z.infer<typeof LogoutManagedAuthLoginSlotRequest>;\n\nexport const LogoutManagedAuthSessionSetRequest = ManagedAuthOperationIdentity;\nexport type LogoutManagedAuthSessionSetRequest = z.infer<typeof LogoutManagedAuthSessionSetRequest>;\n\nexport const ManagedAuthLogoutAllReceipt = z.object({\n generation: z.string().regex(/^[1-9][0-9]*$/),\n actorEpoch: z.string().regex(/^[1-9][0-9]*$/),\n state: z.literal(\"logged_out\"),\n});\nexport type ManagedAuthLogoutAllReceipt = z.infer<typeof ManagedAuthLogoutAllReceipt>;\n\nexport const ResolveManagedAuthDeepLinkRequest = z.object({\n path: ManagedAuthReturnIntent,\n});\nexport type ResolveManagedAuthDeepLinkRequest = z.infer<typeof ResolveManagedAuthDeepLinkRequest>;\n\nexport const ManagedAuthDeepLinkResolution = z.discriminatedUnion(\"kind\", [\n z.object({ kind: z.literal(\"current\") }),\n z.object({ kind: z.literal(\"switch_required\"), slot: ManagedAuthLoginSlot }),\n z.object({ kind: z.literal(\"unavailable\") }),\n]);\nexport type ManagedAuthDeepLinkResolution = z.infer<typeof ManagedAuthDeepLinkResolution>;\n\nexport const ManagedAuthSessionSetErrorCode = z.enum([\n \"actor_change_required\",\n \"actor_mutation_in_flight\",\n \"api_contract_changed\",\n \"browser_session_set_required\",\n \"browser_session_set_unavailable\",\n \"generation_conflict\",\n \"invalid_browser_session_set_request\",\n \"invalid_transaction\",\n \"managed_authentication_required\",\n \"managed_authentication_unavailable\",\n \"operation_outcome_unknown\",\n \"operation_reused\",\n \"origin_rejected\",\n \"login_transaction_rate_limited\",\n \"provider_route_blocked\",\n \"slot_limit_reached\",\n \"slot_already_exists\",\n \"slot_unavailable\",\n]);\nexport type ManagedAuthSessionSetErrorCode = z.infer<typeof ManagedAuthSessionSetErrorCode>;\n"],"mappings":"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","names":[]}
|
|
@@ -0,0 +1,337 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const OrganizationRecoveryPolicyState: z.ZodEnum<{
|
|
3
|
+
active: "active";
|
|
4
|
+
degraded: "degraded";
|
|
5
|
+
disabled: "disabled";
|
|
6
|
+
pending_acceptance: "pending_acceptance";
|
|
7
|
+
superseded: "superseded";
|
|
8
|
+
}>;
|
|
9
|
+
export type OrganizationRecoveryPolicyState = z.infer<typeof OrganizationRecoveryPolicyState>;
|
|
10
|
+
export declare const OrganizationRecoveryOperationState: z.ZodEnum<{
|
|
11
|
+
cancelled: "cancelled";
|
|
12
|
+
collecting: "collecting";
|
|
13
|
+
cooling: "cooling";
|
|
14
|
+
executed: "executed";
|
|
15
|
+
expired: "expired";
|
|
16
|
+
superseded: "superseded";
|
|
17
|
+
}>;
|
|
18
|
+
export type OrganizationRecoveryOperationState = z.infer<typeof OrganizationRecoveryOperationState>;
|
|
19
|
+
export declare const OrganizationRecoveryUnavailableReason: z.ZodEnum<{
|
|
20
|
+
degraded: "degraded";
|
|
21
|
+
disabled: "disabled";
|
|
22
|
+
identity_unavailable: "identity_unavailable";
|
|
23
|
+
no_policy: "no_policy";
|
|
24
|
+
pending_acceptance: "pending_acceptance";
|
|
25
|
+
}>;
|
|
26
|
+
export type OrganizationRecoveryUnavailableReason = z.infer<typeof OrganizationRecoveryUnavailableReason>;
|
|
27
|
+
export declare const OrganizationRecoveryMemberSummary: z.ZodObject<{
|
|
28
|
+
membershipId: z.ZodString;
|
|
29
|
+
name: z.ZodNullable<z.ZodString>;
|
|
30
|
+
email: z.ZodNullable<z.ZodString>;
|
|
31
|
+
}, z.core.$strict>;
|
|
32
|
+
export type OrganizationRecoveryMemberSummary = z.infer<typeof OrganizationRecoveryMemberSummary>;
|
|
33
|
+
export declare const OrganizationRecoveryCustodian: z.ZodObject<{
|
|
34
|
+
membershipId: z.ZodString;
|
|
35
|
+
name: z.ZodNullable<z.ZodString>;
|
|
36
|
+
email: z.ZodNullable<z.ZodString>;
|
|
37
|
+
ordinal: z.ZodNumber;
|
|
38
|
+
enrollmentState: z.ZodEnum<{
|
|
39
|
+
accepted: "accepted";
|
|
40
|
+
ineligible: "ineligible";
|
|
41
|
+
pending_acceptance: "pending_acceptance";
|
|
42
|
+
}>;
|
|
43
|
+
acceptedAt: z.ZodNullable<z.ZodString>;
|
|
44
|
+
}, z.core.$strict>;
|
|
45
|
+
export type OrganizationRecoveryCustodian = z.infer<typeof OrganizationRecoveryCustodian>;
|
|
46
|
+
export declare const OrganizationRecoveryPolicy: z.ZodObject<{
|
|
47
|
+
id: z.ZodString;
|
|
48
|
+
organizationId: z.ZodString;
|
|
49
|
+
revision: z.ZodNumber;
|
|
50
|
+
state: z.ZodEnum<{
|
|
51
|
+
active: "active";
|
|
52
|
+
degraded: "degraded";
|
|
53
|
+
disabled: "disabled";
|
|
54
|
+
pending_acceptance: "pending_acceptance";
|
|
55
|
+
superseded: "superseded";
|
|
56
|
+
}>;
|
|
57
|
+
custodians: z.ZodArray<z.ZodObject<{
|
|
58
|
+
membershipId: z.ZodString;
|
|
59
|
+
name: z.ZodNullable<z.ZodString>;
|
|
60
|
+
email: z.ZodNullable<z.ZodString>;
|
|
61
|
+
ordinal: z.ZodNumber;
|
|
62
|
+
enrollmentState: z.ZodEnum<{
|
|
63
|
+
accepted: "accepted";
|
|
64
|
+
ineligible: "ineligible";
|
|
65
|
+
pending_acceptance: "pending_acceptance";
|
|
66
|
+
}>;
|
|
67
|
+
acceptedAt: z.ZodNullable<z.ZodString>;
|
|
68
|
+
}, z.core.$strict>>;
|
|
69
|
+
createdAt: z.ZodString;
|
|
70
|
+
updatedAt: z.ZodString;
|
|
71
|
+
}, z.core.$strict>;
|
|
72
|
+
export type OrganizationRecoveryPolicy = z.infer<typeof OrganizationRecoveryPolicy>;
|
|
73
|
+
export declare const OrganizationRecoveryApproval: z.ZodObject<{
|
|
74
|
+
membershipId: z.ZodString;
|
|
75
|
+
name: z.ZodNullable<z.ZodString>;
|
|
76
|
+
email: z.ZodNullable<z.ZodString>;
|
|
77
|
+
approvedAt: z.ZodString;
|
|
78
|
+
}, z.core.$strict>;
|
|
79
|
+
export type OrganizationRecoveryApproval = z.infer<typeof OrganizationRecoveryApproval>;
|
|
80
|
+
export declare const OrganizationRecoveryOperation: z.ZodObject<{
|
|
81
|
+
id: z.ZodString;
|
|
82
|
+
organizationId: z.ZodString;
|
|
83
|
+
policyId: z.ZodString;
|
|
84
|
+
policyRevision: z.ZodNumber;
|
|
85
|
+
revision: z.ZodNumber;
|
|
86
|
+
state: z.ZodEnum<{
|
|
87
|
+
cancelled: "cancelled";
|
|
88
|
+
collecting: "collecting";
|
|
89
|
+
cooling: "cooling";
|
|
90
|
+
executed: "executed";
|
|
91
|
+
expired: "expired";
|
|
92
|
+
superseded: "superseded";
|
|
93
|
+
}>;
|
|
94
|
+
target: z.ZodObject<{
|
|
95
|
+
membershipId: z.ZodString;
|
|
96
|
+
name: z.ZodNullable<z.ZodString>;
|
|
97
|
+
email: z.ZodNullable<z.ZodString>;
|
|
98
|
+
}, z.core.$strict>;
|
|
99
|
+
approvals: z.ZodArray<z.ZodObject<{
|
|
100
|
+
membershipId: z.ZodString;
|
|
101
|
+
name: z.ZodNullable<z.ZodString>;
|
|
102
|
+
email: z.ZodNullable<z.ZodString>;
|
|
103
|
+
approvedAt: z.ZodString;
|
|
104
|
+
}, z.core.$strict>>;
|
|
105
|
+
approvalCount: z.ZodNumber;
|
|
106
|
+
quorumAt: z.ZodNullable<z.ZodString>;
|
|
107
|
+
executableAt: z.ZodNullable<z.ZodString>;
|
|
108
|
+
expiresAt: z.ZodString;
|
|
109
|
+
executedAt: z.ZodNullable<z.ZodString>;
|
|
110
|
+
cancelledAt: z.ZodNullable<z.ZodString>;
|
|
111
|
+
notificationJournaled: z.ZodBoolean;
|
|
112
|
+
createdAt: z.ZodString;
|
|
113
|
+
updatedAt: z.ZodString;
|
|
114
|
+
}, z.core.$strict>;
|
|
115
|
+
export type OrganizationRecoveryOperation = z.infer<typeof OrganizationRecoveryOperation>;
|
|
116
|
+
export declare const OrganizationRecoveryCapabilities: z.ZodObject<{
|
|
117
|
+
configure: z.ZodBoolean;
|
|
118
|
+
accept: z.ZodBoolean;
|
|
119
|
+
disable: z.ZodBoolean;
|
|
120
|
+
start: z.ZodBoolean;
|
|
121
|
+
approve: z.ZodBoolean;
|
|
122
|
+
cancel: z.ZodBoolean;
|
|
123
|
+
execute: z.ZodBoolean;
|
|
124
|
+
}, z.core.$strict>;
|
|
125
|
+
export type OrganizationRecoveryCapabilities = z.infer<typeof OrganizationRecoveryCapabilities>;
|
|
126
|
+
export declare const OrganizationRecoveryOverview: z.ZodObject<{
|
|
127
|
+
organizationId: z.ZodString;
|
|
128
|
+
availability: z.ZodEnum<{
|
|
129
|
+
available: "available";
|
|
130
|
+
recovery_unavailable: "recovery_unavailable";
|
|
131
|
+
}>;
|
|
132
|
+
unavailableReason: z.ZodNullable<z.ZodEnum<{
|
|
133
|
+
degraded: "degraded";
|
|
134
|
+
disabled: "disabled";
|
|
135
|
+
identity_unavailable: "identity_unavailable";
|
|
136
|
+
no_policy: "no_policy";
|
|
137
|
+
pending_acceptance: "pending_acceptance";
|
|
138
|
+
}>>;
|
|
139
|
+
recentReauthenticationAt: z.ZodNullable<z.ZodString>;
|
|
140
|
+
eligibleMembers: z.ZodArray<z.ZodObject<{
|
|
141
|
+
membershipId: z.ZodString;
|
|
142
|
+
name: z.ZodNullable<z.ZodString>;
|
|
143
|
+
email: z.ZodNullable<z.ZodString>;
|
|
144
|
+
}, z.core.$strict>>;
|
|
145
|
+
policy: z.ZodNullable<z.ZodObject<{
|
|
146
|
+
id: z.ZodString;
|
|
147
|
+
organizationId: z.ZodString;
|
|
148
|
+
revision: z.ZodNumber;
|
|
149
|
+
state: z.ZodEnum<{
|
|
150
|
+
active: "active";
|
|
151
|
+
degraded: "degraded";
|
|
152
|
+
disabled: "disabled";
|
|
153
|
+
pending_acceptance: "pending_acceptance";
|
|
154
|
+
superseded: "superseded";
|
|
155
|
+
}>;
|
|
156
|
+
custodians: z.ZodArray<z.ZodObject<{
|
|
157
|
+
membershipId: z.ZodString;
|
|
158
|
+
name: z.ZodNullable<z.ZodString>;
|
|
159
|
+
email: z.ZodNullable<z.ZodString>;
|
|
160
|
+
ordinal: z.ZodNumber;
|
|
161
|
+
enrollmentState: z.ZodEnum<{
|
|
162
|
+
accepted: "accepted";
|
|
163
|
+
ineligible: "ineligible";
|
|
164
|
+
pending_acceptance: "pending_acceptance";
|
|
165
|
+
}>;
|
|
166
|
+
acceptedAt: z.ZodNullable<z.ZodString>;
|
|
167
|
+
}, z.core.$strict>>;
|
|
168
|
+
createdAt: z.ZodString;
|
|
169
|
+
updatedAt: z.ZodString;
|
|
170
|
+
}, z.core.$strict>>;
|
|
171
|
+
operation: z.ZodNullable<z.ZodObject<{
|
|
172
|
+
id: z.ZodString;
|
|
173
|
+
organizationId: z.ZodString;
|
|
174
|
+
policyId: z.ZodString;
|
|
175
|
+
policyRevision: z.ZodNumber;
|
|
176
|
+
revision: z.ZodNumber;
|
|
177
|
+
state: z.ZodEnum<{
|
|
178
|
+
cancelled: "cancelled";
|
|
179
|
+
collecting: "collecting";
|
|
180
|
+
cooling: "cooling";
|
|
181
|
+
executed: "executed";
|
|
182
|
+
expired: "expired";
|
|
183
|
+
superseded: "superseded";
|
|
184
|
+
}>;
|
|
185
|
+
target: z.ZodObject<{
|
|
186
|
+
membershipId: z.ZodString;
|
|
187
|
+
name: z.ZodNullable<z.ZodString>;
|
|
188
|
+
email: z.ZodNullable<z.ZodString>;
|
|
189
|
+
}, z.core.$strict>;
|
|
190
|
+
approvals: z.ZodArray<z.ZodObject<{
|
|
191
|
+
membershipId: z.ZodString;
|
|
192
|
+
name: z.ZodNullable<z.ZodString>;
|
|
193
|
+
email: z.ZodNullable<z.ZodString>;
|
|
194
|
+
approvedAt: z.ZodString;
|
|
195
|
+
}, z.core.$strict>>;
|
|
196
|
+
approvalCount: z.ZodNumber;
|
|
197
|
+
quorumAt: z.ZodNullable<z.ZodString>;
|
|
198
|
+
executableAt: z.ZodNullable<z.ZodString>;
|
|
199
|
+
expiresAt: z.ZodString;
|
|
200
|
+
executedAt: z.ZodNullable<z.ZodString>;
|
|
201
|
+
cancelledAt: z.ZodNullable<z.ZodString>;
|
|
202
|
+
notificationJournaled: z.ZodBoolean;
|
|
203
|
+
createdAt: z.ZodString;
|
|
204
|
+
updatedAt: z.ZodString;
|
|
205
|
+
}, z.core.$strict>>;
|
|
206
|
+
capabilities: z.ZodObject<{
|
|
207
|
+
configure: z.ZodBoolean;
|
|
208
|
+
accept: z.ZodBoolean;
|
|
209
|
+
disable: z.ZodBoolean;
|
|
210
|
+
start: z.ZodBoolean;
|
|
211
|
+
approve: z.ZodBoolean;
|
|
212
|
+
cancel: z.ZodBoolean;
|
|
213
|
+
execute: z.ZodBoolean;
|
|
214
|
+
}, z.core.$strict>;
|
|
215
|
+
}, z.core.$strict>;
|
|
216
|
+
export type OrganizationRecoveryOverview = z.infer<typeof OrganizationRecoveryOverview>;
|
|
217
|
+
export declare const ConfigureOrganizationRecoveryPolicyRequest: z.ZodObject<{
|
|
218
|
+
custodianMembershipIds: z.ZodTuple<[z.ZodString, z.ZodString, z.ZodString], null>;
|
|
219
|
+
expectedPolicyRevision: z.ZodNumber;
|
|
220
|
+
operationId: z.ZodString;
|
|
221
|
+
}, z.core.$strict>;
|
|
222
|
+
export type ConfigureOrganizationRecoveryPolicyRequest = z.infer<typeof ConfigureOrganizationRecoveryPolicyRequest>;
|
|
223
|
+
export declare const AcceptOrganizationRecoveryCustodyRequest: z.ZodObject<{
|
|
224
|
+
expectedPolicyRevision: z.ZodNumber;
|
|
225
|
+
operationId: z.ZodString;
|
|
226
|
+
}, z.core.$strict>;
|
|
227
|
+
export type AcceptOrganizationRecoveryCustodyRequest = z.infer<typeof AcceptOrganizationRecoveryCustodyRequest>;
|
|
228
|
+
export declare const DisableOrganizationRecoveryPolicyRequest: z.ZodObject<{
|
|
229
|
+
expectedPolicyRevision: z.ZodNumber;
|
|
230
|
+
operationId: z.ZodString;
|
|
231
|
+
}, z.core.$strict>;
|
|
232
|
+
export type DisableOrganizationRecoveryPolicyRequest = z.infer<typeof DisableOrganizationRecoveryPolicyRequest>;
|
|
233
|
+
export declare const StartOrganizationRecoveryOperationRequest: z.ZodObject<{
|
|
234
|
+
targetMembershipId: z.ZodString;
|
|
235
|
+
expectedPolicyRevision: z.ZodNumber;
|
|
236
|
+
operationId: z.ZodString;
|
|
237
|
+
}, z.core.$strict>;
|
|
238
|
+
export type StartOrganizationRecoveryOperationRequest = z.infer<typeof StartOrganizationRecoveryOperationRequest>;
|
|
239
|
+
export declare const OrganizationRecoveryOperationCommandRequest: z.ZodObject<{
|
|
240
|
+
expectedOperationRevision: z.ZodNumber;
|
|
241
|
+
operationId: z.ZodString;
|
|
242
|
+
}, z.core.$strict>;
|
|
243
|
+
export type OrganizationRecoveryOperationCommandRequest = z.infer<typeof OrganizationRecoveryOperationCommandRequest>;
|
|
244
|
+
export declare const OrganizationRecoveryMutationResponse: z.ZodObject<{
|
|
245
|
+
replay: z.ZodBoolean;
|
|
246
|
+
overview: z.ZodObject<{
|
|
247
|
+
organizationId: z.ZodString;
|
|
248
|
+
availability: z.ZodEnum<{
|
|
249
|
+
available: "available";
|
|
250
|
+
recovery_unavailable: "recovery_unavailable";
|
|
251
|
+
}>;
|
|
252
|
+
unavailableReason: z.ZodNullable<z.ZodEnum<{
|
|
253
|
+
degraded: "degraded";
|
|
254
|
+
disabled: "disabled";
|
|
255
|
+
identity_unavailable: "identity_unavailable";
|
|
256
|
+
no_policy: "no_policy";
|
|
257
|
+
pending_acceptance: "pending_acceptance";
|
|
258
|
+
}>>;
|
|
259
|
+
recentReauthenticationAt: z.ZodNullable<z.ZodString>;
|
|
260
|
+
eligibleMembers: z.ZodArray<z.ZodObject<{
|
|
261
|
+
membershipId: z.ZodString;
|
|
262
|
+
name: z.ZodNullable<z.ZodString>;
|
|
263
|
+
email: z.ZodNullable<z.ZodString>;
|
|
264
|
+
}, z.core.$strict>>;
|
|
265
|
+
policy: z.ZodNullable<z.ZodObject<{
|
|
266
|
+
id: z.ZodString;
|
|
267
|
+
organizationId: z.ZodString;
|
|
268
|
+
revision: z.ZodNumber;
|
|
269
|
+
state: z.ZodEnum<{
|
|
270
|
+
active: "active";
|
|
271
|
+
degraded: "degraded";
|
|
272
|
+
disabled: "disabled";
|
|
273
|
+
pending_acceptance: "pending_acceptance";
|
|
274
|
+
superseded: "superseded";
|
|
275
|
+
}>;
|
|
276
|
+
custodians: z.ZodArray<z.ZodObject<{
|
|
277
|
+
membershipId: z.ZodString;
|
|
278
|
+
name: z.ZodNullable<z.ZodString>;
|
|
279
|
+
email: z.ZodNullable<z.ZodString>;
|
|
280
|
+
ordinal: z.ZodNumber;
|
|
281
|
+
enrollmentState: z.ZodEnum<{
|
|
282
|
+
accepted: "accepted";
|
|
283
|
+
ineligible: "ineligible";
|
|
284
|
+
pending_acceptance: "pending_acceptance";
|
|
285
|
+
}>;
|
|
286
|
+
acceptedAt: z.ZodNullable<z.ZodString>;
|
|
287
|
+
}, z.core.$strict>>;
|
|
288
|
+
createdAt: z.ZodString;
|
|
289
|
+
updatedAt: z.ZodString;
|
|
290
|
+
}, z.core.$strict>>;
|
|
291
|
+
operation: z.ZodNullable<z.ZodObject<{
|
|
292
|
+
id: z.ZodString;
|
|
293
|
+
organizationId: z.ZodString;
|
|
294
|
+
policyId: z.ZodString;
|
|
295
|
+
policyRevision: z.ZodNumber;
|
|
296
|
+
revision: z.ZodNumber;
|
|
297
|
+
state: z.ZodEnum<{
|
|
298
|
+
cancelled: "cancelled";
|
|
299
|
+
collecting: "collecting";
|
|
300
|
+
cooling: "cooling";
|
|
301
|
+
executed: "executed";
|
|
302
|
+
expired: "expired";
|
|
303
|
+
superseded: "superseded";
|
|
304
|
+
}>;
|
|
305
|
+
target: z.ZodObject<{
|
|
306
|
+
membershipId: z.ZodString;
|
|
307
|
+
name: z.ZodNullable<z.ZodString>;
|
|
308
|
+
email: z.ZodNullable<z.ZodString>;
|
|
309
|
+
}, z.core.$strict>;
|
|
310
|
+
approvals: z.ZodArray<z.ZodObject<{
|
|
311
|
+
membershipId: z.ZodString;
|
|
312
|
+
name: z.ZodNullable<z.ZodString>;
|
|
313
|
+
email: z.ZodNullable<z.ZodString>;
|
|
314
|
+
approvedAt: z.ZodString;
|
|
315
|
+
}, z.core.$strict>>;
|
|
316
|
+
approvalCount: z.ZodNumber;
|
|
317
|
+
quorumAt: z.ZodNullable<z.ZodString>;
|
|
318
|
+
executableAt: z.ZodNullable<z.ZodString>;
|
|
319
|
+
expiresAt: z.ZodString;
|
|
320
|
+
executedAt: z.ZodNullable<z.ZodString>;
|
|
321
|
+
cancelledAt: z.ZodNullable<z.ZodString>;
|
|
322
|
+
notificationJournaled: z.ZodBoolean;
|
|
323
|
+
createdAt: z.ZodString;
|
|
324
|
+
updatedAt: z.ZodString;
|
|
325
|
+
}, z.core.$strict>>;
|
|
326
|
+
capabilities: z.ZodObject<{
|
|
327
|
+
configure: z.ZodBoolean;
|
|
328
|
+
accept: z.ZodBoolean;
|
|
329
|
+
disable: z.ZodBoolean;
|
|
330
|
+
start: z.ZodBoolean;
|
|
331
|
+
approve: z.ZodBoolean;
|
|
332
|
+
cancel: z.ZodBoolean;
|
|
333
|
+
execute: z.ZodBoolean;
|
|
334
|
+
}, z.core.$strict>;
|
|
335
|
+
}, z.core.$strict>;
|
|
336
|
+
}, z.core.$strict>;
|
|
337
|
+
export type OrganizationRecoveryMutationResponse = z.infer<typeof OrganizationRecoveryMutationResponse>;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AcceptOrganizationRecoveryCustodyRequest,
|
|
3
|
+
ConfigureOrganizationRecoveryPolicyRequest,
|
|
4
|
+
DisableOrganizationRecoveryPolicyRequest,
|
|
5
|
+
OrganizationRecoveryApproval,
|
|
6
|
+
OrganizationRecoveryCapabilities,
|
|
7
|
+
OrganizationRecoveryCustodian,
|
|
8
|
+
OrganizationRecoveryMemberSummary,
|
|
9
|
+
OrganizationRecoveryMutationResponse,
|
|
10
|
+
OrganizationRecoveryOperation,
|
|
11
|
+
OrganizationRecoveryOperationCommandRequest,
|
|
12
|
+
OrganizationRecoveryOperationState,
|
|
13
|
+
OrganizationRecoveryOverview,
|
|
14
|
+
OrganizationRecoveryPolicy,
|
|
15
|
+
OrganizationRecoveryPolicyState,
|
|
16
|
+
OrganizationRecoveryUnavailableReason,
|
|
17
|
+
StartOrganizationRecoveryOperationRequest
|
|
18
|
+
} from "./chunk-BCS7WHCK.js";
|
|
19
|
+
export {
|
|
20
|
+
AcceptOrganizationRecoveryCustodyRequest,
|
|
21
|
+
ConfigureOrganizationRecoveryPolicyRequest,
|
|
22
|
+
DisableOrganizationRecoveryPolicyRequest,
|
|
23
|
+
OrganizationRecoveryApproval,
|
|
24
|
+
OrganizationRecoveryCapabilities,
|
|
25
|
+
OrganizationRecoveryCustodian,
|
|
26
|
+
OrganizationRecoveryMemberSummary,
|
|
27
|
+
OrganizationRecoveryMutationResponse,
|
|
28
|
+
OrganizationRecoveryOperation,
|
|
29
|
+
OrganizationRecoveryOperationCommandRequest,
|
|
30
|
+
OrganizationRecoveryOperationState,
|
|
31
|
+
OrganizationRecoveryOverview,
|
|
32
|
+
OrganizationRecoveryPolicy,
|
|
33
|
+
OrganizationRecoveryPolicyState,
|
|
34
|
+
OrganizationRecoveryUnavailableReason,
|
|
35
|
+
StartOrganizationRecoveryOperationRequest
|
|
36
|
+
};
|
|
37
|
+
//# sourceMappingURL=organization-recovery.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/personal-github.js
CHANGED
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ConnectionMetadata
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ILB4IYNN.js";
|
|
4
|
+
import "./chunk-WYBDERIY.js";
|
|
4
5
|
import "./chunk-MRWYRAS5.js";
|
|
6
|
+
import "./chunk-CM6BMECR.js";
|
|
5
7
|
import "./chunk-JUFK3T4Q.js";
|
|
6
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-YBW5JSA3.js";
|
|
7
9
|
import "./chunk-N6GRVXAJ.js";
|
|
8
10
|
import "./chunk-3SIZGL3O.js";
|
|
9
11
|
import "./chunk-NVJMJWLL.js";
|
|
12
|
+
import "./chunk-YRKRZ6OF.js";
|
|
10
13
|
import "./chunk-7RMTKFJW.js";
|
|
11
14
|
import "./chunk-Y3KNXVTD.js";
|
|
12
15
|
import "./chunk-RIY7GYQS.js";
|
|
13
|
-
import "./chunk-YRKRZ6OF.js";
|
|
14
|
-
import "./chunk-CM6BMECR.js";
|
|
15
16
|
import "./chunk-D2HKF2EF.js";
|
|
16
17
|
import "./chunk-MYBZRDTY.js";
|
|
17
18
|
import "./chunk-TXTQIYCV.js";
|
|
18
19
|
import "./chunk-PX3VCKAU.js";
|
|
20
|
+
import "./chunk-BCS7WHCK.js";
|
|
19
21
|
import "./chunk-M5ZGRVIQ.js";
|
|
20
|
-
import "./chunk-YBW5JSA3.js";
|
|
21
22
|
|
|
22
23
|
// src/personal-github.ts
|
|
23
24
|
import { z } from "zod";
|