@aws-amplify/graphql-api-construct 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/.jsii +6570 -0
- package/API.md +286 -0
- package/CHANGELOG.md +152 -0
- package/LICENSE +201 -0
- package/README.md +2786 -0
- package/babel.config.js +13 -0
- package/lib/amplify-graphql-api.d.ts +157 -0
- package/lib/amplify-graphql-api.js +232 -0
- package/lib/amplify-graphql-definition.d.ts +18 -0
- package/lib/amplify-graphql-definition.js +38 -0
- package/lib/index.d.ts +3 -0
- package/lib/index.js +8 -0
- package/lib/internal/amplify-metadata.d.ts +6 -0
- package/lib/internal/amplify-metadata.js +69 -0
- package/lib/internal/asset-manager.d.ts +12 -0
- package/lib/internal/asset-manager.js +44 -0
- package/lib/internal/authorization-modes.d.ts +28 -0
- package/lib/internal/authorization-modes.js +112 -0
- package/lib/internal/codegen-assets.d.ts +12 -0
- package/lib/internal/codegen-assets.js +35 -0
- package/lib/internal/conflict-resolution.d.ts +10 -0
- package/lib/internal/conflict-resolution.js +46 -0
- package/lib/internal/construct-exports.d.ts +18 -0
- package/lib/internal/construct-exports.js +146 -0
- package/lib/internal/default-parameters.d.ts +7 -0
- package/lib/internal/default-parameters.js +22 -0
- package/lib/internal/index.d.ts +7 -0
- package/lib/internal/index.js +24 -0
- package/lib/internal/user-defined-slots.d.ts +20 -0
- package/lib/internal/user-defined-slots.js +125 -0
- package/lib/types.d.ts +632 -0
- package/lib/types.js +3 -0
- package/node_modules/@aws-amplify/backend-output-schemas/lib/auth/index.d.ts +58 -0
- package/node_modules/@aws-amplify/backend-output-schemas/lib/auth/index.js +12 -0
- package/node_modules/@aws-amplify/backend-output-schemas/lib/auth/v1.d.ts +57 -0
- package/node_modules/@aws-amplify/backend-output-schemas/lib/auth/v1.js +21 -0
- package/node_modules/@aws-amplify/backend-output-schemas/lib/graphql/index.d.ts +49 -0
- package/node_modules/@aws-amplify/backend-output-schemas/lib/graphql/index.js +18 -0
- package/node_modules/@aws-amplify/backend-output-schemas/lib/graphql/v1.d.ts +49 -0
- package/node_modules/@aws-amplify/backend-output-schemas/lib/graphql/v1.js +21 -0
- package/node_modules/@aws-amplify/backend-output-schemas/lib/index.d.ts +243 -0
- package/node_modules/@aws-amplify/backend-output-schemas/lib/index.internal.d.ts +3 -0
- package/node_modules/@aws-amplify/backend-output-schemas/lib/index.internal.js +27 -0
- package/node_modules/@aws-amplify/backend-output-schemas/lib/index.js +101 -0
- package/node_modules/@aws-amplify/backend-output-schemas/lib/platform/index.d.ts +2 -0
- package/node_modules/@aws-amplify/backend-output-schemas/lib/platform/index.js +16 -0
- package/node_modules/@aws-amplify/backend-output-schemas/lib/platform/stack_metadata_schemas.d.ts +42 -0
- package/node_modules/@aws-amplify/backend-output-schemas/lib/platform/stack_metadata_schemas.js +26 -0
- package/node_modules/@aws-amplify/backend-output-schemas/lib/storage/index.d.ts +28 -0
- package/node_modules/@aws-amplify/backend-output-schemas/lib/storage/index.js +12 -0
- package/node_modules/@aws-amplify/backend-output-schemas/lib/storage/v1.d.ts +27 -0
- package/node_modules/@aws-amplify/backend-output-schemas/lib/storage/v1.js +15 -0
- package/node_modules/@aws-amplify/backend-output-schemas/package.json +45 -0
- package/node_modules/@aws-amplify/backend-output-storage/lib/index.d.ts +2 -0
- package/node_modules/@aws-amplify/backend-output-storage/lib/index.js +16 -0
- package/node_modules/@aws-amplify/backend-output-storage/lib/stack_metadata_output_storage_strategy.d.ts +25 -0
- package/node_modules/@aws-amplify/backend-output-storage/lib/stack_metadata_output_storage_strategy.js +51 -0
- package/node_modules/@aws-amplify/backend-output-storage/package.json +25 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/API.md +329 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/CHANGELOG.md +568 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/accesscontrol/acm.d.ts +35 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/accesscontrol/acm.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/accesscontrol/acm.js +144 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/accesscontrol/acm.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/accesscontrol/index.d.ts +2 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/accesscontrol/index.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/accesscontrol/index.js +6 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/accesscontrol/index.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/graphql-auth-transformer.d.ts +60 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/graphql-auth-transformer.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/graphql-auth-transformer.js +907 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/graphql-auth-transformer.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/index.d.ts +6 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/index.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/index.js +25 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/index.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/resolvers/field.d.ts +7 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/resolvers/field.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/resolvers/field.js +109 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/resolvers/field.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/resolvers/helpers.d.ts +24 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/resolvers/helpers.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/resolvers/helpers.js +210 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/resolvers/helpers.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/resolvers/index.d.ts +9 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/resolvers/index.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/resolvers/index.js +25 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/resolvers/index.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/resolvers/mutation.create.d.ts +5 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/resolvers/mutation.create.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/resolvers/mutation.create.js +172 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/resolvers/mutation.create.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/resolvers/mutation.delete.d.ts +4 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/resolvers/mutation.delete.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/resolvers/mutation.delete.js +126 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/resolvers/mutation.delete.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/resolvers/mutation.update.d.ts +4 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/resolvers/mutation.update.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/resolvers/mutation.update.js +181 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/resolvers/mutation.update.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/resolvers/query.d.ts +6 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/resolvers/query.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/resolvers/query.js +302 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/resolvers/query.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/resolvers/search.d.ts +4 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/resolvers/search.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/resolvers/search.js +184 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/resolvers/search.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/resolvers/subscriptions.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/resolvers/subscriptions.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/resolvers/subscriptions.js +83 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/resolvers/subscriptions.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/constants.d.ts +28 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/constants.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/constants.js +41 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/constants.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/definitions.d.ts +72 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/definitions.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/definitions.js +42 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/definitions.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/iam.d.ts +6 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/iam.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/iam.js +76 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/iam.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/index.d.ts +15 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/index.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/index.js +147 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/index.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/schema.d.ts +31 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/schema.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/schema.js +259 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/schema.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/validations.d.ts +8 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/validations.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/validations.js +98 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/validations.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/warnings.d.ts +7 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/warnings.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/warnings.js +61 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/warnings.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/package.json +75 -0
- package/node_modules/@aws-amplify/graphql-default-value-transformer/API.md +29 -0
- package/node_modules/@aws-amplify/graphql-default-value-transformer/CHANGELOG.md +358 -0
- package/node_modules/@aws-amplify/graphql-default-value-transformer/README.md +13 -0
- package/node_modules/@aws-amplify/graphql-default-value-transformer/lib/graphql-default-value-transformer.d.ts +15 -0
- package/node_modules/@aws-amplify/graphql-default-value-transformer/lib/graphql-default-value-transformer.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-default-value-transformer/lib/graphql-default-value-transformer.js +115 -0
- package/node_modules/@aws-amplify/graphql-default-value-transformer/lib/graphql-default-value-transformer.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-default-value-transformer/lib/index.d.ts +2 -0
- package/node_modules/@aws-amplify/graphql-default-value-transformer/lib/index.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-default-value-transformer/lib/index.js +6 -0
- package/node_modules/@aws-amplify/graphql-default-value-transformer/lib/index.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-default-value-transformer/lib/types.d.ts +9 -0
- package/node_modules/@aws-amplify/graphql-default-value-transformer/lib/types.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-default-value-transformer/lib/types.js +3 -0
- package/node_modules/@aws-amplify/graphql-default-value-transformer/lib/types.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-default-value-transformer/lib/validators.d.ts +22 -0
- package/node_modules/@aws-amplify/graphql-default-value-transformer/lib/validators.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-default-value-transformer/lib/validators.js +125 -0
- package/node_modules/@aws-amplify/graphql-default-value-transformer/lib/validators.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-default-value-transformer/package.json +66 -0
- package/node_modules/@aws-amplify/graphql-function-transformer/API.md +27 -0
- package/node_modules/@aws-amplify/graphql-function-transformer/CHANGELOG.md +414 -0
- package/node_modules/@aws-amplify/graphql-function-transformer/README.md +14 -0
- package/node_modules/@aws-amplify/graphql-function-transformer/lib/graphql-function-transformer.d.ts +12 -0
- package/node_modules/@aws-amplify/graphql-function-transformer/lib/graphql-function-transformer.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-function-transformer/lib/graphql-function-transformer.js +138 -0
- package/node_modules/@aws-amplify/graphql-function-transformer/lib/graphql-function-transformer.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-function-transformer/lib/index.d.ts +2 -0
- package/node_modules/@aws-amplify/graphql-function-transformer/lib/index.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-function-transformer/lib/index.js +6 -0
- package/node_modules/@aws-amplify/graphql-function-transformer/lib/index.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-function-transformer/package.json +69 -0
- package/node_modules/@aws-amplify/graphql-http-transformer/API.md +26 -0
- package/node_modules/@aws-amplify/graphql-http-transformer/CHANGELOG.md +417 -0
- package/node_modules/@aws-amplify/graphql-http-transformer/README.md +25 -0
- package/node_modules/@aws-amplify/graphql-http-transformer/lib/graphql-http-transformer.d.ts +10 -0
- package/node_modules/@aws-amplify/graphql-http-transformer/lib/graphql-http-transformer.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-http-transformer/lib/graphql-http-transformer.js +246 -0
- package/node_modules/@aws-amplify/graphql-http-transformer/lib/graphql-http-transformer.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-http-transformer/lib/index.d.ts +2 -0
- package/node_modules/@aws-amplify/graphql-http-transformer/lib/index.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-http-transformer/lib/index.js +6 -0
- package/node_modules/@aws-amplify/graphql-http-transformer/lib/index.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-http-transformer/package.json +69 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/API.md +48 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/CHANGELOG.md +474 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/README.md +13 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/graphql-index-transformer.d.ts +13 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/graphql-index-transformer.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/graphql-index-transformer.js +143 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/graphql-index-transformer.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/graphql-primary-key-transformer.d.ts +15 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/graphql-primary-key-transformer.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/graphql-primary-key-transformer.js +144 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/graphql-primary-key-transformer.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/index.d.ts +4 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/index.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/index.js +10 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/index.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/generators/dynamodb-vtl-generator.d.ts +8 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/generators/dynamodb-vtl-generator.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/generators/dynamodb-vtl-generator.js +51 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/generators/dynamodb-vtl-generator.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/generators/index.d.ts +4 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/generators/index.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/generators/index.js +20 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/generators/index.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/generators/rds-vtl-generator.d.ts +10 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/generators/rds-vtl-generator.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/generators/rds-vtl-generator.js +65 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/generators/rds-vtl-generator.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/generators/vtl-generator.d.ts +7 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/generators/vtl-generator.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/generators/vtl-generator.js +3 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/generators/vtl-generator.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/index.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/index.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/index.js +19 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/index.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/resolvers.d.ts +23 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/resolvers.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/resolvers.js +569 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/resolvers.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/schema.d.ts +13 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/schema.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/schema.js +340 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/schema.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/types.d.ts +15 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/types.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/types.js +3 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/types.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/utils.d.ts +7 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/utils.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/utils.js +84 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/utils.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/package.json +67 -0
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/API.md +27 -0
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/CHANGELOG.md +369 -0
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/assets/mapping-lambda.zip +0 -0
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/field-mapping-lambda.d.ts +4 -0
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/field-mapping-lambda.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/field-mapping-lambda.js +64 -0
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/field-mapping-lambda.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/field-mapping-resolvers.d.ts +29 -0
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/field-mapping-resolvers.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/field-mapping-resolvers.js +67 -0
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/field-mapping-resolvers.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/graphql-maps-to-transformer.d.ts +10 -0
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/graphql-maps-to-transformer.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/graphql-maps-to-transformer.js +114 -0
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/graphql-maps-to-transformer.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/index.d.ts +2 -0
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/index.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/index.js +6 -0
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/index.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/package.json +76 -0
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/resources/mapping-lambda-function/index.js +89 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/API.md +359 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/CHANGELOG.md +584 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/Readme.md +442 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/definitions.d.ts +20 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/definitions.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/definitions.js +49 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/definitions.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/directive.d.ts +28 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/directive.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/directive.js +10 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/directive.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.d.ts +82 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.js +579 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/common.d.ts +21 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/common.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/common.js +317 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/common.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/index.d.ts +4 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/index.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/index.js +20 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/index.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/mutation.d.ts +8 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/mutation.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/mutation.js +112 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/mutation.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/query.d.ts +6 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/query.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/query.js +24 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/query.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/index.d.ts +6 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/index.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/index.js +26 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/index.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-lambda.zip +0 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-notification-lambda.zip +0 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-patching-lambda.zip +0 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/common.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/common.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/common.js +19 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/common.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/dynamodb/common.d.ts +4 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/dynamodb/common.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/dynamodb/common.js +38 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/dynamodb/common.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/dynamodb/index.d.ts +5 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/dynamodb/index.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/dynamodb/index.js +21 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/dynamodb/index.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/dynamodb/mutation.d.ts +9 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/dynamodb/mutation.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/dynamodb/mutation.js +218 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/dynamodb/mutation.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/dynamodb/query.d.ts +5 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/dynamodb/query.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/dynamodb/query.js +140 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/dynamodb/query.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/dynamodb/subscriptions.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/dynamodb/subscriptions.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/dynamodb/subscriptions.js +18 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/dynamodb/subscriptions.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/generators/dynamodb-vtl-generator.d.ts +16 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/generators/dynamodb-vtl-generator.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/generators/dynamodb-vtl-generator.js +44 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/generators/dynamodb-vtl-generator.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/generators/index.d.ts +4 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/generators/index.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/generators/index.js +20 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/generators/index.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/generators/rds-vtl-generator.d.ts +16 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/generators/rds-vtl-generator.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/generators/rds-vtl-generator.js +47 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/generators/rds-vtl-generator.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/generators/vtl-generator.d.ts +38 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/generators/vtl-generator.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/generators/vtl-generator.js +3 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/generators/vtl-generator.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/index.d.ts +4 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/index.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/index.js +22 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/index.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/index.d.ts +4 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/index.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/index.js +20 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/index.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/mutation.d.ts +7 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/mutation.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/mutation.js +103 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/mutation.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/query.d.ts +2 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/query.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/query.js +25 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/query.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.d.ts +21 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.js +227 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/dynamo-model-resource-generator.d.ts +15 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/dynamo-model-resource-generator.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/dynamo-model-resource-generator.js +252 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/dynamo-model-resource-generator.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/model-resource-generator.d.ts +56 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/model-resource-generator.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/model-resource-generator.js +411 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/model-resource-generator.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/rds-model-resource-generator.d.ts +10 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/rds-model-resource-generator.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/rds-model-resource-generator.js +65 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/rds-model-resource-generator.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/types.d.ts +6 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/types.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/types.js +3 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/types.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/package.json +74 -0
- package/node_modules/@aws-amplify/graphql-predictions-transformer/API.md +30 -0
- package/node_modules/@aws-amplify/graphql-predictions-transformer/CHANGELOG.md +392 -0
- package/node_modules/@aws-amplify/graphql-predictions-transformer/README.md +19 -0
- package/node_modules/@aws-amplify/graphql-predictions-transformer/assets/predictionsLambda.js +35 -0
- package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/graphql-predictions-transformer.d.ts +15 -0
- package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/graphql-predictions-transformer.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/graphql-predictions-transformer.js +483 -0
- package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/graphql-predictions-transformer.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/index.d.ts +2 -0
- package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/index.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/index.js +6 -0
- package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/index.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/predictionsLambdaFunction.zip +0 -0
- package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/utils/action-maps.d.ts +4 -0
- package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/utils/action-maps.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/utils/action-maps.js +22 -0
- package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/utils/action-maps.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/utils/constants.d.ts +12 -0
- package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/utils/constants.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/utils/constants.js +23 -0
- package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/utils/constants.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-predictions-transformer/package.json +70 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/API.md +97 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/CHANGELOG.md +532 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/README.md +43 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-belongs-to-transformer.d.ts +13 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-belongs-to-transformer.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-belongs-to-transformer.js +119 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-belongs-to-transformer.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-many-transformer.d.ts +13 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-many-transformer.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-many-transformer.js +103 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-many-transformer.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-one-transformer.d.ts +13 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-one-transformer.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-one-transformer.js +113 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-one-transformer.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-many-to-many-transformer.d.ts +22 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-many-to-many-transformer.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-many-to-many-transformer.js +365 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-many-to-many-transformer.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/index.d.ts +6 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/index.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/index.js +16 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/index.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolvers.d.ts +6 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolvers.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolvers.js +270 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolvers.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/schema.d.ts +15 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/schema.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/schema.js +363 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/schema.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/types.d.ts +68 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/types.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/types.js +3 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/types.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/utils.d.ts +35 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/utils.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/utils.js +232 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/utils.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/package.json +69 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/API.md +37 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/CHANGELOG.md +546 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/Readme.md +18 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/cdk/create-cfnOutput.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/cdk/create-cfnOutput.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/cdk/create-cfnOutput.js +20 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/cdk/create-cfnOutput.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/cdk/create-cfnParameters.d.ts +4 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/cdk/create-cfnParameters.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/cdk/create-cfnParameters.js +98 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/cdk/create-cfnParameters.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/cdk/create-layer-cfnMapping.d.ts +4 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/cdk/create-layer-cfnMapping.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/cdk/create-layer-cfnMapping.js +79 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/cdk/create-layer-cfnMapping.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/cdk/create-searchable-datasource.d.ts +6 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/cdk/create-searchable-datasource.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/cdk/create-searchable-datasource.js +14 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/cdk/create-searchable-datasource.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/cdk/create-searchable-domain.d.ts +8 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/cdk/create-searchable-domain.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/cdk/create-searchable-domain.js +56 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/cdk/create-searchable-domain.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/cdk/create-streaming-lambda.d.ts +9 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/cdk/create-streaming-lambda.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/cdk/create-streaming-lambda.js +82 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/cdk/create-streaming-lambda.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/constants.d.ts +2 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/constants.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/constants.js +102 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/constants.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/definitions.d.ts +16 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/definitions.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/definitions.js +320 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/definitions.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/generate-resolver-vtl.d.ts +6 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/generate-resolver-vtl.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/generate-resolver-vtl.js +133 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/generate-resolver-vtl.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/graphql-searchable-transformer.d.ts +17 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/graphql-searchable-transformer.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/graphql-searchable-transformer.js +303 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/graphql-searchable-transformer.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/index.d.ts +2 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/index.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/index.js +6 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/index.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/streaming-lambda.zip +0 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/package.json +72 -0
- package/node_modules/@aws-amplify/graphql-transformer/API.md +73 -0
- package/node_modules/@aws-amplify/graphql-transformer/CHANGELOG.md +64 -0
- package/node_modules/@aws-amplify/graphql-transformer/lib/graphql-transformer.d.ts +41 -0
- package/node_modules/@aws-amplify/graphql-transformer/lib/graphql-transformer.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer/lib/graphql-transformer.js +102 -0
- package/node_modules/@aws-amplify/graphql-transformer/lib/graphql-transformer.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer/lib/index.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-transformer/lib/index.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer/lib/index.js +8 -0
- package/node_modules/@aws-amplify/graphql-transformer/lib/index.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer/package.json +77 -0
- package/node_modules/@aws-amplify/graphql-transformer/src/graphql-transformer.ts +201 -0
- package/node_modules/@aws-amplify/graphql-transformer/src/index.ts +2 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/API.md +647 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/CHANGELOG.md +1124 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/Readme.md +442 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/appsync-function.d.ts +20 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/appsync-function.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/appsync-function.js +37 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/appsync-function.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/cdk-compat/index.d.ts +2 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/cdk-compat/index.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/cdk-compat/index.js +8 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/cdk-compat/index.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/cdk-compat/schema-asset.d.ts +12 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/cdk-compat/schema-asset.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/cdk-compat/schema-asset.js +46 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/cdk-compat/schema-asset.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/cdk-compat/searchable-datasource.d.ts +10 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/cdk-compat/searchable-datasource.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/cdk-compat/searchable-datasource.js +17 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/cdk-compat/searchable-datasource.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/cdk-compat/template-asset.d.ts +33 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/cdk-compat/template-asset.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/cdk-compat/template-asset.js +102 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/cdk-compat/template-asset.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/config/index.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/config/index.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/config/index.js +18 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/config/index.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/config/project-config.d.ts +6 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/config/project-config.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/config/project-config.js +3 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/config/project-config.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/config/transformer-config.d.ts +48 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/config/transformer-config.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/config/transformer-config.js +10 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/config/transformer-config.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/errors/index.d.ts +22 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/errors/index.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/errors/index.js +100 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/errors/index.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/graphql-api.d.ts +62 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/graphql-api.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/graphql-api.js +234 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/graphql-api.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.d.ts +15 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.js +66 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transform-host.d.ts +41 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transform-host.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transform-host.js +247 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transform-host.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/index.d.ts +4 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/index.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/index.js +31 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/index.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/sync-utils.d.ts +18 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/sync-utils.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/sync-utils.js +167 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/sync-utils.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/transform.d.ts +61 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/transform.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/transform.js +497 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/transform.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/transformer-plugin-base.d.ts +62 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/transformer-plugin-base.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/transformer-plugin-base.js +59 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/transformer-plugin-base.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/types.d.ts +20 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/types.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/types.js +3 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/types.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/utils.d.ts +11 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/utils.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/utils.js +171 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/utils.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/validation.d.ts +8 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/validation.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/validation.js +129 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/validation.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/asset-manager.d.ts +10 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/asset-manager.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/asset-manager.js +20 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/asset-manager.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/datasource.d.ts +11 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/datasource.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/datasource.js +30 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/datasource.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/index.d.ts +43 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/index.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/index.js +67 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/index.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/model-field-map.d.ts +9 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/model-field-map.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/model-field-map.js +44 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/model-field-map.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/output.d.ts +42 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/output.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/output.js +456 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/output.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/pre-process-context.d.ts +10 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/pre-process-context.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/pre-process-context.js +13 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/pre-process-context.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/provider-registry.d.ts +12 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/provider-registry.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/provider-registry.js +46 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/provider-registry.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/resolver.d.ts +45 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/resolver.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/resolver.js +306 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/resolver.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/resource-helper.d.ts +22 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/resource-helper.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/resource-helper.js +86 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/resource-helper.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/schema-helper.d.ts +7 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/schema-helper.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/schema-helper.js +20 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/schema-helper.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/stack-manager.d.ts +19 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/stack-manager.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/stack-manager.js +38 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/stack-manager.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/transform-parameters.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/transform-parameters.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/transform-parameters.js +17 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/transform-parameters.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/types/import-appsync-api-types.d.ts +25 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/types/import-appsync-api-types.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/types/import-appsync-api-types.js +12 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/types/import-appsync-api-types.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/types/index.d.ts +2 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/types/index.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/types/index.js +9 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/types/index.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/types/types.d.ts +2 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/types/types.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/types/types.js +3 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/types/types.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/authType.d.ts +5 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/authType.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/authType.js +80 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/authType.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/defaultSchema.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/defaultSchema.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/defaultSchema.js +44 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/defaultSchema.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/directive-wrapper.d.ts +21 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/directive-wrapper.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/directive-wrapper.js +54 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/directive-wrapper.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/index.d.ts +10 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/index.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/index.js +24 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/index.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/operation-names.d.ts +4 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/operation-names.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/operation-names.js +28 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/operation-names.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/rds-secret-utils.d.ts +2 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/rds-secret-utils.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/rds-secret-utils.js +25 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/rds-secret-utils.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/resource-name.d.ts +8 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/resource-name.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/resource-name.js +21 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/resource-name.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/schema-utils.d.ts +6 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/schema-utils.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/schema-utils.js +36 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/schema-utils.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/strip-directives.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/strip-directives.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/strip-directives.js +112 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/strip-directives.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/type-map-utils.d.ts +17 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/type-map-utils.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/type-map-utils.js +159 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/type-map-utils.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/wrappers/object-definition-wrapper.d.ts +77 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/wrappers/object-definition-wrapper.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/wrappers/object-definition-wrapper.js +356 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/wrappers/object-definition-wrapper.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/package.json +76 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/API.md +767 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/CHANGELOG.md +320 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/asset-provider.d.ts +16 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/asset-provider.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/asset-provider.js +3 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/asset-provider.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/graphql-api-provider.d.ts +103 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/graphql-api-provider.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/graphql-api-provider.js +9 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/graphql-api-provider.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/index.d.ts +10 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/index.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/index.js +29 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/index.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/nested-stack-provider.d.ts +6 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/nested-stack-provider.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/nested-stack-provider.js +3 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/nested-stack-provider.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transform-host-provider.d.ts +28 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transform-host-provider.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transform-host-provider.js +3 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transform-host-provider.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/index.d.ts +12 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/index.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/index.js +21 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/index.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/resource-resource-provider.d.ts +30 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/resource-resource-provider.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/resource-resource-provider.js +3 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/resource-resource-provider.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/schema-helper-provider.d.ts +5 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/schema-helper-provider.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/schema-helper-provider.js +3 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/schema-helper-provider.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/stack-manager-provider.d.ts +12 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/stack-manager-provider.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/stack-manager-provider.js +3 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/stack-manager-provider.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/synth-parameters.d.ts +8 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/synth-parameters.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/synth-parameters.js +3 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/synth-parameters.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transform-parameter-provider.d.ts +5 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transform-parameter-provider.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transform-parameter-provider.js +3 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transform-parameter-provider.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transform-parameters.d.ts +14 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transform-parameters.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transform-parameters.js +3 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transform-parameters.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transformer-context-output-provider.d.ts +31 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transformer-context-output-provider.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transformer-context-output-provider.js +3 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transformer-context-output-provider.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transformer-context-provider.d.ts +44 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transformer-context-provider.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transformer-context-provider.js +3 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transformer-context-provider.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transformer-datasource-provider.d.ts +30 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transformer-datasource-provider.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transformer-datasource-provider.js +13 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transformer-datasource-provider.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transformer-preprocess-context-provider.d.ts +9 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transformer-preprocess-context-provider.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transformer-preprocess-context-provider.js +3 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transformer-preprocess-context-provider.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transformer-provider-registry.d.ts +10 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transformer-provider-registry.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transformer-provider-registry.js +3 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transformer-provider-registry.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transformer-resolver-provider.d.ts +22 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transformer-resolver-provider.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transformer-resolver-provider.js +3 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transformer-resolver-provider.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-log.d.ts +11 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-log.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-log.js +11 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-log.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-model-provider.d.ts +59 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-model-provider.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-model-provider.js +22 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-model-provider.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-plugin-provider.d.ts +36 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-plugin-provider.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-plugin-provider.js +11 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-plugin-provider.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/package.json +52 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/asset-provider.ts +18 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/graphql-api-provider.ts +168 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/index.ts +38 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/nested-stack-provider.ts +6 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/transform-host-provider.ts +83 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/transformer-context/index.ts +24 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/transformer-context/resource-resource-provider.ts +34 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/transformer-context/schema-helper-provider.ts +15 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/transformer-context/stack-manager-provider.ts +22 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/transformer-context/synth-parameters.ts +7 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/transformer-context/transform-parameter-provider.ts +8 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/transformer-context/transform-parameters.ts +30 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/transformer-context/transformer-context-output-provider.ts +152 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/transformer-context/transformer-context-provider.ts +89 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/transformer-context/transformer-datasource-provider.ts +35 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/transformer-context/transformer-preprocess-context-provider.ts +9 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/transformer-context/transformer-provider-registry.ts +14 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/transformer-context/transformer-resolver-provider.ts +56 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/transformer-log.ts +10 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/transformer-model-provider.ts +155 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/transformer-plugin-provider.ts +164 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/tsconfig.json +8 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/tsconfig.tsbuildinfo +1 -0
- package/node_modules/charenc/LICENSE.mkd +27 -0
- package/node_modules/charenc/README.js +1 -0
- package/node_modules/charenc/charenc.js +33 -0
- package/node_modules/charenc/package.json +24 -0
- package/node_modules/crypt/LICENSE.mkd +27 -0
- package/node_modules/crypt/README.mkd +1 -0
- package/node_modules/crypt/crypt.js +96 -0
- package/node_modules/crypt/package.json +22 -0
- package/node_modules/fs-extra/CHANGELOG.md +864 -0
- package/node_modules/fs-extra/LICENSE +15 -0
- package/node_modules/fs-extra/README.md +261 -0
- package/node_modules/fs-extra/lib/copy/copy.js +212 -0
- package/node_modules/fs-extra/lib/copy/index.js +6 -0
- package/node_modules/fs-extra/lib/copy-sync/copy-sync.js +164 -0
- package/node_modules/fs-extra/lib/copy-sync/index.js +5 -0
- package/node_modules/fs-extra/lib/empty/index.js +48 -0
- package/node_modules/fs-extra/lib/ensure/file.js +49 -0
- package/node_modules/fs-extra/lib/ensure/index.js +23 -0
- package/node_modules/fs-extra/lib/ensure/link.js +61 -0
- package/node_modules/fs-extra/lib/ensure/symlink-paths.js +99 -0
- package/node_modules/fs-extra/lib/ensure/symlink-type.js +31 -0
- package/node_modules/fs-extra/lib/ensure/symlink.js +63 -0
- package/node_modules/fs-extra/lib/fs/index.js +109 -0
- package/node_modules/fs-extra/lib/index.js +28 -0
- package/node_modules/fs-extra/lib/json/index.js +16 -0
- package/node_modules/fs-extra/lib/json/jsonfile.js +12 -0
- package/node_modules/fs-extra/lib/json/output-json-sync.js +18 -0
- package/node_modules/fs-extra/lib/json/output-json.js +27 -0
- package/node_modules/fs-extra/lib/mkdirs/index.js +14 -0
- package/node_modules/fs-extra/lib/mkdirs/mkdirs-sync.js +54 -0
- package/node_modules/fs-extra/lib/mkdirs/mkdirs.js +63 -0
- package/node_modules/fs-extra/lib/mkdirs/win32.js +25 -0
- package/node_modules/fs-extra/lib/move/index.js +6 -0
- package/node_modules/fs-extra/lib/move/move.js +65 -0
- package/node_modules/fs-extra/lib/move-sync/index.js +5 -0
- package/node_modules/fs-extra/lib/move-sync/move-sync.js +47 -0
- package/node_modules/fs-extra/lib/output/index.js +40 -0
- package/node_modules/fs-extra/lib/path-exists/index.js +12 -0
- package/node_modules/fs-extra/lib/remove/index.js +9 -0
- package/node_modules/fs-extra/lib/remove/rimraf.js +314 -0
- package/node_modules/fs-extra/lib/util/buffer.js +12 -0
- package/node_modules/fs-extra/lib/util/stat.js +172 -0
- package/node_modules/fs-extra/lib/util/utimes.js +79 -0
- package/node_modules/fs-extra/node_modules/jsonfile/CHANGELOG.md +145 -0
- package/node_modules/fs-extra/node_modules/jsonfile/LICENSE +15 -0
- package/node_modules/fs-extra/node_modules/jsonfile/README.md +168 -0
- package/node_modules/fs-extra/node_modules/jsonfile/index.js +134 -0
- package/node_modules/fs-extra/node_modules/jsonfile/package.json +37 -0
- package/node_modules/fs-extra/node_modules/universalify/LICENSE +20 -0
- package/node_modules/fs-extra/node_modules/universalify/README.md +76 -0
- package/node_modules/fs-extra/node_modules/universalify/index.js +25 -0
- package/node_modules/fs-extra/node_modules/universalify/package.json +34 -0
- package/node_modules/fs-extra/package.json +69 -0
- package/node_modules/graceful-fs/LICENSE +15 -0
- package/node_modules/graceful-fs/README.md +143 -0
- package/node_modules/graceful-fs/clone.js +23 -0
- package/node_modules/graceful-fs/graceful-fs.js +448 -0
- package/node_modules/graceful-fs/legacy-streams.js +118 -0
- package/node_modules/graceful-fs/package.json +53 -0
- package/node_modules/graceful-fs/polyfills.js +355 -0
- package/node_modules/graphql/LICENSE +21 -0
- package/node_modules/graphql/README.md +177 -0
- package/node_modules/graphql/error/GraphQLError.d.ts +91 -0
- package/node_modules/graphql/error/GraphQLError.js +252 -0
- package/node_modules/graphql/error/GraphQLError.js.flow +194 -0
- package/node_modules/graphql/error/GraphQLError.mjs +237 -0
- package/node_modules/graphql/error/formatError.d.ts +40 -0
- package/node_modules/graphql/error/formatError.js +37 -0
- package/node_modules/graphql/error/formatError.js.flow +51 -0
- package/node_modules/graphql/error/formatError.mjs +28 -0
- package/node_modules/graphql/error/index.d.ts +8 -0
- package/node_modules/graphql/error/index.js +43 -0
- package/node_modules/graphql/error/index.js.flow +9 -0
- package/node_modules/graphql/error/index.mjs +4 -0
- package/node_modules/graphql/error/locatedError.d.ts +16 -0
- package/node_modules/graphql/error/locatedError.js +30 -0
- package/node_modules/graphql/error/locatedError.js.flow +37 -0
- package/node_modules/graphql/error/locatedError.mjs +20 -0
- package/node_modules/graphql/error/syntaxError.d.ts +13 -0
- package/node_modules/graphql/error/syntaxError.js +16 -0
- package/node_modules/graphql/error/syntaxError.js.flow +18 -0
- package/node_modules/graphql/error/syntaxError.mjs +9 -0
- package/node_modules/graphql/execution/execute.d.ts +195 -0
- package/node_modules/graphql/execution/execute.js +866 -0
- package/node_modules/graphql/execution/execute.js.flow +1246 -0
- package/node_modules/graphql/execution/execute.mjs +847 -0
- package/node_modules/graphql/execution/index.d.ts +13 -0
- package/node_modules/graphql/execution/index.js +47 -0
- package/node_modules/graphql/execution/index.js.flow +17 -0
- package/node_modules/graphql/execution/index.mjs +3 -0
- package/node_modules/graphql/execution/values.d.ts +65 -0
- package/node_modules/graphql/execution/values.js +228 -0
- package/node_modules/graphql/execution/values.js.flow +267 -0
- package/node_modules/graphql/execution/values.mjs +206 -0
- package/node_modules/graphql/graphql.d.ts +82 -0
- package/node_modules/graphql/graphql.js +118 -0
- package/node_modules/graphql/graphql.js.flow +207 -0
- package/node_modules/graphql/graphql.mjs +142 -0
- package/node_modules/graphql/index.d.ts +469 -0
- package/node_modules/graphql/index.js +1205 -0
- package/node_modules/graphql/index.js.flow +456 -0
- package/node_modules/graphql/index.mjs +94 -0
- package/node_modules/graphql/jsutils/Maybe.d.ts +2 -0
- package/node_modules/graphql/jsutils/ObjMap.js +1 -0
- package/node_modules/graphql/jsutils/ObjMap.js.flow +8 -0
- package/node_modules/graphql/jsutils/ObjMap.mjs +1 -0
- package/node_modules/graphql/jsutils/Path.d.ts +19 -0
- package/node_modules/graphql/jsutils/Path.js +34 -0
- package/node_modules/graphql/jsutils/Path.js.flow +30 -0
- package/node_modules/graphql/jsutils/Path.mjs +25 -0
- package/node_modules/graphql/jsutils/PromiseOrValue.d.ts +1 -0
- package/node_modules/graphql/jsutils/PromiseOrValue.js +1 -0
- package/node_modules/graphql/jsutils/PromiseOrValue.js.flow +2 -0
- package/node_modules/graphql/jsutils/PromiseOrValue.mjs +1 -0
- package/node_modules/graphql/jsutils/defineInspect.js +25 -0
- package/node_modules/graphql/jsutils/defineInspect.js.flow +20 -0
- package/node_modules/graphql/jsutils/defineInspect.mjs +15 -0
- package/node_modules/graphql/jsutils/devAssert.js +14 -0
- package/node_modules/graphql/jsutils/devAssert.js.flow +8 -0
- package/node_modules/graphql/jsutils/devAssert.mjs +7 -0
- package/node_modules/graphql/jsutils/didYouMean.js +42 -0
- package/node_modules/graphql/jsutils/didYouMean.js.flow +39 -0
- package/node_modules/graphql/jsutils/didYouMean.mjs +36 -0
- package/node_modules/graphql/jsutils/identityFunc.js +13 -0
- package/node_modules/graphql/jsutils/identityFunc.js.flow +7 -0
- package/node_modules/graphql/jsutils/identityFunc.mjs +6 -0
- package/node_modules/graphql/jsutils/inspect.js +133 -0
- package/node_modules/graphql/jsutils/inspect.js.flow +128 -0
- package/node_modules/graphql/jsutils/inspect.mjs +124 -0
- package/node_modules/graphql/jsutils/instanceOf.js +42 -0
- package/node_modules/graphql/jsutils/instanceOf.js.flow +52 -0
- package/node_modules/graphql/jsutils/instanceOf.mjs +35 -0
- package/node_modules/graphql/jsutils/invariant.js +14 -0
- package/node_modules/graphql/jsutils/invariant.js.flow +10 -0
- package/node_modules/graphql/jsutils/invariant.mjs +7 -0
- package/node_modules/graphql/jsutils/isAsyncIterable.js +13 -0
- package/node_modules/graphql/jsutils/isAsyncIterable.js.flow +14 -0
- package/node_modules/graphql/jsutils/isAsyncIterable.mjs +10 -0
- package/node_modules/graphql/jsutils/isObjectLike.js +16 -0
- package/node_modules/graphql/jsutils/isObjectLike.js.flow +8 -0
- package/node_modules/graphql/jsutils/isObjectLike.mjs +9 -0
- package/node_modules/graphql/jsutils/isPromise.js +15 -0
- package/node_modules/graphql/jsutils/isPromise.js.flow +12 -0
- package/node_modules/graphql/jsutils/isPromise.mjs +8 -0
- package/node_modules/graphql/jsutils/keyMap.js +36 -0
- package/node_modules/graphql/jsutils/keyMap.js.flow +35 -0
- package/node_modules/graphql/jsutils/keyMap.mjs +29 -0
- package/node_modules/graphql/jsutils/keyValMap.js +30 -0
- package/node_modules/graphql/jsutils/keyValMap.js.flow +30 -0
- package/node_modules/graphql/jsutils/keyValMap.mjs +23 -0
- package/node_modules/graphql/jsutils/mapValue.js +27 -0
- package/node_modules/graphql/jsutils/mapValue.js.flow +20 -0
- package/node_modules/graphql/jsutils/mapValue.mjs +18 -0
- package/node_modules/graphql/jsutils/memoize3.js +45 -0
- package/node_modules/graphql/jsutils/memoize3.js.flow +39 -0
- package/node_modules/graphql/jsutils/memoize3.mjs +38 -0
- package/node_modules/graphql/jsutils/naturalCompare.js +69 -0
- package/node_modules/graphql/jsutils/naturalCompare.js.flow +59 -0
- package/node_modules/graphql/jsutils/naturalCompare.mjs +61 -0
- package/node_modules/graphql/jsutils/nodejsCustomInspectSymbol.js +10 -0
- package/node_modules/graphql/jsutils/nodejsCustomInspectSymbol.js.flow +8 -0
- package/node_modules/graphql/jsutils/nodejsCustomInspectSymbol.mjs +3 -0
- package/node_modules/graphql/jsutils/printPathArray.js +15 -0
- package/node_modules/graphql/jsutils/printPathArray.js.flow +13 -0
- package/node_modules/graphql/jsutils/printPathArray.mjs +8 -0
- package/node_modules/graphql/jsutils/promiseForObject.js +26 -0
- package/node_modules/graphql/jsutils/promiseForObject.js.flow +22 -0
- package/node_modules/graphql/jsutils/promiseForObject.mjs +19 -0
- package/node_modules/graphql/jsutils/promiseReduce.js +25 -0
- package/node_modules/graphql/jsutils/promiseReduce.js.flow +25 -0
- package/node_modules/graphql/jsutils/promiseReduce.mjs +16 -0
- package/node_modules/graphql/jsutils/safeArrayFrom.js +73 -0
- package/node_modules/graphql/jsutils/safeArrayFrom.js.flow +59 -0
- package/node_modules/graphql/jsutils/safeArrayFrom.mjs +66 -0
- package/node_modules/graphql/jsutils/suggestionList.js +141 -0
- package/node_modules/graphql/jsutils/suggestionList.js.flow +138 -0
- package/node_modules/graphql/jsutils/suggestionList.mjs +131 -0
- package/node_modules/graphql/jsutils/toObjMap.js +28 -0
- package/node_modules/graphql/jsutils/toObjMap.js.flow +26 -0
- package/node_modules/graphql/jsutils/toObjMap.mjs +18 -0
- package/node_modules/graphql/language/ast.d.ts +602 -0
- package/node_modules/graphql/language/ast.js +132 -0
- package/node_modules/graphql/language/ast.js.flow +637 -0
- package/node_modules/graphql/language/ast.mjs +118 -0
- package/node_modules/graphql/language/blockString.d.ts +23 -0
- package/node_modules/graphql/language/blockString.js +134 -0
- package/node_modules/graphql/language/blockString.js.flow +121 -0
- package/node_modules/graphql/language/blockString.mjs +124 -0
- package/node_modules/graphql/language/directiveLocation.d.ts +32 -0
- package/node_modules/graphql/language/directiveLocation.js +38 -0
- package/node_modules/graphql/language/directiveLocation.js.flow +32 -0
- package/node_modules/graphql/language/directiveLocation.mjs +29 -0
- package/node_modules/graphql/language/experimentalOnlineParser/grammar.d.ts +1006 -0
- package/node_modules/graphql/language/experimentalOnlineParser/grammar.js +987 -0
- package/node_modules/graphql/language/experimentalOnlineParser/grammar.js.flow +1000 -0
- package/node_modules/graphql/language/experimentalOnlineParser/grammar.mjs +980 -0
- package/node_modules/graphql/language/experimentalOnlineParser/index.d.ts +6 -0
- package/node_modules/graphql/language/experimentalOnlineParser/index.js +31 -0
- package/node_modules/graphql/language/experimentalOnlineParser/index.js.flow +7 -0
- package/node_modules/graphql/language/experimentalOnlineParser/index.mjs +1 -0
- package/node_modules/graphql/language/experimentalOnlineParser/onlineParser.d.ts +125 -0
- package/node_modules/graphql/language/experimentalOnlineParser/onlineParser.js +604 -0
- package/node_modules/graphql/language/experimentalOnlineParser/onlineParser.js.flow +723 -0
- package/node_modules/graphql/language/experimentalOnlineParser/onlineParser.mjs +587 -0
- package/node_modules/graphql/language/index.d.ts +96 -0
- package/node_modules/graphql/language/index.js +191 -0
- package/node_modules/graphql/language/index.js.flow +98 -0
- package/node_modules/graphql/language/index.mjs +12 -0
- package/node_modules/graphql/language/kinds.d.ts +74 -0
- package/node_modules/graphql/language/kinds.js +71 -0
- package/node_modules/graphql/language/kinds.js.flow +75 -0
- package/node_modules/graphql/language/kinds.mjs +62 -0
- package/node_modules/graphql/language/lexer.d.ts +58 -0
- package/node_modules/graphql/language/lexer.js +690 -0
- package/node_modules/graphql/language/lexer.js.flow +701 -0
- package/node_modules/graphql/language/lexer.mjs +676 -0
- package/node_modules/graphql/language/location.d.ts +15 -0
- package/node_modules/graphql/language/location.js +31 -0
- package/node_modules/graphql/language/location.js.flow +26 -0
- package/node_modules/graphql/language/location.mjs +24 -0
- package/node_modules/graphql/language/parser.d.ts +543 -0
- package/node_modules/graphql/language/parser.js +1566 -0
- package/node_modules/graphql/language/parser.js.flow +1568 -0
- package/node_modules/graphql/language/parser.mjs +1547 -0
- package/node_modules/graphql/language/predicates.d.ts +36 -0
- package/node_modules/graphql/language/predicates.js +52 -0
- package/node_modules/graphql/language/predicates.js.flow +82 -0
- package/node_modules/graphql/language/predicates.mjs +28 -0
- package/node_modules/graphql/language/printLocation.d.ts +16 -0
- package/node_modules/graphql/language/printLocation.js +75 -0
- package/node_modules/graphql/language/printLocation.js.flow +88 -0
- package/node_modules/graphql/language/printLocation.mjs +66 -0
- package/node_modules/graphql/language/printer.d.ts +7 -0
- package/node_modules/graphql/language/printer.js +322 -0
- package/node_modules/graphql/language/printer.js.flow +292 -0
- package/node_modules/graphql/language/printer.mjs +313 -0
- package/node_modules/graphql/language/source.d.ts +25 -0
- package/node_modules/graphql/language/source.js +67 -0
- package/node_modules/graphql/language/source.js.flow +64 -0
- package/node_modules/graphql/language/source.mjs +51 -0
- package/node_modules/graphql/language/tokenKind.d.ts +33 -0
- package/node_modules/graphql/language/tokenKind.js +40 -0
- package/node_modules/graphql/language/tokenKind.js.flow +34 -0
- package/node_modules/graphql/language/tokenKind.mjs +31 -0
- package/node_modules/graphql/language/visitor.d.ts +272 -0
- package/node_modules/graphql/language/visitor.js +397 -0
- package/node_modules/graphql/language/visitor.js.flow +437 -0
- package/node_modules/graphql/language/visitor.mjs +383 -0
- package/node_modules/graphql/package.json +28 -0
- package/node_modules/graphql/polyfills/arrayFrom.js +57 -0
- package/node_modules/graphql/polyfills/arrayFrom.js.flow +58 -0
- package/node_modules/graphql/polyfills/arrayFrom.mjs +49 -0
- package/node_modules/graphql/polyfills/find.js +22 -0
- package/node_modules/graphql/polyfills/find.js.flow +20 -0
- package/node_modules/graphql/polyfills/find.mjs +14 -0
- package/node_modules/graphql/polyfills/isFinite.js +15 -0
- package/node_modules/graphql/polyfills/isFinite.js.flow +13 -0
- package/node_modules/graphql/polyfills/isFinite.mjs +7 -0
- package/node_modules/graphql/polyfills/isInteger.js +15 -0
- package/node_modules/graphql/polyfills/isInteger.js.flow +16 -0
- package/node_modules/graphql/polyfills/isInteger.mjs +7 -0
- package/node_modules/graphql/polyfills/objectEntries.js +17 -0
- package/node_modules/graphql/polyfills/objectEntries.js.flow +11 -0
- package/node_modules/graphql/polyfills/objectEntries.mjs +9 -0
- package/node_modules/graphql/polyfills/objectValues.js +17 -0
- package/node_modules/graphql/polyfills/objectValues.js.flow +10 -0
- package/node_modules/graphql/polyfills/objectValues.mjs +9 -0
- package/node_modules/graphql/polyfills/symbols.js +17 -0
- package/node_modules/graphql/polyfills/symbols.js.flow +20 -0
- package/node_modules/graphql/polyfills/symbols.mjs +8 -0
- package/node_modules/graphql/subscription/index.d.ts +5 -0
- package/node_modules/graphql/subscription/index.js +19 -0
- package/node_modules/graphql/subscription/index.js.flow +3 -0
- package/node_modules/graphql/subscription/index.mjs +1 -0
- package/node_modules/graphql/subscription/mapAsyncIterator.d.ts +11 -0
- package/node_modules/graphql/subscription/mapAsyncIterator.js +86 -0
- package/node_modules/graphql/subscription/mapAsyncIterator.js.flow +74 -0
- package/node_modules/graphql/subscription/mapAsyncIterator.mjs +79 -0
- package/node_modules/graphql/subscription/subscribe.d.ts +80 -0
- package/node_modules/graphql/subscription/subscribe.js +192 -0
- package/node_modules/graphql/subscription/subscribe.js.flow +298 -0
- package/node_modules/graphql/subscription/subscribe.mjs +172 -0
- package/node_modules/graphql/type/definition.d.ts +955 -0
- package/node_modules/graphql/type/definition.js +1226 -0
- package/node_modules/graphql/type/definition.js.flow +1659 -0
- package/node_modules/graphql/type/definition.mjs +1107 -0
- package/node_modules/graphql/type/directives.d.ts +96 -0
- package/node_modules/graphql/type/directives.js +205 -0
- package/node_modules/graphql/type/directives.js.flow +230 -0
- package/node_modules/graphql/type/directives.mjs +175 -0
- package/node_modules/graphql/type/index.d.ts +170 -0
- package/node_modules/graphql/type/index.js +509 -0
- package/node_modules/graphql/type/index.js.flow +165 -0
- package/node_modules/graphql/type/index.mjs +27 -0
- package/node_modules/graphql/type/introspection.d.ts +40 -0
- package/node_modules/graphql/type/introspection.js +624 -0
- package/node_modules/graphql/type/introspection.js.flow +560 -0
- package/node_modules/graphql/type/introspection.mjs +577 -0
- package/node_modules/graphql/type/scalars.d.ts +11 -0
- package/node_modules/graphql/type/scalars.js +284 -0
- package/node_modules/graphql/type/scalars.js.flow +287 -0
- package/node_modules/graphql/type/scalars.mjs +258 -0
- package/node_modules/graphql/type/schema.d.ts +147 -0
- package/node_modules/graphql/type/schema.js +384 -0
- package/node_modules/graphql/type/schema.js.flow +435 -0
- package/node_modules/graphql/type/schema.mjs +361 -0
- package/node_modules/graphql/type/validate.d.ts +20 -0
- package/node_modules/graphql/type/validate.js +549 -0
- package/node_modules/graphql/type/validate.js.flow +670 -0
- package/node_modules/graphql/type/validate.mjs +528 -0
- package/node_modules/graphql/utilities/TypeInfo.d.ts +60 -0
- package/node_modules/graphql/utilities/TypeInfo.js +397 -0
- package/node_modules/graphql/utilities/TypeInfo.js.flow +359 -0
- package/node_modules/graphql/utilities/TypeInfo.mjs +378 -0
- package/node_modules/graphql/utilities/assertValidName.d.ts +11 -0
- package/node_modules/graphql/utilities/assertValidName.js +44 -0
- package/node_modules/graphql/utilities/assertValidName.js.flow +34 -0
- package/node_modules/graphql/utilities/assertValidName.mjs +31 -0
- package/node_modules/graphql/utilities/astFromValue.d.ts +26 -0
- package/node_modules/graphql/utilities/astFromValue.js +196 -0
- package/node_modules/graphql/utilities/astFromValue.js.flow +154 -0
- package/node_modules/graphql/utilities/astFromValue.mjs +178 -0
- package/node_modules/graphql/utilities/buildASTSchema.d.ts +53 -0
- package/node_modules/graphql/utilities/buildASTSchema.js +117 -0
- package/node_modules/graphql/utilities/buildASTSchema.js.flow +129 -0
- package/node_modules/graphql/utilities/buildASTSchema.mjs +100 -0
- package/node_modules/graphql/utilities/buildClientSchema.d.ts +20 -0
- package/node_modules/graphql/utilities/buildClientSchema.js +335 -0
- package/node_modules/graphql/utilities/buildClientSchema.js.flow +408 -0
- package/node_modules/graphql/utilities/buildClientSchema.mjs +315 -0
- package/node_modules/graphql/utilities/coerceInputValue.d.ts +17 -0
- package/node_modules/graphql/utilities/coerceInputValue.js +148 -0
- package/node_modules/graphql/utilities/coerceInputValue.js.flow +195 -0
- package/node_modules/graphql/utilities/coerceInputValue.mjs +129 -0
- package/node_modules/graphql/utilities/concatAST.d.ts +8 -0
- package/node_modules/graphql/utilities/concatAST.js +25 -0
- package/node_modules/graphql/utilities/concatAST.js.flow +17 -0
- package/node_modules/graphql/utilities/concatAST.mjs +18 -0
- package/node_modules/graphql/utilities/extendSchema.d.ts +75 -0
- package/node_modules/graphql/utilities/extendSchema.js +719 -0
- package/node_modules/graphql/utilities/extendSchema.js.flow +782 -0
- package/node_modules/graphql/utilities/extendSchema.mjs +689 -0
- package/node_modules/graphql/utilities/findBreakingChanges.d.ts +57 -0
- package/node_modules/graphql/utilities/findBreakingChanges.js +522 -0
- package/node_modules/graphql/utilities/findBreakingChanges.js.flow +590 -0
- package/node_modules/graphql/utilities/findBreakingChanges.mjs +498 -0
- package/node_modules/graphql/utilities/findDeprecatedUsages.d.ts +21 -0
- package/node_modules/graphql/utilities/findDeprecatedUsages.js +27 -0
- package/node_modules/graphql/utilities/findDeprecatedUsages.js.flow +29 -0
- package/node_modules/graphql/utilities/findDeprecatedUsages.mjs +19 -0
- package/node_modules/graphql/utilities/getIntrospectionQuery.d.ts +193 -0
- package/node_modules/graphql/utilities/getIntrospectionQuery.js +33 -0
- package/node_modules/graphql/utilities/getIntrospectionQuery.js.flow +312 -0
- package/node_modules/graphql/utilities/getIntrospectionQuery.mjs +26 -0
- package/node_modules/graphql/utilities/getOperationAST.d.ts +13 -0
- package/node_modules/graphql/utilities/getOperationAST.js +40 -0
- package/node_modules/graphql/utilities/getOperationAST.js.flow +31 -0
- package/node_modules/graphql/utilities/getOperationAST.mjs +33 -0
- package/node_modules/graphql/utilities/getOperationRootType.d.ts +14 -0
- package/node_modules/graphql/utilities/getOperationRootType.js +45 -0
- package/node_modules/graphql/utilities/getOperationRootType.js.flow +56 -0
- package/node_modules/graphql/utilities/getOperationRootType.mjs +38 -0
- package/node_modules/graphql/utilities/index.d.ts +119 -0
- package/node_modules/graphql/utilities/index.js +247 -0
- package/node_modules/graphql/utilities/index.js.flow +114 -0
- package/node_modules/graphql/utilities/index.mjs +49 -0
- package/node_modules/graphql/utilities/introspectionFromSchema.d.ts +20 -0
- package/node_modules/graphql/utilities/introspectionFromSchema.js +48 -0
- package/node_modules/graphql/utilities/introspectionFromSchema.js.flow +41 -0
- package/node_modules/graphql/utilities/introspectionFromSchema.mjs +36 -0
- package/node_modules/graphql/utilities/lexicographicSortSchema.d.ts +8 -0
- package/node_modules/graphql/utilities/lexicographicSortSchema.js +202 -0
- package/node_modules/graphql/utilities/lexicographicSortSchema.js.flow +187 -0
- package/node_modules/graphql/utilities/lexicographicSortSchema.mjs +185 -0
- package/node_modules/graphql/utilities/printSchema.d.ts +30 -0
- package/node_modules/graphql/utilities/printSchema.js +289 -0
- package/node_modules/graphql/utilities/printSchema.js.flow +382 -0
- package/node_modules/graphql/utilities/printSchema.mjs +268 -0
- package/node_modules/graphql/utilities/separateOperations.d.ts +11 -0
- package/node_modules/graphql/utilities/separateOperations.js +92 -0
- package/node_modules/graphql/utilities/separateOperations.js.flow +97 -0
- package/node_modules/graphql/utilities/separateOperations.mjs +84 -0
- package/node_modules/graphql/utilities/stripIgnoredCharacters.d.ts +55 -0
- package/node_modules/graphql/utilities/stripIgnoredCharacters.js +123 -0
- package/node_modules/graphql/utilities/stripIgnoredCharacters.js.flow +115 -0
- package/node_modules/graphql/utilities/stripIgnoredCharacters.mjs +113 -0
- package/node_modules/graphql/utilities/typeComparators.d.ts +32 -0
- package/node_modules/graphql/utilities/typeComparators.js +115 -0
- package/node_modules/graphql/utilities/typeComparators.js.flow +120 -0
- package/node_modules/graphql/utilities/typeComparators.mjs +104 -0
- package/node_modules/graphql/utilities/typeFromAST.d.ts +29 -0
- package/node_modules/graphql/utilities/typeFromAST.js +39 -0
- package/node_modules/graphql/utilities/typeFromAST.js.flow +55 -0
- package/node_modules/graphql/utilities/typeFromAST.mjs +36 -0
- package/node_modules/graphql/utilities/typedQueryDocumentNode.d.ts +20 -0
- package/node_modules/graphql/utilities/valueFromAST.d.ts +30 -0
- package/node_modules/graphql/utilities/valueFromAST.js +186 -0
- package/node_modules/graphql/utilities/valueFromAST.js.flow +164 -0
- package/node_modules/graphql/utilities/valueFromAST.mjs +171 -0
- package/node_modules/graphql/utilities/valueFromASTUntyped.d.ts +24 -0
- package/node_modules/graphql/utilities/valueFromASTUntyped.js +68 -0
- package/node_modules/graphql/utilities/valueFromASTUntyped.js.flow +57 -0
- package/node_modules/graphql/utilities/valueFromASTUntyped.mjs +56 -0
- package/node_modules/graphql/validation/ValidationContext.d.ts +98 -0
- package/node_modules/graphql/validation/ValidationContext.js +241 -0
- package/node_modules/graphql/validation/ValidationContext.js.flow +254 -0
- package/node_modules/graphql/validation/ValidationContext.mjs +224 -0
- package/node_modules/graphql/validation/index.d.ts +96 -0
- package/node_modules/graphql/validation/index.js +309 -0
- package/node_modules/graphql/validation/index.js.flow +99 -0
- package/node_modules/graphql/validation/index.mjs +67 -0
- package/node_modules/graphql/validation/rules/ExecutableDefinitions.d.ts +8 -0
- package/node_modules/graphql/validation/rules/ExecutableDefinitions.js +13 -0
- package/node_modules/graphql/validation/rules/ExecutableDefinitions.js.flow +9 -0
- package/node_modules/graphql/validation/rules/ExecutableDefinitions.mjs +8 -0
- package/node_modules/graphql/validation/rules/ExecutableDefinitionsRule.d.ts +12 -0
- package/node_modules/graphql/validation/rules/ExecutableDefinitionsRule.js +35 -0
- package/node_modules/graphql/validation/rules/ExecutableDefinitionsRule.js.flow +39 -0
- package/node_modules/graphql/validation/rules/ExecutableDefinitionsRule.mjs +26 -0
- package/node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.d.ts +10 -0
- package/node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.js +132 -0
- package/node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.js.flow +146 -0
- package/node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.mjs +117 -0
- package/node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.d.ts +13 -0
- package/node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.js +46 -0
- package/node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.js.flow +52 -0
- package/node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.mjs +36 -0
- package/node_modules/graphql/validation/rules/KnownArgumentNamesRule.d.ts +17 -0
- package/node_modules/graphql/validation/rules/KnownArgumentNamesRule.js +104 -0
- package/node_modules/graphql/validation/rules/KnownArgumentNamesRule.js.flow +98 -0
- package/node_modules/graphql/validation/rules/KnownArgumentNamesRule.mjs +89 -0
- package/node_modules/graphql/validation/rules/KnownDirectivesRule.d.ts +12 -0
- package/node_modules/graphql/validation/rules/KnownDirectivesRule.js +148 -0
- package/node_modules/graphql/validation/rules/KnownDirectivesRule.js.flow +138 -0
- package/node_modules/graphql/validation/rules/KnownDirectivesRule.mjs +134 -0
- package/node_modules/graphql/validation/rules/KnownFragmentNamesRule.d.ts +10 -0
- package/node_modules/graphql/validation/rules/KnownFragmentNamesRule.js +27 -0
- package/node_modules/graphql/validation/rules/KnownFragmentNamesRule.js.flow +26 -0
- package/node_modules/graphql/validation/rules/KnownFragmentNamesRule.mjs +20 -0
- package/node_modules/graphql/validation/rules/KnownTypeNamesRule.d.ts +12 -0
- package/node_modules/graphql/validation/rules/KnownTypeNamesRule.js +73 -0
- package/node_modules/graphql/validation/rules/KnownTypeNamesRule.js.flow +84 -0
- package/node_modules/graphql/validation/rules/KnownTypeNamesRule.mjs +58 -0
- package/node_modules/graphql/validation/rules/LoneAnonymousOperationRule.d.ts +12 -0
- package/node_modules/graphql/validation/rules/LoneAnonymousOperationRule.js +32 -0
- package/node_modules/graphql/validation/rules/LoneAnonymousOperationRule.js.flow +36 -0
- package/node_modules/graphql/validation/rules/LoneAnonymousOperationRule.mjs +24 -0
- package/node_modules/graphql/validation/rules/LoneSchemaDefinition.d.ts +8 -0
- package/node_modules/graphql/validation/rules/LoneSchemaDefinition.js +13 -0
- package/node_modules/graphql/validation/rules/LoneSchemaDefinition.js.flow +9 -0
- package/node_modules/graphql/validation/rules/LoneSchemaDefinition.mjs +8 -0
- package/node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.d.ts +11 -0
- package/node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.js +35 -0
- package/node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.js.flow +43 -0
- package/node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.mjs +28 -0
- package/node_modules/graphql/validation/rules/NoFragmentCyclesRule.d.ts +4 -0
- package/node_modules/graphql/validation/rules/NoFragmentCyclesRule.js +70 -0
- package/node_modules/graphql/validation/rules/NoFragmentCyclesRule.js.flow +78 -0
- package/node_modules/graphql/validation/rules/NoFragmentCyclesRule.mjs +62 -0
- package/node_modules/graphql/validation/rules/NoUndefinedVariablesRule.d.ts +12 -0
- package/node_modules/graphql/validation/rules/NoUndefinedVariablesRule.js +41 -0
- package/node_modules/graphql/validation/rules/NoUndefinedVariablesRule.js.flow +46 -0
- package/node_modules/graphql/validation/rules/NoUndefinedVariablesRule.mjs +34 -0
- package/node_modules/graphql/validation/rules/NoUnusedFragmentsRule.d.ts +10 -0
- package/node_modules/graphql/validation/rules/NoUnusedFragmentsRule.js +52 -0
- package/node_modules/graphql/validation/rules/NoUnusedFragmentsRule.js.flow +54 -0
- package/node_modules/graphql/validation/rules/NoUnusedFragmentsRule.mjs +45 -0
- package/node_modules/graphql/validation/rules/NoUnusedVariablesRule.d.ts +10 -0
- package/node_modules/graphql/validation/rules/NoUnusedVariablesRule.js +47 -0
- package/node_modules/graphql/validation/rules/NoUnusedVariablesRule.js.flow +49 -0
- package/node_modules/graphql/validation/rules/NoUnusedVariablesRule.mjs +40 -0
- package/node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.d.ts +13 -0
- package/node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.js +584 -0
- package/node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.js.flow +833 -0
- package/node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.mjs +568 -0
- package/node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.d.ts +13 -0
- package/node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.js +63 -0
- package/node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.js.flow +78 -0
- package/node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.mjs +50 -0
- package/node_modules/graphql/validation/rules/PossibleTypeExtensions.d.ts +8 -0
- package/node_modules/graphql/validation/rules/PossibleTypeExtensions.js +13 -0
- package/node_modules/graphql/validation/rules/PossibleTypeExtensions.js.flow +9 -0
- package/node_modules/graphql/validation/rules/PossibleTypeExtensions.mjs +8 -0
- package/node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.d.ts +11 -0
- package/node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.js +141 -0
- package/node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.js.flow +145 -0
- package/node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.mjs +124 -0
- package/node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.d.ts +19 -0
- package/node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.js +136 -0
- package/node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.js.flow +125 -0
- package/node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.mjs +119 -0
- package/node_modules/graphql/validation/rules/ScalarLeafsRule.d.ts +10 -0
- package/node_modules/graphql/validation/rules/ScalarLeafsRule.js +45 -0
- package/node_modules/graphql/validation/rules/ScalarLeafsRule.js.flow +49 -0
- package/node_modules/graphql/validation/rules/ScalarLeafsRule.mjs +34 -0
- package/node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.d.ts +11 -0
- package/node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.js +25 -0
- package/node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.js.flow +33 -0
- package/node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.mjs +18 -0
- package/node_modules/graphql/validation/rules/UniqueArgumentNamesRule.d.ts +12 -0
- package/node_modules/graphql/validation/rules/UniqueArgumentNamesRule.js +37 -0
- package/node_modules/graphql/validation/rules/UniqueArgumentNamesRule.js.flow +39 -0
- package/node_modules/graphql/validation/rules/UniqueArgumentNamesRule.mjs +30 -0
- package/node_modules/graphql/validation/rules/UniqueDirectiveNames.d.ts +8 -0
- package/node_modules/graphql/validation/rules/UniqueDirectiveNames.js +13 -0
- package/node_modules/graphql/validation/rules/UniqueDirectiveNames.js.flow +9 -0
- package/node_modules/graphql/validation/rules/UniqueDirectiveNames.mjs +8 -0
- package/node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.d.ts +11 -0
- package/node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.js +36 -0
- package/node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.js.flow +46 -0
- package/node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.mjs +29 -0
- package/node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.d.ts +12 -0
- package/node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.js +82 -0
- package/node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.js.flow +90 -0
- package/node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.mjs +72 -0
- package/node_modules/graphql/validation/rules/UniqueEnumValueNames.d.ts +8 -0
- package/node_modules/graphql/validation/rules/UniqueEnumValueNames.js +13 -0
- package/node_modules/graphql/validation/rules/UniqueEnumValueNames.js.flow +9 -0
- package/node_modules/graphql/validation/rules/UniqueEnumValueNames.mjs +8 -0
- package/node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.d.ts +11 -0
- package/node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.js +55 -0
- package/node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.js.flow +69 -0
- package/node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.mjs +47 -0
- package/node_modules/graphql/validation/rules/UniqueFieldDefinitionNames.d.ts +8 -0
- package/node_modules/graphql/validation/rules/UniqueFieldDefinitionNames.js +13 -0
- package/node_modules/graphql/validation/rules/UniqueFieldDefinitionNames.js.flow +9 -0
- package/node_modules/graphql/validation/rules/UniqueFieldDefinitionNames.mjs +8 -0
- package/node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.d.ts +11 -0
- package/node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.js +66 -0
- package/node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.js.flow +87 -0
- package/node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.mjs +58 -0
- package/node_modules/graphql/validation/rules/UniqueFragmentNamesRule.d.ts +11 -0
- package/node_modules/graphql/validation/rules/UniqueFragmentNamesRule.js +33 -0
- package/node_modules/graphql/validation/rules/UniqueFragmentNamesRule.js.flow +34 -0
- package/node_modules/graphql/validation/rules/UniqueFragmentNamesRule.mjs +26 -0
- package/node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.d.ts +12 -0
- package/node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.js +39 -0
- package/node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.js.flow +44 -0
- package/node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.mjs +32 -0
- package/node_modules/graphql/validation/rules/UniqueOperationNamesRule.d.ts +11 -0
- package/node_modules/graphql/validation/rules/UniqueOperationNamesRule.js +35 -0
- package/node_modules/graphql/validation/rules/UniqueOperationNamesRule.js.flow +36 -0
- package/node_modules/graphql/validation/rules/UniqueOperationNamesRule.mjs +28 -0
- package/node_modules/graphql/validation/rules/UniqueOperationTypes.d.ts +8 -0
- package/node_modules/graphql/validation/rules/UniqueOperationTypes.js +13 -0
- package/node_modules/graphql/validation/rules/UniqueOperationTypes.js.flow +9 -0
- package/node_modules/graphql/validation/rules/UniqueOperationTypes.mjs +8 -0
- package/node_modules/graphql/validation/rules/UniqueOperationTypesRule.d.ts +11 -0
- package/node_modules/graphql/validation/rules/UniqueOperationTypesRule.js +50 -0
- package/node_modules/graphql/validation/rules/UniqueOperationTypesRule.js.flow +66 -0
- package/node_modules/graphql/validation/rules/UniqueOperationTypesRule.mjs +43 -0
- package/node_modules/graphql/validation/rules/UniqueTypeNames.d.ts +8 -0
- package/node_modules/graphql/validation/rules/UniqueTypeNames.js +13 -0
- package/node_modules/graphql/validation/rules/UniqueTypeNames.js.flow +9 -0
- package/node_modules/graphql/validation/rules/UniqueTypeNames.mjs +8 -0
- package/node_modules/graphql/validation/rules/UniqueTypeNamesRule.d.ts +9 -0
- package/node_modules/graphql/validation/rules/UniqueTypeNamesRule.js +43 -0
- package/node_modules/graphql/validation/rules/UniqueTypeNamesRule.js.flow +53 -0
- package/node_modules/graphql/validation/rules/UniqueTypeNamesRule.mjs +36 -0
- package/node_modules/graphql/validation/rules/UniqueVariableNamesRule.d.ts +11 -0
- package/node_modules/graphql/validation/rules/UniqueVariableNamesRule.js +31 -0
- package/node_modules/graphql/validation/rules/UniqueVariableNamesRule.js.flow +36 -0
- package/node_modules/graphql/validation/rules/UniqueVariableNamesRule.mjs +24 -0
- package/node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.d.ts +10 -0
- package/node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.js +143 -0
- package/node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.js.flow +158 -0
- package/node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.mjs +126 -0
- package/node_modules/graphql/validation/rules/VariablesAreInputTypesRule.d.ts +12 -0
- package/node_modules/graphql/validation/rules/VariablesAreInputTypesRule.js +34 -0
- package/node_modules/graphql/validation/rules/VariablesAreInputTypesRule.js.flow +40 -0
- package/node_modules/graphql/validation/rules/VariablesAreInputTypesRule.mjs +24 -0
- package/node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.d.ts +9 -0
- package/node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.js +87 -0
- package/node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.js.flow +98 -0
- package/node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.mjs +72 -0
- package/node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.d.ts +14 -0
- package/node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.js +79 -0
- package/node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.js.flow +94 -0
- package/node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.mjs +68 -0
- package/node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.d.ts +16 -0
- package/node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.js +34 -0
- package/node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.js.flow +38 -0
- package/node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.mjs +25 -0
- package/node_modules/graphql/validation/specifiedRules.d.ts +14 -0
- package/node_modules/graphql/validation/specifiedRules.js +115 -0
- package/node_modules/graphql/validation/specifiedRules.js.flow +148 -0
- package/node_modules/graphql/validation/specifiedRules.mjs +73 -0
- package/node_modules/graphql/validation/validate.d.ts +63 -0
- package/node_modules/graphql/validation/validate.js +128 -0
- package/node_modules/graphql/validation/validate.js.flow +128 -0
- package/node_modules/graphql/validation/validate.mjs +107 -0
- package/node_modules/graphql/version.d.ts +14 -0
- package/node_modules/graphql/version.js +28 -0
- package/node_modules/graphql/version.js.flow +20 -0
- package/node_modules/graphql/version.mjs +19 -0
- package/node_modules/graphql-mapping-template/API.md +476 -0
- package/node_modules/graphql-mapping-template/CHANGELOG.md +505 -0
- package/node_modules/graphql-mapping-template/lib/ast.d.ts +151 -0
- package/node_modules/graphql-mapping-template/lib/ast.d.ts.map +1 -0
- package/node_modules/graphql-mapping-template/lib/ast.js +212 -0
- package/node_modules/graphql-mapping-template/lib/ast.js.map +1 -0
- package/node_modules/graphql-mapping-template/lib/dynamodb.d.ts +53 -0
- package/node_modules/graphql-mapping-template/lib/dynamodb.d.ts.map +1 -0
- package/node_modules/graphql-mapping-template/lib/dynamodb.js +171 -0
- package/node_modules/graphql-mapping-template/lib/dynamodb.js.map +1 -0
- package/node_modules/graphql-mapping-template/lib/elasticsearch.d.ts +4 -0
- package/node_modules/graphql-mapping-template/lib/elasticsearch.d.ts.map +1 -0
- package/node_modules/graphql-mapping-template/lib/elasticsearch.js +8 -0
- package/node_modules/graphql-mapping-template/lib/elasticsearch.js.map +1 -0
- package/node_modules/graphql-mapping-template/lib/http.d.ts +25 -0
- package/node_modules/graphql-mapping-template/lib/http.d.ts.map +1 -0
- package/node_modules/graphql-mapping-template/lib/http.js +49 -0
- package/node_modules/graphql-mapping-template/lib/http.js.map +1 -0
- package/node_modules/graphql-mapping-template/lib/index.d.ts +7 -0
- package/node_modules/graphql-mapping-template/lib/index.d.ts.map +1 -0
- package/node_modules/graphql-mapping-template/lib/index.js +23 -0
- package/node_modules/graphql-mapping-template/lib/index.js.map +1 -0
- package/node_modules/graphql-mapping-template/lib/print.d.ts +5 -0
- package/node_modules/graphql-mapping-template/lib/print.d.ts.map +1 -0
- package/node_modules/graphql-mapping-template/lib/print.js +187 -0
- package/node_modules/graphql-mapping-template/lib/print.js.map +1 -0
- package/node_modules/graphql-mapping-template/lib/searchable.d.ts +29 -0
- package/node_modules/graphql-mapping-template/lib/searchable.d.ts.map +1 -0
- package/node_modules/graphql-mapping-template/lib/searchable.js +53 -0
- package/node_modules/graphql-mapping-template/lib/searchable.js.map +1 -0
- package/node_modules/graphql-mapping-template/package.json +50 -0
- package/node_modules/graphql-transformer-common/API.md +494 -0
- package/node_modules/graphql-transformer-common/CHANGELOG.md +700 -0
- package/node_modules/graphql-transformer-common/lib/FunctionResourceIDs.d.ts +7 -0
- package/node_modules/graphql-transformer-common/lib/FunctionResourceIDs.d.ts.map +1 -0
- package/node_modules/graphql-transformer-common/lib/FunctionResourceIDs.js +27 -0
- package/node_modules/graphql-transformer-common/lib/FunctionResourceIDs.js.map +1 -0
- package/node_modules/graphql-transformer-common/lib/HttpResourceIDs.d.ts +4 -0
- package/node_modules/graphql-transformer-common/lib/HttpResourceIDs.d.ts.map +1 -0
- package/node_modules/graphql-transformer-common/lib/HttpResourceIDs.js +11 -0
- package/node_modules/graphql-transformer-common/lib/HttpResourceIDs.js.map +1 -0
- package/node_modules/graphql-transformer-common/lib/ModelResourceIDs.d.ts +35 -0
- package/node_modules/graphql-transformer-common/lib/ModelResourceIDs.d.ts.map +1 -0
- package/node_modules/graphql-transformer-common/lib/ModelResourceIDs.js +143 -0
- package/node_modules/graphql-transformer-common/lib/ModelResourceIDs.js.map +1 -0
- package/node_modules/graphql-transformer-common/lib/PredictionsResourceIDs.d.ts +12 -0
- package/node_modules/graphql-transformer-common/lib/PredictionsResourceIDs.d.ts.map +1 -0
- package/node_modules/graphql-transformer-common/lib/PredictionsResourceIDs.js +18 -0
- package/node_modules/graphql-transformer-common/lib/PredictionsResourceIDs.js.map +1 -0
- package/node_modules/graphql-transformer-common/lib/ResolverResourceIDs.d.ts +11 -0
- package/node_modules/graphql-transformer-common/lib/ResolverResourceIDs.d.ts.map +1 -0
- package/node_modules/graphql-transformer-common/lib/ResolverResourceIDs.js +32 -0
- package/node_modules/graphql-transformer-common/lib/ResolverResourceIDs.js.map +1 -0
- package/node_modules/graphql-transformer-common/lib/ResourceConstants.d.ts +118 -0
- package/node_modules/graphql-transformer-common/lib/ResourceConstants.d.ts.map +1 -0
- package/node_modules/graphql-transformer-common/lib/ResourceConstants.js +122 -0
- package/node_modules/graphql-transformer-common/lib/ResourceConstants.js.map +1 -0
- package/node_modules/graphql-transformer-common/lib/SearchableResourceIDs.d.ts +5 -0
- package/node_modules/graphql-transformer-common/lib/SearchableResourceIDs.d.ts.map +1 -0
- package/node_modules/graphql-transformer-common/lib/SearchableResourceIDs.js +18 -0
- package/node_modules/graphql-transformer-common/lib/SearchableResourceIDs.js.map +1 -0
- package/node_modules/graphql-transformer-common/lib/SyncResourceIDs.d.ts +11 -0
- package/node_modules/graphql-transformer-common/lib/SyncResourceIDs.d.ts.map +1 -0
- package/node_modules/graphql-transformer-common/lib/SyncResourceIDs.js +18 -0
- package/node_modules/graphql-transformer-common/lib/SyncResourceIDs.js.map +1 -0
- package/node_modules/graphql-transformer-common/lib/connectionUtils.d.ts +3 -0
- package/node_modules/graphql-transformer-common/lib/connectionUtils.d.ts.map +1 -0
- package/node_modules/graphql-transformer-common/lib/connectionUtils.js +15 -0
- package/node_modules/graphql-transformer-common/lib/connectionUtils.js.map +1 -0
- package/node_modules/graphql-transformer-common/lib/definition.d.ts +43 -0
- package/node_modules/graphql-transformer-common/lib/definition.d.ts.map +1 -0
- package/node_modules/graphql-transformer-common/lib/definition.js +379 -0
- package/node_modules/graphql-transformer-common/lib/definition.js.map +1 -0
- package/node_modules/graphql-transformer-common/lib/dynamodbUtils.d.ts +11 -0
- package/node_modules/graphql-transformer-common/lib/dynamodbUtils.d.ts.map +1 -0
- package/node_modules/graphql-transformer-common/lib/dynamodbUtils.js +313 -0
- package/node_modules/graphql-transformer-common/lib/dynamodbUtils.js.map +1 -0
- package/node_modules/graphql-transformer-common/lib/index.d.ts +15 -0
- package/node_modules/graphql-transformer-common/lib/index.d.ts.map +1 -0
- package/node_modules/graphql-transformer-common/lib/index.js +31 -0
- package/node_modules/graphql-transformer-common/lib/index.js.map +1 -0
- package/node_modules/graphql-transformer-common/lib/modelUtils.d.ts +1 -0
- package/node_modules/graphql-transformer-common/lib/modelUtils.d.ts.map +1 -0
- package/node_modules/graphql-transformer-common/lib/modelUtils.js +1 -0
- package/node_modules/graphql-transformer-common/lib/modelUtils.js.map +1 -0
- package/node_modules/graphql-transformer-common/lib/nodeUtils.d.ts +3 -0
- package/node_modules/graphql-transformer-common/lib/nodeUtils.d.ts.map +1 -0
- package/node_modules/graphql-transformer-common/lib/nodeUtils.js +28 -0
- package/node_modules/graphql-transformer-common/lib/nodeUtils.js.map +1 -0
- package/node_modules/graphql-transformer-common/lib/transformedArgs.d.ts +5 -0
- package/node_modules/graphql-transformer-common/lib/transformedArgs.d.ts.map +1 -0
- package/node_modules/graphql-transformer-common/lib/transformedArgs.js +9 -0
- package/node_modules/graphql-transformer-common/lib/transformedArgs.js.map +1 -0
- package/node_modules/graphql-transformer-common/lib/util.d.ts +11 -0
- package/node_modules/graphql-transformer-common/lib/util.d.ts.map +1 -0
- package/node_modules/graphql-transformer-common/lib/util.js +65 -0
- package/node_modules/graphql-transformer-common/lib/util.js.map +1 -0
- package/node_modules/graphql-transformer-common/package.json +58 -0
- package/node_modules/hjson/LICENSE +21 -0
- package/node_modules/hjson/README.md +174 -0
- package/node_modules/hjson/bin/hjson +98 -0
- package/node_modules/hjson/bundle/hjson.js +1506 -0
- package/node_modules/hjson/bundle/hjson.min.js +23 -0
- package/node_modules/hjson/history.md +103 -0
- package/node_modules/hjson/lib/hjson-comments.js +202 -0
- package/node_modules/hjson/lib/hjson-common.js +108 -0
- package/node_modules/hjson/lib/hjson-dsf.js +127 -0
- package/node_modules/hjson/lib/hjson-parse.js +455 -0
- package/node_modules/hjson/lib/hjson-stringify.js +400 -0
- package/node_modules/hjson/lib/hjson-version.js +1 -0
- package/node_modules/hjson/lib/hjson.js +183 -0
- package/node_modules/hjson/lib/require-config.js +11 -0
- package/node_modules/hjson/package.json +43 -0
- package/node_modules/immer/LICENSE +21 -0
- package/node_modules/immer/compat/pre-3.7/dist/immer.d.ts +318 -0
- package/node_modules/immer/dist/core/current.d.ts +3 -0
- package/node_modules/immer/dist/core/current.d.ts.map +1 -0
- package/node_modules/immer/dist/core/finalize.d.ts +3 -0
- package/node_modules/immer/dist/core/finalize.d.ts.map +1 -0
- package/node_modules/immer/dist/core/immerClass.d.ts +53 -0
- package/node_modules/immer/dist/core/immerClass.d.ts.map +1 -0
- package/node_modules/immer/dist/core/proxy.d.ts +38 -0
- package/node_modules/immer/dist/core/proxy.d.ts.map +1 -0
- package/node_modules/immer/dist/core/scope.d.ts +18 -0
- package/node_modules/immer/dist/core/scope.d.ts.map +1 -0
- package/node_modules/immer/dist/immer.cjs.development.js +2085 -0
- package/node_modules/immer/dist/immer.cjs.development.js.map +1 -0
- package/node_modules/immer/dist/immer.cjs.production.min.js +2 -0
- package/node_modules/immer/dist/immer.cjs.production.min.js.map +1 -0
- package/node_modules/immer/dist/immer.d.ts +80 -0
- package/node_modules/immer/dist/immer.d.ts.map +1 -0
- package/node_modules/immer/dist/immer.esm.js +2 -0
- package/node_modules/immer/dist/immer.esm.js.map +1 -0
- package/node_modules/immer/dist/immer.esm.mjs +2 -0
- package/node_modules/immer/dist/immer.umd.development.js +2091 -0
- package/node_modules/immer/dist/immer.umd.development.js.map +1 -0
- package/node_modules/immer/dist/immer.umd.production.min.js +2 -0
- package/node_modules/immer/dist/immer.umd.production.min.js.map +1 -0
- package/node_modules/immer/dist/index.js +8 -0
- package/node_modules/immer/dist/index.js.flow +113 -0
- package/node_modules/immer/dist/internal.d.ts +12 -0
- package/node_modules/immer/dist/internal.d.ts.map +1 -0
- package/node_modules/immer/dist/plugins/all.d.ts +2 -0
- package/node_modules/immer/dist/plugins/all.d.ts.map +1 -0
- package/node_modules/immer/dist/plugins/es5.d.ts +2 -0
- package/node_modules/immer/dist/plugins/es5.d.ts.map +1 -0
- package/node_modules/immer/dist/plugins/mapset.d.ts +2 -0
- package/node_modules/immer/dist/plugins/mapset.d.ts.map +1 -0
- package/node_modules/immer/dist/plugins/patches.d.ts +2 -0
- package/node_modules/immer/dist/plugins/patches.d.ts.map +1 -0
- package/node_modules/immer/dist/types/types-external.d.ts +107 -0
- package/node_modules/immer/dist/types/types-external.d.ts.map +1 -0
- package/node_modules/immer/dist/types/types-internal.d.ts +35 -0
- package/node_modules/immer/dist/types/types-internal.d.ts.map +1 -0
- package/node_modules/immer/dist/utils/common.d.ts +32 -0
- package/node_modules/immer/dist/utils/common.d.ts.map +1 -0
- package/node_modules/immer/dist/utils/env.d.ts +23 -0
- package/node_modules/immer/dist/utils/env.d.ts.map +1 -0
- package/node_modules/immer/dist/utils/errors.d.ts +29 -0
- package/node_modules/immer/dist/utils/errors.d.ts.map +1 -0
- package/node_modules/immer/dist/utils/plugins.d.ts +62 -0
- package/node_modules/immer/dist/utils/plugins.d.ts.map +1 -0
- package/node_modules/immer/package.json +104 -0
- package/node_modules/immer/readme.md +33 -0
- package/node_modules/immer/src/core/current.ts +60 -0
- package/node_modules/immer/src/core/finalize.ts +168 -0
- package/node_modules/immer/src/core/immerClass.ts +241 -0
- package/node_modules/immer/src/core/proxy.ts +280 -0
- package/node_modules/immer/src/core/scope.ts +85 -0
- package/node_modules/immer/src/immer.ts +117 -0
- package/node_modules/immer/src/internal.ts +11 -0
- package/node_modules/immer/src/plugins/all.ts +9 -0
- package/node_modules/immer/src/plugins/es5.ts +277 -0
- package/node_modules/immer/src/plugins/mapset.ts +348 -0
- package/node_modules/immer/src/plugins/patches.ts +305 -0
- package/node_modules/immer/src/types/globals.d.ts +1 -0
- package/node_modules/immer/src/types/index.js.flow +113 -0
- package/node_modules/immer/src/types/types-external.ts +262 -0
- package/node_modules/immer/src/types/types-internal.ts +55 -0
- package/node_modules/immer/src/utils/common.ts +216 -0
- package/node_modules/immer/src/utils/env.ts +47 -0
- package/node_modules/immer/src/utils/errors.ts +60 -0
- package/node_modules/immer/src/utils/plugins.ts +109 -0
- package/node_modules/is-buffer/LICENSE +21 -0
- package/node_modules/is-buffer/README.md +54 -0
- package/node_modules/is-buffer/index.d.ts +2 -0
- package/node_modules/is-buffer/index.js +11 -0
- package/node_modules/is-buffer/package.json +65 -0
- package/node_modules/jsonfile/CHANGELOG.md +171 -0
- package/node_modules/jsonfile/LICENSE +15 -0
- package/node_modules/jsonfile/README.md +230 -0
- package/node_modules/jsonfile/index.js +88 -0
- package/node_modules/jsonfile/package.json +40 -0
- package/node_modules/jsonfile/utils.js +14 -0
- package/node_modules/libphonenumber-js/.gitlab-ci.yml +16 -0
- package/node_modules/libphonenumber-js/.nycrc +27 -0
- package/node_modules/libphonenumber-js/AUTHORS +5 -0
- package/node_modules/libphonenumber-js/CHANGELOG.md +604 -0
- package/node_modules/libphonenumber-js/LICENSE +22 -0
- package/node_modules/libphonenumber-js/LICENSE.Apache +176 -0
- package/node_modules/libphonenumber-js/METADATA.md +145 -0
- package/node_modules/libphonenumber-js/README.md +1730 -0
- package/node_modules/libphonenumber-js/autoupdate.cmd +6 -0
- package/node_modules/libphonenumber-js/autoupdate.sh +16 -0
- package/node_modules/libphonenumber-js/build/AsYouType.js +508 -0
- package/node_modules/libphonenumber-js/build/AsYouType.js.map +1 -0
- package/node_modules/libphonenumber-js/build/AsYouType.test.js +1200 -0
- package/node_modules/libphonenumber-js/build/AsYouType.test.js.map +1 -0
- package/node_modules/libphonenumber-js/build/AsYouTypeFormatter.PatternMatcher.js +472 -0
- package/node_modules/libphonenumber-js/build/AsYouTypeFormatter.PatternMatcher.js.map +1 -0
- package/node_modules/libphonenumber-js/build/AsYouTypeFormatter.PatternMatcher.test.js +493 -0
- package/node_modules/libphonenumber-js/build/AsYouTypeFormatter.PatternMatcher.test.js.map +1 -0
- package/node_modules/libphonenumber-js/build/AsYouTypeFormatter.complete.js +133 -0
- package/node_modules/libphonenumber-js/build/AsYouTypeFormatter.complete.js.map +1 -0
- package/node_modules/libphonenumber-js/build/AsYouTypeFormatter.js +775 -0
- package/node_modules/libphonenumber-js/build/AsYouTypeFormatter.js.map +1 -0
- package/node_modules/libphonenumber-js/build/AsYouTypeFormatter.util.js +156 -0
- package/node_modules/libphonenumber-js/build/AsYouTypeFormatter.util.js.map +1 -0
- package/node_modules/libphonenumber-js/build/AsYouTypeFormatter.util.test.js +23 -0
- package/node_modules/libphonenumber-js/build/AsYouTypeFormatter.util.test.js.map +1 -0
- package/node_modules/libphonenumber-js/build/AsYouTypeParser.js +508 -0
- package/node_modules/libphonenumber-js/build/AsYouTypeParser.js.map +1 -0
- package/node_modules/libphonenumber-js/build/AsYouTypeState.js +130 -0
- package/node_modules/libphonenumber-js/build/AsYouTypeState.js.map +1 -0
- package/node_modules/libphonenumber-js/build/ParseError.js +22 -0
- package/node_modules/libphonenumber-js/build/ParseError.js.map +1 -0
- package/node_modules/libphonenumber-js/build/PhoneNumber.js +153 -0
- package/node_modules/libphonenumber-js/build/PhoneNumber.js.map +1 -0
- package/node_modules/libphonenumber-js/build/PhoneNumber.test.js +52 -0
- package/node_modules/libphonenumber-js/build/PhoneNumber.test.js.map +1 -0
- package/node_modules/libphonenumber-js/build/PhoneNumberMatcher.js +381 -0
- package/node_modules/libphonenumber-js/build/PhoneNumberMatcher.js.map +1 -0
- package/node_modules/libphonenumber-js/build/PhoneNumberMatcher.test.js +79 -0
- package/node_modules/libphonenumber-js/build/PhoneNumberMatcher.test.js.map +1 -0
- package/node_modules/libphonenumber-js/build/constants.js +39 -0
- package/node_modules/libphonenumber-js/build/constants.js.map +1 -0
- package/node_modules/libphonenumber-js/build/findNumbers/LRUCache.js +136 -0
- package/node_modules/libphonenumber-js/build/findNumbers/LRUCache.js.map +1 -0
- package/node_modules/libphonenumber-js/build/findNumbers/Leniency.js +340 -0
- package/node_modules/libphonenumber-js/build/findNumbers/Leniency.js.map +1 -0
- package/node_modules/libphonenumber-js/build/findNumbers/Leniency.test.js +43 -0
- package/node_modules/libphonenumber-js/build/findNumbers/Leniency.test.js.map +1 -0
- package/node_modules/libphonenumber-js/build/findNumbers/RegExpCache.js +49 -0
- package/node_modules/libphonenumber-js/build/findNumbers/RegExpCache.js.map +1 -0
- package/node_modules/libphonenumber-js/build/findNumbers/isValidCandidate.js +80 -0
- package/node_modules/libphonenumber-js/build/findNumbers/isValidCandidate.js.map +1 -0
- package/node_modules/libphonenumber-js/build/findNumbers/isValidPreCandidate.js +34 -0
- package/node_modules/libphonenumber-js/build/findNumbers/isValidPreCandidate.js.map +1 -0
- package/node_modules/libphonenumber-js/build/findNumbers/parsePreCandidate.js +26 -0
- package/node_modules/libphonenumber-js/build/findNumbers/parsePreCandidate.js.map +1 -0
- package/node_modules/libphonenumber-js/build/findNumbers/utf-8.js +75 -0
- package/node_modules/libphonenumber-js/build/findNumbers/utf-8.js.map +1 -0
- package/node_modules/libphonenumber-js/build/findNumbers/util.js +42 -0
- package/node_modules/libphonenumber-js/build/findNumbers/util.js.map +1 -0
- package/node_modules/libphonenumber-js/build/findNumbers/util.test.js +38 -0
- package/node_modules/libphonenumber-js/build/findNumbers/util.test.js.map +1 -0
- package/node_modules/libphonenumber-js/build/findNumbers.js +22 -0
- package/node_modules/libphonenumber-js/build/findNumbers.js.map +1 -0
- package/node_modules/libphonenumber-js/build/findNumbers.test.js +194 -0
- package/node_modules/libphonenumber-js/build/findNumbers.test.js.map +1 -0
- package/node_modules/libphonenumber-js/build/findNumbers_.js +22 -0
- package/node_modules/libphonenumber-js/build/findNumbers_.js.map +1 -0
- package/node_modules/libphonenumber-js/build/findPhoneNumbers.js +38 -0
- package/node_modules/libphonenumber-js/build/findPhoneNumbers.js.map +1 -0
- package/node_modules/libphonenumber-js/build/findPhoneNumbers.test.js +243 -0
- package/node_modules/libphonenumber-js/build/findPhoneNumbers.test.js.map +1 -0
- package/node_modules/libphonenumber-js/build/findPhoneNumbersInText.js +67 -0
- package/node_modules/libphonenumber-js/build/findPhoneNumbersInText.js.map +1 -0
- package/node_modules/libphonenumber-js/build/findPhoneNumbersInText.test.js +53 -0
- package/node_modules/libphonenumber-js/build/findPhoneNumbersInText.test.js.map +1 -0
- package/node_modules/libphonenumber-js/build/findPhoneNumbers_.js +225 -0
- package/node_modules/libphonenumber-js/build/findPhoneNumbers_.js.map +1 -0
- package/node_modules/libphonenumber-js/build/format.js +124 -0
- package/node_modules/libphonenumber-js/build/format.js.map +1 -0
- package/node_modules/libphonenumber-js/build/format.test.js +274 -0
- package/node_modules/libphonenumber-js/build/format.test.js.map +1 -0
- package/node_modules/libphonenumber-js/build/formatIncompletePhoneNumber.js +28 -0
- package/node_modules/libphonenumber-js/build/formatIncompletePhoneNumber.js.map +1 -0
- package/node_modules/libphonenumber-js/build/formatIncompletePhoneNumber.test.js +22 -0
- package/node_modules/libphonenumber-js/build/formatIncompletePhoneNumber.test.js.map +1 -0
- package/node_modules/libphonenumber-js/build/formatNumberForMobileDialing.js +205 -0
- package/node_modules/libphonenumber-js/build/formatNumberForMobileDialing.js.map +1 -0
- package/node_modules/libphonenumber-js/build/formatNumberForMobileDialing.test.js +15 -0
- package/node_modules/libphonenumber-js/build/formatNumberForMobileDialing.test.js.map +1 -0
- package/node_modules/libphonenumber-js/build/format_.js +201 -0
- package/node_modules/libphonenumber-js/build/format_.js.map +1 -0
- package/node_modules/libphonenumber-js/build/getCountries.js +15 -0
- package/node_modules/libphonenumber-js/build/getCountries.js.map +1 -0
- package/node_modules/libphonenumber-js/build/getCountries.test.js +14 -0
- package/node_modules/libphonenumber-js/build/getCountries.test.js.map +1 -0
- package/node_modules/libphonenumber-js/build/getCountryCallingCode.js +14 -0
- package/node_modules/libphonenumber-js/build/getCountryCallingCode.js.map +1 -0
- package/node_modules/libphonenumber-js/build/getCountryCallingCode.test.js +19 -0
- package/node_modules/libphonenumber-js/build/getCountryCallingCode.test.js.map +1 -0
- package/node_modules/libphonenumber-js/build/getExampleNumber.js +17 -0
- package/node_modules/libphonenumber-js/build/getExampleNumber.js.map +1 -0
- package/node_modules/libphonenumber-js/build/getExampleNumber.test.js +23 -0
- package/node_modules/libphonenumber-js/build/getExampleNumber.test.js.map +1 -0
- package/node_modules/libphonenumber-js/build/getNumberType.js +124 -0
- package/node_modules/libphonenumber-js/build/getNumberType.js.map +1 -0
- package/node_modules/libphonenumber-js/build/getNumberType.test.js +81 -0
- package/node_modules/libphonenumber-js/build/getNumberType.test.js.map +1 -0
- package/node_modules/libphonenumber-js/build/helpers/RFC3966.js +107 -0
- package/node_modules/libphonenumber-js/build/helpers/RFC3966.js.map +1 -0
- package/node_modules/libphonenumber-js/build/helpers/RFC3966.test.js +41 -0
- package/node_modules/libphonenumber-js/build/helpers/RFC3966.test.js.map +1 -0
- package/node_modules/libphonenumber-js/build/helpers/applyInternationalSeparatorStyle.js +43 -0
- package/node_modules/libphonenumber-js/build/helpers/applyInternationalSeparatorStyle.js.map +1 -0
- package/node_modules/libphonenumber-js/build/helpers/applyInternationalSeparatorStyle.test.js +13 -0
- package/node_modules/libphonenumber-js/build/helpers/applyInternationalSeparatorStyle.test.js.map +1 -0
- package/node_modules/libphonenumber-js/build/helpers/checkNumberLength.js +92 -0
- package/node_modules/libphonenumber-js/build/helpers/checkNumberLength.js.map +1 -0
- package/node_modules/libphonenumber-js/build/helpers/checkNumberLength.test.js +39 -0
- package/node_modules/libphonenumber-js/build/helpers/checkNumberLength.test.js.map +1 -0
- package/node_modules/libphonenumber-js/build/helpers/extension/createExtensionPattern.js +116 -0
- package/node_modules/libphonenumber-js/build/helpers/extension/createExtensionPattern.js.map +1 -0
- package/node_modules/libphonenumber-js/build/helpers/extension/extractExtension.js +42 -0
- package/node_modules/libphonenumber-js/build/helpers/extension/extractExtension.js.map +1 -0
- package/node_modules/libphonenumber-js/build/helpers/extractCountryCallingCode.js +114 -0
- package/node_modules/libphonenumber-js/build/helpers/extractCountryCallingCode.js.map +1 -0
- package/node_modules/libphonenumber-js/build/helpers/extractCountryCallingCode.test.js +22 -0
- package/node_modules/libphonenumber-js/build/helpers/extractCountryCallingCode.test.js.map +1 -0
- package/node_modules/libphonenumber-js/build/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js +63 -0
- package/node_modules/libphonenumber-js/build/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js.map +1 -0
- package/node_modules/libphonenumber-js/build/helpers/extractNationalNumber.js +110 -0
- package/node_modules/libphonenumber-js/build/helpers/extractNationalNumber.js.map +1 -0
- package/node_modules/libphonenumber-js/build/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js +114 -0
- package/node_modules/libphonenumber-js/build/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js.map +1 -0
- package/node_modules/libphonenumber-js/build/helpers/extractNationalNumberFromPossiblyIncompleteNumber.test.js +22 -0
- package/node_modules/libphonenumber-js/build/helpers/extractNationalNumberFromPossiblyIncompleteNumber.test.js.map +1 -0
- package/node_modules/libphonenumber-js/build/helpers/formatNationalNumberUsingFormat.js +46 -0
- package/node_modules/libphonenumber-js/build/helpers/formatNationalNumberUsingFormat.js.map +1 -0
- package/node_modules/libphonenumber-js/build/helpers/getCountryByCallingCode.js +76 -0
- package/node_modules/libphonenumber-js/build/helpers/getCountryByCallingCode.js.map +1 -0
- package/node_modules/libphonenumber-js/build/helpers/getIddPrefix.js +36 -0
- package/node_modules/libphonenumber-js/build/helpers/getIddPrefix.js.map +1 -0
- package/node_modules/libphonenumber-js/build/helpers/getNumberType.js +93 -0
- package/node_modules/libphonenumber-js/build/helpers/getNumberType.js.map +1 -0
- package/node_modules/libphonenumber-js/build/helpers/isViablePhoneNumber.js +85 -0
- package/node_modules/libphonenumber-js/build/helpers/isViablePhoneNumber.js.map +1 -0
- package/node_modules/libphonenumber-js/build/helpers/matchesEntirely.js +19 -0
- package/node_modules/libphonenumber-js/build/helpers/matchesEntirely.js.map +1 -0
- package/node_modules/libphonenumber-js/build/helpers/matchesEntirely.test.js +15 -0
- package/node_modules/libphonenumber-js/build/helpers/matchesEntirely.test.js.map +1 -0
- package/node_modules/libphonenumber-js/build/helpers/mergeArrays.js +45 -0
- package/node_modules/libphonenumber-js/build/helpers/mergeArrays.js.map +1 -0
- package/node_modules/libphonenumber-js/build/helpers/mergeArrays.test.js +12 -0
- package/node_modules/libphonenumber-js/build/helpers/mergeArrays.test.js.map +1 -0
- package/node_modules/libphonenumber-js/build/helpers/parseDigits.js +137 -0
- package/node_modules/libphonenumber-js/build/helpers/parseDigits.js.map +1 -0
- package/node_modules/libphonenumber-js/build/helpers/parseDigits.test.js +12 -0
- package/node_modules/libphonenumber-js/build/helpers/parseDigits.test.js.map +1 -0
- package/node_modules/libphonenumber-js/build/helpers/stripIddPrefix.js +46 -0
- package/node_modules/libphonenumber-js/build/helpers/stripIddPrefix.js.map +1 -0
- package/node_modules/libphonenumber-js/build/helpers/stripIddPrefix.test.js +23 -0
- package/node_modules/libphonenumber-js/build/helpers/stripIddPrefix.test.js.map +1 -0
- package/node_modules/libphonenumber-js/build/isPossibleNumber.js +36 -0
- package/node_modules/libphonenumber-js/build/isPossibleNumber.js.map +1 -0
- package/node_modules/libphonenumber-js/build/isPossibleNumber.test.js +83 -0
- package/node_modules/libphonenumber-js/build/isPossibleNumber.test.js.map +1 -0
- package/node_modules/libphonenumber-js/build/isPossibleNumber_.js +82 -0
- package/node_modules/libphonenumber-js/build/isPossibleNumber_.js.map +1 -0
- package/node_modules/libphonenumber-js/build/isPossiblePhoneNumber.js +30 -0
- package/node_modules/libphonenumber-js/build/isPossiblePhoneNumber.js.map +1 -0
- package/node_modules/libphonenumber-js/build/isPossiblePhoneNumber.test.js +32 -0
- package/node_modules/libphonenumber-js/build/isPossiblePhoneNumber.test.js.map +1 -0
- package/node_modules/libphonenumber-js/build/isValidNumberForRegion.js +42 -0
- package/node_modules/libphonenumber-js/build/isValidNumberForRegion.js.map +1 -0
- package/node_modules/libphonenumber-js/build/isValidNumberForRegion.test.js +43 -0
- package/node_modules/libphonenumber-js/build/isValidNumberForRegion.test.js.map +1 -0
- package/node_modules/libphonenumber-js/build/isValidNumberForRegion_.js +23 -0
- package/node_modules/libphonenumber-js/build/isValidNumberForRegion_.js.map +1 -0
- package/node_modules/libphonenumber-js/build/isValidPhoneNumber.js +30 -0
- package/node_modules/libphonenumber-js/build/isValidPhoneNumber.js.map +1 -0
- package/node_modules/libphonenumber-js/build/isValidPhoneNumber.test.js +32 -0
- package/node_modules/libphonenumber-js/build/isValidPhoneNumber.test.js.map +1 -0
- package/node_modules/libphonenumber-js/build/metadata.js +682 -0
- package/node_modules/libphonenumber-js/build/metadata.js.map +1 -0
- package/node_modules/libphonenumber-js/build/metadata.test.js +123 -0
- package/node_modules/libphonenumber-js/build/metadata.test.js.map +1 -0
- package/node_modules/libphonenumber-js/build/parse.js +48 -0
- package/node_modules/libphonenumber-js/build/parse.js.map +1 -0
- package/node_modules/libphonenumber-js/build/parse.test.js +568 -0
- package/node_modules/libphonenumber-js/build/parse.test.js.map +1 -0
- package/node_modules/libphonenumber-js/build/parseIncompletePhoneNumber.js +80 -0
- package/node_modules/libphonenumber-js/build/parseIncompletePhoneNumber.js.map +1 -0
- package/node_modules/libphonenumber-js/build/parseIncompletePhoneNumber.test.js +32 -0
- package/node_modules/libphonenumber-js/build/parseIncompletePhoneNumber.test.js.map +1 -0
- package/node_modules/libphonenumber-js/build/parsePhoneNumber.js +93 -0
- package/node_modules/libphonenumber-js/build/parsePhoneNumber.js.map +1 -0
- package/node_modules/libphonenumber-js/build/parsePhoneNumber.test.js +142 -0
- package/node_modules/libphonenumber-js/build/parsePhoneNumber.test.js.map +1 -0
- package/node_modules/libphonenumber-js/build/parsePhoneNumberFromString.js +22 -0
- package/node_modules/libphonenumber-js/build/parsePhoneNumberFromString.js.map +1 -0
- package/node_modules/libphonenumber-js/build/parsePhoneNumberFromString.test.js +85 -0
- package/node_modules/libphonenumber-js/build/parsePhoneNumberFromString.test.js.map +1 -0
- package/node_modules/libphonenumber-js/build/parsePhoneNumberFromString_.js +39 -0
- package/node_modules/libphonenumber-js/build/parsePhoneNumberFromString_.js.map +1 -0
- package/node_modules/libphonenumber-js/build/parsePhoneNumber_.js +21 -0
- package/node_modules/libphonenumber-js/build/parsePhoneNumber_.js.map +1 -0
- package/node_modules/libphonenumber-js/build/parse_.js +367 -0
- package/node_modules/libphonenumber-js/build/parse_.js.map +1 -0
- package/node_modules/libphonenumber-js/build/searchNumbers.js +43 -0
- package/node_modules/libphonenumber-js/build/searchNumbers.js.map +1 -0
- package/node_modules/libphonenumber-js/build/searchNumbers.test.js +44 -0
- package/node_modules/libphonenumber-js/build/searchNumbers.test.js.map +1 -0
- package/node_modules/libphonenumber-js/build/searchPhoneNumbersInText.js +18 -0
- package/node_modules/libphonenumber-js/build/searchPhoneNumbersInText.js.map +1 -0
- package/node_modules/libphonenumber-js/build/searchPhoneNumbersInText.test.js +51 -0
- package/node_modules/libphonenumber-js/build/searchPhoneNumbersInText.test.js.map +1 -0
- package/node_modules/libphonenumber-js/build/tools/semver-compare.js +37 -0
- package/node_modules/libphonenumber-js/build/tools/semver-compare.js.map +1 -0
- package/node_modules/libphonenumber-js/build/tools/semver-compare.test.js +13 -0
- package/node_modules/libphonenumber-js/build/tools/semver-compare.test.js.map +1 -0
- package/node_modules/libphonenumber-js/build/validate.js +23 -0
- package/node_modules/libphonenumber-js/build/validate.js.map +1 -0
- package/node_modules/libphonenumber-js/build/validate.test.js +96 -0
- package/node_modules/libphonenumber-js/build/validate.test.js.map +1 -0
- package/node_modules/libphonenumber-js/build/validatePhoneNumberLength.js +53 -0
- package/node_modules/libphonenumber-js/build/validatePhoneNumberLength.js.map +1 -0
- package/node_modules/libphonenumber-js/build/validatePhoneNumberLength.test.js +37 -0
- package/node_modules/libphonenumber-js/build/validatePhoneNumberLength.test.js.map +1 -0
- package/node_modules/libphonenumber-js/build/validate_.js +68 -0
- package/node_modules/libphonenumber-js/build/validate_.js.map +1 -0
- package/node_modules/libphonenumber-js/bundle/libphonenumber-js.min.js +2 -0
- package/node_modules/libphonenumber-js/bundle/libphonenumber-js.min.js.map +1 -0
- package/node_modules/libphonenumber-js/bundle/libphonenumber-max.js +2 -0
- package/node_modules/libphonenumber-js/bundle/libphonenumber-max.js.map +1 -0
- package/node_modules/libphonenumber-js/bundle/libphonenumber-min.js +2 -0
- package/node_modules/libphonenumber-js/bundle/libphonenumber-min.js.map +1 -0
- package/node_modules/libphonenumber-js/bundle/libphonenumber-mobile.js +2 -0
- package/node_modules/libphonenumber-js/bundle/libphonenumber-mobile.js.map +1 -0
- package/node_modules/libphonenumber-js/core/index.commonjs.js +50 -0
- package/node_modules/libphonenumber-js/core/index.d.ts +115 -0
- package/node_modules/libphonenumber-js/core/index.js +34 -0
- package/node_modules/libphonenumber-js/core/package.json +8 -0
- package/node_modules/libphonenumber-js/custom.d.ts +169 -0
- package/node_modules/libphonenumber-js/custom.js +79 -0
- package/node_modules/libphonenumber-js/es6/AsYouType.js +491 -0
- package/node_modules/libphonenumber-js/es6/AsYouType.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/AsYouType.test.js +1195 -0
- package/node_modules/libphonenumber-js/es6/AsYouType.test.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/AsYouTypeFormatter.PatternMatcher.js +465 -0
- package/node_modules/libphonenumber-js/es6/AsYouTypeFormatter.PatternMatcher.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/AsYouTypeFormatter.PatternMatcher.test.js +488 -0
- package/node_modules/libphonenumber-js/es6/AsYouTypeFormatter.PatternMatcher.test.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/AsYouTypeFormatter.complete.js +119 -0
- package/node_modules/libphonenumber-js/es6/AsYouTypeFormatter.complete.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/AsYouTypeFormatter.js +752 -0
- package/node_modules/libphonenumber-js/es6/AsYouTypeFormatter.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/AsYouTypeFormatter.util.js +138 -0
- package/node_modules/libphonenumber-js/es6/AsYouTypeFormatter.util.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/AsYouTypeFormatter.util.test.js +20 -0
- package/node_modules/libphonenumber-js/es6/AsYouTypeFormatter.util.test.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/AsYouTypeParser.js +492 -0
- package/node_modules/libphonenumber-js/es6/AsYouTypeParser.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/AsYouTypeState.js +123 -0
- package/node_modules/libphonenumber-js/es6/AsYouTypeState.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/ParseError.js +15 -0
- package/node_modules/libphonenumber-js/es6/ParseError.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/PhoneNumber.js +138 -0
- package/node_modules/libphonenumber-js/es6/PhoneNumber.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/PhoneNumber.test.js +46 -0
- package/node_modules/libphonenumber-js/es6/PhoneNumber.test.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/PhoneNumberMatcher.js +363 -0
- package/node_modules/libphonenumber-js/es6/PhoneNumberMatcher.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/PhoneNumberMatcher.test.js +74 -0
- package/node_modules/libphonenumber-js/es6/PhoneNumberMatcher.test.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/constants.js +25 -0
- package/node_modules/libphonenumber-js/es6/constants.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/findNumbers/LRUCache.js +129 -0
- package/node_modules/libphonenumber-js/es6/findNumbers/LRUCache.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/findNumbers/Leniency.js +327 -0
- package/node_modules/libphonenumber-js/es6/findNumbers/Leniency.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/findNumbers/Leniency.test.js +42 -0
- package/node_modules/libphonenumber-js/es6/findNumbers/Leniency.test.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/findNumbers/RegExpCache.js +39 -0
- package/node_modules/libphonenumber-js/es6/findNumbers/RegExpCache.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/findNumbers/isValidCandidate.js +67 -0
- package/node_modules/libphonenumber-js/es6/findNumbers/isValidCandidate.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/findNumbers/isValidPreCandidate.js +27 -0
- package/node_modules/libphonenumber-js/es6/findNumbers/isValidPreCandidate.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/findNumbers/parsePreCandidate.js +17 -0
- package/node_modules/libphonenumber-js/es6/findNumbers/parsePreCandidate.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/findNumbers/utf-8.js +61 -0
- package/node_modules/libphonenumber-js/es6/findNumbers/utf-8.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/findNumbers/util.js +29 -0
- package/node_modules/libphonenumber-js/es6/findNumbers/util.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/findNumbers/util.test.js +35 -0
- package/node_modules/libphonenumber-js/es6/findNumbers/util.test.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/findNumbers.js +11 -0
- package/node_modules/libphonenumber-js/es6/findNumbers.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/findNumbers.test.js +188 -0
- package/node_modules/libphonenumber-js/es6/findNumbers.test.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/findNumbers_.js +12 -0
- package/node_modules/libphonenumber-js/es6/findNumbers_.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/findPhoneNumbers.js +25 -0
- package/node_modules/libphonenumber-js/es6/findPhoneNumbers.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/findPhoneNumbers.test.js +234 -0
- package/node_modules/libphonenumber-js/es6/findPhoneNumbers.test.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/findPhoneNumbersInText.js +54 -0
- package/node_modules/libphonenumber-js/es6/findPhoneNumbersInText.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/findPhoneNumbersInText.test.js +47 -0
- package/node_modules/libphonenumber-js/es6/findPhoneNumbersInText.test.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/findPhoneNumbers_.js +204 -0
- package/node_modules/libphonenumber-js/es6/findPhoneNumbers_.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/format.js +112 -0
- package/node_modules/libphonenumber-js/es6/format.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/format.test.js +269 -0
- package/node_modules/libphonenumber-js/es6/format.test.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/formatIncompletePhoneNumber.js +19 -0
- package/node_modules/libphonenumber-js/es6/formatIncompletePhoneNumber.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/formatIncompletePhoneNumber.test.js +16 -0
- package/node_modules/libphonenumber-js/es6/formatIncompletePhoneNumber.test.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/formatNumberForMobileDialing.js +191 -0
- package/node_modules/libphonenumber-js/es6/formatNumberForMobileDialing.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/formatNumberForMobileDialing.test.js +14 -0
- package/node_modules/libphonenumber-js/es6/formatNumberForMobileDialing.test.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/format_.js +188 -0
- package/node_modules/libphonenumber-js/es6/format_.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/getCountries.js +5 -0
- package/node_modules/libphonenumber-js/es6/getCountries.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/getCountries.test.js +8 -0
- package/node_modules/libphonenumber-js/es6/getCountries.test.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/getCountryCallingCode.js +3 -0
- package/node_modules/libphonenumber-js/es6/getCountryCallingCode.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/getCountryCallingCode.test.js +13 -0
- package/node_modules/libphonenumber-js/es6/getCountryCallingCode.test.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/getExampleNumber.js +7 -0
- package/node_modules/libphonenumber-js/es6/getExampleNumber.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/getExampleNumber.test.js +16 -0
- package/node_modules/libphonenumber-js/es6/getExampleNumber.test.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/getNumberType.js +109 -0
- package/node_modules/libphonenumber-js/es6/getNumberType.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/getNumberType.test.js +75 -0
- package/node_modules/libphonenumber-js/es6/getNumberType.test.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/helpers/RFC3966.js +95 -0
- package/node_modules/libphonenumber-js/es6/helpers/RFC3966.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/helpers/RFC3966.test.js +38 -0
- package/node_modules/libphonenumber-js/es6/helpers/RFC3966.test.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.js +35 -0
- package/node_modules/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.test.js +8 -0
- package/node_modules/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.test.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/helpers/checkNumberLength.js +80 -0
- package/node_modules/libphonenumber-js/es6/helpers/checkNumberLength.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/helpers/checkNumberLength.test.js +32 -0
- package/node_modules/libphonenumber-js/es6/helpers/checkNumberLength.test.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/helpers/extension/createExtensionPattern.js +108 -0
- package/node_modules/libphonenumber-js/es6/helpers/extension/createExtensionPattern.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/helpers/extension/extractExtension.js +32 -0
- package/node_modules/libphonenumber-js/es6/helpers/extension/extractExtension.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCode.js +102 -0
- package/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCode.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCode.test.js +16 -0
- package/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCode.test.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js +50 -0
- package/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/helpers/extractNationalNumber.js +98 -0
- package/node_modules/libphonenumber-js/es6/helpers/extractNationalNumber.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js +107 -0
- package/node_modules/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.test.js +15 -0
- package/node_modules/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.test.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.js +33 -0
- package/node_modules/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/helpers/getCountryByCallingCode.js +64 -0
- package/node_modules/libphonenumber-js/es6/helpers/getCountryByCallingCode.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/helpers/getIddPrefix.js +27 -0
- package/node_modules/libphonenumber-js/es6/helpers/getIddPrefix.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/helpers/getNumberType.js +80 -0
- package/node_modules/libphonenumber-js/es6/helpers/getNumberType.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/helpers/isViablePhoneNumber.js +69 -0
- package/node_modules/libphonenumber-js/es6/helpers/isViablePhoneNumber.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/helpers/matchesEntirely.js +12 -0
- package/node_modules/libphonenumber-js/es6/helpers/matchesEntirely.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/helpers/matchesEntirely.test.js +10 -0
- package/node_modules/libphonenumber-js/es6/helpers/matchesEntirely.test.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/helpers/mergeArrays.js +38 -0
- package/node_modules/libphonenumber-js/es6/helpers/mergeArrays.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/helpers/mergeArrays.test.js +7 -0
- package/node_modules/libphonenumber-js/es6/helpers/mergeArrays.test.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/helpers/parseDigits.js +126 -0
- package/node_modules/libphonenumber-js/es6/helpers/parseDigits.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/helpers/parseDigits.test.js +7 -0
- package/node_modules/libphonenumber-js/es6/helpers/parseDigits.test.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/helpers/stripIddPrefix.js +34 -0
- package/node_modules/libphonenumber-js/es6/helpers/stripIddPrefix.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/helpers/stripIddPrefix.test.js +17 -0
- package/node_modules/libphonenumber-js/es6/helpers/stripIddPrefix.test.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/isPossibleNumber.js +26 -0
- package/node_modules/libphonenumber-js/es6/isPossibleNumber.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/isPossibleNumber.test.js +78 -0
- package/node_modules/libphonenumber-js/es6/isPossibleNumber.test.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/isPossibleNumber_.js +69 -0
- package/node_modules/libphonenumber-js/es6/isPossibleNumber_.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/isPossiblePhoneNumber.js +19 -0
- package/node_modules/libphonenumber-js/es6/isPossiblePhoneNumber.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/isPossiblePhoneNumber.test.js +27 -0
- package/node_modules/libphonenumber-js/es6/isPossiblePhoneNumber.test.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/isValidNumberForRegion.js +30 -0
- package/node_modules/libphonenumber-js/es6/isValidNumberForRegion.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/isValidNumberForRegion.test.js +37 -0
- package/node_modules/libphonenumber-js/es6/isValidNumberForRegion.test.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/isValidNumberForRegion_.js +14 -0
- package/node_modules/libphonenumber-js/es6/isValidNumberForRegion_.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/isValidPhoneNumber.js +19 -0
- package/node_modules/libphonenumber-js/es6/isValidPhoneNumber.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/isValidPhoneNumber.test.js +27 -0
- package/node_modules/libphonenumber-js/es6/isValidPhoneNumber.test.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/metadata.js +665 -0
- package/node_modules/libphonenumber-js/es6/metadata.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/metadata.test.js +115 -0
- package/node_modules/libphonenumber-js/es6/metadata.test.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/parse.js +37 -0
- package/node_modules/libphonenumber-js/es6/parse.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/parse.test.js +562 -0
- package/node_modules/libphonenumber-js/es6/parse.test.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +71 -0
- package/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.test.js +27 -0
- package/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.test.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/parsePhoneNumber.js +80 -0
- package/node_modules/libphonenumber-js/es6/parsePhoneNumber.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/parsePhoneNumber.test.js +136 -0
- package/node_modules/libphonenumber-js/es6/parsePhoneNumber.test.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/parsePhoneNumberFromString.js +11 -0
- package/node_modules/libphonenumber-js/es6/parsePhoneNumberFromString.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/parsePhoneNumberFromString.test.js +80 -0
- package/node_modules/libphonenumber-js/es6/parsePhoneNumberFromString.test.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/parsePhoneNumberFromString_.js +27 -0
- package/node_modules/libphonenumber-js/es6/parsePhoneNumberFromString_.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/parsePhoneNumber_.js +11 -0
- package/node_modules/libphonenumber-js/es6/parsePhoneNumber_.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/parse_.js +339 -0
- package/node_modules/libphonenumber-js/es6/parse_.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/searchNumbers.js +33 -0
- package/node_modules/libphonenumber-js/es6/searchNumbers.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/searchNumbers.test.js +38 -0
- package/node_modules/libphonenumber-js/es6/searchNumbers.test.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/searchPhoneNumbersInText.js +7 -0
- package/node_modules/libphonenumber-js/es6/searchPhoneNumbersInText.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/searchPhoneNumbersInText.test.js +45 -0
- package/node_modules/libphonenumber-js/es6/searchPhoneNumbersInText.test.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/tools/semver-compare.js +30 -0
- package/node_modules/libphonenumber-js/es6/tools/semver-compare.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/tools/semver-compare.test.js +8 -0
- package/node_modules/libphonenumber-js/es6/tools/semver-compare.test.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/validate.js +12 -0
- package/node_modules/libphonenumber-js/es6/validate.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/validate.test.js +91 -0
- package/node_modules/libphonenumber-js/es6/validate.test.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/validatePhoneNumberLength.js +39 -0
- package/node_modules/libphonenumber-js/es6/validatePhoneNumberLength.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/validatePhoneNumberLength.test.js +32 -0
- package/node_modules/libphonenumber-js/es6/validatePhoneNumberLength.test.js.map +1 -0
- package/node_modules/libphonenumber-js/es6/validate_.js +57 -0
- package/node_modules/libphonenumber-js/es6/validate_.js.map +1 -0
- package/node_modules/libphonenumber-js/examples.mobile.json +1 -0
- package/node_modules/libphonenumber-js/examples.mobile.json.d.ts +4 -0
- package/node_modules/libphonenumber-js/examples.mobile.json.js +4 -0
- package/node_modules/libphonenumber-js/exports/README.md +98 -0
- package/node_modules/libphonenumber-js/exports/examples.mobile.json/index.js +1 -0
- package/node_modules/libphonenumber-js/exports/metadata.max.json/index.js +1 -0
- package/node_modules/libphonenumber-js/exports/metadata.min.json/index.js +1 -0
- package/node_modules/libphonenumber-js/exports/metadata.mobile.json/index.js +1 -0
- package/node_modules/libphonenumber-js/exports/package.exports.json +55 -0
- package/node_modules/libphonenumber-js/index.common.js +124 -0
- package/node_modules/libphonenumber-js/index.d.ts +170 -0
- package/node_modules/libphonenumber-js/index.es6.exports/PhoneNumberSearch.js +11 -0
- package/node_modules/libphonenumber-js/index.es6.exports/findPhoneNumbers.js +7 -0
- package/node_modules/libphonenumber-js/index.es6.exports/format.js +7 -0
- package/node_modules/libphonenumber-js/index.es6.exports/getNumberType.js +7 -0
- package/node_modules/libphonenumber-js/index.es6.exports/isPossibleNumber.js +9 -0
- package/node_modules/libphonenumber-js/index.es6.exports/isValidNumber.js +9 -0
- package/node_modules/libphonenumber-js/index.es6.exports/isValidNumberForRegion.js +7 -0
- package/node_modules/libphonenumber-js/index.es6.exports/parse.js +7 -0
- package/node_modules/libphonenumber-js/index.es6.exports/searchPhoneNumbers.js +7 -0
- package/node_modules/libphonenumber-js/index.es6.js +67 -0
- package/node_modules/libphonenumber-js/max/exports/AsYouType.js +9 -0
- package/node_modules/libphonenumber-js/max/exports/Metadata.js +9 -0
- package/node_modules/libphonenumber-js/max/exports/PhoneNumberMatcher.js +8 -0
- package/node_modules/libphonenumber-js/max/exports/findNumbers.js +6 -0
- package/node_modules/libphonenumber-js/max/exports/findPhoneNumbersInText.js +6 -0
- package/node_modules/libphonenumber-js/max/exports/formatIncompletePhoneNumber.js +6 -0
- package/node_modules/libphonenumber-js/max/exports/getCountries.js +6 -0
- package/node_modules/libphonenumber-js/max/exports/getCountryCallingCode.js +6 -0
- package/node_modules/libphonenumber-js/max/exports/getExampleNumber.js +6 -0
- package/node_modules/libphonenumber-js/max/exports/getExtPrefix.js +6 -0
- package/node_modules/libphonenumber-js/max/exports/isPossiblePhoneNumber.js +6 -0
- package/node_modules/libphonenumber-js/max/exports/isSupportedCountry.js +6 -0
- package/node_modules/libphonenumber-js/max/exports/isValidPhoneNumber.js +6 -0
- package/node_modules/libphonenumber-js/max/exports/parsePhoneNumberFromString.js +6 -0
- package/node_modules/libphonenumber-js/max/exports/parsePhoneNumberWithError.js +6 -0
- package/node_modules/libphonenumber-js/max/exports/searchNumbers.js +6 -0
- package/node_modules/libphonenumber-js/max/exports/searchPhoneNumbersInText.js +6 -0
- package/node_modules/libphonenumber-js/max/exports/validatePhoneNumberLength.js +6 -0
- package/node_modules/libphonenumber-js/max/index.commonjs.js +107 -0
- package/node_modules/libphonenumber-js/max/index.js +40 -0
- package/node_modules/libphonenumber-js/max/metadata.js +11 -0
- package/node_modules/libphonenumber-js/max/package.json +9 -0
- package/node_modules/libphonenumber-js/metadata.full.json +1 -0
- package/node_modules/libphonenumber-js/metadata.full.json.d.ts +4 -0
- package/node_modules/libphonenumber-js/metadata.full.json.js +4 -0
- package/node_modules/libphonenumber-js/metadata.max.json +1 -0
- package/node_modules/libphonenumber-js/metadata.max.json.d.ts +4 -0
- package/node_modules/libphonenumber-js/metadata.max.json.js +4 -0
- package/node_modules/libphonenumber-js/metadata.min.json +1 -0
- package/node_modules/libphonenumber-js/metadata.min.json.d.ts +4 -0
- package/node_modules/libphonenumber-js/metadata.min.json.js +4 -0
- package/node_modules/libphonenumber-js/metadata.mobile.json +1 -0
- package/node_modules/libphonenumber-js/metadata.mobile.json.d.ts +4 -0
- package/node_modules/libphonenumber-js/metadata.mobile.json.js +4 -0
- package/node_modules/libphonenumber-js/min/exports/AsYouType.js +9 -0
- package/node_modules/libphonenumber-js/min/exports/Metadata.js +9 -0
- package/node_modules/libphonenumber-js/min/exports/PhoneNumberMatcher.js +8 -0
- package/node_modules/libphonenumber-js/min/exports/findNumbers.js +6 -0
- package/node_modules/libphonenumber-js/min/exports/findPhoneNumbersInText.js +6 -0
- package/node_modules/libphonenumber-js/min/exports/formatIncompletePhoneNumber.js +6 -0
- package/node_modules/libphonenumber-js/min/exports/getCountries.js +6 -0
- package/node_modules/libphonenumber-js/min/exports/getCountryCallingCode.js +6 -0
- package/node_modules/libphonenumber-js/min/exports/getExampleNumber.js +6 -0
- package/node_modules/libphonenumber-js/min/exports/getExtPrefix.js +6 -0
- package/node_modules/libphonenumber-js/min/exports/isPossiblePhoneNumber.js +6 -0
- package/node_modules/libphonenumber-js/min/exports/isSupportedCountry.js +6 -0
- package/node_modules/libphonenumber-js/min/exports/isValidPhoneNumber.js +6 -0
- package/node_modules/libphonenumber-js/min/exports/parsePhoneNumberFromString.js +6 -0
- package/node_modules/libphonenumber-js/min/exports/parsePhoneNumberWithError.js +6 -0
- package/node_modules/libphonenumber-js/min/exports/searchNumbers.js +6 -0
- package/node_modules/libphonenumber-js/min/exports/searchPhoneNumbersInText.js +6 -0
- package/node_modules/libphonenumber-js/min/exports/validatePhoneNumberLength.js +6 -0
- package/node_modules/libphonenumber-js/min/index.commonjs.js +113 -0
- package/node_modules/libphonenumber-js/min/index.d.ts +102 -0
- package/node_modules/libphonenumber-js/min/index.js +40 -0
- package/node_modules/libphonenumber-js/min/metadata.js +11 -0
- package/node_modules/libphonenumber-js/min/package.json +8 -0
- package/node_modules/libphonenumber-js/mobile/exports/AsYouType.js +9 -0
- package/node_modules/libphonenumber-js/mobile/exports/Metadata.js +9 -0
- package/node_modules/libphonenumber-js/mobile/exports/PhoneNumberMatcher.js +8 -0
- package/node_modules/libphonenumber-js/mobile/exports/findNumbers.js +6 -0
- package/node_modules/libphonenumber-js/mobile/exports/findPhoneNumbersInText.js +6 -0
- package/node_modules/libphonenumber-js/mobile/exports/formatIncompletePhoneNumber.js +6 -0
- package/node_modules/libphonenumber-js/mobile/exports/getCountries.js +6 -0
- package/node_modules/libphonenumber-js/mobile/exports/getCountryCallingCode.js +6 -0
- package/node_modules/libphonenumber-js/mobile/exports/getExampleNumber.js +6 -0
- package/node_modules/libphonenumber-js/mobile/exports/getExtPrefix.js +6 -0
- package/node_modules/libphonenumber-js/mobile/exports/isPossiblePhoneNumber.js +6 -0
- package/node_modules/libphonenumber-js/mobile/exports/isSupportedCountry.js +6 -0
- package/node_modules/libphonenumber-js/mobile/exports/isValidPhoneNumber.js +6 -0
- package/node_modules/libphonenumber-js/mobile/exports/parsePhoneNumberFromString.js +6 -0
- package/node_modules/libphonenumber-js/mobile/exports/parsePhoneNumberWithError.js +6 -0
- package/node_modules/libphonenumber-js/mobile/exports/searchNumbers.js +6 -0
- package/node_modules/libphonenumber-js/mobile/exports/searchPhoneNumbersInText.js +6 -0
- package/node_modules/libphonenumber-js/mobile/exports/validatePhoneNumberLength.js +6 -0
- package/node_modules/libphonenumber-js/mobile/index.commonjs.js +107 -0
- package/node_modules/libphonenumber-js/mobile/index.js +40 -0
- package/node_modules/libphonenumber-js/mobile/metadata.js +11 -0
- package/node_modules/libphonenumber-js/mobile/package.json +9 -0
- package/node_modules/libphonenumber-js/package.json +83 -0
- package/node_modules/libphonenumber-js/rollup.config.js +57 -0
- package/node_modules/libphonenumber-js/runnable/download.js +12 -0
- package/node_modules/libphonenumber-js/runnable/generate-country-codes.js +13 -0
- package/node_modules/libphonenumber-js/runnable/generate.js +75 -0
- package/node_modules/libphonenumber-js/runnable/json-to-js.js +14 -0
- package/node_modules/libphonenumber-js/runnable/metadata-branch.js +26 -0
- package/node_modules/libphonenumber-js/runnable/metadata-update-and-push-and-pull-request.js +47 -0
- package/node_modules/libphonenumber-js/runnable/metadata-update-and-push.js +30 -0
- package/node_modules/libphonenumber-js/runnable/metadata-update-and-release.js +32 -0
- package/node_modules/libphonenumber-js/runnable/modules/commit.js +14 -0
- package/node_modules/libphonenumber-js/runnable/modules/exec.js +6 -0
- package/node_modules/libphonenumber-js/runnable/modules/update-metadata.js +88 -0
- package/node_modules/libphonenumber-js/source/AsYouType.js +411 -0
- package/node_modules/libphonenumber-js/source/AsYouType.test.js +1321 -0
- package/node_modules/libphonenumber-js/source/AsYouTypeFormatter.PatternMatcher.js +373 -0
- package/node_modules/libphonenumber-js/source/AsYouTypeFormatter.PatternMatcher.test.js +633 -0
- package/node_modules/libphonenumber-js/source/AsYouTypeFormatter.complete.js +135 -0
- package/node_modules/libphonenumber-js/source/AsYouTypeFormatter.js +694 -0
- package/node_modules/libphonenumber-js/source/AsYouTypeFormatter.util.js +100 -0
- package/node_modules/libphonenumber-js/source/AsYouTypeFormatter.util.test.js +22 -0
- package/node_modules/libphonenumber-js/source/AsYouTypeParser.js +491 -0
- package/node_modules/libphonenumber-js/source/AsYouTypeState.js +88 -0
- package/node_modules/libphonenumber-js/source/ParseError.js +11 -0
- package/node_modules/libphonenumber-js/source/PhoneNumber.js +95 -0
- package/node_modules/libphonenumber-js/source/PhoneNumber.test.js +44 -0
- package/node_modules/libphonenumber-js/source/PhoneNumberMatcher.js +393 -0
- package/node_modules/libphonenumber-js/source/PhoneNumberMatcher.test.js +74 -0
- package/node_modules/libphonenumber-js/source/constants.js +31 -0
- package/node_modules/libphonenumber-js/source/findNumbers/LRUCache.js +107 -0
- package/node_modules/libphonenumber-js/source/findNumbers/Leniency.js +396 -0
- package/node_modules/libphonenumber-js/source/findNumbers/Leniency.test.js +41 -0
- package/node_modules/libphonenumber-js/source/findNumbers/RegExpCache.js +20 -0
- package/node_modules/libphonenumber-js/source/findNumbers/isValidCandidate.js +86 -0
- package/node_modules/libphonenumber-js/source/findNumbers/isValidPreCandidate.js +29 -0
- package/node_modules/libphonenumber-js/source/findNumbers/parsePreCandidate.js +19 -0
- package/node_modules/libphonenumber-js/source/findNumbers/utf-8.js +82 -0
- package/node_modules/libphonenumber-js/source/findNumbers/util.js +33 -0
- package/node_modules/libphonenumber-js/source/findNumbers/util.test.js +41 -0
- package/node_modules/libphonenumber-js/source/findNumbers.js +7 -0
- package/node_modules/libphonenumber-js/source/findNumbers.test.js +204 -0
- package/node_modules/libphonenumber-js/source/findNumbers_.js +10 -0
- package/node_modules/libphonenumber-js/source/findPhoneNumbers.js +20 -0
- package/node_modules/libphonenumber-js/source/findPhoneNumbers.test.js +233 -0
- package/node_modules/libphonenumber-js/source/findPhoneNumbersInText.js +45 -0
- package/node_modules/libphonenumber-js/source/findPhoneNumbersInText.test.js +48 -0
- package/node_modules/libphonenumber-js/source/findPhoneNumbers_.js +191 -0
- package/node_modules/libphonenumber-js/source/format.js +113 -0
- package/node_modules/libphonenumber-js/source/format.test.js +231 -0
- package/node_modules/libphonenumber-js/source/formatIncompletePhoneNumber.js +17 -0
- package/node_modules/libphonenumber-js/source/formatIncompletePhoneNumber.test.js +21 -0
- package/node_modules/libphonenumber-js/source/formatNumberForMobileDialing.js +221 -0
- package/node_modules/libphonenumber-js/source/formatNumberForMobileDialing.test.js +16 -0
- package/node_modules/libphonenumber-js/source/format_.js +182 -0
- package/node_modules/libphonenumber-js/source/getCountries.js +5 -0
- package/node_modules/libphonenumber-js/source/getCountries.test.js +9 -0
- package/node_modules/libphonenumber-js/source/getCountryCallingCode.js +2 -0
- package/node_modules/libphonenumber-js/source/getCountryCallingCode.test.js +13 -0
- package/node_modules/libphonenumber-js/source/getExampleNumber.js +7 -0
- package/node_modules/libphonenumber-js/source/getExampleNumber.test.js +17 -0
- package/node_modules/libphonenumber-js/source/getNumberType.js +112 -0
- package/node_modules/libphonenumber-js/source/getNumberType.test.js +65 -0
- package/node_modules/libphonenumber-js/source/helpers/RFC3966.js +59 -0
- package/node_modules/libphonenumber-js/source/helpers/RFC3966.test.js +33 -0
- package/node_modules/libphonenumber-js/source/helpers/applyInternationalSeparatorStyle.js +35 -0
- package/node_modules/libphonenumber-js/source/helpers/applyInternationalSeparatorStyle.test.js +8 -0
- package/node_modules/libphonenumber-js/source/helpers/checkNumberLength.js +86 -0
- package/node_modules/libphonenumber-js/source/helpers/checkNumberLength.test.js +32 -0
- package/node_modules/libphonenumber-js/source/helpers/extension/createExtensionPattern.js +112 -0
- package/node_modules/libphonenumber-js/source/helpers/extension/extractExtension.js +29 -0
- package/node_modules/libphonenumber-js/source/helpers/extractCountryCallingCode.js +106 -0
- package/node_modules/libphonenumber-js/source/helpers/extractCountryCallingCode.test.js +18 -0
- package/node_modules/libphonenumber-js/source/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js +63 -0
- package/node_modules/libphonenumber-js/source/helpers/extractNationalNumber.js +92 -0
- package/node_modules/libphonenumber-js/source/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js +104 -0
- package/node_modules/libphonenumber-js/source/helpers/extractNationalNumberFromPossiblyIncompleteNumber.test.js +15 -0
- package/node_modules/libphonenumber-js/source/helpers/formatNationalNumberUsingFormat.js +46 -0
- package/node_modules/libphonenumber-js/source/helpers/getCountryByCallingCode.js +47 -0
- package/node_modules/libphonenumber-js/source/helpers/getIddPrefix.js +25 -0
- package/node_modules/libphonenumber-js/source/helpers/getNumberType.js +93 -0
- package/node_modules/libphonenumber-js/source/helpers/isViablePhoneNumber.js +108 -0
- package/node_modules/libphonenumber-js/source/helpers/matchesEntirely.js +11 -0
- package/node_modules/libphonenumber-js/source/helpers/matchesEntirely.test.js +11 -0
- package/node_modules/libphonenumber-js/source/helpers/mergeArrays.js +24 -0
- package/node_modules/libphonenumber-js/source/helpers/mergeArrays.test.js +7 -0
- package/node_modules/libphonenumber-js/source/helpers/parseDigits.js +82 -0
- package/node_modules/libphonenumber-js/source/helpers/parseDigits.test.js +7 -0
- package/node_modules/libphonenumber-js/source/helpers/stripIddPrefix.js +30 -0
- package/node_modules/libphonenumber-js/source/helpers/stripIddPrefix.test.js +21 -0
- package/node_modules/libphonenumber-js/source/isPossibleNumber.js +22 -0
- package/node_modules/libphonenumber-js/source/isPossibleNumber.test.js +40 -0
- package/node_modules/libphonenumber-js/source/isPossibleNumber_.js +64 -0
- package/node_modules/libphonenumber-js/source/isPossiblePhoneNumber.js +12 -0
- package/node_modules/libphonenumber-js/source/isPossiblePhoneNumber.test.js +20 -0
- package/node_modules/libphonenumber-js/source/isValidNumberForRegion.js +24 -0
- package/node_modules/libphonenumber-js/source/isValidNumberForRegion.test.js +28 -0
- package/node_modules/libphonenumber-js/source/isValidNumberForRegion_.js +13 -0
- package/node_modules/libphonenumber-js/source/isValidPhoneNumber.js +12 -0
- package/node_modules/libphonenumber-js/source/isValidPhoneNumber.test.js +20 -0
- package/node_modules/libphonenumber-js/source/metadata.js +535 -0
- package/node_modules/libphonenumber-js/source/metadata.test.js +82 -0
- package/node_modules/libphonenumber-js/source/parse.js +34 -0
- package/node_modules/libphonenumber-js/source/parse.test.js +524 -0
- package/node_modules/libphonenumber-js/source/parseIncompletePhoneNumber.js +55 -0
- package/node_modules/libphonenumber-js/source/parseIncompletePhoneNumber.test.js +36 -0
- package/node_modules/libphonenumber-js/source/parsePhoneNumber.js +61 -0
- package/node_modules/libphonenumber-js/source/parsePhoneNumber.test.js +112 -0
- package/node_modules/libphonenumber-js/source/parsePhoneNumberFromString.js +7 -0
- package/node_modules/libphonenumber-js/source/parsePhoneNumberFromString.test.js +72 -0
- package/node_modules/libphonenumber-js/source/parsePhoneNumberFromString_.js +24 -0
- package/node_modules/libphonenumber-js/source/parsePhoneNumber_.js +5 -0
- package/node_modules/libphonenumber-js/source/parse_.js +344 -0
- package/node_modules/libphonenumber-js/source/searchNumbers.js +30 -0
- package/node_modules/libphonenumber-js/source/searchNumbers.test.js +26 -0
- package/node_modules/libphonenumber-js/source/searchPhoneNumbersInText.js +7 -0
- package/node_modules/libphonenumber-js/source/searchPhoneNumbersInText.test.js +20 -0
- package/node_modules/libphonenumber-js/source/tools/semver-compare.js +26 -0
- package/node_modules/libphonenumber-js/source/tools/semver-compare.test.js +40 -0
- package/node_modules/libphonenumber-js/source/validate.js +9 -0
- package/node_modules/libphonenumber-js/source/validate.test.js +86 -0
- package/node_modules/libphonenumber-js/source/validatePhoneNumberLength.js +31 -0
- package/node_modules/libphonenumber-js/source/validatePhoneNumberLength.test.js +30 -0
- package/node_modules/libphonenumber-js/source/validate_.js +62 -0
- package/node_modules/libphonenumber-js/types.d.ts +116 -0
- package/node_modules/lodash/LICENSE +47 -0
- package/node_modules/lodash/README.md +39 -0
- package/node_modules/lodash/_DataView.js +7 -0
- package/node_modules/lodash/_Hash.js +32 -0
- package/node_modules/lodash/_LazyWrapper.js +28 -0
- package/node_modules/lodash/_ListCache.js +32 -0
- package/node_modules/lodash/_LodashWrapper.js +22 -0
- package/node_modules/lodash/_Map.js +7 -0
- package/node_modules/lodash/_MapCache.js +32 -0
- package/node_modules/lodash/_Promise.js +7 -0
- package/node_modules/lodash/_Set.js +7 -0
- package/node_modules/lodash/_SetCache.js +27 -0
- package/node_modules/lodash/_Stack.js +27 -0
- package/node_modules/lodash/_Symbol.js +6 -0
- package/node_modules/lodash/_Uint8Array.js +6 -0
- package/node_modules/lodash/_WeakMap.js +7 -0
- package/node_modules/lodash/_apply.js +21 -0
- package/node_modules/lodash/_arrayAggregator.js +22 -0
- package/node_modules/lodash/_arrayEach.js +22 -0
- package/node_modules/lodash/_arrayEachRight.js +21 -0
- package/node_modules/lodash/_arrayEvery.js +23 -0
- package/node_modules/lodash/_arrayFilter.js +25 -0
- package/node_modules/lodash/_arrayIncludes.js +17 -0
- package/node_modules/lodash/_arrayIncludesWith.js +22 -0
- package/node_modules/lodash/_arrayLikeKeys.js +49 -0
- package/node_modules/lodash/_arrayMap.js +21 -0
- package/node_modules/lodash/_arrayPush.js +20 -0
- package/node_modules/lodash/_arrayReduce.js +26 -0
- package/node_modules/lodash/_arrayReduceRight.js +24 -0
- package/node_modules/lodash/_arraySample.js +15 -0
- package/node_modules/lodash/_arraySampleSize.js +17 -0
- package/node_modules/lodash/_arrayShuffle.js +15 -0
- package/node_modules/lodash/_arraySome.js +23 -0
- package/node_modules/lodash/_asciiSize.js +12 -0
- package/node_modules/lodash/_asciiToArray.js +12 -0
- package/node_modules/lodash/_asciiWords.js +15 -0
- package/node_modules/lodash/_assignMergeValue.js +20 -0
- package/node_modules/lodash/_assignValue.js +28 -0
- package/node_modules/lodash/_assocIndexOf.js +21 -0
- package/node_modules/lodash/_baseAggregator.js +21 -0
- package/node_modules/lodash/_baseAssign.js +17 -0
- package/node_modules/lodash/_baseAssignIn.js +17 -0
- package/node_modules/lodash/_baseAssignValue.js +25 -0
- package/node_modules/lodash/_baseAt.js +23 -0
- package/node_modules/lodash/_baseClamp.js +22 -0
- package/node_modules/lodash/_baseClone.js +166 -0
- package/node_modules/lodash/_baseConforms.js +18 -0
- package/node_modules/lodash/_baseConformsTo.js +27 -0
- package/node_modules/lodash/_baseCreate.js +30 -0
- package/node_modules/lodash/_baseDelay.js +21 -0
- package/node_modules/lodash/_baseDifference.js +67 -0
- package/node_modules/lodash/_baseEach.js +14 -0
- package/node_modules/lodash/_baseEachRight.js +14 -0
- package/node_modules/lodash/_baseEvery.js +21 -0
- package/node_modules/lodash/_baseExtremum.js +32 -0
- package/node_modules/lodash/_baseFill.js +32 -0
- package/node_modules/lodash/_baseFilter.js +21 -0
- package/node_modules/lodash/_baseFindIndex.js +24 -0
- package/node_modules/lodash/_baseFindKey.js +23 -0
- package/node_modules/lodash/_baseFlatten.js +38 -0
- package/node_modules/lodash/_baseFor.js +16 -0
- package/node_modules/lodash/_baseForOwn.js +16 -0
- package/node_modules/lodash/_baseForOwnRight.js +16 -0
- package/node_modules/lodash/_baseForRight.js +15 -0
- package/node_modules/lodash/_baseFunctions.js +19 -0
- package/node_modules/lodash/_baseGet.js +24 -0
- package/node_modules/lodash/_baseGetAllKeys.js +20 -0
- package/node_modules/lodash/_baseGetTag.js +28 -0
- package/node_modules/lodash/_baseGt.js +14 -0
- package/node_modules/lodash/_baseHas.js +19 -0
- package/node_modules/lodash/_baseHasIn.js +13 -0
- package/node_modules/lodash/_baseInRange.js +18 -0
- package/node_modules/lodash/_baseIndexOf.js +20 -0
- package/node_modules/lodash/_baseIndexOfWith.js +23 -0
- package/node_modules/lodash/_baseIntersection.js +74 -0
- package/node_modules/lodash/_baseInverter.js +21 -0
- package/node_modules/lodash/_baseInvoke.js +24 -0
- package/node_modules/lodash/_baseIsArguments.js +18 -0
- package/node_modules/lodash/_baseIsArrayBuffer.js +17 -0
- package/node_modules/lodash/_baseIsDate.js +18 -0
- package/node_modules/lodash/_baseIsEqual.js +28 -0
- package/node_modules/lodash/_baseIsEqualDeep.js +83 -0
- package/node_modules/lodash/_baseIsMap.js +18 -0
- package/node_modules/lodash/_baseIsMatch.js +62 -0
- package/node_modules/lodash/_baseIsNaN.js +12 -0
- package/node_modules/lodash/_baseIsNative.js +47 -0
- package/node_modules/lodash/_baseIsRegExp.js +18 -0
- package/node_modules/lodash/_baseIsSet.js +18 -0
- package/node_modules/lodash/_baseIsTypedArray.js +60 -0
- package/node_modules/lodash/_baseIteratee.js +31 -0
- package/node_modules/lodash/_baseKeys.js +30 -0
- package/node_modules/lodash/_baseKeysIn.js +33 -0
- package/node_modules/lodash/_baseLodash.js +10 -0
- package/node_modules/lodash/_baseLt.js +14 -0
- package/node_modules/lodash/_baseMap.js +22 -0
- package/node_modules/lodash/_baseMatches.js +22 -0
- package/node_modules/lodash/_baseMatchesProperty.js +33 -0
- package/node_modules/lodash/_baseMean.js +20 -0
- package/node_modules/lodash/_baseMerge.js +42 -0
- package/node_modules/lodash/_baseMergeDeep.js +94 -0
- package/node_modules/lodash/_baseNth.js +20 -0
- package/node_modules/lodash/_baseOrderBy.js +49 -0
- package/node_modules/lodash/_basePick.js +19 -0
- package/node_modules/lodash/_basePickBy.js +30 -0
- package/node_modules/lodash/_baseProperty.js +14 -0
- package/node_modules/lodash/_basePropertyDeep.js +16 -0
- package/node_modules/lodash/_basePropertyOf.js +14 -0
- package/node_modules/lodash/_basePullAll.js +51 -0
- package/node_modules/lodash/_basePullAt.js +37 -0
- package/node_modules/lodash/_baseRandom.js +18 -0
- package/node_modules/lodash/_baseRange.js +28 -0
- package/node_modules/lodash/_baseReduce.js +23 -0
- package/node_modules/lodash/_baseRepeat.js +35 -0
- package/node_modules/lodash/_baseRest.js +17 -0
- package/node_modules/lodash/_baseSample.js +15 -0
- package/node_modules/lodash/_baseSampleSize.js +18 -0
- package/node_modules/lodash/_baseSet.js +51 -0
- package/node_modules/lodash/_baseSetData.js +17 -0
- package/node_modules/lodash/_baseSetToString.js +22 -0
- package/node_modules/lodash/_baseShuffle.js +15 -0
- package/node_modules/lodash/_baseSlice.js +31 -0
- package/node_modules/lodash/_baseSome.js +22 -0
- package/node_modules/lodash/_baseSortBy.js +21 -0
- package/node_modules/lodash/_baseSortedIndex.js +42 -0
- package/node_modules/lodash/_baseSortedIndexBy.js +67 -0
- package/node_modules/lodash/_baseSortedUniq.js +30 -0
- package/node_modules/lodash/_baseSum.js +24 -0
- package/node_modules/lodash/_baseTimes.js +20 -0
- package/node_modules/lodash/_baseToNumber.js +24 -0
- package/node_modules/lodash/_baseToPairs.js +18 -0
- package/node_modules/lodash/_baseToString.js +37 -0
- package/node_modules/lodash/_baseTrim.js +19 -0
- package/node_modules/lodash/_baseUnary.js +14 -0
- package/node_modules/lodash/_baseUniq.js +72 -0
- package/node_modules/lodash/_baseUnset.js +20 -0
- package/node_modules/lodash/_baseUpdate.js +18 -0
- package/node_modules/lodash/_baseValues.js +19 -0
- package/node_modules/lodash/_baseWhile.js +26 -0
- package/node_modules/lodash/_baseWrapperValue.js +25 -0
- package/node_modules/lodash/_baseXor.js +36 -0
- package/node_modules/lodash/_baseZipObject.js +23 -0
- package/node_modules/lodash/_cacheHas.js +13 -0
- package/node_modules/lodash/_castArrayLikeObject.js +14 -0
- package/node_modules/lodash/_castFunction.js +14 -0
- package/node_modules/lodash/_castPath.js +21 -0
- package/node_modules/lodash/_castRest.js +14 -0
- package/node_modules/lodash/_castSlice.js +18 -0
- package/node_modules/lodash/_charsEndIndex.js +19 -0
- package/node_modules/lodash/_charsStartIndex.js +20 -0
- package/node_modules/lodash/_cloneArrayBuffer.js +16 -0
- package/node_modules/lodash/_cloneBuffer.js +35 -0
- package/node_modules/lodash/_cloneDataView.js +16 -0
- package/node_modules/lodash/_cloneRegExp.js +17 -0
- package/node_modules/lodash/_cloneSymbol.js +18 -0
- package/node_modules/lodash/_cloneTypedArray.js +16 -0
- package/node_modules/lodash/_compareAscending.js +41 -0
- package/node_modules/lodash/_compareMultiple.js +44 -0
- package/node_modules/lodash/_composeArgs.js +39 -0
- package/node_modules/lodash/_composeArgsRight.js +41 -0
- package/node_modules/lodash/_copyArray.js +20 -0
- package/node_modules/lodash/_copyObject.js +40 -0
- package/node_modules/lodash/_copySymbols.js +16 -0
- package/node_modules/lodash/_copySymbolsIn.js +16 -0
- package/node_modules/lodash/_coreJsData.js +6 -0
- package/node_modules/lodash/_countHolders.js +21 -0
- package/node_modules/lodash/_createAggregator.js +23 -0
- package/node_modules/lodash/_createAssigner.js +37 -0
- package/node_modules/lodash/_createBaseEach.js +32 -0
- package/node_modules/lodash/_createBaseFor.js +25 -0
- package/node_modules/lodash/_createBind.js +28 -0
- package/node_modules/lodash/_createCaseFirst.js +33 -0
- package/node_modules/lodash/_createCompounder.js +24 -0
- package/node_modules/lodash/_createCtor.js +37 -0
- package/node_modules/lodash/_createCurry.js +46 -0
- package/node_modules/lodash/_createFind.js +25 -0
- package/node_modules/lodash/_createFlow.js +78 -0
- package/node_modules/lodash/_createHybrid.js +92 -0
- package/node_modules/lodash/_createInverter.js +17 -0
- package/node_modules/lodash/_createMathOperation.js +38 -0
- package/node_modules/lodash/_createOver.js +27 -0
- package/node_modules/lodash/_createPadding.js +33 -0
- package/node_modules/lodash/_createPartial.js +43 -0
- package/node_modules/lodash/_createRange.js +30 -0
- package/node_modules/lodash/_createRecurry.js +56 -0
- package/node_modules/lodash/_createRelationalOperation.js +20 -0
- package/node_modules/lodash/_createRound.js +35 -0
- package/node_modules/lodash/_createSet.js +19 -0
- package/node_modules/lodash/_createToPairs.js +30 -0
- package/node_modules/lodash/_createWrap.js +106 -0
- package/node_modules/lodash/_customDefaultsAssignIn.js +29 -0
- package/node_modules/lodash/_customDefaultsMerge.js +28 -0
- package/node_modules/lodash/_customOmitClone.js +16 -0
- package/node_modules/lodash/_deburrLetter.js +71 -0
- package/node_modules/lodash/_defineProperty.js +11 -0
- package/node_modules/lodash/_equalArrays.js +84 -0
- package/node_modules/lodash/_equalByTag.js +112 -0
- package/node_modules/lodash/_equalObjects.js +90 -0
- package/node_modules/lodash/_escapeHtmlChar.js +21 -0
- package/node_modules/lodash/_escapeStringChar.js +22 -0
- package/node_modules/lodash/_flatRest.js +16 -0
- package/node_modules/lodash/_freeGlobal.js +4 -0
- package/node_modules/lodash/_getAllKeys.js +16 -0
- package/node_modules/lodash/_getAllKeysIn.js +17 -0
- package/node_modules/lodash/_getData.js +15 -0
- package/node_modules/lodash/_getFuncName.js +31 -0
- package/node_modules/lodash/_getHolder.js +13 -0
- package/node_modules/lodash/_getMapData.js +18 -0
- package/node_modules/lodash/_getMatchData.js +24 -0
- package/node_modules/lodash/_getNative.js +17 -0
- package/node_modules/lodash/_getPrototype.js +6 -0
- package/node_modules/lodash/_getRawTag.js +46 -0
- package/node_modules/lodash/_getSymbols.js +30 -0
- package/node_modules/lodash/_getSymbolsIn.js +25 -0
- package/node_modules/lodash/_getTag.js +58 -0
- package/node_modules/lodash/_getValue.js +13 -0
- package/node_modules/lodash/_getView.js +33 -0
- package/node_modules/lodash/_getWrapDetails.js +17 -0
- package/node_modules/lodash/_hasPath.js +39 -0
- package/node_modules/lodash/_hasUnicode.js +26 -0
- package/node_modules/lodash/_hasUnicodeWord.js +15 -0
- package/node_modules/lodash/_hashClear.js +15 -0
- package/node_modules/lodash/_hashDelete.js +17 -0
- package/node_modules/lodash/_hashGet.js +30 -0
- package/node_modules/lodash/_hashHas.js +23 -0
- package/node_modules/lodash/_hashSet.js +23 -0
- package/node_modules/lodash/_initCloneArray.js +26 -0
- package/node_modules/lodash/_initCloneByTag.js +77 -0
- package/node_modules/lodash/_initCloneObject.js +18 -0
- package/node_modules/lodash/_insertWrapDetails.js +23 -0
- package/node_modules/lodash/_isFlattenable.js +20 -0
- package/node_modules/lodash/_isIndex.js +25 -0
- package/node_modules/lodash/_isIterateeCall.js +30 -0
- package/node_modules/lodash/_isKey.js +29 -0
- package/node_modules/lodash/_isKeyable.js +15 -0
- package/node_modules/lodash/_isLaziable.js +28 -0
- package/node_modules/lodash/_isMaskable.js +14 -0
- package/node_modules/lodash/_isMasked.js +20 -0
- package/node_modules/lodash/_isPrototype.js +18 -0
- package/node_modules/lodash/_isStrictComparable.js +15 -0
- package/node_modules/lodash/_iteratorToArray.js +18 -0
- package/node_modules/lodash/_lazyClone.js +23 -0
- package/node_modules/lodash/_lazyReverse.js +23 -0
- package/node_modules/lodash/_lazyValue.js +69 -0
- package/node_modules/lodash/_listCacheClear.js +13 -0
- package/node_modules/lodash/_listCacheDelete.js +35 -0
- package/node_modules/lodash/_listCacheGet.js +19 -0
- package/node_modules/lodash/_listCacheHas.js +16 -0
- package/node_modules/lodash/_listCacheSet.js +26 -0
- package/node_modules/lodash/_mapCacheClear.js +21 -0
- package/node_modules/lodash/_mapCacheDelete.js +18 -0
- package/node_modules/lodash/_mapCacheGet.js +16 -0
- package/node_modules/lodash/_mapCacheHas.js +16 -0
- package/node_modules/lodash/_mapCacheSet.js +22 -0
- package/node_modules/lodash/_mapToArray.js +18 -0
- package/node_modules/lodash/_matchesStrictComparable.js +20 -0
- package/node_modules/lodash/_memoizeCapped.js +26 -0
- package/node_modules/lodash/_mergeData.js +90 -0
- package/node_modules/lodash/_metaMap.js +6 -0
- package/node_modules/lodash/_nativeCreate.js +6 -0
- package/node_modules/lodash/_nativeKeys.js +6 -0
- package/node_modules/lodash/_nativeKeysIn.js +20 -0
- package/node_modules/lodash/_nodeUtil.js +30 -0
- package/node_modules/lodash/_objectToString.js +22 -0
- package/node_modules/lodash/_overArg.js +15 -0
- package/node_modules/lodash/_overRest.js +36 -0
- package/node_modules/lodash/_parent.js +16 -0
- package/node_modules/lodash/_reEscape.js +4 -0
- package/node_modules/lodash/_reEvaluate.js +4 -0
- package/node_modules/lodash/_reInterpolate.js +4 -0
- package/node_modules/lodash/_realNames.js +4 -0
- package/node_modules/lodash/_reorder.js +29 -0
- package/node_modules/lodash/_replaceHolders.js +29 -0
- package/node_modules/lodash/_root.js +9 -0
- package/node_modules/lodash/_safeGet.js +21 -0
- package/node_modules/lodash/_setCacheAdd.js +19 -0
- package/node_modules/lodash/_setCacheHas.js +14 -0
- package/node_modules/lodash/_setData.js +20 -0
- package/node_modules/lodash/_setToArray.js +18 -0
- package/node_modules/lodash/_setToPairs.js +18 -0
- package/node_modules/lodash/_setToString.js +14 -0
- package/node_modules/lodash/_setWrapToString.js +21 -0
- package/node_modules/lodash/_shortOut.js +37 -0
- package/node_modules/lodash/_shuffleSelf.js +28 -0
- package/node_modules/lodash/_stackClear.js +15 -0
- package/node_modules/lodash/_stackDelete.js +18 -0
- package/node_modules/lodash/_stackGet.js +14 -0
- package/node_modules/lodash/_stackHas.js +14 -0
- package/node_modules/lodash/_stackSet.js +34 -0
- package/node_modules/lodash/_strictIndexOf.js +23 -0
- package/node_modules/lodash/_strictLastIndexOf.js +21 -0
- package/node_modules/lodash/_stringSize.js +18 -0
- package/node_modules/lodash/_stringToArray.js +18 -0
- package/node_modules/lodash/_stringToPath.js +27 -0
- package/node_modules/lodash/_toKey.js +21 -0
- package/node_modules/lodash/_toSource.js +26 -0
- package/node_modules/lodash/_trimmedEndIndex.js +19 -0
- package/node_modules/lodash/_unescapeHtmlChar.js +21 -0
- package/node_modules/lodash/_unicodeSize.js +44 -0
- package/node_modules/lodash/_unicodeToArray.js +40 -0
- package/node_modules/lodash/_unicodeWords.js +69 -0
- package/node_modules/lodash/_updateWrapDetails.js +46 -0
- package/node_modules/lodash/_wrapperClone.js +23 -0
- package/node_modules/lodash/add.js +22 -0
- package/node_modules/lodash/after.js +42 -0
- package/node_modules/lodash/array.js +67 -0
- package/node_modules/lodash/ary.js +29 -0
- package/node_modules/lodash/assign.js +58 -0
- package/node_modules/lodash/assignIn.js +40 -0
- package/node_modules/lodash/assignInWith.js +38 -0
- package/node_modules/lodash/assignWith.js +37 -0
- package/node_modules/lodash/at.js +23 -0
- package/node_modules/lodash/attempt.js +35 -0
- package/node_modules/lodash/before.js +40 -0
- package/node_modules/lodash/bind.js +57 -0
- package/node_modules/lodash/bindAll.js +41 -0
- package/node_modules/lodash/bindKey.js +68 -0
- package/node_modules/lodash/camelCase.js +29 -0
- package/node_modules/lodash/capitalize.js +23 -0
- package/node_modules/lodash/castArray.js +44 -0
- package/node_modules/lodash/ceil.js +26 -0
- package/node_modules/lodash/chain.js +38 -0
- package/node_modules/lodash/chunk.js +50 -0
- package/node_modules/lodash/clamp.js +39 -0
- package/node_modules/lodash/clone.js +36 -0
- package/node_modules/lodash/cloneDeep.js +29 -0
- package/node_modules/lodash/cloneDeepWith.js +40 -0
- package/node_modules/lodash/cloneWith.js +42 -0
- package/node_modules/lodash/collection.js +30 -0
- package/node_modules/lodash/commit.js +33 -0
- package/node_modules/lodash/compact.js +31 -0
- package/node_modules/lodash/concat.js +43 -0
- package/node_modules/lodash/cond.js +60 -0
- package/node_modules/lodash/conforms.js +35 -0
- package/node_modules/lodash/conformsTo.js +32 -0
- package/node_modules/lodash/constant.js +26 -0
- package/node_modules/lodash/core.js +3877 -0
- package/node_modules/lodash/core.min.js +29 -0
- package/node_modules/lodash/countBy.js +40 -0
- package/node_modules/lodash/create.js +43 -0
- package/node_modules/lodash/curry.js +57 -0
- package/node_modules/lodash/curryRight.js +54 -0
- package/node_modules/lodash/date.js +3 -0
- package/node_modules/lodash/debounce.js +191 -0
- package/node_modules/lodash/deburr.js +45 -0
- package/node_modules/lodash/defaultTo.js +25 -0
- package/node_modules/lodash/defaults.js +64 -0
- package/node_modules/lodash/defaultsDeep.js +30 -0
- package/node_modules/lodash/defer.js +26 -0
- package/node_modules/lodash/delay.js +28 -0
- package/node_modules/lodash/difference.js +33 -0
- package/node_modules/lodash/differenceBy.js +44 -0
- package/node_modules/lodash/differenceWith.js +40 -0
- package/node_modules/lodash/divide.js +22 -0
- package/node_modules/lodash/drop.js +38 -0
- package/node_modules/lodash/dropRight.js +39 -0
- package/node_modules/lodash/dropRightWhile.js +45 -0
- package/node_modules/lodash/dropWhile.js +45 -0
- package/node_modules/lodash/each.js +1 -0
- package/node_modules/lodash/eachRight.js +1 -0
- package/node_modules/lodash/endsWith.js +43 -0
- package/node_modules/lodash/entries.js +1 -0
- package/node_modules/lodash/entriesIn.js +1 -0
- package/node_modules/lodash/eq.js +37 -0
- package/node_modules/lodash/escape.js +43 -0
- package/node_modules/lodash/escapeRegExp.js +32 -0
- package/node_modules/lodash/every.js +56 -0
- package/node_modules/lodash/extend.js +1 -0
- package/node_modules/lodash/extendWith.js +1 -0
- package/node_modules/lodash/fill.js +45 -0
- package/node_modules/lodash/filter.js +52 -0
- package/node_modules/lodash/find.js +42 -0
- package/node_modules/lodash/findIndex.js +55 -0
- package/node_modules/lodash/findKey.js +44 -0
- package/node_modules/lodash/findLast.js +25 -0
- package/node_modules/lodash/findLastIndex.js +59 -0
- package/node_modules/lodash/findLastKey.js +44 -0
- package/node_modules/lodash/first.js +1 -0
- package/node_modules/lodash/flake.lock +40 -0
- package/node_modules/lodash/flake.nix +20 -0
- package/node_modules/lodash/flatMap.js +29 -0
- package/node_modules/lodash/flatMapDeep.js +31 -0
- package/node_modules/lodash/flatMapDepth.js +31 -0
- package/node_modules/lodash/flatten.js +22 -0
- package/node_modules/lodash/flattenDeep.js +25 -0
- package/node_modules/lodash/flattenDepth.js +33 -0
- package/node_modules/lodash/flip.js +28 -0
- package/node_modules/lodash/floor.js +26 -0
- package/node_modules/lodash/flow.js +27 -0
- package/node_modules/lodash/flowRight.js +26 -0
- package/node_modules/lodash/forEach.js +41 -0
- package/node_modules/lodash/forEachRight.js +31 -0
- package/node_modules/lodash/forIn.js +39 -0
- package/node_modules/lodash/forInRight.js +37 -0
- package/node_modules/lodash/forOwn.js +36 -0
- package/node_modules/lodash/forOwnRight.js +34 -0
- package/node_modules/lodash/fp/F.js +1 -0
- package/node_modules/lodash/fp/T.js +1 -0
- package/node_modules/lodash/fp/__.js +1 -0
- package/node_modules/lodash/fp/_baseConvert.js +569 -0
- package/node_modules/lodash/fp/_convertBrowser.js +18 -0
- package/node_modules/lodash/fp/_falseOptions.js +7 -0
- package/node_modules/lodash/fp/_mapping.js +358 -0
- package/node_modules/lodash/fp/_util.js +16 -0
- package/node_modules/lodash/fp/add.js +5 -0
- package/node_modules/lodash/fp/after.js +5 -0
- package/node_modules/lodash/fp/all.js +1 -0
- package/node_modules/lodash/fp/allPass.js +1 -0
- package/node_modules/lodash/fp/always.js +1 -0
- package/node_modules/lodash/fp/any.js +1 -0
- package/node_modules/lodash/fp/anyPass.js +1 -0
- package/node_modules/lodash/fp/apply.js +1 -0
- package/node_modules/lodash/fp/array.js +2 -0
- package/node_modules/lodash/fp/ary.js +5 -0
- package/node_modules/lodash/fp/assign.js +5 -0
- package/node_modules/lodash/fp/assignAll.js +5 -0
- package/node_modules/lodash/fp/assignAllWith.js +5 -0
- package/node_modules/lodash/fp/assignIn.js +5 -0
- package/node_modules/lodash/fp/assignInAll.js +5 -0
- package/node_modules/lodash/fp/assignInAllWith.js +5 -0
- package/node_modules/lodash/fp/assignInWith.js +5 -0
- package/node_modules/lodash/fp/assignWith.js +5 -0
- package/node_modules/lodash/fp/assoc.js +1 -0
- package/node_modules/lodash/fp/assocPath.js +1 -0
- package/node_modules/lodash/fp/at.js +5 -0
- package/node_modules/lodash/fp/attempt.js +5 -0
- package/node_modules/lodash/fp/before.js +5 -0
- package/node_modules/lodash/fp/bind.js +5 -0
- package/node_modules/lodash/fp/bindAll.js +5 -0
- package/node_modules/lodash/fp/bindKey.js +5 -0
- package/node_modules/lodash/fp/camelCase.js +5 -0
- package/node_modules/lodash/fp/capitalize.js +5 -0
- package/node_modules/lodash/fp/castArray.js +5 -0
- package/node_modules/lodash/fp/ceil.js +5 -0
- package/node_modules/lodash/fp/chain.js +5 -0
- package/node_modules/lodash/fp/chunk.js +5 -0
- package/node_modules/lodash/fp/clamp.js +5 -0
- package/node_modules/lodash/fp/clone.js +5 -0
- package/node_modules/lodash/fp/cloneDeep.js +5 -0
- package/node_modules/lodash/fp/cloneDeepWith.js +5 -0
- package/node_modules/lodash/fp/cloneWith.js +5 -0
- package/node_modules/lodash/fp/collection.js +2 -0
- package/node_modules/lodash/fp/commit.js +5 -0
- package/node_modules/lodash/fp/compact.js +5 -0
- package/node_modules/lodash/fp/complement.js +1 -0
- package/node_modules/lodash/fp/compose.js +1 -0
- package/node_modules/lodash/fp/concat.js +5 -0
- package/node_modules/lodash/fp/cond.js +5 -0
- package/node_modules/lodash/fp/conforms.js +1 -0
- package/node_modules/lodash/fp/conformsTo.js +5 -0
- package/node_modules/lodash/fp/constant.js +5 -0
- package/node_modules/lodash/fp/contains.js +1 -0
- package/node_modules/lodash/fp/convert.js +18 -0
- package/node_modules/lodash/fp/countBy.js +5 -0
- package/node_modules/lodash/fp/create.js +5 -0
- package/node_modules/lodash/fp/curry.js +5 -0
- package/node_modules/lodash/fp/curryN.js +5 -0
- package/node_modules/lodash/fp/curryRight.js +5 -0
- package/node_modules/lodash/fp/curryRightN.js +5 -0
- package/node_modules/lodash/fp/date.js +2 -0
- package/node_modules/lodash/fp/debounce.js +5 -0
- package/node_modules/lodash/fp/deburr.js +5 -0
- package/node_modules/lodash/fp/defaultTo.js +5 -0
- package/node_modules/lodash/fp/defaults.js +5 -0
- package/node_modules/lodash/fp/defaultsAll.js +5 -0
- package/node_modules/lodash/fp/defaultsDeep.js +5 -0
- package/node_modules/lodash/fp/defaultsDeepAll.js +5 -0
- package/node_modules/lodash/fp/defer.js +5 -0
- package/node_modules/lodash/fp/delay.js +5 -0
- package/node_modules/lodash/fp/difference.js +5 -0
- package/node_modules/lodash/fp/differenceBy.js +5 -0
- package/node_modules/lodash/fp/differenceWith.js +5 -0
- package/node_modules/lodash/fp/dissoc.js +1 -0
- package/node_modules/lodash/fp/dissocPath.js +1 -0
- package/node_modules/lodash/fp/divide.js +5 -0
- package/node_modules/lodash/fp/drop.js +5 -0
- package/node_modules/lodash/fp/dropLast.js +1 -0
- package/node_modules/lodash/fp/dropLastWhile.js +1 -0
- package/node_modules/lodash/fp/dropRight.js +5 -0
- package/node_modules/lodash/fp/dropRightWhile.js +5 -0
- package/node_modules/lodash/fp/dropWhile.js +5 -0
- package/node_modules/lodash/fp/each.js +1 -0
- package/node_modules/lodash/fp/eachRight.js +1 -0
- package/node_modules/lodash/fp/endsWith.js +5 -0
- package/node_modules/lodash/fp/entries.js +1 -0
- package/node_modules/lodash/fp/entriesIn.js +1 -0
- package/node_modules/lodash/fp/eq.js +5 -0
- package/node_modules/lodash/fp/equals.js +1 -0
- package/node_modules/lodash/fp/escape.js +5 -0
- package/node_modules/lodash/fp/escapeRegExp.js +5 -0
- package/node_modules/lodash/fp/every.js +5 -0
- package/node_modules/lodash/fp/extend.js +1 -0
- package/node_modules/lodash/fp/extendAll.js +1 -0
- package/node_modules/lodash/fp/extendAllWith.js +1 -0
- package/node_modules/lodash/fp/extendWith.js +1 -0
- package/node_modules/lodash/fp/fill.js +5 -0
- package/node_modules/lodash/fp/filter.js +5 -0
- package/node_modules/lodash/fp/find.js +5 -0
- package/node_modules/lodash/fp/findFrom.js +5 -0
- package/node_modules/lodash/fp/findIndex.js +5 -0
- package/node_modules/lodash/fp/findIndexFrom.js +5 -0
- package/node_modules/lodash/fp/findKey.js +5 -0
- package/node_modules/lodash/fp/findLast.js +5 -0
- package/node_modules/lodash/fp/findLastFrom.js +5 -0
- package/node_modules/lodash/fp/findLastIndex.js +5 -0
- package/node_modules/lodash/fp/findLastIndexFrom.js +5 -0
- package/node_modules/lodash/fp/findLastKey.js +5 -0
- package/node_modules/lodash/fp/first.js +1 -0
- package/node_modules/lodash/fp/flatMap.js +5 -0
- package/node_modules/lodash/fp/flatMapDeep.js +5 -0
- package/node_modules/lodash/fp/flatMapDepth.js +5 -0
- package/node_modules/lodash/fp/flatten.js +5 -0
- package/node_modules/lodash/fp/flattenDeep.js +5 -0
- package/node_modules/lodash/fp/flattenDepth.js +5 -0
- package/node_modules/lodash/fp/flip.js +5 -0
- package/node_modules/lodash/fp/floor.js +5 -0
- package/node_modules/lodash/fp/flow.js +5 -0
- package/node_modules/lodash/fp/flowRight.js +5 -0
- package/node_modules/lodash/fp/forEach.js +5 -0
- package/node_modules/lodash/fp/forEachRight.js +5 -0
- package/node_modules/lodash/fp/forIn.js +5 -0
- package/node_modules/lodash/fp/forInRight.js +5 -0
- package/node_modules/lodash/fp/forOwn.js +5 -0
- package/node_modules/lodash/fp/forOwnRight.js +5 -0
- package/node_modules/lodash/fp/fromPairs.js +5 -0
- package/node_modules/lodash/fp/function.js +2 -0
- package/node_modules/lodash/fp/functions.js +5 -0
- package/node_modules/lodash/fp/functionsIn.js +5 -0
- package/node_modules/lodash/fp/get.js +5 -0
- package/node_modules/lodash/fp/getOr.js +5 -0
- package/node_modules/lodash/fp/groupBy.js +5 -0
- package/node_modules/lodash/fp/gt.js +5 -0
- package/node_modules/lodash/fp/gte.js +5 -0
- package/node_modules/lodash/fp/has.js +5 -0
- package/node_modules/lodash/fp/hasIn.js +5 -0
- package/node_modules/lodash/fp/head.js +5 -0
- package/node_modules/lodash/fp/identical.js +1 -0
- package/node_modules/lodash/fp/identity.js +5 -0
- package/node_modules/lodash/fp/inRange.js +5 -0
- package/node_modules/lodash/fp/includes.js +5 -0
- package/node_modules/lodash/fp/includesFrom.js +5 -0
- package/node_modules/lodash/fp/indexBy.js +1 -0
- package/node_modules/lodash/fp/indexOf.js +5 -0
- package/node_modules/lodash/fp/indexOfFrom.js +5 -0
- package/node_modules/lodash/fp/init.js +1 -0
- package/node_modules/lodash/fp/initial.js +5 -0
- package/node_modules/lodash/fp/intersection.js +5 -0
- package/node_modules/lodash/fp/intersectionBy.js +5 -0
- package/node_modules/lodash/fp/intersectionWith.js +5 -0
- package/node_modules/lodash/fp/invert.js +5 -0
- package/node_modules/lodash/fp/invertBy.js +5 -0
- package/node_modules/lodash/fp/invertObj.js +1 -0
- package/node_modules/lodash/fp/invoke.js +5 -0
- package/node_modules/lodash/fp/invokeArgs.js +5 -0
- package/node_modules/lodash/fp/invokeArgsMap.js +5 -0
- package/node_modules/lodash/fp/invokeMap.js +5 -0
- package/node_modules/lodash/fp/isArguments.js +5 -0
- package/node_modules/lodash/fp/isArray.js +5 -0
- package/node_modules/lodash/fp/isArrayBuffer.js +5 -0
- package/node_modules/lodash/fp/isArrayLike.js +5 -0
- package/node_modules/lodash/fp/isArrayLikeObject.js +5 -0
- package/node_modules/lodash/fp/isBoolean.js +5 -0
- package/node_modules/lodash/fp/isBuffer.js +5 -0
- package/node_modules/lodash/fp/isDate.js +5 -0
- package/node_modules/lodash/fp/isElement.js +5 -0
- package/node_modules/lodash/fp/isEmpty.js +5 -0
- package/node_modules/lodash/fp/isEqual.js +5 -0
- package/node_modules/lodash/fp/isEqualWith.js +5 -0
- package/node_modules/lodash/fp/isError.js +5 -0
- package/node_modules/lodash/fp/isFinite.js +5 -0
- package/node_modules/lodash/fp/isFunction.js +5 -0
- package/node_modules/lodash/fp/isInteger.js +5 -0
- package/node_modules/lodash/fp/isLength.js +5 -0
- package/node_modules/lodash/fp/isMap.js +5 -0
- package/node_modules/lodash/fp/isMatch.js +5 -0
- package/node_modules/lodash/fp/isMatchWith.js +5 -0
- package/node_modules/lodash/fp/isNaN.js +5 -0
- package/node_modules/lodash/fp/isNative.js +5 -0
- package/node_modules/lodash/fp/isNil.js +5 -0
- package/node_modules/lodash/fp/isNull.js +5 -0
- package/node_modules/lodash/fp/isNumber.js +5 -0
- package/node_modules/lodash/fp/isObject.js +5 -0
- package/node_modules/lodash/fp/isObjectLike.js +5 -0
- package/node_modules/lodash/fp/isPlainObject.js +5 -0
- package/node_modules/lodash/fp/isRegExp.js +5 -0
- package/node_modules/lodash/fp/isSafeInteger.js +5 -0
- package/node_modules/lodash/fp/isSet.js +5 -0
- package/node_modules/lodash/fp/isString.js +5 -0
- package/node_modules/lodash/fp/isSymbol.js +5 -0
- package/node_modules/lodash/fp/isTypedArray.js +5 -0
- package/node_modules/lodash/fp/isUndefined.js +5 -0
- package/node_modules/lodash/fp/isWeakMap.js +5 -0
- package/node_modules/lodash/fp/isWeakSet.js +5 -0
- package/node_modules/lodash/fp/iteratee.js +5 -0
- package/node_modules/lodash/fp/join.js +5 -0
- package/node_modules/lodash/fp/juxt.js +1 -0
- package/node_modules/lodash/fp/kebabCase.js +5 -0
- package/node_modules/lodash/fp/keyBy.js +5 -0
- package/node_modules/lodash/fp/keys.js +5 -0
- package/node_modules/lodash/fp/keysIn.js +5 -0
- package/node_modules/lodash/fp/lang.js +2 -0
- package/node_modules/lodash/fp/last.js +5 -0
- package/node_modules/lodash/fp/lastIndexOf.js +5 -0
- package/node_modules/lodash/fp/lastIndexOfFrom.js +5 -0
- package/node_modules/lodash/fp/lowerCase.js +5 -0
- package/node_modules/lodash/fp/lowerFirst.js +5 -0
- package/node_modules/lodash/fp/lt.js +5 -0
- package/node_modules/lodash/fp/lte.js +5 -0
- package/node_modules/lodash/fp/map.js +5 -0
- package/node_modules/lodash/fp/mapKeys.js +5 -0
- package/node_modules/lodash/fp/mapValues.js +5 -0
- package/node_modules/lodash/fp/matches.js +1 -0
- package/node_modules/lodash/fp/matchesProperty.js +5 -0
- package/node_modules/lodash/fp/math.js +2 -0
- package/node_modules/lodash/fp/max.js +5 -0
- package/node_modules/lodash/fp/maxBy.js +5 -0
- package/node_modules/lodash/fp/mean.js +5 -0
- package/node_modules/lodash/fp/meanBy.js +5 -0
- package/node_modules/lodash/fp/memoize.js +5 -0
- package/node_modules/lodash/fp/merge.js +5 -0
- package/node_modules/lodash/fp/mergeAll.js +5 -0
- package/node_modules/lodash/fp/mergeAllWith.js +5 -0
- package/node_modules/lodash/fp/mergeWith.js +5 -0
- package/node_modules/lodash/fp/method.js +5 -0
- package/node_modules/lodash/fp/methodOf.js +5 -0
- package/node_modules/lodash/fp/min.js +5 -0
- package/node_modules/lodash/fp/minBy.js +5 -0
- package/node_modules/lodash/fp/mixin.js +5 -0
- package/node_modules/lodash/fp/multiply.js +5 -0
- package/node_modules/lodash/fp/nAry.js +1 -0
- package/node_modules/lodash/fp/negate.js +5 -0
- package/node_modules/lodash/fp/next.js +5 -0
- package/node_modules/lodash/fp/noop.js +5 -0
- package/node_modules/lodash/fp/now.js +5 -0
- package/node_modules/lodash/fp/nth.js +5 -0
- package/node_modules/lodash/fp/nthArg.js +5 -0
- package/node_modules/lodash/fp/number.js +2 -0
- package/node_modules/lodash/fp/object.js +2 -0
- package/node_modules/lodash/fp/omit.js +5 -0
- package/node_modules/lodash/fp/omitAll.js +1 -0
- package/node_modules/lodash/fp/omitBy.js +5 -0
- package/node_modules/lodash/fp/once.js +5 -0
- package/node_modules/lodash/fp/orderBy.js +5 -0
- package/node_modules/lodash/fp/over.js +5 -0
- package/node_modules/lodash/fp/overArgs.js +5 -0
- package/node_modules/lodash/fp/overEvery.js +5 -0
- package/node_modules/lodash/fp/overSome.js +5 -0
- package/node_modules/lodash/fp/pad.js +5 -0
- package/node_modules/lodash/fp/padChars.js +5 -0
- package/node_modules/lodash/fp/padCharsEnd.js +5 -0
- package/node_modules/lodash/fp/padCharsStart.js +5 -0
- package/node_modules/lodash/fp/padEnd.js +5 -0
- package/node_modules/lodash/fp/padStart.js +5 -0
- package/node_modules/lodash/fp/parseInt.js +5 -0
- package/node_modules/lodash/fp/partial.js +5 -0
- package/node_modules/lodash/fp/partialRight.js +5 -0
- package/node_modules/lodash/fp/partition.js +5 -0
- package/node_modules/lodash/fp/path.js +1 -0
- package/node_modules/lodash/fp/pathEq.js +1 -0
- package/node_modules/lodash/fp/pathOr.js +1 -0
- package/node_modules/lodash/fp/paths.js +1 -0
- package/node_modules/lodash/fp/pick.js +5 -0
- package/node_modules/lodash/fp/pickAll.js +1 -0
- package/node_modules/lodash/fp/pickBy.js +5 -0
- package/node_modules/lodash/fp/pipe.js +1 -0
- package/node_modules/lodash/fp/placeholder.js +6 -0
- package/node_modules/lodash/fp/plant.js +5 -0
- package/node_modules/lodash/fp/pluck.js +1 -0
- package/node_modules/lodash/fp/prop.js +1 -0
- package/node_modules/lodash/fp/propEq.js +1 -0
- package/node_modules/lodash/fp/propOr.js +1 -0
- package/node_modules/lodash/fp/property.js +1 -0
- package/node_modules/lodash/fp/propertyOf.js +5 -0
- package/node_modules/lodash/fp/props.js +1 -0
- package/node_modules/lodash/fp/pull.js +5 -0
- package/node_modules/lodash/fp/pullAll.js +5 -0
- package/node_modules/lodash/fp/pullAllBy.js +5 -0
- package/node_modules/lodash/fp/pullAllWith.js +5 -0
- package/node_modules/lodash/fp/pullAt.js +5 -0
- package/node_modules/lodash/fp/random.js +5 -0
- package/node_modules/lodash/fp/range.js +5 -0
- package/node_modules/lodash/fp/rangeRight.js +5 -0
- package/node_modules/lodash/fp/rangeStep.js +5 -0
- package/node_modules/lodash/fp/rangeStepRight.js +5 -0
- package/node_modules/lodash/fp/rearg.js +5 -0
- package/node_modules/lodash/fp/reduce.js +5 -0
- package/node_modules/lodash/fp/reduceRight.js +5 -0
- package/node_modules/lodash/fp/reject.js +5 -0
- package/node_modules/lodash/fp/remove.js +5 -0
- package/node_modules/lodash/fp/repeat.js +5 -0
- package/node_modules/lodash/fp/replace.js +5 -0
- package/node_modules/lodash/fp/rest.js +5 -0
- package/node_modules/lodash/fp/restFrom.js +5 -0
- package/node_modules/lodash/fp/result.js +5 -0
- package/node_modules/lodash/fp/reverse.js +5 -0
- package/node_modules/lodash/fp/round.js +5 -0
- package/node_modules/lodash/fp/sample.js +5 -0
- package/node_modules/lodash/fp/sampleSize.js +5 -0
- package/node_modules/lodash/fp/seq.js +2 -0
- package/node_modules/lodash/fp/set.js +5 -0
- package/node_modules/lodash/fp/setWith.js +5 -0
- package/node_modules/lodash/fp/shuffle.js +5 -0
- package/node_modules/lodash/fp/size.js +5 -0
- package/node_modules/lodash/fp/slice.js +5 -0
- package/node_modules/lodash/fp/snakeCase.js +5 -0
- package/node_modules/lodash/fp/some.js +5 -0
- package/node_modules/lodash/fp/sortBy.js +5 -0
- package/node_modules/lodash/fp/sortedIndex.js +5 -0
- package/node_modules/lodash/fp/sortedIndexBy.js +5 -0
- package/node_modules/lodash/fp/sortedIndexOf.js +5 -0
- package/node_modules/lodash/fp/sortedLastIndex.js +5 -0
- package/node_modules/lodash/fp/sortedLastIndexBy.js +5 -0
- package/node_modules/lodash/fp/sortedLastIndexOf.js +5 -0
- package/node_modules/lodash/fp/sortedUniq.js +5 -0
- package/node_modules/lodash/fp/sortedUniqBy.js +5 -0
- package/node_modules/lodash/fp/split.js +5 -0
- package/node_modules/lodash/fp/spread.js +5 -0
- package/node_modules/lodash/fp/spreadFrom.js +5 -0
- package/node_modules/lodash/fp/startCase.js +5 -0
- package/node_modules/lodash/fp/startsWith.js +5 -0
- package/node_modules/lodash/fp/string.js +2 -0
- package/node_modules/lodash/fp/stubArray.js +5 -0
- package/node_modules/lodash/fp/stubFalse.js +5 -0
- package/node_modules/lodash/fp/stubObject.js +5 -0
- package/node_modules/lodash/fp/stubString.js +5 -0
- package/node_modules/lodash/fp/stubTrue.js +5 -0
- package/node_modules/lodash/fp/subtract.js +5 -0
- package/node_modules/lodash/fp/sum.js +5 -0
- package/node_modules/lodash/fp/sumBy.js +5 -0
- package/node_modules/lodash/fp/symmetricDifference.js +1 -0
- package/node_modules/lodash/fp/symmetricDifferenceBy.js +1 -0
- package/node_modules/lodash/fp/symmetricDifferenceWith.js +1 -0
- package/node_modules/lodash/fp/tail.js +5 -0
- package/node_modules/lodash/fp/take.js +5 -0
- package/node_modules/lodash/fp/takeLast.js +1 -0
- package/node_modules/lodash/fp/takeLastWhile.js +1 -0
- package/node_modules/lodash/fp/takeRight.js +5 -0
- package/node_modules/lodash/fp/takeRightWhile.js +5 -0
- package/node_modules/lodash/fp/takeWhile.js +5 -0
- package/node_modules/lodash/fp/tap.js +5 -0
- package/node_modules/lodash/fp/template.js +5 -0
- package/node_modules/lodash/fp/templateSettings.js +5 -0
- package/node_modules/lodash/fp/throttle.js +5 -0
- package/node_modules/lodash/fp/thru.js +5 -0
- package/node_modules/lodash/fp/times.js +5 -0
- package/node_modules/lodash/fp/toArray.js +5 -0
- package/node_modules/lodash/fp/toFinite.js +5 -0
- package/node_modules/lodash/fp/toInteger.js +5 -0
- package/node_modules/lodash/fp/toIterator.js +5 -0
- package/node_modules/lodash/fp/toJSON.js +5 -0
- package/node_modules/lodash/fp/toLength.js +5 -0
- package/node_modules/lodash/fp/toLower.js +5 -0
- package/node_modules/lodash/fp/toNumber.js +5 -0
- package/node_modules/lodash/fp/toPairs.js +5 -0
- package/node_modules/lodash/fp/toPairsIn.js +5 -0
- package/node_modules/lodash/fp/toPath.js +5 -0
- package/node_modules/lodash/fp/toPlainObject.js +5 -0
- package/node_modules/lodash/fp/toSafeInteger.js +5 -0
- package/node_modules/lodash/fp/toString.js +5 -0
- package/node_modules/lodash/fp/toUpper.js +5 -0
- package/node_modules/lodash/fp/transform.js +5 -0
- package/node_modules/lodash/fp/trim.js +5 -0
- package/node_modules/lodash/fp/trimChars.js +5 -0
- package/node_modules/lodash/fp/trimCharsEnd.js +5 -0
- package/node_modules/lodash/fp/trimCharsStart.js +5 -0
- package/node_modules/lodash/fp/trimEnd.js +5 -0
- package/node_modules/lodash/fp/trimStart.js +5 -0
- package/node_modules/lodash/fp/truncate.js +5 -0
- package/node_modules/lodash/fp/unapply.js +1 -0
- package/node_modules/lodash/fp/unary.js +5 -0
- package/node_modules/lodash/fp/unescape.js +5 -0
- package/node_modules/lodash/fp/union.js +5 -0
- package/node_modules/lodash/fp/unionBy.js +5 -0
- package/node_modules/lodash/fp/unionWith.js +5 -0
- package/node_modules/lodash/fp/uniq.js +5 -0
- package/node_modules/lodash/fp/uniqBy.js +5 -0
- package/node_modules/lodash/fp/uniqWith.js +5 -0
- package/node_modules/lodash/fp/uniqueId.js +5 -0
- package/node_modules/lodash/fp/unnest.js +1 -0
- package/node_modules/lodash/fp/unset.js +5 -0
- package/node_modules/lodash/fp/unzip.js +5 -0
- package/node_modules/lodash/fp/unzipWith.js +5 -0
- package/node_modules/lodash/fp/update.js +5 -0
- package/node_modules/lodash/fp/updateWith.js +5 -0
- package/node_modules/lodash/fp/upperCase.js +5 -0
- package/node_modules/lodash/fp/upperFirst.js +5 -0
- package/node_modules/lodash/fp/useWith.js +1 -0
- package/node_modules/lodash/fp/util.js +2 -0
- package/node_modules/lodash/fp/value.js +5 -0
- package/node_modules/lodash/fp/valueOf.js +5 -0
- package/node_modules/lodash/fp/values.js +5 -0
- package/node_modules/lodash/fp/valuesIn.js +5 -0
- package/node_modules/lodash/fp/where.js +1 -0
- package/node_modules/lodash/fp/whereEq.js +1 -0
- package/node_modules/lodash/fp/without.js +5 -0
- package/node_modules/lodash/fp/words.js +5 -0
- package/node_modules/lodash/fp/wrap.js +5 -0
- package/node_modules/lodash/fp/wrapperAt.js +5 -0
- package/node_modules/lodash/fp/wrapperChain.js +5 -0
- package/node_modules/lodash/fp/wrapperLodash.js +5 -0
- package/node_modules/lodash/fp/wrapperReverse.js +5 -0
- package/node_modules/lodash/fp/wrapperValue.js +5 -0
- package/node_modules/lodash/fp/xor.js +5 -0
- package/node_modules/lodash/fp/xorBy.js +5 -0
- package/node_modules/lodash/fp/xorWith.js +5 -0
- package/node_modules/lodash/fp/zip.js +5 -0
- package/node_modules/lodash/fp/zipAll.js +5 -0
- package/node_modules/lodash/fp/zipObj.js +1 -0
- package/node_modules/lodash/fp/zipObject.js +5 -0
- package/node_modules/lodash/fp/zipObjectDeep.js +5 -0
- package/node_modules/lodash/fp/zipWith.js +5 -0
- package/node_modules/lodash/fp.js +2 -0
- package/node_modules/lodash/fromPairs.js +28 -0
- package/node_modules/lodash/function.js +25 -0
- package/node_modules/lodash/functions.js +31 -0
- package/node_modules/lodash/functionsIn.js +31 -0
- package/node_modules/lodash/get.js +33 -0
- package/node_modules/lodash/groupBy.js +41 -0
- package/node_modules/lodash/gt.js +29 -0
- package/node_modules/lodash/gte.js +30 -0
- package/node_modules/lodash/has.js +35 -0
- package/node_modules/lodash/hasIn.js +34 -0
- package/node_modules/lodash/head.js +23 -0
- package/node_modules/lodash/identity.js +21 -0
- package/node_modules/lodash/inRange.js +55 -0
- package/node_modules/lodash/includes.js +53 -0
- package/node_modules/lodash/index.js +1 -0
- package/node_modules/lodash/indexOf.js +42 -0
- package/node_modules/lodash/initial.js +22 -0
- package/node_modules/lodash/intersection.js +30 -0
- package/node_modules/lodash/intersectionBy.js +45 -0
- package/node_modules/lodash/intersectionWith.js +41 -0
- package/node_modules/lodash/invert.js +42 -0
- package/node_modules/lodash/invertBy.js +56 -0
- package/node_modules/lodash/invoke.js +24 -0
- package/node_modules/lodash/invokeMap.js +41 -0
- package/node_modules/lodash/isArguments.js +36 -0
- package/node_modules/lodash/isArray.js +26 -0
- package/node_modules/lodash/isArrayBuffer.js +27 -0
- package/node_modules/lodash/isArrayLike.js +33 -0
- package/node_modules/lodash/isArrayLikeObject.js +33 -0
- package/node_modules/lodash/isBoolean.js +29 -0
- package/node_modules/lodash/isBuffer.js +38 -0
- package/node_modules/lodash/isDate.js +27 -0
- package/node_modules/lodash/isElement.js +25 -0
- package/node_modules/lodash/isEmpty.js +77 -0
- package/node_modules/lodash/isEqual.js +35 -0
- package/node_modules/lodash/isEqualWith.js +41 -0
- package/node_modules/lodash/isError.js +36 -0
- package/node_modules/lodash/isFinite.js +36 -0
- package/node_modules/lodash/isFunction.js +37 -0
- package/node_modules/lodash/isInteger.js +33 -0
- package/node_modules/lodash/isLength.js +35 -0
- package/node_modules/lodash/isMap.js +27 -0
- package/node_modules/lodash/isMatch.js +36 -0
- package/node_modules/lodash/isMatchWith.js +41 -0
- package/node_modules/lodash/isNaN.js +38 -0
- package/node_modules/lodash/isNative.js +40 -0
- package/node_modules/lodash/isNil.js +25 -0
- package/node_modules/lodash/isNull.js +22 -0
- package/node_modules/lodash/isNumber.js +38 -0
- package/node_modules/lodash/isObject.js +31 -0
- package/node_modules/lodash/isObjectLike.js +29 -0
- package/node_modules/lodash/isPlainObject.js +62 -0
- package/node_modules/lodash/isRegExp.js +27 -0
- package/node_modules/lodash/isSafeInteger.js +37 -0
- package/node_modules/lodash/isSet.js +27 -0
- package/node_modules/lodash/isString.js +30 -0
- package/node_modules/lodash/isSymbol.js +29 -0
- package/node_modules/lodash/isTypedArray.js +27 -0
- package/node_modules/lodash/isUndefined.js +22 -0
- package/node_modules/lodash/isWeakMap.js +28 -0
- package/node_modules/lodash/isWeakSet.js +28 -0
- package/node_modules/lodash/iteratee.js +53 -0
- package/node_modules/lodash/join.js +26 -0
- package/node_modules/lodash/kebabCase.js +28 -0
- package/node_modules/lodash/keyBy.js +36 -0
- package/node_modules/lodash/keys.js +37 -0
- package/node_modules/lodash/keysIn.js +32 -0
- package/node_modules/lodash/lang.js +58 -0
- package/node_modules/lodash/last.js +20 -0
- package/node_modules/lodash/lastIndexOf.js +46 -0
- package/node_modules/lodash/lodash.js +17209 -0
- package/node_modules/lodash/lodash.min.js +140 -0
- package/node_modules/lodash/lowerCase.js +27 -0
- package/node_modules/lodash/lowerFirst.js +22 -0
- package/node_modules/lodash/lt.js +29 -0
- package/node_modules/lodash/lte.js +30 -0
- package/node_modules/lodash/map.js +53 -0
- package/node_modules/lodash/mapKeys.js +36 -0
- package/node_modules/lodash/mapValues.js +43 -0
- package/node_modules/lodash/matches.js +46 -0
- package/node_modules/lodash/matchesProperty.js +44 -0
- package/node_modules/lodash/math.js +17 -0
- package/node_modules/lodash/max.js +29 -0
- package/node_modules/lodash/maxBy.js +34 -0
- package/node_modules/lodash/mean.js +22 -0
- package/node_modules/lodash/meanBy.js +31 -0
- package/node_modules/lodash/memoize.js +73 -0
- package/node_modules/lodash/merge.js +39 -0
- package/node_modules/lodash/mergeWith.js +39 -0
- package/node_modules/lodash/method.js +34 -0
- package/node_modules/lodash/methodOf.js +33 -0
- package/node_modules/lodash/min.js +29 -0
- package/node_modules/lodash/minBy.js +34 -0
- package/node_modules/lodash/mixin.js +74 -0
- package/node_modules/lodash/multiply.js +22 -0
- package/node_modules/lodash/negate.js +40 -0
- package/node_modules/lodash/next.js +35 -0
- package/node_modules/lodash/noop.js +17 -0
- package/node_modules/lodash/now.js +23 -0
- package/node_modules/lodash/nth.js +29 -0
- package/node_modules/lodash/nthArg.js +32 -0
- package/node_modules/lodash/number.js +5 -0
- package/node_modules/lodash/object.js +49 -0
- package/node_modules/lodash/omit.js +57 -0
- package/node_modules/lodash/omitBy.js +29 -0
- package/node_modules/lodash/once.js +25 -0
- package/node_modules/lodash/orderBy.js +47 -0
- package/node_modules/lodash/over.js +24 -0
- package/node_modules/lodash/overArgs.js +61 -0
- package/node_modules/lodash/overEvery.js +34 -0
- package/node_modules/lodash/overSome.js +37 -0
- package/node_modules/lodash/package.json +17 -0
- package/node_modules/lodash/pad.js +49 -0
- package/node_modules/lodash/padEnd.js +39 -0
- package/node_modules/lodash/padStart.js +39 -0
- package/node_modules/lodash/parseInt.js +43 -0
- package/node_modules/lodash/partial.js +50 -0
- package/node_modules/lodash/partialRight.js +49 -0
- package/node_modules/lodash/partition.js +43 -0
- package/node_modules/lodash/pick.js +25 -0
- package/node_modules/lodash/pickBy.js +37 -0
- package/node_modules/lodash/plant.js +48 -0
- package/node_modules/lodash/property.js +32 -0
- package/node_modules/lodash/propertyOf.js +30 -0
- package/node_modules/lodash/pull.js +29 -0
- package/node_modules/lodash/pullAll.js +29 -0
- package/node_modules/lodash/pullAllBy.js +33 -0
- package/node_modules/lodash/pullAllWith.js +32 -0
- package/node_modules/lodash/pullAt.js +43 -0
- package/node_modules/lodash/random.js +82 -0
- package/node_modules/lodash/range.js +46 -0
- package/node_modules/lodash/rangeRight.js +41 -0
- package/node_modules/lodash/rearg.js +33 -0
- package/node_modules/lodash/reduce.js +51 -0
- package/node_modules/lodash/reduceRight.js +36 -0
- package/node_modules/lodash/reject.js +46 -0
- package/node_modules/lodash/release.md +48 -0
- package/node_modules/lodash/remove.js +53 -0
- package/node_modules/lodash/repeat.js +37 -0
- package/node_modules/lodash/replace.js +29 -0
- package/node_modules/lodash/rest.js +40 -0
- package/node_modules/lodash/result.js +56 -0
- package/node_modules/lodash/reverse.js +34 -0
- package/node_modules/lodash/round.js +26 -0
- package/node_modules/lodash/sample.js +24 -0
- package/node_modules/lodash/sampleSize.js +37 -0
- package/node_modules/lodash/seq.js +16 -0
- package/node_modules/lodash/set.js +35 -0
- package/node_modules/lodash/setWith.js +32 -0
- package/node_modules/lodash/shuffle.js +25 -0
- package/node_modules/lodash/size.js +46 -0
- package/node_modules/lodash/slice.js +37 -0
- package/node_modules/lodash/snakeCase.js +28 -0
- package/node_modules/lodash/some.js +51 -0
- package/node_modules/lodash/sortBy.js +48 -0
- package/node_modules/lodash/sortedIndex.js +24 -0
- package/node_modules/lodash/sortedIndexBy.js +33 -0
- package/node_modules/lodash/sortedIndexOf.js +31 -0
- package/node_modules/lodash/sortedLastIndex.js +25 -0
- package/node_modules/lodash/sortedLastIndexBy.js +33 -0
- package/node_modules/lodash/sortedLastIndexOf.js +31 -0
- package/node_modules/lodash/sortedUniq.js +24 -0
- package/node_modules/lodash/sortedUniqBy.js +26 -0
- package/node_modules/lodash/split.js +52 -0
- package/node_modules/lodash/spread.js +63 -0
- package/node_modules/lodash/startCase.js +29 -0
- package/node_modules/lodash/startsWith.js +39 -0
- package/node_modules/lodash/string.js +33 -0
- package/node_modules/lodash/stubArray.js +23 -0
- package/node_modules/lodash/stubFalse.js +18 -0
- package/node_modules/lodash/stubObject.js +23 -0
- package/node_modules/lodash/stubString.js +18 -0
- package/node_modules/lodash/stubTrue.js +18 -0
- package/node_modules/lodash/subtract.js +22 -0
- package/node_modules/lodash/sum.js +24 -0
- package/node_modules/lodash/sumBy.js +33 -0
- package/node_modules/lodash/tail.js +22 -0
- package/node_modules/lodash/take.js +37 -0
- package/node_modules/lodash/takeRight.js +39 -0
- package/node_modules/lodash/takeRightWhile.js +45 -0
- package/node_modules/lodash/takeWhile.js +45 -0
- package/node_modules/lodash/tap.js +29 -0
- package/node_modules/lodash/template.js +272 -0
- package/node_modules/lodash/templateSettings.js +67 -0
- package/node_modules/lodash/throttle.js +69 -0
- package/node_modules/lodash/thru.js +28 -0
- package/node_modules/lodash/times.js +51 -0
- package/node_modules/lodash/toArray.js +58 -0
- package/node_modules/lodash/toFinite.js +42 -0
- package/node_modules/lodash/toInteger.js +36 -0
- package/node_modules/lodash/toIterator.js +23 -0
- package/node_modules/lodash/toJSON.js +1 -0
- package/node_modules/lodash/toLength.js +38 -0
- package/node_modules/lodash/toLower.js +28 -0
- package/node_modules/lodash/toNumber.js +64 -0
- package/node_modules/lodash/toPairs.js +30 -0
- package/node_modules/lodash/toPairsIn.js +30 -0
- package/node_modules/lodash/toPath.js +33 -0
- package/node_modules/lodash/toPlainObject.js +32 -0
- package/node_modules/lodash/toSafeInteger.js +37 -0
- package/node_modules/lodash/toString.js +28 -0
- package/node_modules/lodash/toUpper.js +28 -0
- package/node_modules/lodash/transform.js +65 -0
- package/node_modules/lodash/trim.js +47 -0
- package/node_modules/lodash/trimEnd.js +41 -0
- package/node_modules/lodash/trimStart.js +43 -0
- package/node_modules/lodash/truncate.js +111 -0
- package/node_modules/lodash/unary.js +22 -0
- package/node_modules/lodash/unescape.js +34 -0
- package/node_modules/lodash/union.js +26 -0
- package/node_modules/lodash/unionBy.js +39 -0
- package/node_modules/lodash/unionWith.js +34 -0
- package/node_modules/lodash/uniq.js +25 -0
- package/node_modules/lodash/uniqBy.js +31 -0
- package/node_modules/lodash/uniqWith.js +28 -0
- package/node_modules/lodash/uniqueId.js +28 -0
- package/node_modules/lodash/unset.js +34 -0
- package/node_modules/lodash/unzip.js +45 -0
- package/node_modules/lodash/unzipWith.js +39 -0
- package/node_modules/lodash/update.js +35 -0
- package/node_modules/lodash/updateWith.js +33 -0
- package/node_modules/lodash/upperCase.js +27 -0
- package/node_modules/lodash/upperFirst.js +22 -0
- package/node_modules/lodash/util.js +34 -0
- package/node_modules/lodash/value.js +1 -0
- package/node_modules/lodash/valueOf.js +1 -0
- package/node_modules/lodash/values.js +34 -0
- package/node_modules/lodash/valuesIn.js +32 -0
- package/node_modules/lodash/without.js +31 -0
- package/node_modules/lodash/words.js +35 -0
- package/node_modules/lodash/wrap.js +30 -0
- package/node_modules/lodash/wrapperAt.js +48 -0
- package/node_modules/lodash/wrapperChain.js +34 -0
- package/node_modules/lodash/wrapperLodash.js +147 -0
- package/node_modules/lodash/wrapperReverse.js +44 -0
- package/node_modules/lodash/wrapperValue.js +21 -0
- package/node_modules/lodash/xor.js +28 -0
- package/node_modules/lodash/xorBy.js +39 -0
- package/node_modules/lodash/xorWith.js +34 -0
- package/node_modules/lodash/zip.js +22 -0
- package/node_modules/lodash/zipObject.js +24 -0
- package/node_modules/lodash/zipObjectDeep.js +23 -0
- package/node_modules/lodash/zipWith.js +32 -0
- package/node_modules/md5/.travis.yml +7 -0
- package/node_modules/md5/LICENSE +27 -0
- package/node_modules/md5/README.md +111 -0
- package/node_modules/md5/demo/index.html +48 -0
- package/node_modules/md5/dist/md5.min.js +7 -0
- package/node_modules/md5/md5.js +160 -0
- package/node_modules/md5/node_modules/is-buffer/LICENSE +21 -0
- package/node_modules/md5/node_modules/is-buffer/README.md +53 -0
- package/node_modules/md5/node_modules/is-buffer/index.js +21 -0
- package/node_modules/md5/node_modules/is-buffer/package.json +51 -0
- package/node_modules/md5/node_modules/is-buffer/test/basic.js +24 -0
- package/node_modules/md5/package.json +38 -0
- package/node_modules/md5/test.js +75 -0
- package/node_modules/md5/webpack.config.js +13 -0
- package/node_modules/object-hash/LICENSE +22 -0
- package/node_modules/object-hash/dist/object_hash.js +1 -0
- package/node_modules/object-hash/index.js +453 -0
- package/node_modules/object-hash/package.json +53 -0
- package/node_modules/object-hash/readme.markdown +198 -0
- package/node_modules/pluralize/LICENSE +21 -0
- package/node_modules/pluralize/Readme.md +100 -0
- package/node_modules/pluralize/package.json +40 -0
- package/node_modules/pluralize/pluralize.js +503 -0
- package/node_modules/ts-dedent/HISTORY.md +55 -0
- package/node_modules/ts-dedent/LICENSE +21 -0
- package/node_modules/ts-dedent/README.md +107 -0
- package/node_modules/ts-dedent/dist/index.d.ts +2 -0
- package/node_modules/ts-dedent/dist/index.js +42 -0
- package/node_modules/ts-dedent/dist/index.js.map +1 -0
- package/node_modules/ts-dedent/esm/index.d.ts +2 -0
- package/node_modules/ts-dedent/esm/index.js +38 -0
- package/node_modules/ts-dedent/esm/index.js.map +1 -0
- package/node_modules/ts-dedent/package.json +68 -0
- package/node_modules/ts-dedent/src/__tests__/index.spec.ts +554 -0
- package/node_modules/ts-dedent/src/__tests__/issue-21.spec.ts +88 -0
- package/node_modules/ts-dedent/src/index.ts +58 -0
- package/node_modules/universalify/LICENSE +20 -0
- package/node_modules/universalify/README.md +76 -0
- package/node_modules/universalify/index.js +24 -0
- package/node_modules/universalify/package.json +34 -0
- package/node_modules/zod/LICENSE +21 -0
- package/node_modules/zod/README.md +2739 -0
- package/node_modules/zod/index.d.ts +2 -0
- package/node_modules/zod/lib/ZodError.d.ts +163 -0
- package/node_modules/zod/lib/ZodError.js +124 -0
- package/node_modules/zod/lib/__tests__/Mocker.d.ts +17 -0
- package/node_modules/zod/lib/__tests__/Mocker.js +57 -0
- package/node_modules/zod/lib/benchmarks/discriminatedUnion.d.ts +5 -0
- package/node_modules/zod/lib/benchmarks/discriminatedUnion.js +79 -0
- package/node_modules/zod/lib/benchmarks/index.d.ts +1 -0
- package/node_modules/zod/lib/benchmarks/index.js +46 -0
- package/node_modules/zod/lib/benchmarks/object.d.ts +5 -0
- package/node_modules/zod/lib/benchmarks/object.js +70 -0
- package/node_modules/zod/lib/benchmarks/primitives.d.ts +5 -0
- package/node_modules/zod/lib/benchmarks/primitives.js +136 -0
- package/node_modules/zod/lib/benchmarks/realworld.d.ts +5 -0
- package/node_modules/zod/lib/benchmarks/realworld.js +56 -0
- package/node_modules/zod/lib/benchmarks/string.d.ts +5 -0
- package/node_modules/zod/lib/benchmarks/string.js +55 -0
- package/node_modules/zod/lib/benchmarks/union.d.ts +5 -0
- package/node_modules/zod/lib/benchmarks/union.js +79 -0
- package/node_modules/zod/lib/errors.d.ts +5 -0
- package/node_modules/zod/lib/errors.js +17 -0
- package/node_modules/zod/lib/external.d.ts +6 -0
- package/node_modules/zod/lib/external.js +18 -0
- package/node_modules/zod/lib/helpers/enumUtil.d.ts +8 -0
- package/node_modules/zod/lib/helpers/enumUtil.js +2 -0
- package/node_modules/zod/lib/helpers/errorUtil.d.ts +9 -0
- package/node_modules/zod/lib/helpers/errorUtil.js +8 -0
- package/node_modules/zod/lib/helpers/parseUtil.d.ts +78 -0
- package/node_modules/zod/lib/helpers/parseUtil.js +114 -0
- package/node_modules/zod/lib/helpers/partialUtil.d.ts +8 -0
- package/node_modules/zod/lib/helpers/partialUtil.js +2 -0
- package/node_modules/zod/lib/helpers/typeAliases.d.ts +2 -0
- package/node_modules/zod/lib/helpers/typeAliases.js +2 -0
- package/node_modules/zod/lib/helpers/util.d.ts +68 -0
- package/node_modules/zod/lib/helpers/util.js +142 -0
- package/node_modules/zod/lib/index.d.ts +4 -0
- package/node_modules/zod/lib/index.js +29 -0
- package/node_modules/zod/lib/index.mjs +3953 -0
- package/node_modules/zod/lib/index.umd.js +4066 -0
- package/node_modules/zod/lib/locales/en.d.ts +3 -0
- package/node_modules/zod/lib/locales/en.js +129 -0
- package/node_modules/zod/lib/types.d.ts +1012 -0
- package/node_modules/zod/lib/types.js +3252 -0
- package/node_modules/zod/package.json +105 -0
- package/package.json +166 -0
- package/remove-module-type-from-package-json.ts +19 -0
- package/src/amplify-graphql-api.ts +339 -0
- package/src/amplify-graphql-definition.ts +32 -0
- package/src/index.ts +32 -0
- package/src/internal/amplify-metadata.ts +70 -0
- package/src/internal/asset-manager.ts +43 -0
- package/src/internal/authorization-modes.ts +156 -0
- package/src/internal/codegen-assets.ts +42 -0
- package/src/internal/conflict-resolution.ts +45 -0
- package/src/internal/construct-exports.ts +163 -0
- package/src/internal/default-parameters.ts +20 -0
- package/src/internal/index.ts +7 -0
- package/src/internal/user-defined-slots.ts +128 -0
- package/src/types.ts +750 -0
@@ -0,0 +1,3252 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.discriminatedUnion = exports.date = exports.boolean = exports.bigint = exports.array = exports.any = exports.coerce = exports.ZodFirstPartyTypeKind = exports.late = exports.ZodSchema = exports.Schema = exports.custom = exports.ZodPipeline = exports.ZodBranded = exports.BRAND = exports.ZodNaN = exports.ZodCatch = exports.ZodDefault = exports.ZodNullable = exports.ZodOptional = exports.ZodTransformer = exports.ZodEffects = exports.ZodPromise = exports.ZodNativeEnum = exports.ZodEnum = exports.ZodLiteral = exports.ZodLazy = exports.ZodFunction = exports.ZodSet = exports.ZodMap = exports.ZodRecord = exports.ZodTuple = exports.ZodIntersection = exports.ZodDiscriminatedUnion = exports.ZodUnion = exports.ZodObject = exports.ZodArray = exports.ZodVoid = exports.ZodNever = exports.ZodUnknown = exports.ZodAny = exports.ZodNull = exports.ZodUndefined = exports.ZodSymbol = exports.ZodDate = exports.ZodBoolean = exports.ZodBigInt = exports.ZodNumber = exports.ZodString = exports.ZodType = void 0;
|
4
|
+
exports.NEVER = exports.void = exports.unknown = exports.union = exports.undefined = exports.tuple = exports.transformer = exports.symbol = exports.string = exports.strictObject = exports.set = exports.record = exports.promise = exports.preprocess = exports.pipeline = exports.ostring = exports.optional = exports.onumber = exports.oboolean = exports.object = exports.number = exports.nullable = exports.null = exports.never = exports.nativeEnum = exports.nan = exports.map = exports.literal = exports.lazy = exports.intersection = exports.instanceof = exports.function = exports.enum = exports.effect = void 0;
|
5
|
+
const errors_1 = require("./errors");
|
6
|
+
const errorUtil_1 = require("./helpers/errorUtil");
|
7
|
+
const parseUtil_1 = require("./helpers/parseUtil");
|
8
|
+
const util_1 = require("./helpers/util");
|
9
|
+
const ZodError_1 = require("./ZodError");
|
10
|
+
class ParseInputLazyPath {
|
11
|
+
constructor(parent, value, path, key) {
|
12
|
+
this._cachedPath = [];
|
13
|
+
this.parent = parent;
|
14
|
+
this.data = value;
|
15
|
+
this._path = path;
|
16
|
+
this._key = key;
|
17
|
+
}
|
18
|
+
get path() {
|
19
|
+
if (!this._cachedPath.length) {
|
20
|
+
if (this._key instanceof Array) {
|
21
|
+
this._cachedPath.push(...this._path, ...this._key);
|
22
|
+
}
|
23
|
+
else {
|
24
|
+
this._cachedPath.push(...this._path, this._key);
|
25
|
+
}
|
26
|
+
}
|
27
|
+
return this._cachedPath;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
const handleResult = (ctx, result) => {
|
31
|
+
if ((0, parseUtil_1.isValid)(result)) {
|
32
|
+
return { success: true, data: result.value };
|
33
|
+
}
|
34
|
+
else {
|
35
|
+
if (!ctx.common.issues.length) {
|
36
|
+
throw new Error("Validation failed but no issues detected.");
|
37
|
+
}
|
38
|
+
return {
|
39
|
+
success: false,
|
40
|
+
get error() {
|
41
|
+
if (this._error)
|
42
|
+
return this._error;
|
43
|
+
const error = new ZodError_1.ZodError(ctx.common.issues);
|
44
|
+
this._error = error;
|
45
|
+
return this._error;
|
46
|
+
},
|
47
|
+
};
|
48
|
+
}
|
49
|
+
};
|
50
|
+
function processCreateParams(params) {
|
51
|
+
if (!params)
|
52
|
+
return {};
|
53
|
+
const { errorMap, invalid_type_error, required_error, description } = params;
|
54
|
+
if (errorMap && (invalid_type_error || required_error)) {
|
55
|
+
throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);
|
56
|
+
}
|
57
|
+
if (errorMap)
|
58
|
+
return { errorMap: errorMap, description };
|
59
|
+
const customMap = (iss, ctx) => {
|
60
|
+
if (iss.code !== "invalid_type")
|
61
|
+
return { message: ctx.defaultError };
|
62
|
+
if (typeof ctx.data === "undefined") {
|
63
|
+
return { message: required_error !== null && required_error !== void 0 ? required_error : ctx.defaultError };
|
64
|
+
}
|
65
|
+
return { message: invalid_type_error !== null && invalid_type_error !== void 0 ? invalid_type_error : ctx.defaultError };
|
66
|
+
};
|
67
|
+
return { errorMap: customMap, description };
|
68
|
+
}
|
69
|
+
class ZodType {
|
70
|
+
constructor(def) {
|
71
|
+
this.spa = this.safeParseAsync;
|
72
|
+
this._def = def;
|
73
|
+
this.parse = this.parse.bind(this);
|
74
|
+
this.safeParse = this.safeParse.bind(this);
|
75
|
+
this.parseAsync = this.parseAsync.bind(this);
|
76
|
+
this.safeParseAsync = this.safeParseAsync.bind(this);
|
77
|
+
this.spa = this.spa.bind(this);
|
78
|
+
this.refine = this.refine.bind(this);
|
79
|
+
this.refinement = this.refinement.bind(this);
|
80
|
+
this.superRefine = this.superRefine.bind(this);
|
81
|
+
this.optional = this.optional.bind(this);
|
82
|
+
this.nullable = this.nullable.bind(this);
|
83
|
+
this.nullish = this.nullish.bind(this);
|
84
|
+
this.array = this.array.bind(this);
|
85
|
+
this.promise = this.promise.bind(this);
|
86
|
+
this.or = this.or.bind(this);
|
87
|
+
this.and = this.and.bind(this);
|
88
|
+
this.transform = this.transform.bind(this);
|
89
|
+
this.brand = this.brand.bind(this);
|
90
|
+
this.default = this.default.bind(this);
|
91
|
+
this.catch = this.catch.bind(this);
|
92
|
+
this.describe = this.describe.bind(this);
|
93
|
+
this.pipe = this.pipe.bind(this);
|
94
|
+
this.isNullable = this.isNullable.bind(this);
|
95
|
+
this.isOptional = this.isOptional.bind(this);
|
96
|
+
}
|
97
|
+
get description() {
|
98
|
+
return this._def.description;
|
99
|
+
}
|
100
|
+
_getType(input) {
|
101
|
+
return (0, util_1.getParsedType)(input.data);
|
102
|
+
}
|
103
|
+
_getOrReturnCtx(input, ctx) {
|
104
|
+
return (ctx || {
|
105
|
+
common: input.parent.common,
|
106
|
+
data: input.data,
|
107
|
+
parsedType: (0, util_1.getParsedType)(input.data),
|
108
|
+
schemaErrorMap: this._def.errorMap,
|
109
|
+
path: input.path,
|
110
|
+
parent: input.parent,
|
111
|
+
});
|
112
|
+
}
|
113
|
+
_processInputParams(input) {
|
114
|
+
return {
|
115
|
+
status: new parseUtil_1.ParseStatus(),
|
116
|
+
ctx: {
|
117
|
+
common: input.parent.common,
|
118
|
+
data: input.data,
|
119
|
+
parsedType: (0, util_1.getParsedType)(input.data),
|
120
|
+
schemaErrorMap: this._def.errorMap,
|
121
|
+
path: input.path,
|
122
|
+
parent: input.parent,
|
123
|
+
},
|
124
|
+
};
|
125
|
+
}
|
126
|
+
_parseSync(input) {
|
127
|
+
const result = this._parse(input);
|
128
|
+
if ((0, parseUtil_1.isAsync)(result)) {
|
129
|
+
throw new Error("Synchronous parse encountered promise.");
|
130
|
+
}
|
131
|
+
return result;
|
132
|
+
}
|
133
|
+
_parseAsync(input) {
|
134
|
+
const result = this._parse(input);
|
135
|
+
return Promise.resolve(result);
|
136
|
+
}
|
137
|
+
parse(data, params) {
|
138
|
+
const result = this.safeParse(data, params);
|
139
|
+
if (result.success)
|
140
|
+
return result.data;
|
141
|
+
throw result.error;
|
142
|
+
}
|
143
|
+
safeParse(data, params) {
|
144
|
+
var _a;
|
145
|
+
const ctx = {
|
146
|
+
common: {
|
147
|
+
issues: [],
|
148
|
+
async: (_a = params === null || params === void 0 ? void 0 : params.async) !== null && _a !== void 0 ? _a : false,
|
149
|
+
contextualErrorMap: params === null || params === void 0 ? void 0 : params.errorMap,
|
150
|
+
},
|
151
|
+
path: (params === null || params === void 0 ? void 0 : params.path) || [],
|
152
|
+
schemaErrorMap: this._def.errorMap,
|
153
|
+
parent: null,
|
154
|
+
data,
|
155
|
+
parsedType: (0, util_1.getParsedType)(data),
|
156
|
+
};
|
157
|
+
const result = this._parseSync({ data, path: ctx.path, parent: ctx });
|
158
|
+
return handleResult(ctx, result);
|
159
|
+
}
|
160
|
+
async parseAsync(data, params) {
|
161
|
+
const result = await this.safeParseAsync(data, params);
|
162
|
+
if (result.success)
|
163
|
+
return result.data;
|
164
|
+
throw result.error;
|
165
|
+
}
|
166
|
+
async safeParseAsync(data, params) {
|
167
|
+
const ctx = {
|
168
|
+
common: {
|
169
|
+
issues: [],
|
170
|
+
contextualErrorMap: params === null || params === void 0 ? void 0 : params.errorMap,
|
171
|
+
async: true,
|
172
|
+
},
|
173
|
+
path: (params === null || params === void 0 ? void 0 : params.path) || [],
|
174
|
+
schemaErrorMap: this._def.errorMap,
|
175
|
+
parent: null,
|
176
|
+
data,
|
177
|
+
parsedType: (0, util_1.getParsedType)(data),
|
178
|
+
};
|
179
|
+
const maybeAsyncResult = this._parse({ data, path: ctx.path, parent: ctx });
|
180
|
+
const result = await ((0, parseUtil_1.isAsync)(maybeAsyncResult)
|
181
|
+
? maybeAsyncResult
|
182
|
+
: Promise.resolve(maybeAsyncResult));
|
183
|
+
return handleResult(ctx, result);
|
184
|
+
}
|
185
|
+
refine(check, message) {
|
186
|
+
const getIssueProperties = (val) => {
|
187
|
+
if (typeof message === "string" || typeof message === "undefined") {
|
188
|
+
return { message };
|
189
|
+
}
|
190
|
+
else if (typeof message === "function") {
|
191
|
+
return message(val);
|
192
|
+
}
|
193
|
+
else {
|
194
|
+
return message;
|
195
|
+
}
|
196
|
+
};
|
197
|
+
return this._refinement((val, ctx) => {
|
198
|
+
const result = check(val);
|
199
|
+
const setError = () => ctx.addIssue({
|
200
|
+
code: ZodError_1.ZodIssueCode.custom,
|
201
|
+
...getIssueProperties(val),
|
202
|
+
});
|
203
|
+
if (typeof Promise !== "undefined" && result instanceof Promise) {
|
204
|
+
return result.then((data) => {
|
205
|
+
if (!data) {
|
206
|
+
setError();
|
207
|
+
return false;
|
208
|
+
}
|
209
|
+
else {
|
210
|
+
return true;
|
211
|
+
}
|
212
|
+
});
|
213
|
+
}
|
214
|
+
if (!result) {
|
215
|
+
setError();
|
216
|
+
return false;
|
217
|
+
}
|
218
|
+
else {
|
219
|
+
return true;
|
220
|
+
}
|
221
|
+
});
|
222
|
+
}
|
223
|
+
refinement(check, refinementData) {
|
224
|
+
return this._refinement((val, ctx) => {
|
225
|
+
if (!check(val)) {
|
226
|
+
ctx.addIssue(typeof refinementData === "function"
|
227
|
+
? refinementData(val, ctx)
|
228
|
+
: refinementData);
|
229
|
+
return false;
|
230
|
+
}
|
231
|
+
else {
|
232
|
+
return true;
|
233
|
+
}
|
234
|
+
});
|
235
|
+
}
|
236
|
+
_refinement(refinement) {
|
237
|
+
return new ZodEffects({
|
238
|
+
schema: this,
|
239
|
+
typeName: ZodFirstPartyTypeKind.ZodEffects,
|
240
|
+
effect: { type: "refinement", refinement },
|
241
|
+
});
|
242
|
+
}
|
243
|
+
superRefine(refinement) {
|
244
|
+
return this._refinement(refinement);
|
245
|
+
}
|
246
|
+
optional() {
|
247
|
+
return ZodOptional.create(this, this._def);
|
248
|
+
}
|
249
|
+
nullable() {
|
250
|
+
return ZodNullable.create(this, this._def);
|
251
|
+
}
|
252
|
+
nullish() {
|
253
|
+
return this.nullable().optional();
|
254
|
+
}
|
255
|
+
array() {
|
256
|
+
return ZodArray.create(this, this._def);
|
257
|
+
}
|
258
|
+
promise() {
|
259
|
+
return ZodPromise.create(this, this._def);
|
260
|
+
}
|
261
|
+
or(option) {
|
262
|
+
return ZodUnion.create([this, option], this._def);
|
263
|
+
}
|
264
|
+
and(incoming) {
|
265
|
+
return ZodIntersection.create(this, incoming, this._def);
|
266
|
+
}
|
267
|
+
transform(transform) {
|
268
|
+
return new ZodEffects({
|
269
|
+
...processCreateParams(this._def),
|
270
|
+
schema: this,
|
271
|
+
typeName: ZodFirstPartyTypeKind.ZodEffects,
|
272
|
+
effect: { type: "transform", transform },
|
273
|
+
});
|
274
|
+
}
|
275
|
+
default(def) {
|
276
|
+
const defaultValueFunc = typeof def === "function" ? def : () => def;
|
277
|
+
return new ZodDefault({
|
278
|
+
...processCreateParams(this._def),
|
279
|
+
innerType: this,
|
280
|
+
defaultValue: defaultValueFunc,
|
281
|
+
typeName: ZodFirstPartyTypeKind.ZodDefault,
|
282
|
+
});
|
283
|
+
}
|
284
|
+
brand() {
|
285
|
+
return new ZodBranded({
|
286
|
+
typeName: ZodFirstPartyTypeKind.ZodBranded,
|
287
|
+
type: this,
|
288
|
+
...processCreateParams(this._def),
|
289
|
+
});
|
290
|
+
}
|
291
|
+
catch(def) {
|
292
|
+
const catchValueFunc = typeof def === "function" ? def : () => def;
|
293
|
+
return new ZodCatch({
|
294
|
+
...processCreateParams(this._def),
|
295
|
+
innerType: this,
|
296
|
+
catchValue: catchValueFunc,
|
297
|
+
typeName: ZodFirstPartyTypeKind.ZodCatch,
|
298
|
+
});
|
299
|
+
}
|
300
|
+
describe(description) {
|
301
|
+
const This = this.constructor;
|
302
|
+
return new This({
|
303
|
+
...this._def,
|
304
|
+
description,
|
305
|
+
});
|
306
|
+
}
|
307
|
+
pipe(target) {
|
308
|
+
return ZodPipeline.create(this, target);
|
309
|
+
}
|
310
|
+
isOptional() {
|
311
|
+
return this.safeParse(undefined).success;
|
312
|
+
}
|
313
|
+
isNullable() {
|
314
|
+
return this.safeParse(null).success;
|
315
|
+
}
|
316
|
+
}
|
317
|
+
exports.ZodType = ZodType;
|
318
|
+
exports.Schema = ZodType;
|
319
|
+
exports.ZodSchema = ZodType;
|
320
|
+
const cuidRegex = /^c[^\s-]{8,}$/i;
|
321
|
+
const cuid2Regex = /^[a-z][a-z0-9]*$/;
|
322
|
+
const ulidRegex = /[0-9A-HJKMNP-TV-Z]{26}/;
|
323
|
+
const uuidRegex = /^([a-f0-9]{8}-[a-f0-9]{4}-[1-5][a-f0-9]{3}-[a-f0-9]{4}-[a-f0-9]{12}|00000000-0000-0000-0000-000000000000)$/i;
|
324
|
+
const emailRegex = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\])|(\[IPv6:(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))\])|([A-Za-z0-9]([A-Za-z0-9-]*[A-Za-z0-9])*(\.[A-Za-z]{2,})+))$/;
|
325
|
+
const emojiRegex = /^(\p{Extended_Pictographic}|\p{Emoji_Component})+$/u;
|
326
|
+
const ipv4Regex = /^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/;
|
327
|
+
const ipv6Regex = /^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/;
|
328
|
+
const datetimeRegex = (args) => {
|
329
|
+
if (args.precision) {
|
330
|
+
if (args.offset) {
|
331
|
+
return new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${args.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`);
|
332
|
+
}
|
333
|
+
else {
|
334
|
+
return new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${args.precision}}Z$`);
|
335
|
+
}
|
336
|
+
}
|
337
|
+
else if (args.precision === 0) {
|
338
|
+
if (args.offset) {
|
339
|
+
return new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$`);
|
340
|
+
}
|
341
|
+
else {
|
342
|
+
return new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$`);
|
343
|
+
}
|
344
|
+
}
|
345
|
+
else {
|
346
|
+
if (args.offset) {
|
347
|
+
return new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$`);
|
348
|
+
}
|
349
|
+
else {
|
350
|
+
return new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$`);
|
351
|
+
}
|
352
|
+
}
|
353
|
+
};
|
354
|
+
function isValidIP(ip, version) {
|
355
|
+
if ((version === "v4" || !version) && ipv4Regex.test(ip)) {
|
356
|
+
return true;
|
357
|
+
}
|
358
|
+
if ((version === "v6" || !version) && ipv6Regex.test(ip)) {
|
359
|
+
return true;
|
360
|
+
}
|
361
|
+
return false;
|
362
|
+
}
|
363
|
+
class ZodString extends ZodType {
|
364
|
+
constructor() {
|
365
|
+
super(...arguments);
|
366
|
+
this._regex = (regex, validation, message) => this.refinement((data) => regex.test(data), {
|
367
|
+
validation,
|
368
|
+
code: ZodError_1.ZodIssueCode.invalid_string,
|
369
|
+
...errorUtil_1.errorUtil.errToObj(message),
|
370
|
+
});
|
371
|
+
this.nonempty = (message) => this.min(1, errorUtil_1.errorUtil.errToObj(message));
|
372
|
+
this.trim = () => new ZodString({
|
373
|
+
...this._def,
|
374
|
+
checks: [...this._def.checks, { kind: "trim" }],
|
375
|
+
});
|
376
|
+
this.toLowerCase = () => new ZodString({
|
377
|
+
...this._def,
|
378
|
+
checks: [...this._def.checks, { kind: "toLowerCase" }],
|
379
|
+
});
|
380
|
+
this.toUpperCase = () => new ZodString({
|
381
|
+
...this._def,
|
382
|
+
checks: [...this._def.checks, { kind: "toUpperCase" }],
|
383
|
+
});
|
384
|
+
}
|
385
|
+
_parse(input) {
|
386
|
+
if (this._def.coerce) {
|
387
|
+
input.data = String(input.data);
|
388
|
+
}
|
389
|
+
const parsedType = this._getType(input);
|
390
|
+
if (parsedType !== util_1.ZodParsedType.string) {
|
391
|
+
const ctx = this._getOrReturnCtx(input);
|
392
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
393
|
+
code: ZodError_1.ZodIssueCode.invalid_type,
|
394
|
+
expected: util_1.ZodParsedType.string,
|
395
|
+
received: ctx.parsedType,
|
396
|
+
});
|
397
|
+
return parseUtil_1.INVALID;
|
398
|
+
}
|
399
|
+
const status = new parseUtil_1.ParseStatus();
|
400
|
+
let ctx = undefined;
|
401
|
+
for (const check of this._def.checks) {
|
402
|
+
if (check.kind === "min") {
|
403
|
+
if (input.data.length < check.value) {
|
404
|
+
ctx = this._getOrReturnCtx(input, ctx);
|
405
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
406
|
+
code: ZodError_1.ZodIssueCode.too_small,
|
407
|
+
minimum: check.value,
|
408
|
+
type: "string",
|
409
|
+
inclusive: true,
|
410
|
+
exact: false,
|
411
|
+
message: check.message,
|
412
|
+
});
|
413
|
+
status.dirty();
|
414
|
+
}
|
415
|
+
}
|
416
|
+
else if (check.kind === "max") {
|
417
|
+
if (input.data.length > check.value) {
|
418
|
+
ctx = this._getOrReturnCtx(input, ctx);
|
419
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
420
|
+
code: ZodError_1.ZodIssueCode.too_big,
|
421
|
+
maximum: check.value,
|
422
|
+
type: "string",
|
423
|
+
inclusive: true,
|
424
|
+
exact: false,
|
425
|
+
message: check.message,
|
426
|
+
});
|
427
|
+
status.dirty();
|
428
|
+
}
|
429
|
+
}
|
430
|
+
else if (check.kind === "length") {
|
431
|
+
const tooBig = input.data.length > check.value;
|
432
|
+
const tooSmall = input.data.length < check.value;
|
433
|
+
if (tooBig || tooSmall) {
|
434
|
+
ctx = this._getOrReturnCtx(input, ctx);
|
435
|
+
if (tooBig) {
|
436
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
437
|
+
code: ZodError_1.ZodIssueCode.too_big,
|
438
|
+
maximum: check.value,
|
439
|
+
type: "string",
|
440
|
+
inclusive: true,
|
441
|
+
exact: true,
|
442
|
+
message: check.message,
|
443
|
+
});
|
444
|
+
}
|
445
|
+
else if (tooSmall) {
|
446
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
447
|
+
code: ZodError_1.ZodIssueCode.too_small,
|
448
|
+
minimum: check.value,
|
449
|
+
type: "string",
|
450
|
+
inclusive: true,
|
451
|
+
exact: true,
|
452
|
+
message: check.message,
|
453
|
+
});
|
454
|
+
}
|
455
|
+
status.dirty();
|
456
|
+
}
|
457
|
+
}
|
458
|
+
else if (check.kind === "email") {
|
459
|
+
if (!emailRegex.test(input.data)) {
|
460
|
+
ctx = this._getOrReturnCtx(input, ctx);
|
461
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
462
|
+
validation: "email",
|
463
|
+
code: ZodError_1.ZodIssueCode.invalid_string,
|
464
|
+
message: check.message,
|
465
|
+
});
|
466
|
+
status.dirty();
|
467
|
+
}
|
468
|
+
}
|
469
|
+
else if (check.kind === "emoji") {
|
470
|
+
if (!emojiRegex.test(input.data)) {
|
471
|
+
ctx = this._getOrReturnCtx(input, ctx);
|
472
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
473
|
+
validation: "emoji",
|
474
|
+
code: ZodError_1.ZodIssueCode.invalid_string,
|
475
|
+
message: check.message,
|
476
|
+
});
|
477
|
+
status.dirty();
|
478
|
+
}
|
479
|
+
}
|
480
|
+
else if (check.kind === "uuid") {
|
481
|
+
if (!uuidRegex.test(input.data)) {
|
482
|
+
ctx = this._getOrReturnCtx(input, ctx);
|
483
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
484
|
+
validation: "uuid",
|
485
|
+
code: ZodError_1.ZodIssueCode.invalid_string,
|
486
|
+
message: check.message,
|
487
|
+
});
|
488
|
+
status.dirty();
|
489
|
+
}
|
490
|
+
}
|
491
|
+
else if (check.kind === "cuid") {
|
492
|
+
if (!cuidRegex.test(input.data)) {
|
493
|
+
ctx = this._getOrReturnCtx(input, ctx);
|
494
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
495
|
+
validation: "cuid",
|
496
|
+
code: ZodError_1.ZodIssueCode.invalid_string,
|
497
|
+
message: check.message,
|
498
|
+
});
|
499
|
+
status.dirty();
|
500
|
+
}
|
501
|
+
}
|
502
|
+
else if (check.kind === "cuid2") {
|
503
|
+
if (!cuid2Regex.test(input.data)) {
|
504
|
+
ctx = this._getOrReturnCtx(input, ctx);
|
505
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
506
|
+
validation: "cuid2",
|
507
|
+
code: ZodError_1.ZodIssueCode.invalid_string,
|
508
|
+
message: check.message,
|
509
|
+
});
|
510
|
+
status.dirty();
|
511
|
+
}
|
512
|
+
}
|
513
|
+
else if (check.kind === "ulid") {
|
514
|
+
if (!ulidRegex.test(input.data)) {
|
515
|
+
ctx = this._getOrReturnCtx(input, ctx);
|
516
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
517
|
+
validation: "ulid",
|
518
|
+
code: ZodError_1.ZodIssueCode.invalid_string,
|
519
|
+
message: check.message,
|
520
|
+
});
|
521
|
+
status.dirty();
|
522
|
+
}
|
523
|
+
}
|
524
|
+
else if (check.kind === "url") {
|
525
|
+
try {
|
526
|
+
new URL(input.data);
|
527
|
+
}
|
528
|
+
catch (_a) {
|
529
|
+
ctx = this._getOrReturnCtx(input, ctx);
|
530
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
531
|
+
validation: "url",
|
532
|
+
code: ZodError_1.ZodIssueCode.invalid_string,
|
533
|
+
message: check.message,
|
534
|
+
});
|
535
|
+
status.dirty();
|
536
|
+
}
|
537
|
+
}
|
538
|
+
else if (check.kind === "regex") {
|
539
|
+
check.regex.lastIndex = 0;
|
540
|
+
const testResult = check.regex.test(input.data);
|
541
|
+
if (!testResult) {
|
542
|
+
ctx = this._getOrReturnCtx(input, ctx);
|
543
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
544
|
+
validation: "regex",
|
545
|
+
code: ZodError_1.ZodIssueCode.invalid_string,
|
546
|
+
message: check.message,
|
547
|
+
});
|
548
|
+
status.dirty();
|
549
|
+
}
|
550
|
+
}
|
551
|
+
else if (check.kind === "trim") {
|
552
|
+
input.data = input.data.trim();
|
553
|
+
}
|
554
|
+
else if (check.kind === "includes") {
|
555
|
+
if (!input.data.includes(check.value, check.position)) {
|
556
|
+
ctx = this._getOrReturnCtx(input, ctx);
|
557
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
558
|
+
code: ZodError_1.ZodIssueCode.invalid_string,
|
559
|
+
validation: { includes: check.value, position: check.position },
|
560
|
+
message: check.message,
|
561
|
+
});
|
562
|
+
status.dirty();
|
563
|
+
}
|
564
|
+
}
|
565
|
+
else if (check.kind === "toLowerCase") {
|
566
|
+
input.data = input.data.toLowerCase();
|
567
|
+
}
|
568
|
+
else if (check.kind === "toUpperCase") {
|
569
|
+
input.data = input.data.toUpperCase();
|
570
|
+
}
|
571
|
+
else if (check.kind === "startsWith") {
|
572
|
+
if (!input.data.startsWith(check.value)) {
|
573
|
+
ctx = this._getOrReturnCtx(input, ctx);
|
574
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
575
|
+
code: ZodError_1.ZodIssueCode.invalid_string,
|
576
|
+
validation: { startsWith: check.value },
|
577
|
+
message: check.message,
|
578
|
+
});
|
579
|
+
status.dirty();
|
580
|
+
}
|
581
|
+
}
|
582
|
+
else if (check.kind === "endsWith") {
|
583
|
+
if (!input.data.endsWith(check.value)) {
|
584
|
+
ctx = this._getOrReturnCtx(input, ctx);
|
585
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
586
|
+
code: ZodError_1.ZodIssueCode.invalid_string,
|
587
|
+
validation: { endsWith: check.value },
|
588
|
+
message: check.message,
|
589
|
+
});
|
590
|
+
status.dirty();
|
591
|
+
}
|
592
|
+
}
|
593
|
+
else if (check.kind === "datetime") {
|
594
|
+
const regex = datetimeRegex(check);
|
595
|
+
if (!regex.test(input.data)) {
|
596
|
+
ctx = this._getOrReturnCtx(input, ctx);
|
597
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
598
|
+
code: ZodError_1.ZodIssueCode.invalid_string,
|
599
|
+
validation: "datetime",
|
600
|
+
message: check.message,
|
601
|
+
});
|
602
|
+
status.dirty();
|
603
|
+
}
|
604
|
+
}
|
605
|
+
else if (check.kind === "ip") {
|
606
|
+
if (!isValidIP(input.data, check.version)) {
|
607
|
+
ctx = this._getOrReturnCtx(input, ctx);
|
608
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
609
|
+
validation: "ip",
|
610
|
+
code: ZodError_1.ZodIssueCode.invalid_string,
|
611
|
+
message: check.message,
|
612
|
+
});
|
613
|
+
status.dirty();
|
614
|
+
}
|
615
|
+
}
|
616
|
+
else {
|
617
|
+
util_1.util.assertNever(check);
|
618
|
+
}
|
619
|
+
}
|
620
|
+
return { status: status.value, value: input.data };
|
621
|
+
}
|
622
|
+
_addCheck(check) {
|
623
|
+
return new ZodString({
|
624
|
+
...this._def,
|
625
|
+
checks: [...this._def.checks, check],
|
626
|
+
});
|
627
|
+
}
|
628
|
+
email(message) {
|
629
|
+
return this._addCheck({ kind: "email", ...errorUtil_1.errorUtil.errToObj(message) });
|
630
|
+
}
|
631
|
+
url(message) {
|
632
|
+
return this._addCheck({ kind: "url", ...errorUtil_1.errorUtil.errToObj(message) });
|
633
|
+
}
|
634
|
+
emoji(message) {
|
635
|
+
return this._addCheck({ kind: "emoji", ...errorUtil_1.errorUtil.errToObj(message) });
|
636
|
+
}
|
637
|
+
uuid(message) {
|
638
|
+
return this._addCheck({ kind: "uuid", ...errorUtil_1.errorUtil.errToObj(message) });
|
639
|
+
}
|
640
|
+
cuid(message) {
|
641
|
+
return this._addCheck({ kind: "cuid", ...errorUtil_1.errorUtil.errToObj(message) });
|
642
|
+
}
|
643
|
+
cuid2(message) {
|
644
|
+
return this._addCheck({ kind: "cuid2", ...errorUtil_1.errorUtil.errToObj(message) });
|
645
|
+
}
|
646
|
+
ulid(message) {
|
647
|
+
return this._addCheck({ kind: "ulid", ...errorUtil_1.errorUtil.errToObj(message) });
|
648
|
+
}
|
649
|
+
ip(options) {
|
650
|
+
return this._addCheck({ kind: "ip", ...errorUtil_1.errorUtil.errToObj(options) });
|
651
|
+
}
|
652
|
+
datetime(options) {
|
653
|
+
var _a;
|
654
|
+
if (typeof options === "string") {
|
655
|
+
return this._addCheck({
|
656
|
+
kind: "datetime",
|
657
|
+
precision: null,
|
658
|
+
offset: false,
|
659
|
+
message: options,
|
660
|
+
});
|
661
|
+
}
|
662
|
+
return this._addCheck({
|
663
|
+
kind: "datetime",
|
664
|
+
precision: typeof (options === null || options === void 0 ? void 0 : options.precision) === "undefined" ? null : options === null || options === void 0 ? void 0 : options.precision,
|
665
|
+
offset: (_a = options === null || options === void 0 ? void 0 : options.offset) !== null && _a !== void 0 ? _a : false,
|
666
|
+
...errorUtil_1.errorUtil.errToObj(options === null || options === void 0 ? void 0 : options.message),
|
667
|
+
});
|
668
|
+
}
|
669
|
+
regex(regex, message) {
|
670
|
+
return this._addCheck({
|
671
|
+
kind: "regex",
|
672
|
+
regex: regex,
|
673
|
+
...errorUtil_1.errorUtil.errToObj(message),
|
674
|
+
});
|
675
|
+
}
|
676
|
+
includes(value, options) {
|
677
|
+
return this._addCheck({
|
678
|
+
kind: "includes",
|
679
|
+
value: value,
|
680
|
+
position: options === null || options === void 0 ? void 0 : options.position,
|
681
|
+
...errorUtil_1.errorUtil.errToObj(options === null || options === void 0 ? void 0 : options.message),
|
682
|
+
});
|
683
|
+
}
|
684
|
+
startsWith(value, message) {
|
685
|
+
return this._addCheck({
|
686
|
+
kind: "startsWith",
|
687
|
+
value: value,
|
688
|
+
...errorUtil_1.errorUtil.errToObj(message),
|
689
|
+
});
|
690
|
+
}
|
691
|
+
endsWith(value, message) {
|
692
|
+
return this._addCheck({
|
693
|
+
kind: "endsWith",
|
694
|
+
value: value,
|
695
|
+
...errorUtil_1.errorUtil.errToObj(message),
|
696
|
+
});
|
697
|
+
}
|
698
|
+
min(minLength, message) {
|
699
|
+
return this._addCheck({
|
700
|
+
kind: "min",
|
701
|
+
value: minLength,
|
702
|
+
...errorUtil_1.errorUtil.errToObj(message),
|
703
|
+
});
|
704
|
+
}
|
705
|
+
max(maxLength, message) {
|
706
|
+
return this._addCheck({
|
707
|
+
kind: "max",
|
708
|
+
value: maxLength,
|
709
|
+
...errorUtil_1.errorUtil.errToObj(message),
|
710
|
+
});
|
711
|
+
}
|
712
|
+
length(len, message) {
|
713
|
+
return this._addCheck({
|
714
|
+
kind: "length",
|
715
|
+
value: len,
|
716
|
+
...errorUtil_1.errorUtil.errToObj(message),
|
717
|
+
});
|
718
|
+
}
|
719
|
+
get isDatetime() {
|
720
|
+
return !!this._def.checks.find((ch) => ch.kind === "datetime");
|
721
|
+
}
|
722
|
+
get isEmail() {
|
723
|
+
return !!this._def.checks.find((ch) => ch.kind === "email");
|
724
|
+
}
|
725
|
+
get isURL() {
|
726
|
+
return !!this._def.checks.find((ch) => ch.kind === "url");
|
727
|
+
}
|
728
|
+
get isEmoji() {
|
729
|
+
return !!this._def.checks.find((ch) => ch.kind === "emoji");
|
730
|
+
}
|
731
|
+
get isUUID() {
|
732
|
+
return !!this._def.checks.find((ch) => ch.kind === "uuid");
|
733
|
+
}
|
734
|
+
get isCUID() {
|
735
|
+
return !!this._def.checks.find((ch) => ch.kind === "cuid");
|
736
|
+
}
|
737
|
+
get isCUID2() {
|
738
|
+
return !!this._def.checks.find((ch) => ch.kind === "cuid2");
|
739
|
+
}
|
740
|
+
get isULID() {
|
741
|
+
return !!this._def.checks.find((ch) => ch.kind === "ulid");
|
742
|
+
}
|
743
|
+
get isIP() {
|
744
|
+
return !!this._def.checks.find((ch) => ch.kind === "ip");
|
745
|
+
}
|
746
|
+
get minLength() {
|
747
|
+
let min = null;
|
748
|
+
for (const ch of this._def.checks) {
|
749
|
+
if (ch.kind === "min") {
|
750
|
+
if (min === null || ch.value > min)
|
751
|
+
min = ch.value;
|
752
|
+
}
|
753
|
+
}
|
754
|
+
return min;
|
755
|
+
}
|
756
|
+
get maxLength() {
|
757
|
+
let max = null;
|
758
|
+
for (const ch of this._def.checks) {
|
759
|
+
if (ch.kind === "max") {
|
760
|
+
if (max === null || ch.value < max)
|
761
|
+
max = ch.value;
|
762
|
+
}
|
763
|
+
}
|
764
|
+
return max;
|
765
|
+
}
|
766
|
+
}
|
767
|
+
exports.ZodString = ZodString;
|
768
|
+
ZodString.create = (params) => {
|
769
|
+
var _a;
|
770
|
+
return new ZodString({
|
771
|
+
checks: [],
|
772
|
+
typeName: ZodFirstPartyTypeKind.ZodString,
|
773
|
+
coerce: (_a = params === null || params === void 0 ? void 0 : params.coerce) !== null && _a !== void 0 ? _a : false,
|
774
|
+
...processCreateParams(params),
|
775
|
+
});
|
776
|
+
};
|
777
|
+
function floatSafeRemainder(val, step) {
|
778
|
+
const valDecCount = (val.toString().split(".")[1] || "").length;
|
779
|
+
const stepDecCount = (step.toString().split(".")[1] || "").length;
|
780
|
+
const decCount = valDecCount > stepDecCount ? valDecCount : stepDecCount;
|
781
|
+
const valInt = parseInt(val.toFixed(decCount).replace(".", ""));
|
782
|
+
const stepInt = parseInt(step.toFixed(decCount).replace(".", ""));
|
783
|
+
return (valInt % stepInt) / Math.pow(10, decCount);
|
784
|
+
}
|
785
|
+
class ZodNumber extends ZodType {
|
786
|
+
constructor() {
|
787
|
+
super(...arguments);
|
788
|
+
this.min = this.gte;
|
789
|
+
this.max = this.lte;
|
790
|
+
this.step = this.multipleOf;
|
791
|
+
}
|
792
|
+
_parse(input) {
|
793
|
+
if (this._def.coerce) {
|
794
|
+
input.data = Number(input.data);
|
795
|
+
}
|
796
|
+
const parsedType = this._getType(input);
|
797
|
+
if (parsedType !== util_1.ZodParsedType.number) {
|
798
|
+
const ctx = this._getOrReturnCtx(input);
|
799
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
800
|
+
code: ZodError_1.ZodIssueCode.invalid_type,
|
801
|
+
expected: util_1.ZodParsedType.number,
|
802
|
+
received: ctx.parsedType,
|
803
|
+
});
|
804
|
+
return parseUtil_1.INVALID;
|
805
|
+
}
|
806
|
+
let ctx = undefined;
|
807
|
+
const status = new parseUtil_1.ParseStatus();
|
808
|
+
for (const check of this._def.checks) {
|
809
|
+
if (check.kind === "int") {
|
810
|
+
if (!util_1.util.isInteger(input.data)) {
|
811
|
+
ctx = this._getOrReturnCtx(input, ctx);
|
812
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
813
|
+
code: ZodError_1.ZodIssueCode.invalid_type,
|
814
|
+
expected: "integer",
|
815
|
+
received: "float",
|
816
|
+
message: check.message,
|
817
|
+
});
|
818
|
+
status.dirty();
|
819
|
+
}
|
820
|
+
}
|
821
|
+
else if (check.kind === "min") {
|
822
|
+
const tooSmall = check.inclusive
|
823
|
+
? input.data < check.value
|
824
|
+
: input.data <= check.value;
|
825
|
+
if (tooSmall) {
|
826
|
+
ctx = this._getOrReturnCtx(input, ctx);
|
827
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
828
|
+
code: ZodError_1.ZodIssueCode.too_small,
|
829
|
+
minimum: check.value,
|
830
|
+
type: "number",
|
831
|
+
inclusive: check.inclusive,
|
832
|
+
exact: false,
|
833
|
+
message: check.message,
|
834
|
+
});
|
835
|
+
status.dirty();
|
836
|
+
}
|
837
|
+
}
|
838
|
+
else if (check.kind === "max") {
|
839
|
+
const tooBig = check.inclusive
|
840
|
+
? input.data > check.value
|
841
|
+
: input.data >= check.value;
|
842
|
+
if (tooBig) {
|
843
|
+
ctx = this._getOrReturnCtx(input, ctx);
|
844
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
845
|
+
code: ZodError_1.ZodIssueCode.too_big,
|
846
|
+
maximum: check.value,
|
847
|
+
type: "number",
|
848
|
+
inclusive: check.inclusive,
|
849
|
+
exact: false,
|
850
|
+
message: check.message,
|
851
|
+
});
|
852
|
+
status.dirty();
|
853
|
+
}
|
854
|
+
}
|
855
|
+
else if (check.kind === "multipleOf") {
|
856
|
+
if (floatSafeRemainder(input.data, check.value) !== 0) {
|
857
|
+
ctx = this._getOrReturnCtx(input, ctx);
|
858
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
859
|
+
code: ZodError_1.ZodIssueCode.not_multiple_of,
|
860
|
+
multipleOf: check.value,
|
861
|
+
message: check.message,
|
862
|
+
});
|
863
|
+
status.dirty();
|
864
|
+
}
|
865
|
+
}
|
866
|
+
else if (check.kind === "finite") {
|
867
|
+
if (!Number.isFinite(input.data)) {
|
868
|
+
ctx = this._getOrReturnCtx(input, ctx);
|
869
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
870
|
+
code: ZodError_1.ZodIssueCode.not_finite,
|
871
|
+
message: check.message,
|
872
|
+
});
|
873
|
+
status.dirty();
|
874
|
+
}
|
875
|
+
}
|
876
|
+
else {
|
877
|
+
util_1.util.assertNever(check);
|
878
|
+
}
|
879
|
+
}
|
880
|
+
return { status: status.value, value: input.data };
|
881
|
+
}
|
882
|
+
gte(value, message) {
|
883
|
+
return this.setLimit("min", value, true, errorUtil_1.errorUtil.toString(message));
|
884
|
+
}
|
885
|
+
gt(value, message) {
|
886
|
+
return this.setLimit("min", value, false, errorUtil_1.errorUtil.toString(message));
|
887
|
+
}
|
888
|
+
lte(value, message) {
|
889
|
+
return this.setLimit("max", value, true, errorUtil_1.errorUtil.toString(message));
|
890
|
+
}
|
891
|
+
lt(value, message) {
|
892
|
+
return this.setLimit("max", value, false, errorUtil_1.errorUtil.toString(message));
|
893
|
+
}
|
894
|
+
setLimit(kind, value, inclusive, message) {
|
895
|
+
return new ZodNumber({
|
896
|
+
...this._def,
|
897
|
+
checks: [
|
898
|
+
...this._def.checks,
|
899
|
+
{
|
900
|
+
kind,
|
901
|
+
value,
|
902
|
+
inclusive,
|
903
|
+
message: errorUtil_1.errorUtil.toString(message),
|
904
|
+
},
|
905
|
+
],
|
906
|
+
});
|
907
|
+
}
|
908
|
+
_addCheck(check) {
|
909
|
+
return new ZodNumber({
|
910
|
+
...this._def,
|
911
|
+
checks: [...this._def.checks, check],
|
912
|
+
});
|
913
|
+
}
|
914
|
+
int(message) {
|
915
|
+
return this._addCheck({
|
916
|
+
kind: "int",
|
917
|
+
message: errorUtil_1.errorUtil.toString(message),
|
918
|
+
});
|
919
|
+
}
|
920
|
+
positive(message) {
|
921
|
+
return this._addCheck({
|
922
|
+
kind: "min",
|
923
|
+
value: 0,
|
924
|
+
inclusive: false,
|
925
|
+
message: errorUtil_1.errorUtil.toString(message),
|
926
|
+
});
|
927
|
+
}
|
928
|
+
negative(message) {
|
929
|
+
return this._addCheck({
|
930
|
+
kind: "max",
|
931
|
+
value: 0,
|
932
|
+
inclusive: false,
|
933
|
+
message: errorUtil_1.errorUtil.toString(message),
|
934
|
+
});
|
935
|
+
}
|
936
|
+
nonpositive(message) {
|
937
|
+
return this._addCheck({
|
938
|
+
kind: "max",
|
939
|
+
value: 0,
|
940
|
+
inclusive: true,
|
941
|
+
message: errorUtil_1.errorUtil.toString(message),
|
942
|
+
});
|
943
|
+
}
|
944
|
+
nonnegative(message) {
|
945
|
+
return this._addCheck({
|
946
|
+
kind: "min",
|
947
|
+
value: 0,
|
948
|
+
inclusive: true,
|
949
|
+
message: errorUtil_1.errorUtil.toString(message),
|
950
|
+
});
|
951
|
+
}
|
952
|
+
multipleOf(value, message) {
|
953
|
+
return this._addCheck({
|
954
|
+
kind: "multipleOf",
|
955
|
+
value: value,
|
956
|
+
message: errorUtil_1.errorUtil.toString(message),
|
957
|
+
});
|
958
|
+
}
|
959
|
+
finite(message) {
|
960
|
+
return this._addCheck({
|
961
|
+
kind: "finite",
|
962
|
+
message: errorUtil_1.errorUtil.toString(message),
|
963
|
+
});
|
964
|
+
}
|
965
|
+
safe(message) {
|
966
|
+
return this._addCheck({
|
967
|
+
kind: "min",
|
968
|
+
inclusive: true,
|
969
|
+
value: Number.MIN_SAFE_INTEGER,
|
970
|
+
message: errorUtil_1.errorUtil.toString(message),
|
971
|
+
})._addCheck({
|
972
|
+
kind: "max",
|
973
|
+
inclusive: true,
|
974
|
+
value: Number.MAX_SAFE_INTEGER,
|
975
|
+
message: errorUtil_1.errorUtil.toString(message),
|
976
|
+
});
|
977
|
+
}
|
978
|
+
get minValue() {
|
979
|
+
let min = null;
|
980
|
+
for (const ch of this._def.checks) {
|
981
|
+
if (ch.kind === "min") {
|
982
|
+
if (min === null || ch.value > min)
|
983
|
+
min = ch.value;
|
984
|
+
}
|
985
|
+
}
|
986
|
+
return min;
|
987
|
+
}
|
988
|
+
get maxValue() {
|
989
|
+
let max = null;
|
990
|
+
for (const ch of this._def.checks) {
|
991
|
+
if (ch.kind === "max") {
|
992
|
+
if (max === null || ch.value < max)
|
993
|
+
max = ch.value;
|
994
|
+
}
|
995
|
+
}
|
996
|
+
return max;
|
997
|
+
}
|
998
|
+
get isInt() {
|
999
|
+
return !!this._def.checks.find((ch) => ch.kind === "int" ||
|
1000
|
+
(ch.kind === "multipleOf" && util_1.util.isInteger(ch.value)));
|
1001
|
+
}
|
1002
|
+
get isFinite() {
|
1003
|
+
let max = null, min = null;
|
1004
|
+
for (const ch of this._def.checks) {
|
1005
|
+
if (ch.kind === "finite" ||
|
1006
|
+
ch.kind === "int" ||
|
1007
|
+
ch.kind === "multipleOf") {
|
1008
|
+
return true;
|
1009
|
+
}
|
1010
|
+
else if (ch.kind === "min") {
|
1011
|
+
if (min === null || ch.value > min)
|
1012
|
+
min = ch.value;
|
1013
|
+
}
|
1014
|
+
else if (ch.kind === "max") {
|
1015
|
+
if (max === null || ch.value < max)
|
1016
|
+
max = ch.value;
|
1017
|
+
}
|
1018
|
+
}
|
1019
|
+
return Number.isFinite(min) && Number.isFinite(max);
|
1020
|
+
}
|
1021
|
+
}
|
1022
|
+
exports.ZodNumber = ZodNumber;
|
1023
|
+
ZodNumber.create = (params) => {
|
1024
|
+
return new ZodNumber({
|
1025
|
+
checks: [],
|
1026
|
+
typeName: ZodFirstPartyTypeKind.ZodNumber,
|
1027
|
+
coerce: (params === null || params === void 0 ? void 0 : params.coerce) || false,
|
1028
|
+
...processCreateParams(params),
|
1029
|
+
});
|
1030
|
+
};
|
1031
|
+
class ZodBigInt extends ZodType {
|
1032
|
+
constructor() {
|
1033
|
+
super(...arguments);
|
1034
|
+
this.min = this.gte;
|
1035
|
+
this.max = this.lte;
|
1036
|
+
}
|
1037
|
+
_parse(input) {
|
1038
|
+
if (this._def.coerce) {
|
1039
|
+
input.data = BigInt(input.data);
|
1040
|
+
}
|
1041
|
+
const parsedType = this._getType(input);
|
1042
|
+
if (parsedType !== util_1.ZodParsedType.bigint) {
|
1043
|
+
const ctx = this._getOrReturnCtx(input);
|
1044
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
1045
|
+
code: ZodError_1.ZodIssueCode.invalid_type,
|
1046
|
+
expected: util_1.ZodParsedType.bigint,
|
1047
|
+
received: ctx.parsedType,
|
1048
|
+
});
|
1049
|
+
return parseUtil_1.INVALID;
|
1050
|
+
}
|
1051
|
+
let ctx = undefined;
|
1052
|
+
const status = new parseUtil_1.ParseStatus();
|
1053
|
+
for (const check of this._def.checks) {
|
1054
|
+
if (check.kind === "min") {
|
1055
|
+
const tooSmall = check.inclusive
|
1056
|
+
? input.data < check.value
|
1057
|
+
: input.data <= check.value;
|
1058
|
+
if (tooSmall) {
|
1059
|
+
ctx = this._getOrReturnCtx(input, ctx);
|
1060
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
1061
|
+
code: ZodError_1.ZodIssueCode.too_small,
|
1062
|
+
type: "bigint",
|
1063
|
+
minimum: check.value,
|
1064
|
+
inclusive: check.inclusive,
|
1065
|
+
message: check.message,
|
1066
|
+
});
|
1067
|
+
status.dirty();
|
1068
|
+
}
|
1069
|
+
}
|
1070
|
+
else if (check.kind === "max") {
|
1071
|
+
const tooBig = check.inclusive
|
1072
|
+
? input.data > check.value
|
1073
|
+
: input.data >= check.value;
|
1074
|
+
if (tooBig) {
|
1075
|
+
ctx = this._getOrReturnCtx(input, ctx);
|
1076
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
1077
|
+
code: ZodError_1.ZodIssueCode.too_big,
|
1078
|
+
type: "bigint",
|
1079
|
+
maximum: check.value,
|
1080
|
+
inclusive: check.inclusive,
|
1081
|
+
message: check.message,
|
1082
|
+
});
|
1083
|
+
status.dirty();
|
1084
|
+
}
|
1085
|
+
}
|
1086
|
+
else if (check.kind === "multipleOf") {
|
1087
|
+
if (input.data % check.value !== BigInt(0)) {
|
1088
|
+
ctx = this._getOrReturnCtx(input, ctx);
|
1089
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
1090
|
+
code: ZodError_1.ZodIssueCode.not_multiple_of,
|
1091
|
+
multipleOf: check.value,
|
1092
|
+
message: check.message,
|
1093
|
+
});
|
1094
|
+
status.dirty();
|
1095
|
+
}
|
1096
|
+
}
|
1097
|
+
else {
|
1098
|
+
util_1.util.assertNever(check);
|
1099
|
+
}
|
1100
|
+
}
|
1101
|
+
return { status: status.value, value: input.data };
|
1102
|
+
}
|
1103
|
+
gte(value, message) {
|
1104
|
+
return this.setLimit("min", value, true, errorUtil_1.errorUtil.toString(message));
|
1105
|
+
}
|
1106
|
+
gt(value, message) {
|
1107
|
+
return this.setLimit("min", value, false, errorUtil_1.errorUtil.toString(message));
|
1108
|
+
}
|
1109
|
+
lte(value, message) {
|
1110
|
+
return this.setLimit("max", value, true, errorUtil_1.errorUtil.toString(message));
|
1111
|
+
}
|
1112
|
+
lt(value, message) {
|
1113
|
+
return this.setLimit("max", value, false, errorUtil_1.errorUtil.toString(message));
|
1114
|
+
}
|
1115
|
+
setLimit(kind, value, inclusive, message) {
|
1116
|
+
return new ZodBigInt({
|
1117
|
+
...this._def,
|
1118
|
+
checks: [
|
1119
|
+
...this._def.checks,
|
1120
|
+
{
|
1121
|
+
kind,
|
1122
|
+
value,
|
1123
|
+
inclusive,
|
1124
|
+
message: errorUtil_1.errorUtil.toString(message),
|
1125
|
+
},
|
1126
|
+
],
|
1127
|
+
});
|
1128
|
+
}
|
1129
|
+
_addCheck(check) {
|
1130
|
+
return new ZodBigInt({
|
1131
|
+
...this._def,
|
1132
|
+
checks: [...this._def.checks, check],
|
1133
|
+
});
|
1134
|
+
}
|
1135
|
+
positive(message) {
|
1136
|
+
return this._addCheck({
|
1137
|
+
kind: "min",
|
1138
|
+
value: BigInt(0),
|
1139
|
+
inclusive: false,
|
1140
|
+
message: errorUtil_1.errorUtil.toString(message),
|
1141
|
+
});
|
1142
|
+
}
|
1143
|
+
negative(message) {
|
1144
|
+
return this._addCheck({
|
1145
|
+
kind: "max",
|
1146
|
+
value: BigInt(0),
|
1147
|
+
inclusive: false,
|
1148
|
+
message: errorUtil_1.errorUtil.toString(message),
|
1149
|
+
});
|
1150
|
+
}
|
1151
|
+
nonpositive(message) {
|
1152
|
+
return this._addCheck({
|
1153
|
+
kind: "max",
|
1154
|
+
value: BigInt(0),
|
1155
|
+
inclusive: true,
|
1156
|
+
message: errorUtil_1.errorUtil.toString(message),
|
1157
|
+
});
|
1158
|
+
}
|
1159
|
+
nonnegative(message) {
|
1160
|
+
return this._addCheck({
|
1161
|
+
kind: "min",
|
1162
|
+
value: BigInt(0),
|
1163
|
+
inclusive: true,
|
1164
|
+
message: errorUtil_1.errorUtil.toString(message),
|
1165
|
+
});
|
1166
|
+
}
|
1167
|
+
multipleOf(value, message) {
|
1168
|
+
return this._addCheck({
|
1169
|
+
kind: "multipleOf",
|
1170
|
+
value,
|
1171
|
+
message: errorUtil_1.errorUtil.toString(message),
|
1172
|
+
});
|
1173
|
+
}
|
1174
|
+
get minValue() {
|
1175
|
+
let min = null;
|
1176
|
+
for (const ch of this._def.checks) {
|
1177
|
+
if (ch.kind === "min") {
|
1178
|
+
if (min === null || ch.value > min)
|
1179
|
+
min = ch.value;
|
1180
|
+
}
|
1181
|
+
}
|
1182
|
+
return min;
|
1183
|
+
}
|
1184
|
+
get maxValue() {
|
1185
|
+
let max = null;
|
1186
|
+
for (const ch of this._def.checks) {
|
1187
|
+
if (ch.kind === "max") {
|
1188
|
+
if (max === null || ch.value < max)
|
1189
|
+
max = ch.value;
|
1190
|
+
}
|
1191
|
+
}
|
1192
|
+
return max;
|
1193
|
+
}
|
1194
|
+
}
|
1195
|
+
exports.ZodBigInt = ZodBigInt;
|
1196
|
+
ZodBigInt.create = (params) => {
|
1197
|
+
var _a;
|
1198
|
+
return new ZodBigInt({
|
1199
|
+
checks: [],
|
1200
|
+
typeName: ZodFirstPartyTypeKind.ZodBigInt,
|
1201
|
+
coerce: (_a = params === null || params === void 0 ? void 0 : params.coerce) !== null && _a !== void 0 ? _a : false,
|
1202
|
+
...processCreateParams(params),
|
1203
|
+
});
|
1204
|
+
};
|
1205
|
+
class ZodBoolean extends ZodType {
|
1206
|
+
_parse(input) {
|
1207
|
+
if (this._def.coerce) {
|
1208
|
+
input.data = Boolean(input.data);
|
1209
|
+
}
|
1210
|
+
const parsedType = this._getType(input);
|
1211
|
+
if (parsedType !== util_1.ZodParsedType.boolean) {
|
1212
|
+
const ctx = this._getOrReturnCtx(input);
|
1213
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
1214
|
+
code: ZodError_1.ZodIssueCode.invalid_type,
|
1215
|
+
expected: util_1.ZodParsedType.boolean,
|
1216
|
+
received: ctx.parsedType,
|
1217
|
+
});
|
1218
|
+
return parseUtil_1.INVALID;
|
1219
|
+
}
|
1220
|
+
return (0, parseUtil_1.OK)(input.data);
|
1221
|
+
}
|
1222
|
+
}
|
1223
|
+
exports.ZodBoolean = ZodBoolean;
|
1224
|
+
ZodBoolean.create = (params) => {
|
1225
|
+
return new ZodBoolean({
|
1226
|
+
typeName: ZodFirstPartyTypeKind.ZodBoolean,
|
1227
|
+
coerce: (params === null || params === void 0 ? void 0 : params.coerce) || false,
|
1228
|
+
...processCreateParams(params),
|
1229
|
+
});
|
1230
|
+
};
|
1231
|
+
class ZodDate extends ZodType {
|
1232
|
+
_parse(input) {
|
1233
|
+
if (this._def.coerce) {
|
1234
|
+
input.data = new Date(input.data);
|
1235
|
+
}
|
1236
|
+
const parsedType = this._getType(input);
|
1237
|
+
if (parsedType !== util_1.ZodParsedType.date) {
|
1238
|
+
const ctx = this._getOrReturnCtx(input);
|
1239
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
1240
|
+
code: ZodError_1.ZodIssueCode.invalid_type,
|
1241
|
+
expected: util_1.ZodParsedType.date,
|
1242
|
+
received: ctx.parsedType,
|
1243
|
+
});
|
1244
|
+
return parseUtil_1.INVALID;
|
1245
|
+
}
|
1246
|
+
if (isNaN(input.data.getTime())) {
|
1247
|
+
const ctx = this._getOrReturnCtx(input);
|
1248
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
1249
|
+
code: ZodError_1.ZodIssueCode.invalid_date,
|
1250
|
+
});
|
1251
|
+
return parseUtil_1.INVALID;
|
1252
|
+
}
|
1253
|
+
const status = new parseUtil_1.ParseStatus();
|
1254
|
+
let ctx = undefined;
|
1255
|
+
for (const check of this._def.checks) {
|
1256
|
+
if (check.kind === "min") {
|
1257
|
+
if (input.data.getTime() < check.value) {
|
1258
|
+
ctx = this._getOrReturnCtx(input, ctx);
|
1259
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
1260
|
+
code: ZodError_1.ZodIssueCode.too_small,
|
1261
|
+
message: check.message,
|
1262
|
+
inclusive: true,
|
1263
|
+
exact: false,
|
1264
|
+
minimum: check.value,
|
1265
|
+
type: "date",
|
1266
|
+
});
|
1267
|
+
status.dirty();
|
1268
|
+
}
|
1269
|
+
}
|
1270
|
+
else if (check.kind === "max") {
|
1271
|
+
if (input.data.getTime() > check.value) {
|
1272
|
+
ctx = this._getOrReturnCtx(input, ctx);
|
1273
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
1274
|
+
code: ZodError_1.ZodIssueCode.too_big,
|
1275
|
+
message: check.message,
|
1276
|
+
inclusive: true,
|
1277
|
+
exact: false,
|
1278
|
+
maximum: check.value,
|
1279
|
+
type: "date",
|
1280
|
+
});
|
1281
|
+
status.dirty();
|
1282
|
+
}
|
1283
|
+
}
|
1284
|
+
else {
|
1285
|
+
util_1.util.assertNever(check);
|
1286
|
+
}
|
1287
|
+
}
|
1288
|
+
return {
|
1289
|
+
status: status.value,
|
1290
|
+
value: new Date(input.data.getTime()),
|
1291
|
+
};
|
1292
|
+
}
|
1293
|
+
_addCheck(check) {
|
1294
|
+
return new ZodDate({
|
1295
|
+
...this._def,
|
1296
|
+
checks: [...this._def.checks, check],
|
1297
|
+
});
|
1298
|
+
}
|
1299
|
+
min(minDate, message) {
|
1300
|
+
return this._addCheck({
|
1301
|
+
kind: "min",
|
1302
|
+
value: minDate.getTime(),
|
1303
|
+
message: errorUtil_1.errorUtil.toString(message),
|
1304
|
+
});
|
1305
|
+
}
|
1306
|
+
max(maxDate, message) {
|
1307
|
+
return this._addCheck({
|
1308
|
+
kind: "max",
|
1309
|
+
value: maxDate.getTime(),
|
1310
|
+
message: errorUtil_1.errorUtil.toString(message),
|
1311
|
+
});
|
1312
|
+
}
|
1313
|
+
get minDate() {
|
1314
|
+
let min = null;
|
1315
|
+
for (const ch of this._def.checks) {
|
1316
|
+
if (ch.kind === "min") {
|
1317
|
+
if (min === null || ch.value > min)
|
1318
|
+
min = ch.value;
|
1319
|
+
}
|
1320
|
+
}
|
1321
|
+
return min != null ? new Date(min) : null;
|
1322
|
+
}
|
1323
|
+
get maxDate() {
|
1324
|
+
let max = null;
|
1325
|
+
for (const ch of this._def.checks) {
|
1326
|
+
if (ch.kind === "max") {
|
1327
|
+
if (max === null || ch.value < max)
|
1328
|
+
max = ch.value;
|
1329
|
+
}
|
1330
|
+
}
|
1331
|
+
return max != null ? new Date(max) : null;
|
1332
|
+
}
|
1333
|
+
}
|
1334
|
+
exports.ZodDate = ZodDate;
|
1335
|
+
ZodDate.create = (params) => {
|
1336
|
+
return new ZodDate({
|
1337
|
+
checks: [],
|
1338
|
+
coerce: (params === null || params === void 0 ? void 0 : params.coerce) || false,
|
1339
|
+
typeName: ZodFirstPartyTypeKind.ZodDate,
|
1340
|
+
...processCreateParams(params),
|
1341
|
+
});
|
1342
|
+
};
|
1343
|
+
class ZodSymbol extends ZodType {
|
1344
|
+
_parse(input) {
|
1345
|
+
const parsedType = this._getType(input);
|
1346
|
+
if (parsedType !== util_1.ZodParsedType.symbol) {
|
1347
|
+
const ctx = this._getOrReturnCtx(input);
|
1348
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
1349
|
+
code: ZodError_1.ZodIssueCode.invalid_type,
|
1350
|
+
expected: util_1.ZodParsedType.symbol,
|
1351
|
+
received: ctx.parsedType,
|
1352
|
+
});
|
1353
|
+
return parseUtil_1.INVALID;
|
1354
|
+
}
|
1355
|
+
return (0, parseUtil_1.OK)(input.data);
|
1356
|
+
}
|
1357
|
+
}
|
1358
|
+
exports.ZodSymbol = ZodSymbol;
|
1359
|
+
ZodSymbol.create = (params) => {
|
1360
|
+
return new ZodSymbol({
|
1361
|
+
typeName: ZodFirstPartyTypeKind.ZodSymbol,
|
1362
|
+
...processCreateParams(params),
|
1363
|
+
});
|
1364
|
+
};
|
1365
|
+
class ZodUndefined extends ZodType {
|
1366
|
+
_parse(input) {
|
1367
|
+
const parsedType = this._getType(input);
|
1368
|
+
if (parsedType !== util_1.ZodParsedType.undefined) {
|
1369
|
+
const ctx = this._getOrReturnCtx(input);
|
1370
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
1371
|
+
code: ZodError_1.ZodIssueCode.invalid_type,
|
1372
|
+
expected: util_1.ZodParsedType.undefined,
|
1373
|
+
received: ctx.parsedType,
|
1374
|
+
});
|
1375
|
+
return parseUtil_1.INVALID;
|
1376
|
+
}
|
1377
|
+
return (0, parseUtil_1.OK)(input.data);
|
1378
|
+
}
|
1379
|
+
}
|
1380
|
+
exports.ZodUndefined = ZodUndefined;
|
1381
|
+
ZodUndefined.create = (params) => {
|
1382
|
+
return new ZodUndefined({
|
1383
|
+
typeName: ZodFirstPartyTypeKind.ZodUndefined,
|
1384
|
+
...processCreateParams(params),
|
1385
|
+
});
|
1386
|
+
};
|
1387
|
+
class ZodNull extends ZodType {
|
1388
|
+
_parse(input) {
|
1389
|
+
const parsedType = this._getType(input);
|
1390
|
+
if (parsedType !== util_1.ZodParsedType.null) {
|
1391
|
+
const ctx = this._getOrReturnCtx(input);
|
1392
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
1393
|
+
code: ZodError_1.ZodIssueCode.invalid_type,
|
1394
|
+
expected: util_1.ZodParsedType.null,
|
1395
|
+
received: ctx.parsedType,
|
1396
|
+
});
|
1397
|
+
return parseUtil_1.INVALID;
|
1398
|
+
}
|
1399
|
+
return (0, parseUtil_1.OK)(input.data);
|
1400
|
+
}
|
1401
|
+
}
|
1402
|
+
exports.ZodNull = ZodNull;
|
1403
|
+
ZodNull.create = (params) => {
|
1404
|
+
return new ZodNull({
|
1405
|
+
typeName: ZodFirstPartyTypeKind.ZodNull,
|
1406
|
+
...processCreateParams(params),
|
1407
|
+
});
|
1408
|
+
};
|
1409
|
+
class ZodAny extends ZodType {
|
1410
|
+
constructor() {
|
1411
|
+
super(...arguments);
|
1412
|
+
this._any = true;
|
1413
|
+
}
|
1414
|
+
_parse(input) {
|
1415
|
+
return (0, parseUtil_1.OK)(input.data);
|
1416
|
+
}
|
1417
|
+
}
|
1418
|
+
exports.ZodAny = ZodAny;
|
1419
|
+
ZodAny.create = (params) => {
|
1420
|
+
return new ZodAny({
|
1421
|
+
typeName: ZodFirstPartyTypeKind.ZodAny,
|
1422
|
+
...processCreateParams(params),
|
1423
|
+
});
|
1424
|
+
};
|
1425
|
+
class ZodUnknown extends ZodType {
|
1426
|
+
constructor() {
|
1427
|
+
super(...arguments);
|
1428
|
+
this._unknown = true;
|
1429
|
+
}
|
1430
|
+
_parse(input) {
|
1431
|
+
return (0, parseUtil_1.OK)(input.data);
|
1432
|
+
}
|
1433
|
+
}
|
1434
|
+
exports.ZodUnknown = ZodUnknown;
|
1435
|
+
ZodUnknown.create = (params) => {
|
1436
|
+
return new ZodUnknown({
|
1437
|
+
typeName: ZodFirstPartyTypeKind.ZodUnknown,
|
1438
|
+
...processCreateParams(params),
|
1439
|
+
});
|
1440
|
+
};
|
1441
|
+
class ZodNever extends ZodType {
|
1442
|
+
_parse(input) {
|
1443
|
+
const ctx = this._getOrReturnCtx(input);
|
1444
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
1445
|
+
code: ZodError_1.ZodIssueCode.invalid_type,
|
1446
|
+
expected: util_1.ZodParsedType.never,
|
1447
|
+
received: ctx.parsedType,
|
1448
|
+
});
|
1449
|
+
return parseUtil_1.INVALID;
|
1450
|
+
}
|
1451
|
+
}
|
1452
|
+
exports.ZodNever = ZodNever;
|
1453
|
+
ZodNever.create = (params) => {
|
1454
|
+
return new ZodNever({
|
1455
|
+
typeName: ZodFirstPartyTypeKind.ZodNever,
|
1456
|
+
...processCreateParams(params),
|
1457
|
+
});
|
1458
|
+
};
|
1459
|
+
class ZodVoid extends ZodType {
|
1460
|
+
_parse(input) {
|
1461
|
+
const parsedType = this._getType(input);
|
1462
|
+
if (parsedType !== util_1.ZodParsedType.undefined) {
|
1463
|
+
const ctx = this._getOrReturnCtx(input);
|
1464
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
1465
|
+
code: ZodError_1.ZodIssueCode.invalid_type,
|
1466
|
+
expected: util_1.ZodParsedType.void,
|
1467
|
+
received: ctx.parsedType,
|
1468
|
+
});
|
1469
|
+
return parseUtil_1.INVALID;
|
1470
|
+
}
|
1471
|
+
return (0, parseUtil_1.OK)(input.data);
|
1472
|
+
}
|
1473
|
+
}
|
1474
|
+
exports.ZodVoid = ZodVoid;
|
1475
|
+
ZodVoid.create = (params) => {
|
1476
|
+
return new ZodVoid({
|
1477
|
+
typeName: ZodFirstPartyTypeKind.ZodVoid,
|
1478
|
+
...processCreateParams(params),
|
1479
|
+
});
|
1480
|
+
};
|
1481
|
+
class ZodArray extends ZodType {
|
1482
|
+
_parse(input) {
|
1483
|
+
const { ctx, status } = this._processInputParams(input);
|
1484
|
+
const def = this._def;
|
1485
|
+
if (ctx.parsedType !== util_1.ZodParsedType.array) {
|
1486
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
1487
|
+
code: ZodError_1.ZodIssueCode.invalid_type,
|
1488
|
+
expected: util_1.ZodParsedType.array,
|
1489
|
+
received: ctx.parsedType,
|
1490
|
+
});
|
1491
|
+
return parseUtil_1.INVALID;
|
1492
|
+
}
|
1493
|
+
if (def.exactLength !== null) {
|
1494
|
+
const tooBig = ctx.data.length > def.exactLength.value;
|
1495
|
+
const tooSmall = ctx.data.length < def.exactLength.value;
|
1496
|
+
if (tooBig || tooSmall) {
|
1497
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
1498
|
+
code: tooBig ? ZodError_1.ZodIssueCode.too_big : ZodError_1.ZodIssueCode.too_small,
|
1499
|
+
minimum: (tooSmall ? def.exactLength.value : undefined),
|
1500
|
+
maximum: (tooBig ? def.exactLength.value : undefined),
|
1501
|
+
type: "array",
|
1502
|
+
inclusive: true,
|
1503
|
+
exact: true,
|
1504
|
+
message: def.exactLength.message,
|
1505
|
+
});
|
1506
|
+
status.dirty();
|
1507
|
+
}
|
1508
|
+
}
|
1509
|
+
if (def.minLength !== null) {
|
1510
|
+
if (ctx.data.length < def.minLength.value) {
|
1511
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
1512
|
+
code: ZodError_1.ZodIssueCode.too_small,
|
1513
|
+
minimum: def.minLength.value,
|
1514
|
+
type: "array",
|
1515
|
+
inclusive: true,
|
1516
|
+
exact: false,
|
1517
|
+
message: def.minLength.message,
|
1518
|
+
});
|
1519
|
+
status.dirty();
|
1520
|
+
}
|
1521
|
+
}
|
1522
|
+
if (def.maxLength !== null) {
|
1523
|
+
if (ctx.data.length > def.maxLength.value) {
|
1524
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
1525
|
+
code: ZodError_1.ZodIssueCode.too_big,
|
1526
|
+
maximum: def.maxLength.value,
|
1527
|
+
type: "array",
|
1528
|
+
inclusive: true,
|
1529
|
+
exact: false,
|
1530
|
+
message: def.maxLength.message,
|
1531
|
+
});
|
1532
|
+
status.dirty();
|
1533
|
+
}
|
1534
|
+
}
|
1535
|
+
if (ctx.common.async) {
|
1536
|
+
return Promise.all([...ctx.data].map((item, i) => {
|
1537
|
+
return def.type._parseAsync(new ParseInputLazyPath(ctx, item, ctx.path, i));
|
1538
|
+
})).then((result) => {
|
1539
|
+
return parseUtil_1.ParseStatus.mergeArray(status, result);
|
1540
|
+
});
|
1541
|
+
}
|
1542
|
+
const result = [...ctx.data].map((item, i) => {
|
1543
|
+
return def.type._parseSync(new ParseInputLazyPath(ctx, item, ctx.path, i));
|
1544
|
+
});
|
1545
|
+
return parseUtil_1.ParseStatus.mergeArray(status, result);
|
1546
|
+
}
|
1547
|
+
get element() {
|
1548
|
+
return this._def.type;
|
1549
|
+
}
|
1550
|
+
min(minLength, message) {
|
1551
|
+
return new ZodArray({
|
1552
|
+
...this._def,
|
1553
|
+
minLength: { value: minLength, message: errorUtil_1.errorUtil.toString(message) },
|
1554
|
+
});
|
1555
|
+
}
|
1556
|
+
max(maxLength, message) {
|
1557
|
+
return new ZodArray({
|
1558
|
+
...this._def,
|
1559
|
+
maxLength: { value: maxLength, message: errorUtil_1.errorUtil.toString(message) },
|
1560
|
+
});
|
1561
|
+
}
|
1562
|
+
length(len, message) {
|
1563
|
+
return new ZodArray({
|
1564
|
+
...this._def,
|
1565
|
+
exactLength: { value: len, message: errorUtil_1.errorUtil.toString(message) },
|
1566
|
+
});
|
1567
|
+
}
|
1568
|
+
nonempty(message) {
|
1569
|
+
return this.min(1, message);
|
1570
|
+
}
|
1571
|
+
}
|
1572
|
+
exports.ZodArray = ZodArray;
|
1573
|
+
ZodArray.create = (schema, params) => {
|
1574
|
+
return new ZodArray({
|
1575
|
+
type: schema,
|
1576
|
+
minLength: null,
|
1577
|
+
maxLength: null,
|
1578
|
+
exactLength: null,
|
1579
|
+
typeName: ZodFirstPartyTypeKind.ZodArray,
|
1580
|
+
...processCreateParams(params),
|
1581
|
+
});
|
1582
|
+
};
|
1583
|
+
function deepPartialify(schema) {
|
1584
|
+
if (schema instanceof ZodObject) {
|
1585
|
+
const newShape = {};
|
1586
|
+
for (const key in schema.shape) {
|
1587
|
+
const fieldSchema = schema.shape[key];
|
1588
|
+
newShape[key] = ZodOptional.create(deepPartialify(fieldSchema));
|
1589
|
+
}
|
1590
|
+
return new ZodObject({
|
1591
|
+
...schema._def,
|
1592
|
+
shape: () => newShape,
|
1593
|
+
});
|
1594
|
+
}
|
1595
|
+
else if (schema instanceof ZodArray) {
|
1596
|
+
return new ZodArray({
|
1597
|
+
...schema._def,
|
1598
|
+
type: deepPartialify(schema.element),
|
1599
|
+
});
|
1600
|
+
}
|
1601
|
+
else if (schema instanceof ZodOptional) {
|
1602
|
+
return ZodOptional.create(deepPartialify(schema.unwrap()));
|
1603
|
+
}
|
1604
|
+
else if (schema instanceof ZodNullable) {
|
1605
|
+
return ZodNullable.create(deepPartialify(schema.unwrap()));
|
1606
|
+
}
|
1607
|
+
else if (schema instanceof ZodTuple) {
|
1608
|
+
return ZodTuple.create(schema.items.map((item) => deepPartialify(item)));
|
1609
|
+
}
|
1610
|
+
else {
|
1611
|
+
return schema;
|
1612
|
+
}
|
1613
|
+
}
|
1614
|
+
class ZodObject extends ZodType {
|
1615
|
+
constructor() {
|
1616
|
+
super(...arguments);
|
1617
|
+
this._cached = null;
|
1618
|
+
this.nonstrict = this.passthrough;
|
1619
|
+
this.augment = this.extend;
|
1620
|
+
}
|
1621
|
+
_getCached() {
|
1622
|
+
if (this._cached !== null)
|
1623
|
+
return this._cached;
|
1624
|
+
const shape = this._def.shape();
|
1625
|
+
const keys = util_1.util.objectKeys(shape);
|
1626
|
+
return (this._cached = { shape, keys });
|
1627
|
+
}
|
1628
|
+
_parse(input) {
|
1629
|
+
const parsedType = this._getType(input);
|
1630
|
+
if (parsedType !== util_1.ZodParsedType.object) {
|
1631
|
+
const ctx = this._getOrReturnCtx(input);
|
1632
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
1633
|
+
code: ZodError_1.ZodIssueCode.invalid_type,
|
1634
|
+
expected: util_1.ZodParsedType.object,
|
1635
|
+
received: ctx.parsedType,
|
1636
|
+
});
|
1637
|
+
return parseUtil_1.INVALID;
|
1638
|
+
}
|
1639
|
+
const { status, ctx } = this._processInputParams(input);
|
1640
|
+
const { shape, keys: shapeKeys } = this._getCached();
|
1641
|
+
const extraKeys = [];
|
1642
|
+
if (!(this._def.catchall instanceof ZodNever &&
|
1643
|
+
this._def.unknownKeys === "strip")) {
|
1644
|
+
for (const key in ctx.data) {
|
1645
|
+
if (!shapeKeys.includes(key)) {
|
1646
|
+
extraKeys.push(key);
|
1647
|
+
}
|
1648
|
+
}
|
1649
|
+
}
|
1650
|
+
const pairs = [];
|
1651
|
+
for (const key of shapeKeys) {
|
1652
|
+
const keyValidator = shape[key];
|
1653
|
+
const value = ctx.data[key];
|
1654
|
+
pairs.push({
|
1655
|
+
key: { status: "valid", value: key },
|
1656
|
+
value: keyValidator._parse(new ParseInputLazyPath(ctx, value, ctx.path, key)),
|
1657
|
+
alwaysSet: key in ctx.data,
|
1658
|
+
});
|
1659
|
+
}
|
1660
|
+
if (this._def.catchall instanceof ZodNever) {
|
1661
|
+
const unknownKeys = this._def.unknownKeys;
|
1662
|
+
if (unknownKeys === "passthrough") {
|
1663
|
+
for (const key of extraKeys) {
|
1664
|
+
pairs.push({
|
1665
|
+
key: { status: "valid", value: key },
|
1666
|
+
value: { status: "valid", value: ctx.data[key] },
|
1667
|
+
});
|
1668
|
+
}
|
1669
|
+
}
|
1670
|
+
else if (unknownKeys === "strict") {
|
1671
|
+
if (extraKeys.length > 0) {
|
1672
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
1673
|
+
code: ZodError_1.ZodIssueCode.unrecognized_keys,
|
1674
|
+
keys: extraKeys,
|
1675
|
+
});
|
1676
|
+
status.dirty();
|
1677
|
+
}
|
1678
|
+
}
|
1679
|
+
else if (unknownKeys === "strip") {
|
1680
|
+
}
|
1681
|
+
else {
|
1682
|
+
throw new Error(`Internal ZodObject error: invalid unknownKeys value.`);
|
1683
|
+
}
|
1684
|
+
}
|
1685
|
+
else {
|
1686
|
+
const catchall = this._def.catchall;
|
1687
|
+
for (const key of extraKeys) {
|
1688
|
+
const value = ctx.data[key];
|
1689
|
+
pairs.push({
|
1690
|
+
key: { status: "valid", value: key },
|
1691
|
+
value: catchall._parse(new ParseInputLazyPath(ctx, value, ctx.path, key)),
|
1692
|
+
alwaysSet: key in ctx.data,
|
1693
|
+
});
|
1694
|
+
}
|
1695
|
+
}
|
1696
|
+
if (ctx.common.async) {
|
1697
|
+
return Promise.resolve()
|
1698
|
+
.then(async () => {
|
1699
|
+
const syncPairs = [];
|
1700
|
+
for (const pair of pairs) {
|
1701
|
+
const key = await pair.key;
|
1702
|
+
syncPairs.push({
|
1703
|
+
key,
|
1704
|
+
value: await pair.value,
|
1705
|
+
alwaysSet: pair.alwaysSet,
|
1706
|
+
});
|
1707
|
+
}
|
1708
|
+
return syncPairs;
|
1709
|
+
})
|
1710
|
+
.then((syncPairs) => {
|
1711
|
+
return parseUtil_1.ParseStatus.mergeObjectSync(status, syncPairs);
|
1712
|
+
});
|
1713
|
+
}
|
1714
|
+
else {
|
1715
|
+
return parseUtil_1.ParseStatus.mergeObjectSync(status, pairs);
|
1716
|
+
}
|
1717
|
+
}
|
1718
|
+
get shape() {
|
1719
|
+
return this._def.shape();
|
1720
|
+
}
|
1721
|
+
strict(message) {
|
1722
|
+
errorUtil_1.errorUtil.errToObj;
|
1723
|
+
return new ZodObject({
|
1724
|
+
...this._def,
|
1725
|
+
unknownKeys: "strict",
|
1726
|
+
...(message !== undefined
|
1727
|
+
? {
|
1728
|
+
errorMap: (issue, ctx) => {
|
1729
|
+
var _a, _b, _c, _d;
|
1730
|
+
const defaultError = (_c = (_b = (_a = this._def).errorMap) === null || _b === void 0 ? void 0 : _b.call(_a, issue, ctx).message) !== null && _c !== void 0 ? _c : ctx.defaultError;
|
1731
|
+
if (issue.code === "unrecognized_keys")
|
1732
|
+
return {
|
1733
|
+
message: (_d = errorUtil_1.errorUtil.errToObj(message).message) !== null && _d !== void 0 ? _d : defaultError,
|
1734
|
+
};
|
1735
|
+
return {
|
1736
|
+
message: defaultError,
|
1737
|
+
};
|
1738
|
+
},
|
1739
|
+
}
|
1740
|
+
: {}),
|
1741
|
+
});
|
1742
|
+
}
|
1743
|
+
strip() {
|
1744
|
+
return new ZodObject({
|
1745
|
+
...this._def,
|
1746
|
+
unknownKeys: "strip",
|
1747
|
+
});
|
1748
|
+
}
|
1749
|
+
passthrough() {
|
1750
|
+
return new ZodObject({
|
1751
|
+
...this._def,
|
1752
|
+
unknownKeys: "passthrough",
|
1753
|
+
});
|
1754
|
+
}
|
1755
|
+
extend(augmentation) {
|
1756
|
+
return new ZodObject({
|
1757
|
+
...this._def,
|
1758
|
+
shape: () => ({
|
1759
|
+
...this._def.shape(),
|
1760
|
+
...augmentation,
|
1761
|
+
}),
|
1762
|
+
});
|
1763
|
+
}
|
1764
|
+
merge(merging) {
|
1765
|
+
const merged = new ZodObject({
|
1766
|
+
unknownKeys: merging._def.unknownKeys,
|
1767
|
+
catchall: merging._def.catchall,
|
1768
|
+
shape: () => ({
|
1769
|
+
...this._def.shape(),
|
1770
|
+
...merging._def.shape(),
|
1771
|
+
}),
|
1772
|
+
typeName: ZodFirstPartyTypeKind.ZodObject,
|
1773
|
+
});
|
1774
|
+
return merged;
|
1775
|
+
}
|
1776
|
+
setKey(key, schema) {
|
1777
|
+
return this.augment({ [key]: schema });
|
1778
|
+
}
|
1779
|
+
catchall(index) {
|
1780
|
+
return new ZodObject({
|
1781
|
+
...this._def,
|
1782
|
+
catchall: index,
|
1783
|
+
});
|
1784
|
+
}
|
1785
|
+
pick(mask) {
|
1786
|
+
const shape = {};
|
1787
|
+
util_1.util.objectKeys(mask).forEach((key) => {
|
1788
|
+
if (mask[key] && this.shape[key]) {
|
1789
|
+
shape[key] = this.shape[key];
|
1790
|
+
}
|
1791
|
+
});
|
1792
|
+
return new ZodObject({
|
1793
|
+
...this._def,
|
1794
|
+
shape: () => shape,
|
1795
|
+
});
|
1796
|
+
}
|
1797
|
+
omit(mask) {
|
1798
|
+
const shape = {};
|
1799
|
+
util_1.util.objectKeys(this.shape).forEach((key) => {
|
1800
|
+
if (!mask[key]) {
|
1801
|
+
shape[key] = this.shape[key];
|
1802
|
+
}
|
1803
|
+
});
|
1804
|
+
return new ZodObject({
|
1805
|
+
...this._def,
|
1806
|
+
shape: () => shape,
|
1807
|
+
});
|
1808
|
+
}
|
1809
|
+
deepPartial() {
|
1810
|
+
return deepPartialify(this);
|
1811
|
+
}
|
1812
|
+
partial(mask) {
|
1813
|
+
const newShape = {};
|
1814
|
+
util_1.util.objectKeys(this.shape).forEach((key) => {
|
1815
|
+
const fieldSchema = this.shape[key];
|
1816
|
+
if (mask && !mask[key]) {
|
1817
|
+
newShape[key] = fieldSchema;
|
1818
|
+
}
|
1819
|
+
else {
|
1820
|
+
newShape[key] = fieldSchema.optional();
|
1821
|
+
}
|
1822
|
+
});
|
1823
|
+
return new ZodObject({
|
1824
|
+
...this._def,
|
1825
|
+
shape: () => newShape,
|
1826
|
+
});
|
1827
|
+
}
|
1828
|
+
required(mask) {
|
1829
|
+
const newShape = {};
|
1830
|
+
util_1.util.objectKeys(this.shape).forEach((key) => {
|
1831
|
+
if (mask && !mask[key]) {
|
1832
|
+
newShape[key] = this.shape[key];
|
1833
|
+
}
|
1834
|
+
else {
|
1835
|
+
const fieldSchema = this.shape[key];
|
1836
|
+
let newField = fieldSchema;
|
1837
|
+
while (newField instanceof ZodOptional) {
|
1838
|
+
newField = newField._def.innerType;
|
1839
|
+
}
|
1840
|
+
newShape[key] = newField;
|
1841
|
+
}
|
1842
|
+
});
|
1843
|
+
return new ZodObject({
|
1844
|
+
...this._def,
|
1845
|
+
shape: () => newShape,
|
1846
|
+
});
|
1847
|
+
}
|
1848
|
+
keyof() {
|
1849
|
+
return createZodEnum(util_1.util.objectKeys(this.shape));
|
1850
|
+
}
|
1851
|
+
}
|
1852
|
+
exports.ZodObject = ZodObject;
|
1853
|
+
ZodObject.create = (shape, params) => {
|
1854
|
+
return new ZodObject({
|
1855
|
+
shape: () => shape,
|
1856
|
+
unknownKeys: "strip",
|
1857
|
+
catchall: ZodNever.create(),
|
1858
|
+
typeName: ZodFirstPartyTypeKind.ZodObject,
|
1859
|
+
...processCreateParams(params),
|
1860
|
+
});
|
1861
|
+
};
|
1862
|
+
ZodObject.strictCreate = (shape, params) => {
|
1863
|
+
return new ZodObject({
|
1864
|
+
shape: () => shape,
|
1865
|
+
unknownKeys: "strict",
|
1866
|
+
catchall: ZodNever.create(),
|
1867
|
+
typeName: ZodFirstPartyTypeKind.ZodObject,
|
1868
|
+
...processCreateParams(params),
|
1869
|
+
});
|
1870
|
+
};
|
1871
|
+
ZodObject.lazycreate = (shape, params) => {
|
1872
|
+
return new ZodObject({
|
1873
|
+
shape,
|
1874
|
+
unknownKeys: "strip",
|
1875
|
+
catchall: ZodNever.create(),
|
1876
|
+
typeName: ZodFirstPartyTypeKind.ZodObject,
|
1877
|
+
...processCreateParams(params),
|
1878
|
+
});
|
1879
|
+
};
|
1880
|
+
class ZodUnion extends ZodType {
|
1881
|
+
_parse(input) {
|
1882
|
+
const { ctx } = this._processInputParams(input);
|
1883
|
+
const options = this._def.options;
|
1884
|
+
function handleResults(results) {
|
1885
|
+
for (const result of results) {
|
1886
|
+
if (result.result.status === "valid") {
|
1887
|
+
return result.result;
|
1888
|
+
}
|
1889
|
+
}
|
1890
|
+
for (const result of results) {
|
1891
|
+
if (result.result.status === "dirty") {
|
1892
|
+
ctx.common.issues.push(...result.ctx.common.issues);
|
1893
|
+
return result.result;
|
1894
|
+
}
|
1895
|
+
}
|
1896
|
+
const unionErrors = results.map((result) => new ZodError_1.ZodError(result.ctx.common.issues));
|
1897
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
1898
|
+
code: ZodError_1.ZodIssueCode.invalid_union,
|
1899
|
+
unionErrors,
|
1900
|
+
});
|
1901
|
+
return parseUtil_1.INVALID;
|
1902
|
+
}
|
1903
|
+
if (ctx.common.async) {
|
1904
|
+
return Promise.all(options.map(async (option) => {
|
1905
|
+
const childCtx = {
|
1906
|
+
...ctx,
|
1907
|
+
common: {
|
1908
|
+
...ctx.common,
|
1909
|
+
issues: [],
|
1910
|
+
},
|
1911
|
+
parent: null,
|
1912
|
+
};
|
1913
|
+
return {
|
1914
|
+
result: await option._parseAsync({
|
1915
|
+
data: ctx.data,
|
1916
|
+
path: ctx.path,
|
1917
|
+
parent: childCtx,
|
1918
|
+
}),
|
1919
|
+
ctx: childCtx,
|
1920
|
+
};
|
1921
|
+
})).then(handleResults);
|
1922
|
+
}
|
1923
|
+
else {
|
1924
|
+
let dirty = undefined;
|
1925
|
+
const issues = [];
|
1926
|
+
for (const option of options) {
|
1927
|
+
const childCtx = {
|
1928
|
+
...ctx,
|
1929
|
+
common: {
|
1930
|
+
...ctx.common,
|
1931
|
+
issues: [],
|
1932
|
+
},
|
1933
|
+
parent: null,
|
1934
|
+
};
|
1935
|
+
const result = option._parseSync({
|
1936
|
+
data: ctx.data,
|
1937
|
+
path: ctx.path,
|
1938
|
+
parent: childCtx,
|
1939
|
+
});
|
1940
|
+
if (result.status === "valid") {
|
1941
|
+
return result;
|
1942
|
+
}
|
1943
|
+
else if (result.status === "dirty" && !dirty) {
|
1944
|
+
dirty = { result, ctx: childCtx };
|
1945
|
+
}
|
1946
|
+
if (childCtx.common.issues.length) {
|
1947
|
+
issues.push(childCtx.common.issues);
|
1948
|
+
}
|
1949
|
+
}
|
1950
|
+
if (dirty) {
|
1951
|
+
ctx.common.issues.push(...dirty.ctx.common.issues);
|
1952
|
+
return dirty.result;
|
1953
|
+
}
|
1954
|
+
const unionErrors = issues.map((issues) => new ZodError_1.ZodError(issues));
|
1955
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
1956
|
+
code: ZodError_1.ZodIssueCode.invalid_union,
|
1957
|
+
unionErrors,
|
1958
|
+
});
|
1959
|
+
return parseUtil_1.INVALID;
|
1960
|
+
}
|
1961
|
+
}
|
1962
|
+
get options() {
|
1963
|
+
return this._def.options;
|
1964
|
+
}
|
1965
|
+
}
|
1966
|
+
exports.ZodUnion = ZodUnion;
|
1967
|
+
ZodUnion.create = (types, params) => {
|
1968
|
+
return new ZodUnion({
|
1969
|
+
options: types,
|
1970
|
+
typeName: ZodFirstPartyTypeKind.ZodUnion,
|
1971
|
+
...processCreateParams(params),
|
1972
|
+
});
|
1973
|
+
};
|
1974
|
+
const getDiscriminator = (type) => {
|
1975
|
+
if (type instanceof ZodLazy) {
|
1976
|
+
return getDiscriminator(type.schema);
|
1977
|
+
}
|
1978
|
+
else if (type instanceof ZodEffects) {
|
1979
|
+
return getDiscriminator(type.innerType());
|
1980
|
+
}
|
1981
|
+
else if (type instanceof ZodLiteral) {
|
1982
|
+
return [type.value];
|
1983
|
+
}
|
1984
|
+
else if (type instanceof ZodEnum) {
|
1985
|
+
return type.options;
|
1986
|
+
}
|
1987
|
+
else if (type instanceof ZodNativeEnum) {
|
1988
|
+
return Object.keys(type.enum);
|
1989
|
+
}
|
1990
|
+
else if (type instanceof ZodDefault) {
|
1991
|
+
return getDiscriminator(type._def.innerType);
|
1992
|
+
}
|
1993
|
+
else if (type instanceof ZodUndefined) {
|
1994
|
+
return [undefined];
|
1995
|
+
}
|
1996
|
+
else if (type instanceof ZodNull) {
|
1997
|
+
return [null];
|
1998
|
+
}
|
1999
|
+
else {
|
2000
|
+
return null;
|
2001
|
+
}
|
2002
|
+
};
|
2003
|
+
class ZodDiscriminatedUnion extends ZodType {
|
2004
|
+
_parse(input) {
|
2005
|
+
const { ctx } = this._processInputParams(input);
|
2006
|
+
if (ctx.parsedType !== util_1.ZodParsedType.object) {
|
2007
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
2008
|
+
code: ZodError_1.ZodIssueCode.invalid_type,
|
2009
|
+
expected: util_1.ZodParsedType.object,
|
2010
|
+
received: ctx.parsedType,
|
2011
|
+
});
|
2012
|
+
return parseUtil_1.INVALID;
|
2013
|
+
}
|
2014
|
+
const discriminator = this.discriminator;
|
2015
|
+
const discriminatorValue = ctx.data[discriminator];
|
2016
|
+
const option = this.optionsMap.get(discriminatorValue);
|
2017
|
+
if (!option) {
|
2018
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
2019
|
+
code: ZodError_1.ZodIssueCode.invalid_union_discriminator,
|
2020
|
+
options: Array.from(this.optionsMap.keys()),
|
2021
|
+
path: [discriminator],
|
2022
|
+
});
|
2023
|
+
return parseUtil_1.INVALID;
|
2024
|
+
}
|
2025
|
+
if (ctx.common.async) {
|
2026
|
+
return option._parseAsync({
|
2027
|
+
data: ctx.data,
|
2028
|
+
path: ctx.path,
|
2029
|
+
parent: ctx,
|
2030
|
+
});
|
2031
|
+
}
|
2032
|
+
else {
|
2033
|
+
return option._parseSync({
|
2034
|
+
data: ctx.data,
|
2035
|
+
path: ctx.path,
|
2036
|
+
parent: ctx,
|
2037
|
+
});
|
2038
|
+
}
|
2039
|
+
}
|
2040
|
+
get discriminator() {
|
2041
|
+
return this._def.discriminator;
|
2042
|
+
}
|
2043
|
+
get options() {
|
2044
|
+
return this._def.options;
|
2045
|
+
}
|
2046
|
+
get optionsMap() {
|
2047
|
+
return this._def.optionsMap;
|
2048
|
+
}
|
2049
|
+
static create(discriminator, options, params) {
|
2050
|
+
const optionsMap = new Map();
|
2051
|
+
for (const type of options) {
|
2052
|
+
const discriminatorValues = getDiscriminator(type.shape[discriminator]);
|
2053
|
+
if (!discriminatorValues) {
|
2054
|
+
throw new Error(`A discriminator value for key \`${discriminator}\` could not be extracted from all schema options`);
|
2055
|
+
}
|
2056
|
+
for (const value of discriminatorValues) {
|
2057
|
+
if (optionsMap.has(value)) {
|
2058
|
+
throw new Error(`Discriminator property ${String(discriminator)} has duplicate value ${String(value)}`);
|
2059
|
+
}
|
2060
|
+
optionsMap.set(value, type);
|
2061
|
+
}
|
2062
|
+
}
|
2063
|
+
return new ZodDiscriminatedUnion({
|
2064
|
+
typeName: ZodFirstPartyTypeKind.ZodDiscriminatedUnion,
|
2065
|
+
discriminator,
|
2066
|
+
options,
|
2067
|
+
optionsMap,
|
2068
|
+
...processCreateParams(params),
|
2069
|
+
});
|
2070
|
+
}
|
2071
|
+
}
|
2072
|
+
exports.ZodDiscriminatedUnion = ZodDiscriminatedUnion;
|
2073
|
+
function mergeValues(a, b) {
|
2074
|
+
const aType = (0, util_1.getParsedType)(a);
|
2075
|
+
const bType = (0, util_1.getParsedType)(b);
|
2076
|
+
if (a === b) {
|
2077
|
+
return { valid: true, data: a };
|
2078
|
+
}
|
2079
|
+
else if (aType === util_1.ZodParsedType.object && bType === util_1.ZodParsedType.object) {
|
2080
|
+
const bKeys = util_1.util.objectKeys(b);
|
2081
|
+
const sharedKeys = util_1.util
|
2082
|
+
.objectKeys(a)
|
2083
|
+
.filter((key) => bKeys.indexOf(key) !== -1);
|
2084
|
+
const newObj = { ...a, ...b };
|
2085
|
+
for (const key of sharedKeys) {
|
2086
|
+
const sharedValue = mergeValues(a[key], b[key]);
|
2087
|
+
if (!sharedValue.valid) {
|
2088
|
+
return { valid: false };
|
2089
|
+
}
|
2090
|
+
newObj[key] = sharedValue.data;
|
2091
|
+
}
|
2092
|
+
return { valid: true, data: newObj };
|
2093
|
+
}
|
2094
|
+
else if (aType === util_1.ZodParsedType.array && bType === util_1.ZodParsedType.array) {
|
2095
|
+
if (a.length !== b.length) {
|
2096
|
+
return { valid: false };
|
2097
|
+
}
|
2098
|
+
const newArray = [];
|
2099
|
+
for (let index = 0; index < a.length; index++) {
|
2100
|
+
const itemA = a[index];
|
2101
|
+
const itemB = b[index];
|
2102
|
+
const sharedValue = mergeValues(itemA, itemB);
|
2103
|
+
if (!sharedValue.valid) {
|
2104
|
+
return { valid: false };
|
2105
|
+
}
|
2106
|
+
newArray.push(sharedValue.data);
|
2107
|
+
}
|
2108
|
+
return { valid: true, data: newArray };
|
2109
|
+
}
|
2110
|
+
else if (aType === util_1.ZodParsedType.date &&
|
2111
|
+
bType === util_1.ZodParsedType.date &&
|
2112
|
+
+a === +b) {
|
2113
|
+
return { valid: true, data: a };
|
2114
|
+
}
|
2115
|
+
else {
|
2116
|
+
return { valid: false };
|
2117
|
+
}
|
2118
|
+
}
|
2119
|
+
class ZodIntersection extends ZodType {
|
2120
|
+
_parse(input) {
|
2121
|
+
const { status, ctx } = this._processInputParams(input);
|
2122
|
+
const handleParsed = (parsedLeft, parsedRight) => {
|
2123
|
+
if ((0, parseUtil_1.isAborted)(parsedLeft) || (0, parseUtil_1.isAborted)(parsedRight)) {
|
2124
|
+
return parseUtil_1.INVALID;
|
2125
|
+
}
|
2126
|
+
const merged = mergeValues(parsedLeft.value, parsedRight.value);
|
2127
|
+
if (!merged.valid) {
|
2128
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
2129
|
+
code: ZodError_1.ZodIssueCode.invalid_intersection_types,
|
2130
|
+
});
|
2131
|
+
return parseUtil_1.INVALID;
|
2132
|
+
}
|
2133
|
+
if ((0, parseUtil_1.isDirty)(parsedLeft) || (0, parseUtil_1.isDirty)(parsedRight)) {
|
2134
|
+
status.dirty();
|
2135
|
+
}
|
2136
|
+
return { status: status.value, value: merged.data };
|
2137
|
+
};
|
2138
|
+
if (ctx.common.async) {
|
2139
|
+
return Promise.all([
|
2140
|
+
this._def.left._parseAsync({
|
2141
|
+
data: ctx.data,
|
2142
|
+
path: ctx.path,
|
2143
|
+
parent: ctx,
|
2144
|
+
}),
|
2145
|
+
this._def.right._parseAsync({
|
2146
|
+
data: ctx.data,
|
2147
|
+
path: ctx.path,
|
2148
|
+
parent: ctx,
|
2149
|
+
}),
|
2150
|
+
]).then(([left, right]) => handleParsed(left, right));
|
2151
|
+
}
|
2152
|
+
else {
|
2153
|
+
return handleParsed(this._def.left._parseSync({
|
2154
|
+
data: ctx.data,
|
2155
|
+
path: ctx.path,
|
2156
|
+
parent: ctx,
|
2157
|
+
}), this._def.right._parseSync({
|
2158
|
+
data: ctx.data,
|
2159
|
+
path: ctx.path,
|
2160
|
+
parent: ctx,
|
2161
|
+
}));
|
2162
|
+
}
|
2163
|
+
}
|
2164
|
+
}
|
2165
|
+
exports.ZodIntersection = ZodIntersection;
|
2166
|
+
ZodIntersection.create = (left, right, params) => {
|
2167
|
+
return new ZodIntersection({
|
2168
|
+
left: left,
|
2169
|
+
right: right,
|
2170
|
+
typeName: ZodFirstPartyTypeKind.ZodIntersection,
|
2171
|
+
...processCreateParams(params),
|
2172
|
+
});
|
2173
|
+
};
|
2174
|
+
class ZodTuple extends ZodType {
|
2175
|
+
_parse(input) {
|
2176
|
+
const { status, ctx } = this._processInputParams(input);
|
2177
|
+
if (ctx.parsedType !== util_1.ZodParsedType.array) {
|
2178
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
2179
|
+
code: ZodError_1.ZodIssueCode.invalid_type,
|
2180
|
+
expected: util_1.ZodParsedType.array,
|
2181
|
+
received: ctx.parsedType,
|
2182
|
+
});
|
2183
|
+
return parseUtil_1.INVALID;
|
2184
|
+
}
|
2185
|
+
if (ctx.data.length < this._def.items.length) {
|
2186
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
2187
|
+
code: ZodError_1.ZodIssueCode.too_small,
|
2188
|
+
minimum: this._def.items.length,
|
2189
|
+
inclusive: true,
|
2190
|
+
exact: false,
|
2191
|
+
type: "array",
|
2192
|
+
});
|
2193
|
+
return parseUtil_1.INVALID;
|
2194
|
+
}
|
2195
|
+
const rest = this._def.rest;
|
2196
|
+
if (!rest && ctx.data.length > this._def.items.length) {
|
2197
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
2198
|
+
code: ZodError_1.ZodIssueCode.too_big,
|
2199
|
+
maximum: this._def.items.length,
|
2200
|
+
inclusive: true,
|
2201
|
+
exact: false,
|
2202
|
+
type: "array",
|
2203
|
+
});
|
2204
|
+
status.dirty();
|
2205
|
+
}
|
2206
|
+
const items = [...ctx.data]
|
2207
|
+
.map((item, itemIndex) => {
|
2208
|
+
const schema = this._def.items[itemIndex] || this._def.rest;
|
2209
|
+
if (!schema)
|
2210
|
+
return null;
|
2211
|
+
return schema._parse(new ParseInputLazyPath(ctx, item, ctx.path, itemIndex));
|
2212
|
+
})
|
2213
|
+
.filter((x) => !!x);
|
2214
|
+
if (ctx.common.async) {
|
2215
|
+
return Promise.all(items).then((results) => {
|
2216
|
+
return parseUtil_1.ParseStatus.mergeArray(status, results);
|
2217
|
+
});
|
2218
|
+
}
|
2219
|
+
else {
|
2220
|
+
return parseUtil_1.ParseStatus.mergeArray(status, items);
|
2221
|
+
}
|
2222
|
+
}
|
2223
|
+
get items() {
|
2224
|
+
return this._def.items;
|
2225
|
+
}
|
2226
|
+
rest(rest) {
|
2227
|
+
return new ZodTuple({
|
2228
|
+
...this._def,
|
2229
|
+
rest,
|
2230
|
+
});
|
2231
|
+
}
|
2232
|
+
}
|
2233
|
+
exports.ZodTuple = ZodTuple;
|
2234
|
+
ZodTuple.create = (schemas, params) => {
|
2235
|
+
if (!Array.isArray(schemas)) {
|
2236
|
+
throw new Error("You must pass an array of schemas to z.tuple([ ... ])");
|
2237
|
+
}
|
2238
|
+
return new ZodTuple({
|
2239
|
+
items: schemas,
|
2240
|
+
typeName: ZodFirstPartyTypeKind.ZodTuple,
|
2241
|
+
rest: null,
|
2242
|
+
...processCreateParams(params),
|
2243
|
+
});
|
2244
|
+
};
|
2245
|
+
class ZodRecord extends ZodType {
|
2246
|
+
get keySchema() {
|
2247
|
+
return this._def.keyType;
|
2248
|
+
}
|
2249
|
+
get valueSchema() {
|
2250
|
+
return this._def.valueType;
|
2251
|
+
}
|
2252
|
+
_parse(input) {
|
2253
|
+
const { status, ctx } = this._processInputParams(input);
|
2254
|
+
if (ctx.parsedType !== util_1.ZodParsedType.object) {
|
2255
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
2256
|
+
code: ZodError_1.ZodIssueCode.invalid_type,
|
2257
|
+
expected: util_1.ZodParsedType.object,
|
2258
|
+
received: ctx.parsedType,
|
2259
|
+
});
|
2260
|
+
return parseUtil_1.INVALID;
|
2261
|
+
}
|
2262
|
+
const pairs = [];
|
2263
|
+
const keyType = this._def.keyType;
|
2264
|
+
const valueType = this._def.valueType;
|
2265
|
+
for (const key in ctx.data) {
|
2266
|
+
pairs.push({
|
2267
|
+
key: keyType._parse(new ParseInputLazyPath(ctx, key, ctx.path, key)),
|
2268
|
+
value: valueType._parse(new ParseInputLazyPath(ctx, ctx.data[key], ctx.path, key)),
|
2269
|
+
});
|
2270
|
+
}
|
2271
|
+
if (ctx.common.async) {
|
2272
|
+
return parseUtil_1.ParseStatus.mergeObjectAsync(status, pairs);
|
2273
|
+
}
|
2274
|
+
else {
|
2275
|
+
return parseUtil_1.ParseStatus.mergeObjectSync(status, pairs);
|
2276
|
+
}
|
2277
|
+
}
|
2278
|
+
get element() {
|
2279
|
+
return this._def.valueType;
|
2280
|
+
}
|
2281
|
+
static create(first, second, third) {
|
2282
|
+
if (second instanceof ZodType) {
|
2283
|
+
return new ZodRecord({
|
2284
|
+
keyType: first,
|
2285
|
+
valueType: second,
|
2286
|
+
typeName: ZodFirstPartyTypeKind.ZodRecord,
|
2287
|
+
...processCreateParams(third),
|
2288
|
+
});
|
2289
|
+
}
|
2290
|
+
return new ZodRecord({
|
2291
|
+
keyType: ZodString.create(),
|
2292
|
+
valueType: first,
|
2293
|
+
typeName: ZodFirstPartyTypeKind.ZodRecord,
|
2294
|
+
...processCreateParams(second),
|
2295
|
+
});
|
2296
|
+
}
|
2297
|
+
}
|
2298
|
+
exports.ZodRecord = ZodRecord;
|
2299
|
+
class ZodMap extends ZodType {
|
2300
|
+
_parse(input) {
|
2301
|
+
const { status, ctx } = this._processInputParams(input);
|
2302
|
+
if (ctx.parsedType !== util_1.ZodParsedType.map) {
|
2303
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
2304
|
+
code: ZodError_1.ZodIssueCode.invalid_type,
|
2305
|
+
expected: util_1.ZodParsedType.map,
|
2306
|
+
received: ctx.parsedType,
|
2307
|
+
});
|
2308
|
+
return parseUtil_1.INVALID;
|
2309
|
+
}
|
2310
|
+
const keyType = this._def.keyType;
|
2311
|
+
const valueType = this._def.valueType;
|
2312
|
+
const pairs = [...ctx.data.entries()].map(([key, value], index) => {
|
2313
|
+
return {
|
2314
|
+
key: keyType._parse(new ParseInputLazyPath(ctx, key, ctx.path, [index, "key"])),
|
2315
|
+
value: valueType._parse(new ParseInputLazyPath(ctx, value, ctx.path, [index, "value"])),
|
2316
|
+
};
|
2317
|
+
});
|
2318
|
+
if (ctx.common.async) {
|
2319
|
+
const finalMap = new Map();
|
2320
|
+
return Promise.resolve().then(async () => {
|
2321
|
+
for (const pair of pairs) {
|
2322
|
+
const key = await pair.key;
|
2323
|
+
const value = await pair.value;
|
2324
|
+
if (key.status === "aborted" || value.status === "aborted") {
|
2325
|
+
return parseUtil_1.INVALID;
|
2326
|
+
}
|
2327
|
+
if (key.status === "dirty" || value.status === "dirty") {
|
2328
|
+
status.dirty();
|
2329
|
+
}
|
2330
|
+
finalMap.set(key.value, value.value);
|
2331
|
+
}
|
2332
|
+
return { status: status.value, value: finalMap };
|
2333
|
+
});
|
2334
|
+
}
|
2335
|
+
else {
|
2336
|
+
const finalMap = new Map();
|
2337
|
+
for (const pair of pairs) {
|
2338
|
+
const key = pair.key;
|
2339
|
+
const value = pair.value;
|
2340
|
+
if (key.status === "aborted" || value.status === "aborted") {
|
2341
|
+
return parseUtil_1.INVALID;
|
2342
|
+
}
|
2343
|
+
if (key.status === "dirty" || value.status === "dirty") {
|
2344
|
+
status.dirty();
|
2345
|
+
}
|
2346
|
+
finalMap.set(key.value, value.value);
|
2347
|
+
}
|
2348
|
+
return { status: status.value, value: finalMap };
|
2349
|
+
}
|
2350
|
+
}
|
2351
|
+
}
|
2352
|
+
exports.ZodMap = ZodMap;
|
2353
|
+
ZodMap.create = (keyType, valueType, params) => {
|
2354
|
+
return new ZodMap({
|
2355
|
+
valueType,
|
2356
|
+
keyType,
|
2357
|
+
typeName: ZodFirstPartyTypeKind.ZodMap,
|
2358
|
+
...processCreateParams(params),
|
2359
|
+
});
|
2360
|
+
};
|
2361
|
+
class ZodSet extends ZodType {
|
2362
|
+
_parse(input) {
|
2363
|
+
const { status, ctx } = this._processInputParams(input);
|
2364
|
+
if (ctx.parsedType !== util_1.ZodParsedType.set) {
|
2365
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
2366
|
+
code: ZodError_1.ZodIssueCode.invalid_type,
|
2367
|
+
expected: util_1.ZodParsedType.set,
|
2368
|
+
received: ctx.parsedType,
|
2369
|
+
});
|
2370
|
+
return parseUtil_1.INVALID;
|
2371
|
+
}
|
2372
|
+
const def = this._def;
|
2373
|
+
if (def.minSize !== null) {
|
2374
|
+
if (ctx.data.size < def.minSize.value) {
|
2375
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
2376
|
+
code: ZodError_1.ZodIssueCode.too_small,
|
2377
|
+
minimum: def.minSize.value,
|
2378
|
+
type: "set",
|
2379
|
+
inclusive: true,
|
2380
|
+
exact: false,
|
2381
|
+
message: def.minSize.message,
|
2382
|
+
});
|
2383
|
+
status.dirty();
|
2384
|
+
}
|
2385
|
+
}
|
2386
|
+
if (def.maxSize !== null) {
|
2387
|
+
if (ctx.data.size > def.maxSize.value) {
|
2388
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
2389
|
+
code: ZodError_1.ZodIssueCode.too_big,
|
2390
|
+
maximum: def.maxSize.value,
|
2391
|
+
type: "set",
|
2392
|
+
inclusive: true,
|
2393
|
+
exact: false,
|
2394
|
+
message: def.maxSize.message,
|
2395
|
+
});
|
2396
|
+
status.dirty();
|
2397
|
+
}
|
2398
|
+
}
|
2399
|
+
const valueType = this._def.valueType;
|
2400
|
+
function finalizeSet(elements) {
|
2401
|
+
const parsedSet = new Set();
|
2402
|
+
for (const element of elements) {
|
2403
|
+
if (element.status === "aborted")
|
2404
|
+
return parseUtil_1.INVALID;
|
2405
|
+
if (element.status === "dirty")
|
2406
|
+
status.dirty();
|
2407
|
+
parsedSet.add(element.value);
|
2408
|
+
}
|
2409
|
+
return { status: status.value, value: parsedSet };
|
2410
|
+
}
|
2411
|
+
const elements = [...ctx.data.values()].map((item, i) => valueType._parse(new ParseInputLazyPath(ctx, item, ctx.path, i)));
|
2412
|
+
if (ctx.common.async) {
|
2413
|
+
return Promise.all(elements).then((elements) => finalizeSet(elements));
|
2414
|
+
}
|
2415
|
+
else {
|
2416
|
+
return finalizeSet(elements);
|
2417
|
+
}
|
2418
|
+
}
|
2419
|
+
min(minSize, message) {
|
2420
|
+
return new ZodSet({
|
2421
|
+
...this._def,
|
2422
|
+
minSize: { value: minSize, message: errorUtil_1.errorUtil.toString(message) },
|
2423
|
+
});
|
2424
|
+
}
|
2425
|
+
max(maxSize, message) {
|
2426
|
+
return new ZodSet({
|
2427
|
+
...this._def,
|
2428
|
+
maxSize: { value: maxSize, message: errorUtil_1.errorUtil.toString(message) },
|
2429
|
+
});
|
2430
|
+
}
|
2431
|
+
size(size, message) {
|
2432
|
+
return this.min(size, message).max(size, message);
|
2433
|
+
}
|
2434
|
+
nonempty(message) {
|
2435
|
+
return this.min(1, message);
|
2436
|
+
}
|
2437
|
+
}
|
2438
|
+
exports.ZodSet = ZodSet;
|
2439
|
+
ZodSet.create = (valueType, params) => {
|
2440
|
+
return new ZodSet({
|
2441
|
+
valueType,
|
2442
|
+
minSize: null,
|
2443
|
+
maxSize: null,
|
2444
|
+
typeName: ZodFirstPartyTypeKind.ZodSet,
|
2445
|
+
...processCreateParams(params),
|
2446
|
+
});
|
2447
|
+
};
|
2448
|
+
class ZodFunction extends ZodType {
|
2449
|
+
constructor() {
|
2450
|
+
super(...arguments);
|
2451
|
+
this.validate = this.implement;
|
2452
|
+
}
|
2453
|
+
_parse(input) {
|
2454
|
+
const { ctx } = this._processInputParams(input);
|
2455
|
+
if (ctx.parsedType !== util_1.ZodParsedType.function) {
|
2456
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
2457
|
+
code: ZodError_1.ZodIssueCode.invalid_type,
|
2458
|
+
expected: util_1.ZodParsedType.function,
|
2459
|
+
received: ctx.parsedType,
|
2460
|
+
});
|
2461
|
+
return parseUtil_1.INVALID;
|
2462
|
+
}
|
2463
|
+
function makeArgsIssue(args, error) {
|
2464
|
+
return (0, parseUtil_1.makeIssue)({
|
2465
|
+
data: args,
|
2466
|
+
path: ctx.path,
|
2467
|
+
errorMaps: [
|
2468
|
+
ctx.common.contextualErrorMap,
|
2469
|
+
ctx.schemaErrorMap,
|
2470
|
+
(0, errors_1.getErrorMap)(),
|
2471
|
+
errors_1.defaultErrorMap,
|
2472
|
+
].filter((x) => !!x),
|
2473
|
+
issueData: {
|
2474
|
+
code: ZodError_1.ZodIssueCode.invalid_arguments,
|
2475
|
+
argumentsError: error,
|
2476
|
+
},
|
2477
|
+
});
|
2478
|
+
}
|
2479
|
+
function makeReturnsIssue(returns, error) {
|
2480
|
+
return (0, parseUtil_1.makeIssue)({
|
2481
|
+
data: returns,
|
2482
|
+
path: ctx.path,
|
2483
|
+
errorMaps: [
|
2484
|
+
ctx.common.contextualErrorMap,
|
2485
|
+
ctx.schemaErrorMap,
|
2486
|
+
(0, errors_1.getErrorMap)(),
|
2487
|
+
errors_1.defaultErrorMap,
|
2488
|
+
].filter((x) => !!x),
|
2489
|
+
issueData: {
|
2490
|
+
code: ZodError_1.ZodIssueCode.invalid_return_type,
|
2491
|
+
returnTypeError: error,
|
2492
|
+
},
|
2493
|
+
});
|
2494
|
+
}
|
2495
|
+
const params = { errorMap: ctx.common.contextualErrorMap };
|
2496
|
+
const fn = ctx.data;
|
2497
|
+
if (this._def.returns instanceof ZodPromise) {
|
2498
|
+
return (0, parseUtil_1.OK)(async (...args) => {
|
2499
|
+
const error = new ZodError_1.ZodError([]);
|
2500
|
+
const parsedArgs = await this._def.args
|
2501
|
+
.parseAsync(args, params)
|
2502
|
+
.catch((e) => {
|
2503
|
+
error.addIssue(makeArgsIssue(args, e));
|
2504
|
+
throw error;
|
2505
|
+
});
|
2506
|
+
const result = await fn(...parsedArgs);
|
2507
|
+
const parsedReturns = await this._def.returns._def.type
|
2508
|
+
.parseAsync(result, params)
|
2509
|
+
.catch((e) => {
|
2510
|
+
error.addIssue(makeReturnsIssue(result, e));
|
2511
|
+
throw error;
|
2512
|
+
});
|
2513
|
+
return parsedReturns;
|
2514
|
+
});
|
2515
|
+
}
|
2516
|
+
else {
|
2517
|
+
return (0, parseUtil_1.OK)((...args) => {
|
2518
|
+
const parsedArgs = this._def.args.safeParse(args, params);
|
2519
|
+
if (!parsedArgs.success) {
|
2520
|
+
throw new ZodError_1.ZodError([makeArgsIssue(args, parsedArgs.error)]);
|
2521
|
+
}
|
2522
|
+
const result = fn(...parsedArgs.data);
|
2523
|
+
const parsedReturns = this._def.returns.safeParse(result, params);
|
2524
|
+
if (!parsedReturns.success) {
|
2525
|
+
throw new ZodError_1.ZodError([makeReturnsIssue(result, parsedReturns.error)]);
|
2526
|
+
}
|
2527
|
+
return parsedReturns.data;
|
2528
|
+
});
|
2529
|
+
}
|
2530
|
+
}
|
2531
|
+
parameters() {
|
2532
|
+
return this._def.args;
|
2533
|
+
}
|
2534
|
+
returnType() {
|
2535
|
+
return this._def.returns;
|
2536
|
+
}
|
2537
|
+
args(...items) {
|
2538
|
+
return new ZodFunction({
|
2539
|
+
...this._def,
|
2540
|
+
args: ZodTuple.create(items).rest(ZodUnknown.create()),
|
2541
|
+
});
|
2542
|
+
}
|
2543
|
+
returns(returnType) {
|
2544
|
+
return new ZodFunction({
|
2545
|
+
...this._def,
|
2546
|
+
returns: returnType,
|
2547
|
+
});
|
2548
|
+
}
|
2549
|
+
implement(func) {
|
2550
|
+
const validatedFunc = this.parse(func);
|
2551
|
+
return validatedFunc;
|
2552
|
+
}
|
2553
|
+
strictImplement(func) {
|
2554
|
+
const validatedFunc = this.parse(func);
|
2555
|
+
return validatedFunc;
|
2556
|
+
}
|
2557
|
+
static create(args, returns, params) {
|
2558
|
+
return new ZodFunction({
|
2559
|
+
args: (args
|
2560
|
+
? args
|
2561
|
+
: ZodTuple.create([]).rest(ZodUnknown.create())),
|
2562
|
+
returns: returns || ZodUnknown.create(),
|
2563
|
+
typeName: ZodFirstPartyTypeKind.ZodFunction,
|
2564
|
+
...processCreateParams(params),
|
2565
|
+
});
|
2566
|
+
}
|
2567
|
+
}
|
2568
|
+
exports.ZodFunction = ZodFunction;
|
2569
|
+
class ZodLazy extends ZodType {
|
2570
|
+
get schema() {
|
2571
|
+
return this._def.getter();
|
2572
|
+
}
|
2573
|
+
_parse(input) {
|
2574
|
+
const { ctx } = this._processInputParams(input);
|
2575
|
+
const lazySchema = this._def.getter();
|
2576
|
+
return lazySchema._parse({ data: ctx.data, path: ctx.path, parent: ctx });
|
2577
|
+
}
|
2578
|
+
}
|
2579
|
+
exports.ZodLazy = ZodLazy;
|
2580
|
+
ZodLazy.create = (getter, params) => {
|
2581
|
+
return new ZodLazy({
|
2582
|
+
getter: getter,
|
2583
|
+
typeName: ZodFirstPartyTypeKind.ZodLazy,
|
2584
|
+
...processCreateParams(params),
|
2585
|
+
});
|
2586
|
+
};
|
2587
|
+
class ZodLiteral extends ZodType {
|
2588
|
+
_parse(input) {
|
2589
|
+
if (input.data !== this._def.value) {
|
2590
|
+
const ctx = this._getOrReturnCtx(input);
|
2591
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
2592
|
+
received: ctx.data,
|
2593
|
+
code: ZodError_1.ZodIssueCode.invalid_literal,
|
2594
|
+
expected: this._def.value,
|
2595
|
+
});
|
2596
|
+
return parseUtil_1.INVALID;
|
2597
|
+
}
|
2598
|
+
return { status: "valid", value: input.data };
|
2599
|
+
}
|
2600
|
+
get value() {
|
2601
|
+
return this._def.value;
|
2602
|
+
}
|
2603
|
+
}
|
2604
|
+
exports.ZodLiteral = ZodLiteral;
|
2605
|
+
ZodLiteral.create = (value, params) => {
|
2606
|
+
return new ZodLiteral({
|
2607
|
+
value: value,
|
2608
|
+
typeName: ZodFirstPartyTypeKind.ZodLiteral,
|
2609
|
+
...processCreateParams(params),
|
2610
|
+
});
|
2611
|
+
};
|
2612
|
+
function createZodEnum(values, params) {
|
2613
|
+
return new ZodEnum({
|
2614
|
+
values: values,
|
2615
|
+
typeName: ZodFirstPartyTypeKind.ZodEnum,
|
2616
|
+
...processCreateParams(params),
|
2617
|
+
});
|
2618
|
+
}
|
2619
|
+
class ZodEnum extends ZodType {
|
2620
|
+
_parse(input) {
|
2621
|
+
if (typeof input.data !== "string") {
|
2622
|
+
const ctx = this._getOrReturnCtx(input);
|
2623
|
+
const expectedValues = this._def.values;
|
2624
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
2625
|
+
expected: util_1.util.joinValues(expectedValues),
|
2626
|
+
received: ctx.parsedType,
|
2627
|
+
code: ZodError_1.ZodIssueCode.invalid_type,
|
2628
|
+
});
|
2629
|
+
return parseUtil_1.INVALID;
|
2630
|
+
}
|
2631
|
+
if (this._def.values.indexOf(input.data) === -1) {
|
2632
|
+
const ctx = this._getOrReturnCtx(input);
|
2633
|
+
const expectedValues = this._def.values;
|
2634
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
2635
|
+
received: ctx.data,
|
2636
|
+
code: ZodError_1.ZodIssueCode.invalid_enum_value,
|
2637
|
+
options: expectedValues,
|
2638
|
+
});
|
2639
|
+
return parseUtil_1.INVALID;
|
2640
|
+
}
|
2641
|
+
return (0, parseUtil_1.OK)(input.data);
|
2642
|
+
}
|
2643
|
+
get options() {
|
2644
|
+
return this._def.values;
|
2645
|
+
}
|
2646
|
+
get enum() {
|
2647
|
+
const enumValues = {};
|
2648
|
+
for (const val of this._def.values) {
|
2649
|
+
enumValues[val] = val;
|
2650
|
+
}
|
2651
|
+
return enumValues;
|
2652
|
+
}
|
2653
|
+
get Values() {
|
2654
|
+
const enumValues = {};
|
2655
|
+
for (const val of this._def.values) {
|
2656
|
+
enumValues[val] = val;
|
2657
|
+
}
|
2658
|
+
return enumValues;
|
2659
|
+
}
|
2660
|
+
get Enum() {
|
2661
|
+
const enumValues = {};
|
2662
|
+
for (const val of this._def.values) {
|
2663
|
+
enumValues[val] = val;
|
2664
|
+
}
|
2665
|
+
return enumValues;
|
2666
|
+
}
|
2667
|
+
extract(values) {
|
2668
|
+
return ZodEnum.create(values);
|
2669
|
+
}
|
2670
|
+
exclude(values) {
|
2671
|
+
return ZodEnum.create(this.options.filter((opt) => !values.includes(opt)));
|
2672
|
+
}
|
2673
|
+
}
|
2674
|
+
exports.ZodEnum = ZodEnum;
|
2675
|
+
ZodEnum.create = createZodEnum;
|
2676
|
+
class ZodNativeEnum extends ZodType {
|
2677
|
+
_parse(input) {
|
2678
|
+
const nativeEnumValues = util_1.util.getValidEnumValues(this._def.values);
|
2679
|
+
const ctx = this._getOrReturnCtx(input);
|
2680
|
+
if (ctx.parsedType !== util_1.ZodParsedType.string &&
|
2681
|
+
ctx.parsedType !== util_1.ZodParsedType.number) {
|
2682
|
+
const expectedValues = util_1.util.objectValues(nativeEnumValues);
|
2683
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
2684
|
+
expected: util_1.util.joinValues(expectedValues),
|
2685
|
+
received: ctx.parsedType,
|
2686
|
+
code: ZodError_1.ZodIssueCode.invalid_type,
|
2687
|
+
});
|
2688
|
+
return parseUtil_1.INVALID;
|
2689
|
+
}
|
2690
|
+
if (nativeEnumValues.indexOf(input.data) === -1) {
|
2691
|
+
const expectedValues = util_1.util.objectValues(nativeEnumValues);
|
2692
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
2693
|
+
received: ctx.data,
|
2694
|
+
code: ZodError_1.ZodIssueCode.invalid_enum_value,
|
2695
|
+
options: expectedValues,
|
2696
|
+
});
|
2697
|
+
return parseUtil_1.INVALID;
|
2698
|
+
}
|
2699
|
+
return (0, parseUtil_1.OK)(input.data);
|
2700
|
+
}
|
2701
|
+
get enum() {
|
2702
|
+
return this._def.values;
|
2703
|
+
}
|
2704
|
+
}
|
2705
|
+
exports.ZodNativeEnum = ZodNativeEnum;
|
2706
|
+
ZodNativeEnum.create = (values, params) => {
|
2707
|
+
return new ZodNativeEnum({
|
2708
|
+
values: values,
|
2709
|
+
typeName: ZodFirstPartyTypeKind.ZodNativeEnum,
|
2710
|
+
...processCreateParams(params),
|
2711
|
+
});
|
2712
|
+
};
|
2713
|
+
class ZodPromise extends ZodType {
|
2714
|
+
unwrap() {
|
2715
|
+
return this._def.type;
|
2716
|
+
}
|
2717
|
+
_parse(input) {
|
2718
|
+
const { ctx } = this._processInputParams(input);
|
2719
|
+
if (ctx.parsedType !== util_1.ZodParsedType.promise &&
|
2720
|
+
ctx.common.async === false) {
|
2721
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
2722
|
+
code: ZodError_1.ZodIssueCode.invalid_type,
|
2723
|
+
expected: util_1.ZodParsedType.promise,
|
2724
|
+
received: ctx.parsedType,
|
2725
|
+
});
|
2726
|
+
return parseUtil_1.INVALID;
|
2727
|
+
}
|
2728
|
+
const promisified = ctx.parsedType === util_1.ZodParsedType.promise
|
2729
|
+
? ctx.data
|
2730
|
+
: Promise.resolve(ctx.data);
|
2731
|
+
return (0, parseUtil_1.OK)(promisified.then((data) => {
|
2732
|
+
return this._def.type.parseAsync(data, {
|
2733
|
+
path: ctx.path,
|
2734
|
+
errorMap: ctx.common.contextualErrorMap,
|
2735
|
+
});
|
2736
|
+
}));
|
2737
|
+
}
|
2738
|
+
}
|
2739
|
+
exports.ZodPromise = ZodPromise;
|
2740
|
+
ZodPromise.create = (schema, params) => {
|
2741
|
+
return new ZodPromise({
|
2742
|
+
type: schema,
|
2743
|
+
typeName: ZodFirstPartyTypeKind.ZodPromise,
|
2744
|
+
...processCreateParams(params),
|
2745
|
+
});
|
2746
|
+
};
|
2747
|
+
class ZodEffects extends ZodType {
|
2748
|
+
innerType() {
|
2749
|
+
return this._def.schema;
|
2750
|
+
}
|
2751
|
+
sourceType() {
|
2752
|
+
return this._def.schema._def.typeName === ZodFirstPartyTypeKind.ZodEffects
|
2753
|
+
? this._def.schema.sourceType()
|
2754
|
+
: this._def.schema;
|
2755
|
+
}
|
2756
|
+
_parse(input) {
|
2757
|
+
const { status, ctx } = this._processInputParams(input);
|
2758
|
+
const effect = this._def.effect || null;
|
2759
|
+
if (effect.type === "preprocess") {
|
2760
|
+
const processed = effect.transform(ctx.data);
|
2761
|
+
if (ctx.common.async) {
|
2762
|
+
return Promise.resolve(processed).then((processed) => {
|
2763
|
+
return this._def.schema._parseAsync({
|
2764
|
+
data: processed,
|
2765
|
+
path: ctx.path,
|
2766
|
+
parent: ctx,
|
2767
|
+
});
|
2768
|
+
});
|
2769
|
+
}
|
2770
|
+
else {
|
2771
|
+
return this._def.schema._parseSync({
|
2772
|
+
data: processed,
|
2773
|
+
path: ctx.path,
|
2774
|
+
parent: ctx,
|
2775
|
+
});
|
2776
|
+
}
|
2777
|
+
}
|
2778
|
+
const checkCtx = {
|
2779
|
+
addIssue: (arg) => {
|
2780
|
+
(0, parseUtil_1.addIssueToContext)(ctx, arg);
|
2781
|
+
if (arg.fatal) {
|
2782
|
+
status.abort();
|
2783
|
+
}
|
2784
|
+
else {
|
2785
|
+
status.dirty();
|
2786
|
+
}
|
2787
|
+
},
|
2788
|
+
get path() {
|
2789
|
+
return ctx.path;
|
2790
|
+
},
|
2791
|
+
};
|
2792
|
+
checkCtx.addIssue = checkCtx.addIssue.bind(checkCtx);
|
2793
|
+
if (effect.type === "refinement") {
|
2794
|
+
const executeRefinement = (acc) => {
|
2795
|
+
const result = effect.refinement(acc, checkCtx);
|
2796
|
+
if (ctx.common.async) {
|
2797
|
+
return Promise.resolve(result);
|
2798
|
+
}
|
2799
|
+
if (result instanceof Promise) {
|
2800
|
+
throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");
|
2801
|
+
}
|
2802
|
+
return acc;
|
2803
|
+
};
|
2804
|
+
if (ctx.common.async === false) {
|
2805
|
+
const inner = this._def.schema._parseSync({
|
2806
|
+
data: ctx.data,
|
2807
|
+
path: ctx.path,
|
2808
|
+
parent: ctx,
|
2809
|
+
});
|
2810
|
+
if (inner.status === "aborted")
|
2811
|
+
return parseUtil_1.INVALID;
|
2812
|
+
if (inner.status === "dirty")
|
2813
|
+
status.dirty();
|
2814
|
+
executeRefinement(inner.value);
|
2815
|
+
return { status: status.value, value: inner.value };
|
2816
|
+
}
|
2817
|
+
else {
|
2818
|
+
return this._def.schema
|
2819
|
+
._parseAsync({ data: ctx.data, path: ctx.path, parent: ctx })
|
2820
|
+
.then((inner) => {
|
2821
|
+
if (inner.status === "aborted")
|
2822
|
+
return parseUtil_1.INVALID;
|
2823
|
+
if (inner.status === "dirty")
|
2824
|
+
status.dirty();
|
2825
|
+
return executeRefinement(inner.value).then(() => {
|
2826
|
+
return { status: status.value, value: inner.value };
|
2827
|
+
});
|
2828
|
+
});
|
2829
|
+
}
|
2830
|
+
}
|
2831
|
+
if (effect.type === "transform") {
|
2832
|
+
if (ctx.common.async === false) {
|
2833
|
+
const base = this._def.schema._parseSync({
|
2834
|
+
data: ctx.data,
|
2835
|
+
path: ctx.path,
|
2836
|
+
parent: ctx,
|
2837
|
+
});
|
2838
|
+
if (!(0, parseUtil_1.isValid)(base))
|
2839
|
+
return base;
|
2840
|
+
const result = effect.transform(base.value, checkCtx);
|
2841
|
+
if (result instanceof Promise) {
|
2842
|
+
throw new Error(`Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.`);
|
2843
|
+
}
|
2844
|
+
return { status: status.value, value: result };
|
2845
|
+
}
|
2846
|
+
else {
|
2847
|
+
return this._def.schema
|
2848
|
+
._parseAsync({ data: ctx.data, path: ctx.path, parent: ctx })
|
2849
|
+
.then((base) => {
|
2850
|
+
if (!(0, parseUtil_1.isValid)(base))
|
2851
|
+
return base;
|
2852
|
+
return Promise.resolve(effect.transform(base.value, checkCtx)).then((result) => ({ status: status.value, value: result }));
|
2853
|
+
});
|
2854
|
+
}
|
2855
|
+
}
|
2856
|
+
util_1.util.assertNever(effect);
|
2857
|
+
}
|
2858
|
+
}
|
2859
|
+
exports.ZodEffects = ZodEffects;
|
2860
|
+
exports.ZodTransformer = ZodEffects;
|
2861
|
+
ZodEffects.create = (schema, effect, params) => {
|
2862
|
+
return new ZodEffects({
|
2863
|
+
schema,
|
2864
|
+
typeName: ZodFirstPartyTypeKind.ZodEffects,
|
2865
|
+
effect,
|
2866
|
+
...processCreateParams(params),
|
2867
|
+
});
|
2868
|
+
};
|
2869
|
+
ZodEffects.createWithPreprocess = (preprocess, schema, params) => {
|
2870
|
+
return new ZodEffects({
|
2871
|
+
schema,
|
2872
|
+
effect: { type: "preprocess", transform: preprocess },
|
2873
|
+
typeName: ZodFirstPartyTypeKind.ZodEffects,
|
2874
|
+
...processCreateParams(params),
|
2875
|
+
});
|
2876
|
+
};
|
2877
|
+
class ZodOptional extends ZodType {
|
2878
|
+
_parse(input) {
|
2879
|
+
const parsedType = this._getType(input);
|
2880
|
+
if (parsedType === util_1.ZodParsedType.undefined) {
|
2881
|
+
return (0, parseUtil_1.OK)(undefined);
|
2882
|
+
}
|
2883
|
+
return this._def.innerType._parse(input);
|
2884
|
+
}
|
2885
|
+
unwrap() {
|
2886
|
+
return this._def.innerType;
|
2887
|
+
}
|
2888
|
+
}
|
2889
|
+
exports.ZodOptional = ZodOptional;
|
2890
|
+
ZodOptional.create = (type, params) => {
|
2891
|
+
return new ZodOptional({
|
2892
|
+
innerType: type,
|
2893
|
+
typeName: ZodFirstPartyTypeKind.ZodOptional,
|
2894
|
+
...processCreateParams(params),
|
2895
|
+
});
|
2896
|
+
};
|
2897
|
+
class ZodNullable extends ZodType {
|
2898
|
+
_parse(input) {
|
2899
|
+
const parsedType = this._getType(input);
|
2900
|
+
if (parsedType === util_1.ZodParsedType.null) {
|
2901
|
+
return (0, parseUtil_1.OK)(null);
|
2902
|
+
}
|
2903
|
+
return this._def.innerType._parse(input);
|
2904
|
+
}
|
2905
|
+
unwrap() {
|
2906
|
+
return this._def.innerType;
|
2907
|
+
}
|
2908
|
+
}
|
2909
|
+
exports.ZodNullable = ZodNullable;
|
2910
|
+
ZodNullable.create = (type, params) => {
|
2911
|
+
return new ZodNullable({
|
2912
|
+
innerType: type,
|
2913
|
+
typeName: ZodFirstPartyTypeKind.ZodNullable,
|
2914
|
+
...processCreateParams(params),
|
2915
|
+
});
|
2916
|
+
};
|
2917
|
+
class ZodDefault extends ZodType {
|
2918
|
+
_parse(input) {
|
2919
|
+
const { ctx } = this._processInputParams(input);
|
2920
|
+
let data = ctx.data;
|
2921
|
+
if (ctx.parsedType === util_1.ZodParsedType.undefined) {
|
2922
|
+
data = this._def.defaultValue();
|
2923
|
+
}
|
2924
|
+
return this._def.innerType._parse({
|
2925
|
+
data,
|
2926
|
+
path: ctx.path,
|
2927
|
+
parent: ctx,
|
2928
|
+
});
|
2929
|
+
}
|
2930
|
+
removeDefault() {
|
2931
|
+
return this._def.innerType;
|
2932
|
+
}
|
2933
|
+
}
|
2934
|
+
exports.ZodDefault = ZodDefault;
|
2935
|
+
ZodDefault.create = (type, params) => {
|
2936
|
+
return new ZodDefault({
|
2937
|
+
innerType: type,
|
2938
|
+
typeName: ZodFirstPartyTypeKind.ZodDefault,
|
2939
|
+
defaultValue: typeof params.default === "function"
|
2940
|
+
? params.default
|
2941
|
+
: () => params.default,
|
2942
|
+
...processCreateParams(params),
|
2943
|
+
});
|
2944
|
+
};
|
2945
|
+
class ZodCatch extends ZodType {
|
2946
|
+
_parse(input) {
|
2947
|
+
const { ctx } = this._processInputParams(input);
|
2948
|
+
const newCtx = {
|
2949
|
+
...ctx,
|
2950
|
+
common: {
|
2951
|
+
...ctx.common,
|
2952
|
+
issues: [],
|
2953
|
+
},
|
2954
|
+
};
|
2955
|
+
const result = this._def.innerType._parse({
|
2956
|
+
data: newCtx.data,
|
2957
|
+
path: newCtx.path,
|
2958
|
+
parent: {
|
2959
|
+
...newCtx,
|
2960
|
+
},
|
2961
|
+
});
|
2962
|
+
if ((0, parseUtil_1.isAsync)(result)) {
|
2963
|
+
return result.then((result) => {
|
2964
|
+
return {
|
2965
|
+
status: "valid",
|
2966
|
+
value: result.status === "valid"
|
2967
|
+
? result.value
|
2968
|
+
: this._def.catchValue({
|
2969
|
+
get error() {
|
2970
|
+
return new ZodError_1.ZodError(newCtx.common.issues);
|
2971
|
+
},
|
2972
|
+
input: newCtx.data,
|
2973
|
+
}),
|
2974
|
+
};
|
2975
|
+
});
|
2976
|
+
}
|
2977
|
+
else {
|
2978
|
+
return {
|
2979
|
+
status: "valid",
|
2980
|
+
value: result.status === "valid"
|
2981
|
+
? result.value
|
2982
|
+
: this._def.catchValue({
|
2983
|
+
get error() {
|
2984
|
+
return new ZodError_1.ZodError(newCtx.common.issues);
|
2985
|
+
},
|
2986
|
+
input: newCtx.data,
|
2987
|
+
}),
|
2988
|
+
};
|
2989
|
+
}
|
2990
|
+
}
|
2991
|
+
removeCatch() {
|
2992
|
+
return this._def.innerType;
|
2993
|
+
}
|
2994
|
+
}
|
2995
|
+
exports.ZodCatch = ZodCatch;
|
2996
|
+
ZodCatch.create = (type, params) => {
|
2997
|
+
return new ZodCatch({
|
2998
|
+
innerType: type,
|
2999
|
+
typeName: ZodFirstPartyTypeKind.ZodCatch,
|
3000
|
+
catchValue: typeof params.catch === "function" ? params.catch : () => params.catch,
|
3001
|
+
...processCreateParams(params),
|
3002
|
+
});
|
3003
|
+
};
|
3004
|
+
class ZodNaN extends ZodType {
|
3005
|
+
_parse(input) {
|
3006
|
+
const parsedType = this._getType(input);
|
3007
|
+
if (parsedType !== util_1.ZodParsedType.nan) {
|
3008
|
+
const ctx = this._getOrReturnCtx(input);
|
3009
|
+
(0, parseUtil_1.addIssueToContext)(ctx, {
|
3010
|
+
code: ZodError_1.ZodIssueCode.invalid_type,
|
3011
|
+
expected: util_1.ZodParsedType.nan,
|
3012
|
+
received: ctx.parsedType,
|
3013
|
+
});
|
3014
|
+
return parseUtil_1.INVALID;
|
3015
|
+
}
|
3016
|
+
return { status: "valid", value: input.data };
|
3017
|
+
}
|
3018
|
+
}
|
3019
|
+
exports.ZodNaN = ZodNaN;
|
3020
|
+
ZodNaN.create = (params) => {
|
3021
|
+
return new ZodNaN({
|
3022
|
+
typeName: ZodFirstPartyTypeKind.ZodNaN,
|
3023
|
+
...processCreateParams(params),
|
3024
|
+
});
|
3025
|
+
};
|
3026
|
+
exports.BRAND = Symbol("zod_brand");
|
3027
|
+
class ZodBranded extends ZodType {
|
3028
|
+
_parse(input) {
|
3029
|
+
const { ctx } = this._processInputParams(input);
|
3030
|
+
const data = ctx.data;
|
3031
|
+
return this._def.type._parse({
|
3032
|
+
data,
|
3033
|
+
path: ctx.path,
|
3034
|
+
parent: ctx,
|
3035
|
+
});
|
3036
|
+
}
|
3037
|
+
unwrap() {
|
3038
|
+
return this._def.type;
|
3039
|
+
}
|
3040
|
+
}
|
3041
|
+
exports.ZodBranded = ZodBranded;
|
3042
|
+
class ZodPipeline extends ZodType {
|
3043
|
+
_parse(input) {
|
3044
|
+
const { status, ctx } = this._processInputParams(input);
|
3045
|
+
if (ctx.common.async) {
|
3046
|
+
const handleAsync = async () => {
|
3047
|
+
const inResult = await this._def.in._parseAsync({
|
3048
|
+
data: ctx.data,
|
3049
|
+
path: ctx.path,
|
3050
|
+
parent: ctx,
|
3051
|
+
});
|
3052
|
+
if (inResult.status === "aborted")
|
3053
|
+
return parseUtil_1.INVALID;
|
3054
|
+
if (inResult.status === "dirty") {
|
3055
|
+
status.dirty();
|
3056
|
+
return (0, parseUtil_1.DIRTY)(inResult.value);
|
3057
|
+
}
|
3058
|
+
else {
|
3059
|
+
return this._def.out._parseAsync({
|
3060
|
+
data: inResult.value,
|
3061
|
+
path: ctx.path,
|
3062
|
+
parent: ctx,
|
3063
|
+
});
|
3064
|
+
}
|
3065
|
+
};
|
3066
|
+
return handleAsync();
|
3067
|
+
}
|
3068
|
+
else {
|
3069
|
+
const inResult = this._def.in._parseSync({
|
3070
|
+
data: ctx.data,
|
3071
|
+
path: ctx.path,
|
3072
|
+
parent: ctx,
|
3073
|
+
});
|
3074
|
+
if (inResult.status === "aborted")
|
3075
|
+
return parseUtil_1.INVALID;
|
3076
|
+
if (inResult.status === "dirty") {
|
3077
|
+
status.dirty();
|
3078
|
+
return {
|
3079
|
+
status: "dirty",
|
3080
|
+
value: inResult.value,
|
3081
|
+
};
|
3082
|
+
}
|
3083
|
+
else {
|
3084
|
+
return this._def.out._parseSync({
|
3085
|
+
data: inResult.value,
|
3086
|
+
path: ctx.path,
|
3087
|
+
parent: ctx,
|
3088
|
+
});
|
3089
|
+
}
|
3090
|
+
}
|
3091
|
+
}
|
3092
|
+
static create(a, b) {
|
3093
|
+
return new ZodPipeline({
|
3094
|
+
in: a,
|
3095
|
+
out: b,
|
3096
|
+
typeName: ZodFirstPartyTypeKind.ZodPipeline,
|
3097
|
+
});
|
3098
|
+
}
|
3099
|
+
}
|
3100
|
+
exports.ZodPipeline = ZodPipeline;
|
3101
|
+
const custom = (check, params = {}, fatal) => {
|
3102
|
+
if (check)
|
3103
|
+
return ZodAny.create().superRefine((data, ctx) => {
|
3104
|
+
var _a, _b;
|
3105
|
+
if (!check(data)) {
|
3106
|
+
const p = typeof params === "function"
|
3107
|
+
? params(data)
|
3108
|
+
: typeof params === "string"
|
3109
|
+
? { message: params }
|
3110
|
+
: params;
|
3111
|
+
const _fatal = (_b = (_a = p.fatal) !== null && _a !== void 0 ? _a : fatal) !== null && _b !== void 0 ? _b : true;
|
3112
|
+
const p2 = typeof p === "string" ? { message: p } : p;
|
3113
|
+
ctx.addIssue({ code: "custom", ...p2, fatal: _fatal });
|
3114
|
+
}
|
3115
|
+
});
|
3116
|
+
return ZodAny.create();
|
3117
|
+
};
|
3118
|
+
exports.custom = custom;
|
3119
|
+
exports.late = {
|
3120
|
+
object: ZodObject.lazycreate,
|
3121
|
+
};
|
3122
|
+
var ZodFirstPartyTypeKind;
|
3123
|
+
(function (ZodFirstPartyTypeKind) {
|
3124
|
+
ZodFirstPartyTypeKind["ZodString"] = "ZodString";
|
3125
|
+
ZodFirstPartyTypeKind["ZodNumber"] = "ZodNumber";
|
3126
|
+
ZodFirstPartyTypeKind["ZodNaN"] = "ZodNaN";
|
3127
|
+
ZodFirstPartyTypeKind["ZodBigInt"] = "ZodBigInt";
|
3128
|
+
ZodFirstPartyTypeKind["ZodBoolean"] = "ZodBoolean";
|
3129
|
+
ZodFirstPartyTypeKind["ZodDate"] = "ZodDate";
|
3130
|
+
ZodFirstPartyTypeKind["ZodSymbol"] = "ZodSymbol";
|
3131
|
+
ZodFirstPartyTypeKind["ZodUndefined"] = "ZodUndefined";
|
3132
|
+
ZodFirstPartyTypeKind["ZodNull"] = "ZodNull";
|
3133
|
+
ZodFirstPartyTypeKind["ZodAny"] = "ZodAny";
|
3134
|
+
ZodFirstPartyTypeKind["ZodUnknown"] = "ZodUnknown";
|
3135
|
+
ZodFirstPartyTypeKind["ZodNever"] = "ZodNever";
|
3136
|
+
ZodFirstPartyTypeKind["ZodVoid"] = "ZodVoid";
|
3137
|
+
ZodFirstPartyTypeKind["ZodArray"] = "ZodArray";
|
3138
|
+
ZodFirstPartyTypeKind["ZodObject"] = "ZodObject";
|
3139
|
+
ZodFirstPartyTypeKind["ZodUnion"] = "ZodUnion";
|
3140
|
+
ZodFirstPartyTypeKind["ZodDiscriminatedUnion"] = "ZodDiscriminatedUnion";
|
3141
|
+
ZodFirstPartyTypeKind["ZodIntersection"] = "ZodIntersection";
|
3142
|
+
ZodFirstPartyTypeKind["ZodTuple"] = "ZodTuple";
|
3143
|
+
ZodFirstPartyTypeKind["ZodRecord"] = "ZodRecord";
|
3144
|
+
ZodFirstPartyTypeKind["ZodMap"] = "ZodMap";
|
3145
|
+
ZodFirstPartyTypeKind["ZodSet"] = "ZodSet";
|
3146
|
+
ZodFirstPartyTypeKind["ZodFunction"] = "ZodFunction";
|
3147
|
+
ZodFirstPartyTypeKind["ZodLazy"] = "ZodLazy";
|
3148
|
+
ZodFirstPartyTypeKind["ZodLiteral"] = "ZodLiteral";
|
3149
|
+
ZodFirstPartyTypeKind["ZodEnum"] = "ZodEnum";
|
3150
|
+
ZodFirstPartyTypeKind["ZodEffects"] = "ZodEffects";
|
3151
|
+
ZodFirstPartyTypeKind["ZodNativeEnum"] = "ZodNativeEnum";
|
3152
|
+
ZodFirstPartyTypeKind["ZodOptional"] = "ZodOptional";
|
3153
|
+
ZodFirstPartyTypeKind["ZodNullable"] = "ZodNullable";
|
3154
|
+
ZodFirstPartyTypeKind["ZodDefault"] = "ZodDefault";
|
3155
|
+
ZodFirstPartyTypeKind["ZodCatch"] = "ZodCatch";
|
3156
|
+
ZodFirstPartyTypeKind["ZodPromise"] = "ZodPromise";
|
3157
|
+
ZodFirstPartyTypeKind["ZodBranded"] = "ZodBranded";
|
3158
|
+
ZodFirstPartyTypeKind["ZodPipeline"] = "ZodPipeline";
|
3159
|
+
})(ZodFirstPartyTypeKind = exports.ZodFirstPartyTypeKind || (exports.ZodFirstPartyTypeKind = {}));
|
3160
|
+
class Class {
|
3161
|
+
constructor(..._) { }
|
3162
|
+
}
|
3163
|
+
const instanceOfType = (cls, params = {
|
3164
|
+
message: `Input not instance of ${cls.name}`,
|
3165
|
+
}) => (0, exports.custom)((data) => data instanceof cls, params);
|
3166
|
+
exports.instanceof = instanceOfType;
|
3167
|
+
const stringType = ZodString.create;
|
3168
|
+
exports.string = stringType;
|
3169
|
+
const numberType = ZodNumber.create;
|
3170
|
+
exports.number = numberType;
|
3171
|
+
const nanType = ZodNaN.create;
|
3172
|
+
exports.nan = nanType;
|
3173
|
+
const bigIntType = ZodBigInt.create;
|
3174
|
+
exports.bigint = bigIntType;
|
3175
|
+
const booleanType = ZodBoolean.create;
|
3176
|
+
exports.boolean = booleanType;
|
3177
|
+
const dateType = ZodDate.create;
|
3178
|
+
exports.date = dateType;
|
3179
|
+
const symbolType = ZodSymbol.create;
|
3180
|
+
exports.symbol = symbolType;
|
3181
|
+
const undefinedType = ZodUndefined.create;
|
3182
|
+
exports.undefined = undefinedType;
|
3183
|
+
const nullType = ZodNull.create;
|
3184
|
+
exports.null = nullType;
|
3185
|
+
const anyType = ZodAny.create;
|
3186
|
+
exports.any = anyType;
|
3187
|
+
const unknownType = ZodUnknown.create;
|
3188
|
+
exports.unknown = unknownType;
|
3189
|
+
const neverType = ZodNever.create;
|
3190
|
+
exports.never = neverType;
|
3191
|
+
const voidType = ZodVoid.create;
|
3192
|
+
exports.void = voidType;
|
3193
|
+
const arrayType = ZodArray.create;
|
3194
|
+
exports.array = arrayType;
|
3195
|
+
const objectType = ZodObject.create;
|
3196
|
+
exports.object = objectType;
|
3197
|
+
const strictObjectType = ZodObject.strictCreate;
|
3198
|
+
exports.strictObject = strictObjectType;
|
3199
|
+
const unionType = ZodUnion.create;
|
3200
|
+
exports.union = unionType;
|
3201
|
+
const discriminatedUnionType = ZodDiscriminatedUnion.create;
|
3202
|
+
exports.discriminatedUnion = discriminatedUnionType;
|
3203
|
+
const intersectionType = ZodIntersection.create;
|
3204
|
+
exports.intersection = intersectionType;
|
3205
|
+
const tupleType = ZodTuple.create;
|
3206
|
+
exports.tuple = tupleType;
|
3207
|
+
const recordType = ZodRecord.create;
|
3208
|
+
exports.record = recordType;
|
3209
|
+
const mapType = ZodMap.create;
|
3210
|
+
exports.map = mapType;
|
3211
|
+
const setType = ZodSet.create;
|
3212
|
+
exports.set = setType;
|
3213
|
+
const functionType = ZodFunction.create;
|
3214
|
+
exports.function = functionType;
|
3215
|
+
const lazyType = ZodLazy.create;
|
3216
|
+
exports.lazy = lazyType;
|
3217
|
+
const literalType = ZodLiteral.create;
|
3218
|
+
exports.literal = literalType;
|
3219
|
+
const enumType = ZodEnum.create;
|
3220
|
+
exports.enum = enumType;
|
3221
|
+
const nativeEnumType = ZodNativeEnum.create;
|
3222
|
+
exports.nativeEnum = nativeEnumType;
|
3223
|
+
const promiseType = ZodPromise.create;
|
3224
|
+
exports.promise = promiseType;
|
3225
|
+
const effectsType = ZodEffects.create;
|
3226
|
+
exports.effect = effectsType;
|
3227
|
+
exports.transformer = effectsType;
|
3228
|
+
const optionalType = ZodOptional.create;
|
3229
|
+
exports.optional = optionalType;
|
3230
|
+
const nullableType = ZodNullable.create;
|
3231
|
+
exports.nullable = nullableType;
|
3232
|
+
const preprocessType = ZodEffects.createWithPreprocess;
|
3233
|
+
exports.preprocess = preprocessType;
|
3234
|
+
const pipelineType = ZodPipeline.create;
|
3235
|
+
exports.pipeline = pipelineType;
|
3236
|
+
const ostring = () => stringType().optional();
|
3237
|
+
exports.ostring = ostring;
|
3238
|
+
const onumber = () => numberType().optional();
|
3239
|
+
exports.onumber = onumber;
|
3240
|
+
const oboolean = () => booleanType().optional();
|
3241
|
+
exports.oboolean = oboolean;
|
3242
|
+
exports.coerce = {
|
3243
|
+
string: ((arg) => ZodString.create({ ...arg, coerce: true })),
|
3244
|
+
number: ((arg) => ZodNumber.create({ ...arg, coerce: true })),
|
3245
|
+
boolean: ((arg) => ZodBoolean.create({
|
3246
|
+
...arg,
|
3247
|
+
coerce: true,
|
3248
|
+
})),
|
3249
|
+
bigint: ((arg) => ZodBigInt.create({ ...arg, coerce: true })),
|
3250
|
+
date: ((arg) => ZodDate.create({ ...arg, coerce: true })),
|
3251
|
+
};
|
3252
|
+
exports.NEVER = parseUtil_1.INVALID;
|