domain0 0.2.0 → 0.3.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/contracts.cjs +2 -1
- package/dist/contracts.cjs.map +1 -1
- package/dist/contracts.d.cts +1 -1
- package/dist/contracts.d.mts +1 -1
- package/dist/contracts.mjs +2 -1
- package/dist/contracts.mjs.map +1 -1
- package/dist/{index-ykRjPldc.d.cts → index-sSrRFTnm.d.cts} +29 -1
- package/dist/{index-ykRjPldc.d.mts → index-sSrRFTnm.d.mts} +29 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/dist/{sdk-DSOUE93-.d.cts → sdk-B10fN-QP.d.mts} +2 -2
- package/dist/{sdk-C0q5dV-6.cjs → sdk-BGxexkQy.cjs} +67 -7
- package/dist/sdk-BGxexkQy.cjs.map +1 -0
- package/dist/{sdk-BHIxsxUT.mjs → sdk-BUD9fOZT.mjs} +67 -7
- package/dist/sdk-BUD9fOZT.mjs.map +1 -0
- package/dist/{sdk-08-Y2mib.d.mts → sdk-DYR5Itru.d.cts} +2 -2
- package/dist/ui.cjs +1 -1
- package/dist/ui.d.cts +3 -2
- package/dist/ui.d.mts +3 -2
- package/dist/ui.mjs +1 -1
- package/package.json +1 -1
- package/dist/sdk-BHIxsxUT.mjs.map +0 -1
- package/dist/sdk-C0q5dV-6.cjs.map +0 -1
package/dist/contracts.cjs
CHANGED
|
@@ -238,6 +238,7 @@ const ProviderImplementationSchema = zod.z.enum([
|
|
|
238
238
|
]).meta({ id: "ProviderImplementation" });
|
|
239
239
|
const AuthorizationMethodSchema = zod.z.enum([
|
|
240
240
|
"oauth2_pkce",
|
|
241
|
+
"oauth2_authorization_code",
|
|
241
242
|
"api_token",
|
|
242
243
|
"api_key",
|
|
243
244
|
"basic",
|
|
@@ -305,7 +306,7 @@ const ProviderSchema = zod.z.object({
|
|
|
305
306
|
name: zod.z.string().trim().min(1),
|
|
306
307
|
referenceUrl: ProviderReferenceUrlSchema,
|
|
307
308
|
implementation: ProviderImplementationSchema,
|
|
308
|
-
availableAuthorizationMethods: zod.z.array(AuthorizationMethodSchema).refine((methods) => new Set(methods).size === methods.length, "Authorization methods must be unique"),
|
|
309
|
+
availableAuthorizationMethods: zod.z.array(AuthorizationMethodSchema).refine((methods) => new Set(methods).size === methods.length, "Authorization methods must be unique").describe("Available methods ordered from highest to lowest provider autonomy."),
|
|
309
310
|
capabilities: ProviderCapabilitiesSchema,
|
|
310
311
|
detection: ProviderDetectionSchema,
|
|
311
312
|
limitations: zod.z.array(zod.z.string().min(1))
|