@cossistant/types 0.0.23 → 0.0.25
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/api/common.d.ts +17 -20
- package/api/common.d.ts.map +1 -1
- package/api/contact.d.ts +99 -101
- package/api/contact.d.ts.map +1 -1
- package/api/conversation.d.ts +322 -326
- package/api/conversation.d.ts.map +1 -1
- package/api/notification.d.ts +70 -73
- package/api/notification.d.ts.map +1 -1
- package/api/organization.d.ts +7 -9
- package/api/organization.d.ts.map +1 -1
- package/api/timeline-item.d.ts +261 -265
- package/api/timeline-item.d.ts.map +1 -1
- package/api/upload.d.ts +95 -98
- package/api/upload.d.ts.map +1 -1
- package/api/user.d.ts +19 -21
- package/api/user.d.ts.map +1 -1
- package/api/visitor.d.ts +110 -112
- package/api/visitor.d.ts.map +1 -1
- package/api/website.d.ts +177 -179
- package/api/website.d.ts.map +1 -1
- package/package.json +1 -1
- package/realtime-events.d.ts +330 -332
- package/realtime-events.d.ts.map +1 -1
- package/schemas.d.ts +80 -82
- package/schemas.d.ts.map +1 -1
- package/trpc/contact.d.ts +78 -74
- package/trpc/contact.d.ts.map +1 -1
- package/trpc/contact.js +7 -4
- package/trpc/contact.js.map +1 -1
- package/trpc/conversation.d.ts +328 -330
- package/trpc/conversation.d.ts.map +1 -1
- package/trpc/visitor.d.ts +105 -107
- package/trpc/visitor.d.ts.map +1 -1
- package/api.d.ts +0 -71
- package/api.d.ts.map +0 -1
- package/checks.d.ts +0 -189
- package/checks.d.ts.map +0 -1
- package/coerce.d.ts +0 -9
- package/coerce.d.ts.map +0 -1
- package/core.d.ts +0 -35
- package/core.d.ts.map +0 -1
- package/errors.d.ts +0 -121
- package/errors.d.ts.map +0 -1
- package/errors2.d.ts +0 -24
- package/errors2.d.ts.map +0 -1
- package/index2.d.ts +0 -4
- package/index3.d.ts +0 -1
- package/metadata.d.ts +0 -1
- package/openapi-generator.d.ts +0 -1
- package/openapi-generator2.d.ts +0 -1
- package/openapi-generator3.d.ts +0 -1
- package/openapi30.d.ts +0 -125
- package/openapi30.d.ts.map +0 -1
- package/openapi31.d.ts +0 -131
- package/openapi31.d.ts.map +0 -1
- package/parse.d.ts +0 -17
- package/parse.d.ts.map +0 -1
- package/registries.d.ts +0 -32
- package/registries.d.ts.map +0 -1
- package/schemas2.d.ts +0 -685
- package/schemas2.d.ts.map +0 -1
- package/schemas3.d.ts +0 -325
- package/schemas3.d.ts.map +0 -1
- package/specification-extension.d.ts +0 -9
- package/specification-extension.d.ts.map +0 -1
- package/standard-schema.d.ts +0 -59
- package/standard-schema.d.ts.map +0 -1
- package/util.d.ts +0 -41
- package/util.d.ts.map +0 -1
- package/versions.d.ts +0 -9
- package/versions.d.ts.map +0 -1
- package/zod-extensions.d.ts +0 -39
- package/zod-extensions.d.ts.map +0 -1
package/checks.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"checks.d.ts","names":["core","errors","schemas","util","$ZodCheckDef","$ZodErrorMap","ParsePayload","$ZodCheckInternals","T","$ZodIssueBase","MaybeAsync","$ZodType","$ZodCheck","$constructor","$ZodCheckLessThanDef","Numeric","$ZodCheckLessThanInternals","$ZodIssueTooBig","$ZodCheckLessThan","$ZodCheckGreaterThanDef","$ZodCheckGreaterThanInternals","$ZodIssueTooSmall","$ZodCheckGreaterThan","$ZodCheckMultipleOfDef","$ZodCheckMultipleOfInternals","$ZodIssueNotMultipleOf","$ZodCheckMultipleOf","$ZodNumberFormats","$ZodCheckNumberFormatDef","$ZodCheckNumberFormatInternals","$ZodIssueInvalidType","$ZodCheckNumberFormat","$ZodBigIntFormats","$ZodCheckBigIntFormatDef","$ZodCheckBigIntFormatInternals","$ZodCheckBigIntFormat","$ZodCheckMaxSizeDef","$ZodCheckMaxSizeInternals","HasSize","$ZodCheckMaxSize","$ZodCheckMinSizeDef","$ZodCheckMinSizeInternals","$ZodCheckMinSize","$ZodCheckSizeEqualsDef","$ZodCheckSizeEqualsInternals","$ZodCheckSizeEquals","$ZodCheckMaxLengthDef","$ZodCheckMaxLengthInternals","HasLength","$ZodCheckMaxLength","$ZodCheckMinLengthDef","$ZodCheckMinLengthInternals","$ZodCheckMinLength","$ZodCheckLengthEqualsDef","$ZodCheckLengthEqualsInternals","$ZodCheckLengthEquals","$ZodStringFormats","$ZodCheckStringFormatDef","Format","RegExp","$ZodCheckStringFormatInternals","$ZodIssueInvalidStringFormat","$ZodCheckStringFormat","$ZodCheckRegexDef","$ZodCheckRegexInternals","$ZodCheckRegex","$ZodCheckLowerCaseDef","$ZodCheckLowerCaseInternals","$ZodCheckLowerCase","$ZodCheckUpperCaseDef","$ZodCheckUpperCaseInternals","$ZodCheckUpperCase","$ZodCheckIncludesDef","$ZodCheckIncludesInternals","$ZodCheckIncludes","$ZodCheckStartsWithDef","$ZodCheckStartsWithInternals","$ZodCheckStartsWith","$ZodCheckEndsWithDef","$ZodCheckEndsWithInternals","$ZodCheckEndsWith","$ZodCheckPropertyDef","$ZodCheckPropertyInternals","$ZodIssue","$ZodCheckProperty","$ZodCheckMimeTypeDef","MimeTypes","$ZodCheckMimeTypeInternals","File","$ZodIssueInvalidValue","$ZodCheckMimeType","$ZodCheckOverwriteDef","$ZodCheckOverwriteInternals","$ZodCheckOverwrite","$ZodChecks","$ZodStringFormatChecks","$ZodStringFormatTypes"],"sources":["../../../node_modules/.bun/zod@4.1.12/node_modules/zod/v4/core/checks.d.cts"],"sourcesContent":["import * as core from \"./core.cjs\";\nimport type * as errors from \"./errors.cjs\";\nimport type * as schemas from \"./schemas.cjs\";\nimport * as util from \"./util.cjs\";\nexport interface $ZodCheckDef {\n check: string;\n error?: errors.$ZodErrorMap<never> | undefined;\n /** If true, no later checks will be executed if this check fails. Default `false`. */\n abort?: boolean | undefined;\n /** If provided, this check will only be executed if the function returns `true`. Defaults to `payload => z.util.isAborted(payload)`. */\n when?: ((payload: schemas.ParsePayload) => boolean) | undefined;\n}\nexport interface $ZodCheckInternals<T> {\n def: $ZodCheckDef;\n /** The set of issues this check might throw. */\n issc?: errors.$ZodIssueBase;\n check(payload: schemas.ParsePayload<T>): util.MaybeAsync<void>;\n onattach: ((schema: schemas.$ZodType) => void)[];\n}\nexport interface $ZodCheck<in T = never> {\n _zod: $ZodCheckInternals<T>;\n}\nexport declare const $ZodCheck: core.$constructor<$ZodCheck<any>>;\nexport interface $ZodCheckLessThanDef extends $ZodCheckDef {\n check: \"less_than\";\n value: util.Numeric;\n inclusive: boolean;\n}\nexport interface $ZodCheckLessThanInternals<T extends util.Numeric = util.Numeric> extends $ZodCheckInternals<T> {\n def: $ZodCheckLessThanDef;\n issc: errors.$ZodIssueTooBig<T>;\n}\nexport interface $ZodCheckLessThan<T extends util.Numeric = util.Numeric> extends $ZodCheck<T> {\n _zod: $ZodCheckLessThanInternals<T>;\n}\nexport declare const $ZodCheckLessThan: core.$constructor<$ZodCheckLessThan>;\nexport interface $ZodCheckGreaterThanDef extends $ZodCheckDef {\n check: \"greater_than\";\n value: util.Numeric;\n inclusive: boolean;\n}\nexport interface $ZodCheckGreaterThanInternals<T extends util.Numeric = util.Numeric> extends $ZodCheckInternals<T> {\n def: $ZodCheckGreaterThanDef;\n issc: errors.$ZodIssueTooSmall<T>;\n}\nexport interface $ZodCheckGreaterThan<T extends util.Numeric = util.Numeric> extends $ZodCheck<T> {\n _zod: $ZodCheckGreaterThanInternals<T>;\n}\nexport declare const $ZodCheckGreaterThan: core.$constructor<$ZodCheckGreaterThan>;\nexport interface $ZodCheckMultipleOfDef<T extends number | bigint = number | bigint> extends $ZodCheckDef {\n check: \"multiple_of\";\n value: T;\n}\nexport interface $ZodCheckMultipleOfInternals<T extends number | bigint = number | bigint> extends $ZodCheckInternals<T> {\n def: $ZodCheckMultipleOfDef<T>;\n issc: errors.$ZodIssueNotMultipleOf;\n}\nexport interface $ZodCheckMultipleOf<T extends number | bigint = number | bigint> extends $ZodCheck<T> {\n _zod: $ZodCheckMultipleOfInternals<T>;\n}\nexport declare const $ZodCheckMultipleOf: core.$constructor<$ZodCheckMultipleOf<number | bigint>>;\nexport type $ZodNumberFormats = \"int32\" | \"uint32\" | \"float32\" | \"float64\" | \"safeint\";\nexport interface $ZodCheckNumberFormatDef extends $ZodCheckDef {\n check: \"number_format\";\n format: $ZodNumberFormats;\n}\nexport interface $ZodCheckNumberFormatInternals extends $ZodCheckInternals<number> {\n def: $ZodCheckNumberFormatDef;\n issc: errors.$ZodIssueInvalidType | errors.$ZodIssueTooBig<\"number\"> | errors.$ZodIssueTooSmall<\"number\">;\n}\nexport interface $ZodCheckNumberFormat extends $ZodCheck<number> {\n _zod: $ZodCheckNumberFormatInternals;\n}\nexport declare const $ZodCheckNumberFormat: core.$constructor<$ZodCheckNumberFormat>;\nexport type $ZodBigIntFormats = \"int64\" | \"uint64\";\nexport interface $ZodCheckBigIntFormatDef extends $ZodCheckDef {\n check: \"bigint_format\";\n format: $ZodBigIntFormats | undefined;\n}\nexport interface $ZodCheckBigIntFormatInternals extends $ZodCheckInternals<bigint> {\n def: $ZodCheckBigIntFormatDef;\n issc: errors.$ZodIssueTooBig<\"bigint\"> | errors.$ZodIssueTooSmall<\"bigint\">;\n}\nexport interface $ZodCheckBigIntFormat extends $ZodCheck<bigint> {\n _zod: $ZodCheckBigIntFormatInternals;\n}\nexport declare const $ZodCheckBigIntFormat: core.$constructor<$ZodCheckBigIntFormat>;\nexport interface $ZodCheckMaxSizeDef extends $ZodCheckDef {\n check: \"max_size\";\n maximum: number;\n}\nexport interface $ZodCheckMaxSizeInternals<T extends util.HasSize = util.HasSize> extends $ZodCheckInternals<T> {\n def: $ZodCheckMaxSizeDef;\n issc: errors.$ZodIssueTooBig<T>;\n}\nexport interface $ZodCheckMaxSize<T extends util.HasSize = util.HasSize> extends $ZodCheck<T> {\n _zod: $ZodCheckMaxSizeInternals<T>;\n}\nexport declare const $ZodCheckMaxSize: core.$constructor<$ZodCheckMaxSize>;\nexport interface $ZodCheckMinSizeDef extends $ZodCheckDef {\n check: \"min_size\";\n minimum: number;\n}\nexport interface $ZodCheckMinSizeInternals<T extends util.HasSize = util.HasSize> extends $ZodCheckInternals<T> {\n def: $ZodCheckMinSizeDef;\n issc: errors.$ZodIssueTooSmall<T>;\n}\nexport interface $ZodCheckMinSize<T extends util.HasSize = util.HasSize> extends $ZodCheck<T> {\n _zod: $ZodCheckMinSizeInternals<T>;\n}\nexport declare const $ZodCheckMinSize: core.$constructor<$ZodCheckMinSize>;\nexport interface $ZodCheckSizeEqualsDef extends $ZodCheckDef {\n check: \"size_equals\";\n size: number;\n}\nexport interface $ZodCheckSizeEqualsInternals<T extends util.HasSize = util.HasSize> extends $ZodCheckInternals<T> {\n def: $ZodCheckSizeEqualsDef;\n issc: errors.$ZodIssueTooBig<T> | errors.$ZodIssueTooSmall<T>;\n}\nexport interface $ZodCheckSizeEquals<T extends util.HasSize = util.HasSize> extends $ZodCheck<T> {\n _zod: $ZodCheckSizeEqualsInternals<T>;\n}\nexport declare const $ZodCheckSizeEquals: core.$constructor<$ZodCheckSizeEquals>;\nexport interface $ZodCheckMaxLengthDef extends $ZodCheckDef {\n check: \"max_length\";\n maximum: number;\n}\nexport interface $ZodCheckMaxLengthInternals<T extends util.HasLength = util.HasLength> extends $ZodCheckInternals<T> {\n def: $ZodCheckMaxLengthDef;\n issc: errors.$ZodIssueTooBig<T>;\n}\nexport interface $ZodCheckMaxLength<T extends util.HasLength = util.HasLength> extends $ZodCheck<T> {\n _zod: $ZodCheckMaxLengthInternals<T>;\n}\nexport declare const $ZodCheckMaxLength: core.$constructor<$ZodCheckMaxLength>;\nexport interface $ZodCheckMinLengthDef extends $ZodCheckDef {\n check: \"min_length\";\n minimum: number;\n}\nexport interface $ZodCheckMinLengthInternals<T extends util.HasLength = util.HasLength> extends $ZodCheckInternals<T> {\n def: $ZodCheckMinLengthDef;\n issc: errors.$ZodIssueTooSmall<T>;\n}\nexport interface $ZodCheckMinLength<T extends util.HasLength = util.HasLength> extends $ZodCheck<T> {\n _zod: $ZodCheckMinLengthInternals<T>;\n}\nexport declare const $ZodCheckMinLength: core.$constructor<$ZodCheckMinLength>;\nexport interface $ZodCheckLengthEqualsDef extends $ZodCheckDef {\n check: \"length_equals\";\n length: number;\n}\nexport interface $ZodCheckLengthEqualsInternals<T extends util.HasLength = util.HasLength> extends $ZodCheckInternals<T> {\n def: $ZodCheckLengthEqualsDef;\n issc: errors.$ZodIssueTooBig<T> | errors.$ZodIssueTooSmall<T>;\n}\nexport interface $ZodCheckLengthEquals<T extends util.HasLength = util.HasLength> extends $ZodCheck<T> {\n _zod: $ZodCheckLengthEqualsInternals<T>;\n}\nexport declare const $ZodCheckLengthEquals: core.$constructor<$ZodCheckLengthEquals>;\nexport type $ZodStringFormats = \"email\" | \"url\" | \"emoji\" | \"uuid\" | \"guid\" | \"nanoid\" | \"cuid\" | \"cuid2\" | \"ulid\" | \"xid\" | \"ksuid\" | \"datetime\" | \"date\" | \"time\" | \"duration\" | \"ipv4\" | \"ipv6\" | \"cidrv4\" | \"cidrv6\" | \"base64\" | \"base64url\" | \"json_string\" | \"e164\" | \"lowercase\" | \"uppercase\" | \"regex\" | \"jwt\" | \"starts_with\" | \"ends_with\" | \"includes\";\nexport interface $ZodCheckStringFormatDef<Format extends string = string> extends $ZodCheckDef {\n check: \"string_format\";\n format: Format;\n pattern?: RegExp | undefined;\n}\nexport interface $ZodCheckStringFormatInternals extends $ZodCheckInternals<string> {\n def: $ZodCheckStringFormatDef;\n issc: errors.$ZodIssueInvalidStringFormat;\n}\nexport interface $ZodCheckStringFormat extends $ZodCheck<string> {\n _zod: $ZodCheckStringFormatInternals;\n}\nexport declare const $ZodCheckStringFormat: core.$constructor<$ZodCheckStringFormat>;\nexport interface $ZodCheckRegexDef extends $ZodCheckStringFormatDef {\n format: \"regex\";\n pattern: RegExp;\n}\nexport interface $ZodCheckRegexInternals extends $ZodCheckInternals<string> {\n def: $ZodCheckRegexDef;\n issc: errors.$ZodIssueInvalidStringFormat;\n}\nexport interface $ZodCheckRegex extends $ZodCheck<string> {\n _zod: $ZodCheckRegexInternals;\n}\nexport declare const $ZodCheckRegex: core.$constructor<$ZodCheckRegex>;\nexport interface $ZodCheckLowerCaseDef extends $ZodCheckStringFormatDef<\"lowercase\"> {\n}\nexport interface $ZodCheckLowerCaseInternals extends $ZodCheckInternals<string> {\n def: $ZodCheckLowerCaseDef;\n issc: errors.$ZodIssueInvalidStringFormat;\n}\nexport interface $ZodCheckLowerCase extends $ZodCheck<string> {\n _zod: $ZodCheckLowerCaseInternals;\n}\nexport declare const $ZodCheckLowerCase: core.$constructor<$ZodCheckLowerCase>;\nexport interface $ZodCheckUpperCaseDef extends $ZodCheckStringFormatDef<\"uppercase\"> {\n}\nexport interface $ZodCheckUpperCaseInternals extends $ZodCheckInternals<string> {\n def: $ZodCheckUpperCaseDef;\n issc: errors.$ZodIssueInvalidStringFormat;\n}\nexport interface $ZodCheckUpperCase extends $ZodCheck<string> {\n _zod: $ZodCheckUpperCaseInternals;\n}\nexport declare const $ZodCheckUpperCase: core.$constructor<$ZodCheckUpperCase>;\nexport interface $ZodCheckIncludesDef extends $ZodCheckStringFormatDef<\"includes\"> {\n includes: string;\n position?: number | undefined;\n}\nexport interface $ZodCheckIncludesInternals extends $ZodCheckInternals<string> {\n def: $ZodCheckIncludesDef;\n issc: errors.$ZodIssueInvalidStringFormat;\n}\nexport interface $ZodCheckIncludes extends $ZodCheck<string> {\n _zod: $ZodCheckIncludesInternals;\n}\nexport declare const $ZodCheckIncludes: core.$constructor<$ZodCheckIncludes>;\nexport interface $ZodCheckStartsWithDef extends $ZodCheckStringFormatDef<\"starts_with\"> {\n prefix: string;\n}\nexport interface $ZodCheckStartsWithInternals extends $ZodCheckInternals<string> {\n def: $ZodCheckStartsWithDef;\n issc: errors.$ZodIssueInvalidStringFormat;\n}\nexport interface $ZodCheckStartsWith extends $ZodCheck<string> {\n _zod: $ZodCheckStartsWithInternals;\n}\nexport declare const $ZodCheckStartsWith: core.$constructor<$ZodCheckStartsWith>;\nexport interface $ZodCheckEndsWithDef extends $ZodCheckStringFormatDef<\"ends_with\"> {\n suffix: string;\n}\nexport interface $ZodCheckEndsWithInternals extends $ZodCheckInternals<string> {\n def: $ZodCheckEndsWithDef;\n issc: errors.$ZodIssueInvalidStringFormat;\n}\nexport interface $ZodCheckEndsWith extends $ZodCheckInternals<string> {\n _zod: $ZodCheckEndsWithInternals;\n}\nexport declare const $ZodCheckEndsWith: core.$constructor<$ZodCheckEndsWith>;\nexport interface $ZodCheckPropertyDef extends $ZodCheckDef {\n check: \"property\";\n property: string;\n schema: schemas.$ZodType;\n}\nexport interface $ZodCheckPropertyInternals<T extends object = object> extends $ZodCheckInternals<T> {\n def: $ZodCheckPropertyDef;\n issc: errors.$ZodIssue;\n}\nexport interface $ZodCheckProperty<T extends object = object> extends $ZodCheck<T> {\n _zod: $ZodCheckPropertyInternals<T>;\n}\nexport declare const $ZodCheckProperty: core.$constructor<$ZodCheckProperty>;\nexport interface $ZodCheckMimeTypeDef extends $ZodCheckDef {\n check: \"mime_type\";\n mime: util.MimeTypes[];\n}\nexport interface $ZodCheckMimeTypeInternals<T extends schemas.File = schemas.File> extends $ZodCheckInternals<T> {\n def: $ZodCheckMimeTypeDef;\n issc: errors.$ZodIssueInvalidValue;\n}\nexport interface $ZodCheckMimeType<T extends schemas.File = schemas.File> extends $ZodCheck<T> {\n _zod: $ZodCheckMimeTypeInternals<T>;\n}\nexport declare const $ZodCheckMimeType: core.$constructor<$ZodCheckMimeType>;\nexport interface $ZodCheckOverwriteDef<T = unknown> extends $ZodCheckDef {\n check: \"overwrite\";\n tx(value: T): T;\n}\nexport interface $ZodCheckOverwriteInternals<T = unknown> extends $ZodCheckInternals<T> {\n def: $ZodCheckOverwriteDef<T>;\n issc: never;\n}\nexport interface $ZodCheckOverwrite<T = unknown> extends $ZodCheck<T> {\n _zod: $ZodCheckOverwriteInternals<T>;\n}\nexport declare const $ZodCheckOverwrite: core.$constructor<$ZodCheckOverwrite>;\nexport type $ZodChecks = $ZodCheckLessThan | $ZodCheckGreaterThan | $ZodCheckMultipleOf | $ZodCheckNumberFormat | $ZodCheckBigIntFormat | $ZodCheckMaxSize | $ZodCheckMinSize | $ZodCheckSizeEquals | $ZodCheckMaxLength | $ZodCheckMinLength | $ZodCheckLengthEquals | $ZodCheckStringFormat | $ZodCheckProperty | $ZodCheckMimeType | $ZodCheckOverwrite;\nexport type $ZodStringFormatChecks = $ZodCheckRegex | $ZodCheckLowerCase | $ZodCheckUpperCase | $ZodCheckIncludes | $ZodCheckStartsWith | $ZodCheckEndsWith | schemas.$ZodStringFormatTypes;\n"],"x_google_ignoreList":[0],"mappings":";;;;;;UAIiBI,YAAAA;;EAAAA,KAAAA,CAAAA,EAELH,YAFiB,CAEjBA,KAAAA,CAAAA,GAAAA,SAIUC;EAELK;EACRH,KAAAA,CAAAA,EAAAA,OAAAA,GAAAA,SAAAA;EAEEH;EAC6BO,IAAAA,CAAAA,EAAAA,CAAAA,CAAAA,OAAAA,EANlBN,YAMkBM,EAAAA,GAAAA,OAAAA,CAAAA,GAAAA,SAAAA;;AAAKL,UAJ5BI,kBAI4BJ,CAAAA,CAAAA,CAAAA,CAAAA;EACrBD,GAAAA,EAJfE,YAIeF;EAAgB;EAEvBU,IAAAA,CAAAA,EAJNX,aAKkBO;EAERI,KAAAA,CAAAA,OAA4C,EAN9CV,YAM+BU,CANVJ,CAMRR,CAAAA,CAAAA,EANaG,UAMI,CAAA,IAAA,CAAA;EAChCW,QAAAA,EAAAA,CAAAA,CAAAA,MAAAA,EANOZ,QAQbC,EAAAA,GAAAA,IAFmCC,CAAAA,EAAAA;AAK9C;AAAsDD,UATrCS,SASqCT,CAAAA,OAAAA,KAAAA,CAAAA,CAAAA;EAAeA,IAAAA,EAR3DI,kBAQ2DJ,CARxCK,CAQwCL,CAAAA;;AAC5DW,cAPYF,SAOZE,EAPuBd,YAOvBc,CAPyCF,SAOzCE,CAAAA,GAAAA,CAAAA,CAAAA;AACwBN,UAPhBM,oBAAAA,SAA6BV,YAObI,CA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WC,oBAAoBvE,aAAkBuE;UAC1CC,oBAAAA,SAA6Bf;;;;UAI7BgB,0BAAAA,SAAmClE;OAC3CiE;QACCvE;;UAEOyE,iBAAAA,SAA0B9D;QACjC6D;;cAEWC,mBAAmB1E,aAAkB0E;UACzCC,sBAAAA,SAA+BlB;;;UAG/BmB,4BAAAA,SAAqCrE;OAC7CoE;QACC1E;;UAEO4E,mBAAAA,SAA4BjE;QACnCgE;;cAEWC,qBAAqB7E,aAAkB6E;UAC3CC,oBAAAA,SAA6BrB;;;UAG7BsB,0BAAAA,SAAmCxE;OAC3CuE;QACC7E;;UAEO+E,iBAAAA,SAA0BzE;QACjCwE;;cAEWC,mBAAmBhF,aAAkBgF"}
|
package/coerce.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { $ZodNumberInternals } from "./schemas2.js";
|
|
2
|
-
import { _ZodNumber } from "./schemas3.js";
|
|
3
|
-
|
|
4
|
-
//#region ../../node_modules/.bun/zod@4.1.12/node_modules/zod/v4/classic/coerce.d.cts
|
|
5
|
-
|
|
6
|
-
interface ZodCoercedNumber<T = unknown> extends _ZodNumber<$ZodNumberInternals<T>> {}
|
|
7
|
-
//#endregion
|
|
8
|
-
export { ZodCoercedNumber };
|
|
9
|
-
//# sourceMappingURL=coerce.d.ts.map
|
package/coerce.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"coerce.d.ts","names":["core","schemas","ZodCoercedString","T","$ZodStringInternals","_ZodString","string","$ZodStringParams","ZodCoercedNumber","$ZodNumberInternals","_ZodNumber","number","$ZodNumberParams","ZodCoercedBoolean","$ZodBooleanInternals","_ZodBoolean","boolean","$ZodBooleanParams","ZodCoercedBigInt","$ZodBigIntInternals","_ZodBigInt","bigint","$ZodBigIntParams","ZodCoercedDate","$ZodDateInternals","_ZodDate","date","$ZodDateParams"],"sources":["../../../node_modules/.bun/zod@4.1.12/node_modules/zod/v4/classic/coerce.d.cts"],"sourcesContent":["import * as core from \"../core/index.cjs\";\nimport * as schemas from \"./schemas.cjs\";\nexport interface ZodCoercedString<T = unknown> extends schemas._ZodString<core.$ZodStringInternals<T>> {\n}\nexport declare function string<T = unknown>(params?: string | core.$ZodStringParams): ZodCoercedString<T>;\nexport interface ZodCoercedNumber<T = unknown> extends schemas._ZodNumber<core.$ZodNumberInternals<T>> {\n}\nexport declare function number<T = unknown>(params?: string | core.$ZodNumberParams): ZodCoercedNumber<T>;\nexport interface ZodCoercedBoolean<T = unknown> extends schemas._ZodBoolean<core.$ZodBooleanInternals<T>> {\n}\nexport declare function boolean<T = unknown>(params?: string | core.$ZodBooleanParams): ZodCoercedBoolean<T>;\nexport interface ZodCoercedBigInt<T = unknown> extends schemas._ZodBigInt<core.$ZodBigIntInternals<T>> {\n}\nexport declare function bigint<T = unknown>(params?: string | core.$ZodBigIntParams): ZodCoercedBigInt<T>;\nexport interface ZodCoercedDate<T = unknown> extends schemas._ZodDate<core.$ZodDateInternals<T>> {\n}\nexport declare function date<T = unknown>(params?: string | core.$ZodDateParams): ZodCoercedDate<T>;\n"],"x_google_ignoreList":[0],"mappings":";;;;;AAKmGG,UAAlFK,gBAAkFL,CAAAA,IAAAA,OAAAA,CAAAA,SAA5CF,UAA4CE,CAAzBH,mBAAyBG,CAAAA,CAAAA,CAAAA,CAAAA,CAAAA"}
|
package/core.d.ts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { Class } from "./util.js";
|
|
2
|
-
import { SomeType } from "./schemas2.js";
|
|
3
|
-
|
|
4
|
-
//#region ../../node_modules/.bun/zod@4.1.12/node_modules/zod/v4/core/core.d.cts
|
|
5
|
-
type ZodTrait = {
|
|
6
|
-
_zod: {
|
|
7
|
-
def: any;
|
|
8
|
-
[k: string]: any;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
interface $constructor<T extends ZodTrait, D = T["_zod"]["def"]> {
|
|
12
|
-
new (def: D): T;
|
|
13
|
-
init(inst: T, def: D): asserts inst is T;
|
|
14
|
-
}
|
|
15
|
-
declare function $constructor<T extends ZodTrait, D = T["_zod"]["def"]>(name: string, initializer: (inst: T, def: D) => void, params?: {
|
|
16
|
-
Parent?: typeof Class;
|
|
17
|
-
}): $constructor<T, D>;
|
|
18
|
-
declare const $brand: unique symbol;
|
|
19
|
-
type $brand<T extends string | number | symbol = string | number | symbol> = {
|
|
20
|
-
[$brand]: { [k in T]: true };
|
|
21
|
-
};
|
|
22
|
-
type $ZodBranded<T extends SomeType, Brand extends string | number | symbol> = T & Record<"_zod", Record<"output", output<T> & $brand<Brand>>>;
|
|
23
|
-
type input<T> = T extends {
|
|
24
|
-
_zod: {
|
|
25
|
-
input: any;
|
|
26
|
-
};
|
|
27
|
-
} ? T["_zod"]["input"] : unknown;
|
|
28
|
-
type output<T> = T extends {
|
|
29
|
-
_zod: {
|
|
30
|
-
output: any;
|
|
31
|
-
};
|
|
32
|
-
} ? T["_zod"]["output"] : unknown;
|
|
33
|
-
//#endregion
|
|
34
|
-
export { $ZodBranded, $constructor, input, output };
|
|
35
|
-
//# sourceMappingURL=core.d.ts.map
|
package/core.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"core.d.ts","names":["errors","schemas","Class","ZodTrait","$constructor","T","D","NEVER","$brand","$ZodBranded","Brand","SomeType","output","Record","$ZodAsyncError","Error","$ZodEncodeError","input","infer","$ZodConfig","$ZodErrorMap","globalConfig","config","Partial"],"sources":["../../../node_modules/.bun/zod@4.1.12/node_modules/zod/v4/core/core.d.cts"],"sourcesContent":["import type * as errors from \"./errors.cjs\";\nimport type * as schemas from \"./schemas.cjs\";\nimport type { Class } from \"./util.cjs\";\ntype ZodTrait = {\n _zod: {\n def: any;\n [k: string]: any;\n };\n};\nexport interface $constructor<T extends ZodTrait, D = T[\"_zod\"][\"def\"]> {\n new (def: D): T;\n init(inst: T, def: D): asserts inst is T;\n}\n/** A special constant with type `never` */\nexport declare const NEVER: never;\nexport declare function $constructor<T extends ZodTrait, D = T[\"_zod\"][\"def\"]>(name: string, initializer: (inst: T, def: D) => void, params?: {\n Parent?: typeof Class;\n}): $constructor<T, D>;\nexport declare const $brand: unique symbol;\nexport type $brand<T extends string | number | symbol = string | number | symbol> = {\n [$brand]: {\n [k in T]: true;\n };\n};\nexport type $ZodBranded<T extends schemas.SomeType, Brand extends string | number | symbol> = T & Record<\"_zod\", Record<\"output\", output<T> & $brand<Brand>>>;\nexport declare class $ZodAsyncError extends Error {\n constructor();\n}\nexport declare class $ZodEncodeError extends Error {\n constructor(name: string);\n}\nexport type input<T> = T extends {\n _zod: {\n input: any;\n };\n} ? T[\"_zod\"][\"input\"] : unknown;\nexport type output<T> = T extends {\n _zod: {\n output: any;\n };\n} ? T[\"_zod\"][\"output\"] : unknown;\nexport type { output as infer };\nexport interface $ZodConfig {\n /** Custom error map. Overrides `config().localeError`. */\n customError?: errors.$ZodErrorMap | undefined;\n /** Localized error map. Lowest priority. */\n localeError?: errors.$ZodErrorMap | undefined;\n /** Disable JIT schema compilation. Useful in environments that disallow `eval`. */\n jitless?: boolean | undefined;\n}\nexport declare const globalConfig: $ZodConfig;\nexport declare function config(newConfig?: Partial<$ZodConfig>): $ZodConfig;\n"],"x_google_ignoreList":[0],"mappings":";;;;KAGKG,QAAAA;EAAAA,IAAAA,EAAAA;IAMYC,GAAAA,EAAAA,GAAAA;IAAuBD,CAAAA,CAAAA,EAAAA,MAAAA,CAAAA,EAAAA,GAAAA;EAAcE,CAAAA;CACxCC;AAAID,UADDD,YACCC,CAAAA,UADsBF,QACtBE,EAAAA,IADoCA,CACpCA,CAAAA,MAAAA,CAAAA,CAAAA,KAAAA,CAAAA,CAAAA,CAAAA;EACHA,KAAAA,GAAAA,EADDC,CACCD,CAAAA,EADGA,CACHA;EAAQC,IAAAA,CAAAA,IAAAA,EAARD,CAAQC,EAAAA,GAAAA,EAAAA,CAAAA,CAAAA,EAAAA,QAAAA,IAAAA,IAAoBD,CAApBC;;AAIwBH,iBAAvBC,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
|
-
import { Flatten, MakePartial, Primitive } from "./util.js";
|
|
2
|
-
import { $ZodType } from "./schemas2.js";
|
|
3
|
-
import { $ZodCheck, $ZodStringFormats } from "./checks.js";
|
|
4
|
-
import { $constructor } from "./core.js";
|
|
5
|
-
|
|
6
|
-
//#region ../../node_modules/.bun/zod@4.1.12/node_modules/zod/v4/core/errors.d.cts
|
|
7
|
-
interface $ZodIssueBase {
|
|
8
|
-
readonly code?: string;
|
|
9
|
-
readonly input?: unknown;
|
|
10
|
-
readonly path: PropertyKey[];
|
|
11
|
-
readonly message: string;
|
|
12
|
-
}
|
|
13
|
-
interface $ZodIssueInvalidType<Input = unknown> extends $ZodIssueBase {
|
|
14
|
-
readonly code: "invalid_type";
|
|
15
|
-
readonly expected: $ZodType["_zod"]["def"]["type"];
|
|
16
|
-
readonly input?: Input;
|
|
17
|
-
}
|
|
18
|
-
interface $ZodIssueTooBig<Input = unknown> extends $ZodIssueBase {
|
|
19
|
-
readonly code: "too_big";
|
|
20
|
-
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
21
|
-
readonly maximum: number | bigint;
|
|
22
|
-
readonly inclusive?: boolean;
|
|
23
|
-
readonly exact?: boolean;
|
|
24
|
-
readonly input?: Input;
|
|
25
|
-
}
|
|
26
|
-
interface $ZodIssueTooSmall<Input = unknown> extends $ZodIssueBase {
|
|
27
|
-
readonly code: "too_small";
|
|
28
|
-
readonly origin: "number" | "int" | "bigint" | "date" | "string" | "array" | "set" | "file" | (string & {});
|
|
29
|
-
readonly minimum: number | bigint;
|
|
30
|
-
/** True if the allowable range includes the minimum */
|
|
31
|
-
readonly inclusive?: boolean;
|
|
32
|
-
/** True if the allowed value is fixed (e.g.` z.length(5)`), not a range (`z.minLength(5)`) */
|
|
33
|
-
readonly exact?: boolean;
|
|
34
|
-
readonly input?: Input;
|
|
35
|
-
}
|
|
36
|
-
interface $ZodIssueInvalidStringFormat extends $ZodIssueBase {
|
|
37
|
-
readonly code: "invalid_format";
|
|
38
|
-
readonly format: $ZodStringFormats | (string & {});
|
|
39
|
-
readonly pattern?: string;
|
|
40
|
-
readonly input?: string;
|
|
41
|
-
}
|
|
42
|
-
interface $ZodIssueNotMultipleOf<Input extends number | bigint = number | bigint> extends $ZodIssueBase {
|
|
43
|
-
readonly code: "not_multiple_of";
|
|
44
|
-
readonly divisor: number;
|
|
45
|
-
readonly input?: Input;
|
|
46
|
-
}
|
|
47
|
-
interface $ZodIssueUnrecognizedKeys extends $ZodIssueBase {
|
|
48
|
-
readonly code: "unrecognized_keys";
|
|
49
|
-
readonly keys: string[];
|
|
50
|
-
readonly input?: Record<string, unknown>;
|
|
51
|
-
}
|
|
52
|
-
interface $ZodIssueInvalidUnion extends $ZodIssueBase {
|
|
53
|
-
readonly code: "invalid_union";
|
|
54
|
-
readonly errors: $ZodIssue[][];
|
|
55
|
-
readonly input?: unknown;
|
|
56
|
-
readonly discriminator?: string | undefined;
|
|
57
|
-
}
|
|
58
|
-
interface $ZodIssueInvalidKey<Input = unknown> extends $ZodIssueBase {
|
|
59
|
-
readonly code: "invalid_key";
|
|
60
|
-
readonly origin: "map" | "record";
|
|
61
|
-
readonly issues: $ZodIssue[];
|
|
62
|
-
readonly input?: Input;
|
|
63
|
-
}
|
|
64
|
-
interface $ZodIssueInvalidElement<Input = unknown> extends $ZodIssueBase {
|
|
65
|
-
readonly code: "invalid_element";
|
|
66
|
-
readonly origin: "map" | "set";
|
|
67
|
-
readonly key: unknown;
|
|
68
|
-
readonly issues: $ZodIssue[];
|
|
69
|
-
readonly input?: Input;
|
|
70
|
-
}
|
|
71
|
-
interface $ZodIssueInvalidValue<Input = unknown> extends $ZodIssueBase {
|
|
72
|
-
readonly code: "invalid_value";
|
|
73
|
-
readonly values: Primitive[];
|
|
74
|
-
readonly input?: Input;
|
|
75
|
-
}
|
|
76
|
-
interface $ZodIssueCustom extends $ZodIssueBase {
|
|
77
|
-
readonly code: "custom";
|
|
78
|
-
readonly params?: Record<string, any> | undefined;
|
|
79
|
-
readonly input?: unknown;
|
|
80
|
-
}
|
|
81
|
-
type $ZodIssue = $ZodIssueInvalidType | $ZodIssueTooBig | $ZodIssueTooSmall | $ZodIssueInvalidStringFormat | $ZodIssueNotMultipleOf | $ZodIssueUnrecognizedKeys | $ZodIssueInvalidUnion | $ZodIssueInvalidKey | $ZodIssueInvalidElement | $ZodIssueInvalidValue | $ZodIssueCustom;
|
|
82
|
-
type $ZodInternalIssue<T extends $ZodIssueBase = $ZodIssue> = T extends any ? RawIssue<T> : never;
|
|
83
|
-
type RawIssue<T extends $ZodIssueBase> = T extends any ? Flatten<MakePartial<T, "message" | "path"> & {
|
|
84
|
-
/** The input data */
|
|
85
|
-
readonly input: unknown;
|
|
86
|
-
/** The schema or check that originated this issue. */
|
|
87
|
-
readonly inst?: $ZodType | $ZodCheck;
|
|
88
|
-
/** If `true`, Zod will continue executing checks/refinements after this issue. */
|
|
89
|
-
readonly continue?: boolean | undefined;
|
|
90
|
-
} & Record<string, unknown>> : never;
|
|
91
|
-
type $ZodRawIssue<T extends $ZodIssueBase = $ZodIssue> = $ZodInternalIssue<T>;
|
|
92
|
-
interface $ZodErrorMap<T extends $ZodIssueBase = $ZodIssue> {
|
|
93
|
-
(issue: $ZodRawIssue<T>): {
|
|
94
|
-
message: string;
|
|
95
|
-
} | string | undefined | null;
|
|
96
|
-
}
|
|
97
|
-
interface $ZodError<T = unknown> extends Error {
|
|
98
|
-
type: T;
|
|
99
|
-
issues: $ZodIssue[];
|
|
100
|
-
_zod: {
|
|
101
|
-
output: T;
|
|
102
|
-
def: $ZodIssue[];
|
|
103
|
-
};
|
|
104
|
-
stack?: string;
|
|
105
|
-
name: string;
|
|
106
|
-
}
|
|
107
|
-
declare const $ZodError: $constructor<$ZodError>;
|
|
108
|
-
type $ZodFlattenedError<T, U = string> = _FlattenedError<T, U>;
|
|
109
|
-
type _FlattenedError<T, U = string> = {
|
|
110
|
-
formErrors: U[];
|
|
111
|
-
fieldErrors: { [P in keyof T]?: U[] };
|
|
112
|
-
};
|
|
113
|
-
type _ZodFormattedError<T, U = string> = T extends [any, ...any[]] ? { [K in keyof T]?: $ZodFormattedError<T[K], U> } : T extends any[] ? {
|
|
114
|
-
[k: number]: $ZodFormattedError<T[number], U>;
|
|
115
|
-
} : T extends object ? Flatten<{ [K in keyof T]?: $ZodFormattedError<T[K], U> }> : any;
|
|
116
|
-
type $ZodFormattedError<T, U = string> = {
|
|
117
|
-
_errors: U[];
|
|
118
|
-
} & Flatten<_ZodFormattedError<T, U>>;
|
|
119
|
-
//#endregion
|
|
120
|
-
export { $ZodError, $ZodErrorMap, $ZodFlattenedError, $ZodFormattedError, $ZodIssue, $ZodIssueBase, $ZodIssueInvalidKey, $ZodIssueInvalidStringFormat, $ZodIssueInvalidType, $ZodIssueInvalidUnion, $ZodIssueInvalidValue, $ZodIssueNotMultipleOf, $ZodIssueTooBig, $ZodIssueTooSmall, $ZodIssueUnrecognizedKeys, $ZodRawIssue };
|
|
121
|
-
//# sourceMappingURL=errors.d.ts.map
|
package/errors.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","names":["$ZodCheck","$ZodStringFormats","$constructor","$ZodType","StandardSchemaV1","util","$ZodIssueBase","PropertyKey","$ZodIssueInvalidType","Input","$ZodIssueTooBig","$ZodIssueTooSmall","$ZodIssueInvalidStringFormat","$ZodIssueNotMultipleOf","$ZodIssueUnrecognizedKeys","Record","$ZodIssueInvalidUnion","$ZodIssue","$ZodIssueInvalidKey","$ZodIssueInvalidElement","$ZodIssueInvalidValue","Primitive","$ZodIssueCustom","$ZodIssueStringCommonFormats","Exclude","$ZodIssueStringInvalidRegex","$ZodIssueStringInvalidJWT","$ZodIssueStringStartsWith","$ZodIssueStringEndsWith","$ZodIssueStringIncludes","$ZodStringFormatIssues","$ZodIssueCode","$ZodInternalIssue","T","RawIssue","MakePartial","Flatten","$ZodRawIssue","$ZodErrorMap","$ZodError","Error","$ZodRealError","$ZodFlattenedError","U","_FlattenedError","flattenError","_ZodFormattedError","K","$ZodFormattedError","formatError","$ZodErrorTree","Array","treeifyError","toDotPath","PathSegment","prettifyError","FailureResult"],"sources":["../../../node_modules/.bun/zod@4.1.12/node_modules/zod/v4/core/errors.d.cts"],"sourcesContent":["import type { $ZodCheck, $ZodStringFormats } from \"./checks.cjs\";\nimport { $constructor } from \"./core.cjs\";\nimport type { $ZodType } from \"./schemas.cjs\";\nimport type { StandardSchemaV1 } from \"./standard-schema.cjs\";\nimport * as util from \"./util.cjs\";\nexport interface $ZodIssueBase {\n readonly code?: string;\n readonly input?: unknown;\n readonly path: PropertyKey[];\n readonly message: string;\n}\nexport interface $ZodIssueInvalidType<Input = unknown> extends $ZodIssueBase {\n readonly code: \"invalid_type\";\n readonly expected: $ZodType[\"_zod\"][\"def\"][\"type\"];\n readonly input?: Input;\n}\nexport interface $ZodIssueTooBig<Input = unknown> extends $ZodIssueBase {\n readonly code: \"too_big\";\n readonly origin: \"number\" | \"int\" | \"bigint\" | \"date\" | \"string\" | \"array\" | \"set\" | \"file\" | (string & {});\n readonly maximum: number | bigint;\n readonly inclusive?: boolean;\n readonly exact?: boolean;\n readonly input?: Input;\n}\nexport interface $ZodIssueTooSmall<Input = unknown> extends $ZodIssueBase {\n readonly code: \"too_small\";\n readonly origin: \"number\" | \"int\" | \"bigint\" | \"date\" | \"string\" | \"array\" | \"set\" | \"file\" | (string & {});\n readonly minimum: number | bigint;\n /** True if the allowable range includes the minimum */\n readonly inclusive?: boolean;\n /** True if the allowed value is fixed (e.g.` z.length(5)`), not a range (`z.minLength(5)`) */\n readonly exact?: boolean;\n readonly input?: Input;\n}\nexport interface $ZodIssueInvalidStringFormat extends $ZodIssueBase {\n readonly code: \"invalid_format\";\n readonly format: $ZodStringFormats | (string & {});\n readonly pattern?: string;\n readonly input?: string;\n}\nexport interface $ZodIssueNotMultipleOf<Input extends number | bigint = number | bigint> extends $ZodIssueBase {\n readonly code: \"not_multiple_of\";\n readonly divisor: number;\n readonly input?: Input;\n}\nexport interface $ZodIssueUnrecognizedKeys extends $ZodIssueBase {\n readonly code: \"unrecognized_keys\";\n readonly keys: string[];\n readonly input?: Record<string, unknown>;\n}\nexport interface $ZodIssueInvalidUnion extends $ZodIssueBase {\n readonly code: \"invalid_union\";\n readonly errors: $ZodIssue[][];\n readonly input?: unknown;\n readonly discriminator?: string | undefined;\n}\nexport interface $ZodIssueInvalidKey<Input = unknown> extends $ZodIssueBase {\n readonly code: \"invalid_key\";\n readonly origin: \"map\" | \"record\";\n readonly issues: $ZodIssue[];\n readonly input?: Input;\n}\nexport interface $ZodIssueInvalidElement<Input = unknown> extends $ZodIssueBase {\n readonly code: \"invalid_element\";\n readonly origin: \"map\" | \"set\";\n readonly key: unknown;\n readonly issues: $ZodIssue[];\n readonly input?: Input;\n}\nexport interface $ZodIssueInvalidValue<Input = unknown> extends $ZodIssueBase {\n readonly code: \"invalid_value\";\n readonly values: util.Primitive[];\n readonly input?: Input;\n}\nexport interface $ZodIssueCustom extends $ZodIssueBase {\n readonly code: \"custom\";\n readonly params?: Record<string, any> | undefined;\n readonly input?: unknown;\n}\nexport interface $ZodIssueStringCommonFormats extends $ZodIssueInvalidStringFormat {\n format: Exclude<$ZodStringFormats, \"regex\" | \"jwt\" | \"starts_with\" | \"ends_with\" | \"includes\">;\n}\nexport interface $ZodIssueStringInvalidRegex extends $ZodIssueInvalidStringFormat {\n format: \"regex\";\n pattern: string;\n}\nexport interface $ZodIssueStringInvalidJWT extends $ZodIssueInvalidStringFormat {\n format: \"jwt\";\n algorithm?: string;\n}\nexport interface $ZodIssueStringStartsWith extends $ZodIssueInvalidStringFormat {\n format: \"starts_with\";\n prefix: string;\n}\nexport interface $ZodIssueStringEndsWith extends $ZodIssueInvalidStringFormat {\n format: \"ends_with\";\n suffix: string;\n}\nexport interface $ZodIssueStringIncludes extends $ZodIssueInvalidStringFormat {\n format: \"includes\";\n includes: string;\n}\nexport type $ZodStringFormatIssues = $ZodIssueStringCommonFormats | $ZodIssueStringInvalidRegex | $ZodIssueStringInvalidJWT | $ZodIssueStringStartsWith | $ZodIssueStringEndsWith | $ZodIssueStringIncludes;\nexport type $ZodIssue = $ZodIssueInvalidType | $ZodIssueTooBig | $ZodIssueTooSmall | $ZodIssueInvalidStringFormat | $ZodIssueNotMultipleOf | $ZodIssueUnrecognizedKeys | $ZodIssueInvalidUnion | $ZodIssueInvalidKey | $ZodIssueInvalidElement | $ZodIssueInvalidValue | $ZodIssueCustom;\nexport type $ZodIssueCode = $ZodIssue[\"code\"];\nexport type $ZodInternalIssue<T extends $ZodIssueBase = $ZodIssue> = T extends any ? RawIssue<T> : never;\ntype RawIssue<T extends $ZodIssueBase> = T extends any ? util.Flatten<util.MakePartial<T, \"message\" | \"path\"> & {\n /** The input data */\n readonly input: unknown;\n /** The schema or check that originated this issue. */\n readonly inst?: $ZodType | $ZodCheck;\n /** If `true`, Zod will continue executing checks/refinements after this issue. */\n readonly continue?: boolean | undefined;\n} & Record<string, unknown>> : never;\nexport type $ZodRawIssue<T extends $ZodIssueBase = $ZodIssue> = $ZodInternalIssue<T>;\nexport interface $ZodErrorMap<T extends $ZodIssueBase = $ZodIssue> {\n (issue: $ZodRawIssue<T>): {\n message: string;\n } | string | undefined | null;\n}\nexport interface $ZodError<T = unknown> extends Error {\n type: T;\n issues: $ZodIssue[];\n _zod: {\n output: T;\n def: $ZodIssue[];\n };\n stack?: string;\n name: string;\n}\nexport declare const $ZodError: $constructor<$ZodError>;\ninterface $ZodRealError<T = any> extends $ZodError<T> {\n}\nexport declare const $ZodRealError: $constructor<$ZodRealError>;\nexport type $ZodFlattenedError<T, U = string> = _FlattenedError<T, U>;\ntype _FlattenedError<T, U = string> = {\n formErrors: U[];\n fieldErrors: {\n [P in keyof T]?: U[];\n };\n};\nexport declare function flattenError<T>(error: $ZodError<T>): _FlattenedError<T>;\nexport declare function flattenError<T, U>(error: $ZodError<T>, mapper?: (issue: $ZodIssue) => U): _FlattenedError<T, U>;\ntype _ZodFormattedError<T, U = string> = T extends [any, ...any[]] ? {\n [K in keyof T]?: $ZodFormattedError<T[K], U>;\n} : T extends any[] ? {\n [k: number]: $ZodFormattedError<T[number], U>;\n} : T extends object ? util.Flatten<{\n [K in keyof T]?: $ZodFormattedError<T[K], U>;\n}> : any;\nexport type $ZodFormattedError<T, U = string> = {\n _errors: U[];\n} & util.Flatten<_ZodFormattedError<T, U>>;\nexport declare function formatError<T>(error: $ZodError<T>): $ZodFormattedError<T>;\nexport declare function formatError<T, U>(error: $ZodError<T>, mapper?: (issue: $ZodIssue) => U): $ZodFormattedError<T, U>;\nexport type $ZodErrorTree<T, U = string> = T extends util.Primitive ? {\n errors: U[];\n} : T extends [any, ...any[]] ? {\n errors: U[];\n items?: {\n [K in keyof T]?: $ZodErrorTree<T[K], U>;\n };\n} : T extends any[] ? {\n errors: U[];\n items?: Array<$ZodErrorTree<T[number], U>>;\n} : T extends object ? {\n errors: U[];\n properties?: {\n [K in keyof T]?: $ZodErrorTree<T[K], U>;\n };\n} : {\n errors: U[];\n};\nexport declare function treeifyError<T>(error: $ZodError<T>): $ZodErrorTree<T>;\nexport declare function treeifyError<T, U>(error: $ZodError<T>, mapper?: (issue: $ZodIssue) => U): $ZodErrorTree<T, U>;\n/** Format a ZodError as a human-readable string in the following form.\n *\n * From\n *\n * ```ts\n * ZodError {\n * issues: [\n * {\n * expected: 'string',\n * code: 'invalid_type',\n * path: [ 'username' ],\n * message: 'Invalid input: expected string'\n * },\n * {\n * expected: 'number',\n * code: 'invalid_type',\n * path: [ 'favoriteNumbers', 1 ],\n * message: 'Invalid input: expected number'\n * }\n * ];\n * }\n * ```\n *\n * to\n *\n * ```\n * username\n * ✖ Expected number, received string at \"username\n * favoriteNumbers[0]\n * ✖ Invalid input: expected number\n * ```\n */\nexport declare function toDotPath(_path: readonly (string | number | symbol | StandardSchemaV1.PathSegment)[]): string;\nexport declare function prettifyError(error: StandardSchemaV1.FailureResult): string;\nexport {};\n"],"x_google_igno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BAAmB5B,sBACP4B,KAAKe,mBAAmBf,EAAEc,IAAIJ;KAElCK;WACCL;IACTtC,QAAayC,mBAAmBb,GAAGU"}
|
package/errors2.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { $ZodError, $ZodErrorMap, $ZodFlattenedError, $ZodFormattedError, $ZodIssue } from "./errors.js";
|
|
2
|
-
import { $constructor } from "./core.js";
|
|
3
|
-
|
|
4
|
-
//#region ../../node_modules/.bun/zod@4.1.12/node_modules/zod/v4/classic/errors.d.cts
|
|
5
|
-
|
|
6
|
-
/** An Error-like class used to store Zod validation issues. */
|
|
7
|
-
interface ZodError<T = unknown> extends $ZodError<T> {
|
|
8
|
-
/** @deprecated Use the `z.treeifyError(err)` function instead. */
|
|
9
|
-
format(): $ZodFormattedError<T>;
|
|
10
|
-
format<U>(mapper: (issue: $ZodIssue) => U): $ZodFormattedError<T, U>;
|
|
11
|
-
/** @deprecated Use the `z.treeifyError(err)` function instead. */
|
|
12
|
-
flatten(): $ZodFlattenedError<T>;
|
|
13
|
-
flatten<U>(mapper: (issue: $ZodIssue) => U): $ZodFlattenedError<T, U>;
|
|
14
|
-
/** @deprecated Push directly to `.issues` instead. */
|
|
15
|
-
addIssue(issue: $ZodIssue): void;
|
|
16
|
-
/** @deprecated Push directly to `.issues` instead. */
|
|
17
|
-
addIssues(issues: $ZodIssue[]): void;
|
|
18
|
-
/** @deprecated Check `err.issues.length === 0` instead. */
|
|
19
|
-
isEmpty: boolean;
|
|
20
|
-
}
|
|
21
|
-
declare const ZodError: $constructor<ZodError>;
|
|
22
|
-
//#endregion
|
|
23
|
-
export { ZodError };
|
|
24
|
-
//# sourceMappingURL=errors2.d.ts.map
|
package/errors2.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"errors2.d.ts","names":["core","$ZodError","ZodIssue","$ZodIssue","ZodError","U","T","$ZodFormattedError","$ZodFlattenedError","$constructor","ZodRealError","ZodFlattenedError","ZodFormattedError","$ZodErrorMap","ZodErrorMap","IssueData","$ZodRawIssue"],"sources":["../../../node_modules/.bun/zod@4.1.12/node_modules/zod/v4/classic/errors.d.cts"],"sourcesContent":["import * as core from \"../core/index.cjs\";\nimport { $ZodError } from \"../core/index.cjs\";\n/** @deprecated Use `z.core.$ZodIssue` from `@zod/core` instead, especially if you are building a library on top of Zod. */\nexport type ZodIssue = core.$ZodIssue;\n/** An Error-like class used to store Zod validation issues. */\nexport interface ZodError<T = unknown> extends $ZodError<T> {\n /** @deprecated Use the `z.treeifyError(err)` function instead. */\n format(): core.$ZodFormattedError<T>;\n format<U>(mapper: (issue: core.$ZodIssue) => U): core.$ZodFormattedError<T, U>;\n /** @deprecated Use the `z.treeifyError(err)` function instead. */\n flatten(): core.$ZodFlattenedError<T>;\n flatten<U>(mapper: (issue: core.$ZodIssue) => U): core.$ZodFlattenedError<T, U>;\n /** @deprecated Push directly to `.issues` instead. */\n addIssue(issue: core.$ZodIssue): void;\n /** @deprecated Push directly to `.issues` instead. */\n addIssues(issues: core.$ZodIssue[]): void;\n /** @deprecated Check `err.issues.length === 0` instead. */\n isEmpty: boolean;\n}\nexport declare const ZodError: core.$constructor<ZodError>;\nexport declare const ZodRealError: core.$constructor<ZodError>;\nexport type { \n/** @deprecated Use `z.core.$ZodFlattenedError` instead. */\n$ZodFlattenedError as ZodFlattenedError, \n/** @deprecated Use `z.core.$ZodFormattedError` instead. */\n$ZodFormattedError as ZodFormattedError, \n/** @deprecated Use `z.core.$ZodErrorMap` instead. */\n$ZodErrorMap as ZodErrorMap, } from \"../core/index.cjs\";\n/** @deprecated Use `z.core.$ZodRawIssue` instead. */\nexport type IssueData = core.$ZodRawIssue;\n"],"x_google_ignoreList":[0],"mappings":";;;;;AAKA;AAAyDM,UAAxCF,QAAwCE,CAAAA,IAAAA,OAAAA,CAAAA,SAAVL,SAAUK,CAAAA,CAAAA,CAAAA,CAAAA;EAEnBA;EAAxBN,MAAAA,EAAAA,EAAAA,kBAAAA,CAAwBM,CAAxBN,CAAAA;EACgBA,MAAAA,CAAAA,CAAAA,CAAAA,CAAAA,MAAAA,EAAAA,CAAAA,KAAAA,EAAAA,SAAAA,EAAAA,GAAmBK,CAAnBL,CAAAA,EAAuBA,kBAAvBA,CAA+CM,CAA/CN,EAAkDK,CAAlDL,CAAAA;EAAmBK;EAA4BC,OAAAA,EAAAA,EAE9DN,kBAF8DM,CAEtCA,CAFsCA,CAAAA;EAAGD,OAAAA,CAAAA,CAAAA,CAAAA,CAAAA,MAAAA,EAAAA,CAAAA,KAAAA,EAGjDL,SAHiDK,EAAAA,GAG9BA,CAH8BA,CAAAA,EAG1BL,kBAH0BK,CAGFC,CAHED,EAGCA,CAHDA,CAAAA;EAA3BL;EAEdM,QAAAA,CAAAA,KAAAA,EAGnBN,SAHmBM,CAAAA,EAAAA,IAAAA;EAAxBN;EACgBA,SAAAA,CAAAA,MAAAA,EAITA,SAJSA,EAAAA,CAAAA,EAAAA,IAAAA;EAAmBK;EAA4BC,OAAAA,EAAAA,OAAAA;;AAAxBN,cAQjCI,QARiCJ,EAQvBA,YARuBA,CAQLI,QARKJ,CAAAA"}
|
package/index2.d.ts
DELETED
package/index3.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./index2.js";
|
package/metadata.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./zod-extensions.js";
|
package/openapi-generator.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./zod-extensions.js";
|
package/openapi-generator2.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./openapi-generator.js";
|
package/openapi-generator3.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./openapi-generator.js";
|
package/openapi30.d.ts
DELETED
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
import { ISpecificationExtension } from "./specification-extension.js";
|
|
2
|
-
|
|
3
|
-
//#region ../../node_modules/.bun/openapi3-ts@4.5.0/node_modules/openapi3-ts/dist/model/openapi30.d.ts
|
|
4
|
-
|
|
5
|
-
interface ExternalDocumentationObject extends ISpecificationExtension {
|
|
6
|
-
description?: string;
|
|
7
|
-
url: string;
|
|
8
|
-
}
|
|
9
|
-
type ParameterLocation = 'query' | 'header' | 'path' | 'cookie';
|
|
10
|
-
type ParameterStyle = 'matrix' | 'label' | 'form' | 'simple' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject';
|
|
11
|
-
interface BaseParameterObject extends ISpecificationExtension {
|
|
12
|
-
description?: string;
|
|
13
|
-
required?: boolean;
|
|
14
|
-
deprecated?: boolean;
|
|
15
|
-
allowEmptyValue?: boolean;
|
|
16
|
-
style?: ParameterStyle;
|
|
17
|
-
explode?: boolean;
|
|
18
|
-
allowReserved?: boolean;
|
|
19
|
-
schema?: SchemaObject | ReferenceObject;
|
|
20
|
-
examples?: {
|
|
21
|
-
[param: string]: ExampleObject | ReferenceObject;
|
|
22
|
-
};
|
|
23
|
-
example?: any;
|
|
24
|
-
content?: ContentObject;
|
|
25
|
-
}
|
|
26
|
-
interface ParameterObject extends BaseParameterObject {
|
|
27
|
-
name: string;
|
|
28
|
-
in: ParameterLocation;
|
|
29
|
-
}
|
|
30
|
-
interface ContentObject {
|
|
31
|
-
[mediatype: string]: MediaTypeObject;
|
|
32
|
-
}
|
|
33
|
-
interface MediaTypeObject extends ISpecificationExtension {
|
|
34
|
-
schema?: SchemaObject | ReferenceObject;
|
|
35
|
-
examples?: ExamplesObject;
|
|
36
|
-
example?: any;
|
|
37
|
-
encoding?: EncodingObject;
|
|
38
|
-
}
|
|
39
|
-
interface EncodingObject extends ISpecificationExtension {
|
|
40
|
-
[property: string]: EncodingPropertyObject | any;
|
|
41
|
-
}
|
|
42
|
-
interface EncodingPropertyObject {
|
|
43
|
-
contentType?: string;
|
|
44
|
-
headers?: {
|
|
45
|
-
[key: string]: HeaderObject | ReferenceObject;
|
|
46
|
-
};
|
|
47
|
-
style?: string;
|
|
48
|
-
explode?: boolean;
|
|
49
|
-
allowReserved?: boolean;
|
|
50
|
-
[key: string]: any;
|
|
51
|
-
}
|
|
52
|
-
interface ExampleObject {
|
|
53
|
-
summary?: string;
|
|
54
|
-
description?: string;
|
|
55
|
-
value?: any;
|
|
56
|
-
externalValue?: string;
|
|
57
|
-
[property: string]: any;
|
|
58
|
-
}
|
|
59
|
-
interface HeaderObject extends BaseParameterObject {
|
|
60
|
-
$ref?: string;
|
|
61
|
-
}
|
|
62
|
-
interface ExamplesObject {
|
|
63
|
-
[name: string]: ExampleObject | ReferenceObject;
|
|
64
|
-
}
|
|
65
|
-
interface ReferenceObject {
|
|
66
|
-
$ref: string;
|
|
67
|
-
}
|
|
68
|
-
type SchemaObjectType = 'integer' | 'number' | 'string' | 'boolean' | 'object' | 'null' | 'array';
|
|
69
|
-
type SchemaObjectFormat = 'int32' | 'int64' | 'float' | 'double' | 'byte' | 'binary' | 'date' | 'date-time' | 'password' | string;
|
|
70
|
-
interface SchemaObject extends ISpecificationExtension {
|
|
71
|
-
nullable?: boolean;
|
|
72
|
-
discriminator?: DiscriminatorObject;
|
|
73
|
-
readOnly?: boolean;
|
|
74
|
-
writeOnly?: boolean;
|
|
75
|
-
xml?: XmlObject;
|
|
76
|
-
externalDocs?: ExternalDocumentationObject;
|
|
77
|
-
example?: any;
|
|
78
|
-
examples?: any[];
|
|
79
|
-
deprecated?: boolean;
|
|
80
|
-
type?: SchemaObjectType | SchemaObjectType[];
|
|
81
|
-
format?: SchemaObjectFormat;
|
|
82
|
-
allOf?: (SchemaObject | ReferenceObject)[];
|
|
83
|
-
oneOf?: (SchemaObject | ReferenceObject)[];
|
|
84
|
-
anyOf?: (SchemaObject | ReferenceObject)[];
|
|
85
|
-
not?: SchemaObject | ReferenceObject;
|
|
86
|
-
items?: SchemaObject | ReferenceObject;
|
|
87
|
-
properties?: {
|
|
88
|
-
[propertyName: string]: SchemaObject | ReferenceObject;
|
|
89
|
-
};
|
|
90
|
-
additionalProperties?: SchemaObject | ReferenceObject | boolean;
|
|
91
|
-
description?: string;
|
|
92
|
-
default?: any;
|
|
93
|
-
title?: string;
|
|
94
|
-
multipleOf?: number;
|
|
95
|
-
maximum?: number;
|
|
96
|
-
exclusiveMaximum?: boolean;
|
|
97
|
-
minimum?: number;
|
|
98
|
-
exclusiveMinimum?: boolean;
|
|
99
|
-
maxLength?: number;
|
|
100
|
-
minLength?: number;
|
|
101
|
-
pattern?: string;
|
|
102
|
-
maxItems?: number;
|
|
103
|
-
minItems?: number;
|
|
104
|
-
uniqueItems?: boolean;
|
|
105
|
-
maxProperties?: number;
|
|
106
|
-
minProperties?: number;
|
|
107
|
-
required?: string[];
|
|
108
|
-
enum?: any[];
|
|
109
|
-
}
|
|
110
|
-
interface DiscriminatorObject {
|
|
111
|
-
propertyName: string;
|
|
112
|
-
mapping?: {
|
|
113
|
-
[key: string]: string;
|
|
114
|
-
};
|
|
115
|
-
}
|
|
116
|
-
interface XmlObject extends ISpecificationExtension {
|
|
117
|
-
name?: string;
|
|
118
|
-
namespace?: string;
|
|
119
|
-
prefix?: string;
|
|
120
|
-
attribute?: boolean;
|
|
121
|
-
wrapped?: boolean;
|
|
122
|
-
}
|
|
123
|
-
//#endregion
|
|
124
|
-
export { ParameterObject, SchemaObject };
|
|
125
|
-
//# sourceMappingURL=openapi30.d.ts.map
|
package/openapi30.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"openapi30.d.ts","names":["ServerObject","ISpecificationExtension","SpecificationExtension","OpenAPIObject","InfoObject","PathsObject","ComponentsObject","SecurityRequirementObject","TagObject","ExternalDocumentationObject","ContactObject","LicenseObject","SchemaObject","ReferenceObject","ResponseObject","ParameterObject","ExampleObject","RequestBodyObject","HeaderObject","SecuritySchemeObject","LinkObject","CallbackObject","PathItemObject","PathObject","getPath","OperationObject","ResponsesObject","CallbacksObject","ParameterLocation","ParameterStyle","BaseParameterObject","ContentObject","MediaTypeObject","ExamplesObject","EncodingObject","EncodingPropertyObject","HeadersObject","LinksObject","LinkParametersObject","isReferenceObject","SchemaObjectType","SchemaObjectFormat","DiscriminatorObject","XmlObject","isSchemaObject","SchemasObject","SecuritySchemeType","OAuthFlowsObject","OAuthFlowObject","ScopesObject"],"sources":["../../../node_modules/.bun/openapi3-ts@4.5.0/node_modules/openapi3-ts/dist/model/openapi30.d.ts"],"sourcesContent":["import { ServerObject } from './oas-common';\nimport { ISpecificationExtension } from './specification-extension';\nexport * from './oas-common';\nexport type { ISpecificationExtension, SpecificationExtension } from './specification-extension';\nexport interface OpenAPIObject extends ISpecificationExtension {\n openapi: string;\n info: InfoObject;\n servers?: ServerObject[];\n paths: PathsObject;\n components?: ComponentsObject;\n security?: SecurityRequirementObject[];\n tags?: TagObject[];\n externalDocs?: ExternalDocumentationObject;\n}\nexport interface InfoObject extends ISpecificationExtension {\n title: string;\n description?: string;\n termsOfService?: string;\n contact?: ContactObject;\n license?: LicenseObject;\n version: string;\n}\nexport interface ContactObject extends ISpecificationExtension {\n name?: string;\n url?: string;\n email?: string;\n}\nexport interface LicenseObject extends ISpecificationExtension {\n name: string;\n url?: string;\n}\nexport interface ComponentsObject extends ISpecificationExtension {\n schemas?: {\n [schema: string]: SchemaObject | ReferenceObject;\n };\n responses?: {\n [response: string]: ResponseObject | ReferenceObject;\n };\n parameters?: {\n [parameter: string]: ParameterObject | ReferenceObject;\n };\n examples?: {\n [example: string]: ExampleObject | ReferenceObject;\n };\n requestBodies?: {\n [request: string]: RequestBodyObject | ReferenceObject;\n };\n headers?: {\n [header: string]: HeaderObject | ReferenceObject;\n };\n securitySchemes?: {\n [securityScheme: string]: SecuritySchemeObject | ReferenceObject;\n };\n links?: {\n [link: string]: LinkObject | ReferenceObject;\n };\n callbacks?: {\n [callback: string]: CallbackObject | ReferenceObject;\n };\n}\nexport interface PathsObject extends ISpecificationExtension {\n [path: string]: PathItemObject;\n}\nexport type PathObject = PathsObject;\nexport declare function getPath(pathsObject: PathsObject, path: string): PathItemObject | undefined;\nexport interface PathItemObject extends ISpecificationExtension {\n $ref?: string;\n summary?: string;\n description?: string;\n get?: OperationObject;\n put?: OperationObject;\n post?: OperationObject;\n delete?: OperationObject;\n options?: OperationObject;\n head?: OperationObject;\n patch?: OperationObject;\n trace?: OperationObject;\n servers?: ServerObject[];\n parameters?: (ParameterObject | ReferenceObject)[];\n}\nexport interface OperationObject extends ISpecificationExtension {\n tags?: string[];\n summary?: string;\n description?: string;\n externalDocs?: ExternalDocumentationObject;\n operationId?: string;\n parameters?: (ParameterObject | ReferenceObject)[];\n requestBody?: RequestBodyObject | ReferenceObject;\n responses: ResponsesObject;\n callbacks?: CallbacksObject;\n deprecated?: boolean;\n security?: SecurityRequirementObject[];\n servers?: ServerObject[];\n}\nexport interface ExternalDocumentationObject extends ISpecificationExtension {\n description?: string;\n url: string;\n}\nexport type ParameterLocation = 'query' | 'header' | 'path' | 'cookie';\nexport type ParameterStyle = 'matrix' | 'label' | 'form' | 'simple' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject';\nexport interface BaseParameterObject extends ISpecificationExtension {\n description?: string;\n required?: boolean;\n deprecated?: boolean;\n allowEmptyValue?: boolean;\n style?: ParameterStyle;\n explode?: boolean;\n allowReserved?: boolean;\n schema?: SchemaObject | ReferenceObject;\n examples?: {\n [param: string]: ExampleObject | ReferenceObject;\n };\n example?: any;\n content?: ContentObject;\n}\nexport interface ParameterObject extends BaseParameterObject {\n name: string;\n in: ParameterLocation;\n}\nexport interface RequestBodyObject extends ISpecificationExtension {\n description?: string;\n content: ContentObject;\n required?: boolean;\n}\nexport interface ContentObject {\n [mediatype: string]: MediaTypeObject;\n}\nexport interface MediaTypeObject extends ISpecificationExtension {\n schema?: SchemaObject | ReferenceObject;\n examples?: ExamplesObject;\n example?: any;\n encoding?: EncodingObject;\n}\nexport interface EncodingObject extends ISpecificationExtension {\n [property: string]: EncodingPropertyObject | any;\n}\nexport interface EncodingPropertyObject {\n contentType?: string;\n headers?: {\n [key: string]: HeaderObject | ReferenceObject;\n };\n style?: string;\n explode?: boolean;\n allowReserved?: boolean;\n [key: string]: any;\n}\nexport interface ResponsesObject extends ISpecificationExtension {\n default?: ResponseObject | ReferenceObject;\n [statuscode: string]: ResponseObject | ReferenceObject | any;\n}\nexport interface ResponseObject extends ISpecificationExtension {\n description: string;\n headers?: HeadersObject;\n content?: ContentObject;\n links?: LinksObject;\n}\nexport interface CallbacksObject extends ISpecificationExtension {\n [name: string]: CallbackObject | ReferenceObject | any;\n}\nexport interface CallbackObject extends ISpecificationExtension {\n [name: string]: PathItemObject | any;\n}\nexport interface HeadersObject {\n [name: string]: HeaderObject | ReferenceObject;\n}\nexport interface ExampleObject {\n summary?: string;\n description?: string;\n value?: any;\n externalValue?: string;\n [property: string]: any;\n}\nexport interface LinksObject {\n [name: string]: LinkObject | ReferenceObject;\n}\nexport interface LinkObject extends ISpecificationExtension {\n operationRef?: string;\n operationId?: string;\n parameters?: LinkParametersObject;\n requestBody?: any | string;\n description?: string;\n server?: ServerObject;\n [property: string]: any;\n}\nexport interface LinkParametersObject {\n [name: string]: any | string;\n}\nexport interface HeaderObject extends BaseParameterObject {\n $ref?: string;\n}\nexport interface TagObject extends ISpecificationExtension {\n name: string;\n description?: string;\n externalDocs?: ExternalDocumentationObject;\n [extension: string]: any;\n}\nexport interface ExamplesObject {\n [name: string]: ExampleObject | ReferenceObject;\n}\nexport interface ReferenceObject {\n $ref: string;\n}\nexport declare function isReferenceObject(obj: any): obj is ReferenceObject;\nexport type SchemaObjectType = 'integer' | 'number' | 'string' | 'boolean' | 'object' | 'null' | 'array';\nexport type SchemaObjectFormat = 'int32' | 'int64' | 'float' | 'double' | 'byte' | 'binary' | 'date' | 'date-time' | 'password' | string;\nexport interface SchemaObject extends ISpecificationExtension {\n nullable?: boolean;\n discriminator?: DiscriminatorObject;\n readOnly?: boolean;\n writeOnly?: boolean;\n xml?: XmlObject;\n externalDocs?: ExternalDocumentationObject;\n example?: any;\n examples?: any[];\n deprecated?: boolean;\n type?: SchemaObjectType | SchemaObjectType[];\n format?: SchemaObjectFormat;\n allOf?: (SchemaObject | ReferenceObject)[];\n oneOf?: (SchemaObject | ReferenceObject)[];\n anyOf?: (SchemaObject | ReferenceObject)[];\n not?: SchemaObject | ReferenceObject;\n items?: SchemaObject | ReferenceObject;\n properties?: {\n [propertyName: string]: SchemaObject | ReferenceObject;\n };\n additionalProperties?: SchemaObject | ReferenceObject | boolean;\n description?: string;\n default?: any;\n title?: string;\n multipleOf?: number;\n maximum?: number;\n exclusiveMaximum?: boolean;\n minimum?: number;\n exclusiveMinimum?: boolean;\n maxLength?: number;\n minLength?: number;\n pattern?: string;\n maxItems?: number;\n minItems?: number;\n uniqueItems?: boolean;\n maxProperties?: number;\n minProperties?: number;\n required?: string[];\n enum?: any[];\n}\nexport declare function isSchemaObject(schema: SchemaObject | ReferenceObject): schema is SchemaObject;\nexport interface SchemasObject {\n [schema: string]: SchemaObject;\n}\nexport interface DiscriminatorObject {\n propertyName: string;\n mapping?: {\n [key: string]: string;\n };\n}\nexport interface XmlObject extends ISpecificationExtension {\n name?: string;\n namespace?: string;\n prefix?: string;\n attribute?: boolean;\n wrapped?: boolean;\n}\nexport type SecuritySchemeType = 'apiKey' | 'http' | 'oauth2' | 'openIdConnect';\nexport interface SecuritySchemeObject extends ISpecificationExtension {\n type: SecuritySchemeType;\n description?: string;\n name?: string;\n in?: string;\n scheme?: string;\n bearerFormat?: string;\n flows?: OAuthFlowsObject;\n openIdConnectUrl?: string;\n}\nexport interface OAuthFlowsObject extends ISpecificationExtension {\n implicit?: OAuthFlowObject;\n password?: OAuthFlowObject;\n clientCredentials?: OAuthFlowObject;\n authorizationCode?: OAuthFlowObject;\n}\nexport interface OAuthFlowObject extends ISpecificationExtension {\n authorizationUrl?: string;\n tokenUrl?: string;\n refreshUrl?: string;\n scopes: ScopesObject;\n}\nexport interface ScopesObject extends ISpecificationExtension {\n [scope: string]: any;\n}\nexport interface SecurityRequirementObject {\n [name: string]: string[];\n}\n"],"x_google_ignoreList":[0],"mappings":";;;;UA8FiBS,2BAAAA,SAAoCR;;;;KAIzC2B,iBAAAA;KACAC,cAAAA;UACKC,mBAAAA,SAA4B7B;;;;;UAKjC4B;;;WAGCjB,eAAeC;;qBAEHG,gBAAgBH;;;YAG3BkB;;UAEGhB,eAAAA,SAAwBe;;MAEjCF;;UAOSG,aAAAA;uBACQC;;UAERA,eAAAA,SAAwB/B;WAC5BW,eAAeC;aACboB;;aAEAC;;UAEEA,cAAAA,SAAuBjC;sBAChBkC;;UAEPA,sBAAAA;;;mBAGMjB,eAAeL;;;;;;;UA0BrBG,aAAAA;;;;;;;UAsBAE,YAAAA,SAAqBY;;;UASrBG,cAAAA;kBACGjB,gBAAgBH;;UAEnBA,eAAAA;;;KAIL2B,gBAAAA;KACAC,kBAAAA;UACK7B,YAAAA,SAAqBX;;kBAElByC;;;QAGVC;iBACSlC;;;;SAIR+B,mBAAmBA;WACjBC;WACA7B,eAAeC;WACfD,eAAeC;WACfD,eAAeC;QAClBD,eAAeC;UACbD,eAAeC;;4BAEKD,eAAeC;;yBAEpBD,eAAeC;;;;;;;;;;;;;;;;;;;;UAwBzB6B,mBAAAA;;;;;;UAMAC,SAAAA,SAAkB1C"}
|
package/openapi31.d.ts
DELETED
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
import { ISpecificationExtension } from "./specification-extension.js";
|
|
2
|
-
|
|
3
|
-
//#region ../../node_modules/.bun/openapi3-ts@4.5.0/node_modules/openapi3-ts/dist/model/openapi31.d.ts
|
|
4
|
-
|
|
5
|
-
interface ExternalDocumentationObject extends ISpecificationExtension {
|
|
6
|
-
description?: string;
|
|
7
|
-
url: string;
|
|
8
|
-
}
|
|
9
|
-
type ParameterLocation = 'query' | 'header' | 'path' | 'cookie';
|
|
10
|
-
type ParameterStyle = 'matrix' | 'label' | 'form' | 'simple' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject';
|
|
11
|
-
interface BaseParameterObject extends ISpecificationExtension {
|
|
12
|
-
description?: string;
|
|
13
|
-
required?: boolean;
|
|
14
|
-
deprecated?: boolean;
|
|
15
|
-
allowEmptyValue?: boolean;
|
|
16
|
-
style?: ParameterStyle;
|
|
17
|
-
explode?: boolean;
|
|
18
|
-
allowReserved?: boolean;
|
|
19
|
-
schema?: SchemaObject | ReferenceObject;
|
|
20
|
-
examples?: {
|
|
21
|
-
[param: string]: ExampleObject | ReferenceObject;
|
|
22
|
-
};
|
|
23
|
-
example?: any;
|
|
24
|
-
content?: ContentObject;
|
|
25
|
-
}
|
|
26
|
-
interface ParameterObject extends BaseParameterObject {
|
|
27
|
-
name: string;
|
|
28
|
-
in: ParameterLocation;
|
|
29
|
-
}
|
|
30
|
-
interface ContentObject {
|
|
31
|
-
[mediatype: string]: MediaTypeObject;
|
|
32
|
-
}
|
|
33
|
-
interface MediaTypeObject extends ISpecificationExtension {
|
|
34
|
-
schema?: SchemaObject | ReferenceObject;
|
|
35
|
-
examples?: ExamplesObject;
|
|
36
|
-
example?: any;
|
|
37
|
-
encoding?: EncodingObject;
|
|
38
|
-
}
|
|
39
|
-
interface EncodingObject extends ISpecificationExtension {
|
|
40
|
-
[property: string]: EncodingPropertyObject | any;
|
|
41
|
-
}
|
|
42
|
-
interface EncodingPropertyObject {
|
|
43
|
-
contentType?: string;
|
|
44
|
-
headers?: {
|
|
45
|
-
[key: string]: HeaderObject | ReferenceObject;
|
|
46
|
-
};
|
|
47
|
-
style?: string;
|
|
48
|
-
explode?: boolean;
|
|
49
|
-
allowReserved?: boolean;
|
|
50
|
-
[key: string]: any;
|
|
51
|
-
}
|
|
52
|
-
interface ExampleObject {
|
|
53
|
-
summary?: string;
|
|
54
|
-
description?: string;
|
|
55
|
-
value?: any;
|
|
56
|
-
externalValue?: string;
|
|
57
|
-
[property: string]: any;
|
|
58
|
-
}
|
|
59
|
-
interface HeaderObject extends BaseParameterObject {
|
|
60
|
-
$ref?: string;
|
|
61
|
-
}
|
|
62
|
-
interface ExamplesObject {
|
|
63
|
-
[name: string]: ExampleObject | ReferenceObject;
|
|
64
|
-
}
|
|
65
|
-
interface ReferenceObject {
|
|
66
|
-
$ref: string;
|
|
67
|
-
summary?: string;
|
|
68
|
-
description?: string;
|
|
69
|
-
}
|
|
70
|
-
type SchemaObjectType = 'integer' | 'number' | 'string' | 'boolean' | 'object' | 'null' | 'array';
|
|
71
|
-
interface SchemaObject extends ISpecificationExtension {
|
|
72
|
-
$ref?: string;
|
|
73
|
-
discriminator?: DiscriminatorObject;
|
|
74
|
-
readOnly?: boolean;
|
|
75
|
-
writeOnly?: boolean;
|
|
76
|
-
xml?: XmlObject;
|
|
77
|
-
externalDocs?: ExternalDocumentationObject;
|
|
78
|
-
example?: any;
|
|
79
|
-
examples?: any[];
|
|
80
|
-
deprecated?: boolean;
|
|
81
|
-
type?: SchemaObjectType | SchemaObjectType[];
|
|
82
|
-
format?: 'int32' | 'int64' | 'float' | 'double' | 'byte' | 'binary' | 'date' | 'date-time' | 'password' | string;
|
|
83
|
-
allOf?: (SchemaObject | ReferenceObject)[];
|
|
84
|
-
oneOf?: (SchemaObject | ReferenceObject)[];
|
|
85
|
-
anyOf?: (SchemaObject | ReferenceObject)[];
|
|
86
|
-
not?: SchemaObject | ReferenceObject;
|
|
87
|
-
items?: SchemaObject | ReferenceObject;
|
|
88
|
-
properties?: {
|
|
89
|
-
[propertyName: string]: SchemaObject | ReferenceObject;
|
|
90
|
-
};
|
|
91
|
-
additionalProperties?: SchemaObject | ReferenceObject | boolean;
|
|
92
|
-
propertyNames?: SchemaObject | ReferenceObject;
|
|
93
|
-
description?: string;
|
|
94
|
-
default?: any;
|
|
95
|
-
title?: string;
|
|
96
|
-
multipleOf?: number;
|
|
97
|
-
maximum?: number;
|
|
98
|
-
const?: any;
|
|
99
|
-
exclusiveMaximum?: number;
|
|
100
|
-
minimum?: number;
|
|
101
|
-
exclusiveMinimum?: number;
|
|
102
|
-
maxLength?: number;
|
|
103
|
-
minLength?: number;
|
|
104
|
-
pattern?: string;
|
|
105
|
-
maxItems?: number;
|
|
106
|
-
minItems?: number;
|
|
107
|
-
uniqueItems?: boolean;
|
|
108
|
-
maxProperties?: number;
|
|
109
|
-
minProperties?: number;
|
|
110
|
-
required?: string[];
|
|
111
|
-
enum?: any[];
|
|
112
|
-
prefixItems?: (SchemaObject | ReferenceObject)[];
|
|
113
|
-
contentMediaType?: string;
|
|
114
|
-
contentEncoding?: string;
|
|
115
|
-
}
|
|
116
|
-
interface DiscriminatorObject {
|
|
117
|
-
propertyName: string;
|
|
118
|
-
mapping?: {
|
|
119
|
-
[key: string]: string;
|
|
120
|
-
};
|
|
121
|
-
}
|
|
122
|
-
interface XmlObject extends ISpecificationExtension {
|
|
123
|
-
name?: string;
|
|
124
|
-
namespace?: string;
|
|
125
|
-
prefix?: string;
|
|
126
|
-
attribute?: boolean;
|
|
127
|
-
wrapped?: boolean;
|
|
128
|
-
}
|
|
129
|
-
//#endregion
|
|
130
|
-
export { ParameterObject, SchemaObject };
|
|
131
|
-
//# sourceMappingURL=openapi31.d.ts.map
|