@edumalin/platform 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +7 -0
- package/README.md +3 -0
- package/dist/cjs/collection/array/array-to-deduplicated-array-options.d.ts +4 -0
- package/dist/cjs/collection/array/array-to-deduplicated-array-options.js +2 -0
- package/dist/cjs/collection/array/array-to-deduplicated-array.d.ts +2 -0
- package/dist/cjs/collection/array/array-to-deduplicated-array.js +23 -0
- package/dist/cjs/collection/array/array-to-element-at.d.ts +1 -0
- package/dist/cjs/collection/array/array-to-element-at.js +6 -0
- package/dist/cjs/collection/array/array-to-first-element.d.ts +1 -0
- package/dist/cjs/collection/array/array-to-first-element.js +6 -0
- package/dist/cjs/collection/array/array-to-flattened-array.d.ts +1 -0
- package/dist/cjs/collection/array/array-to-flattened-array.js +6 -0
- package/dist/cjs/collection/array/array-to-slices.d.ts +1 -0
- package/dist/cjs/collection/array/array-to-slices.js +13 -0
- package/dist/cjs/collection/buffer/buffer-to-string-options.d.ts +3 -0
- package/dist/cjs/collection/buffer/buffer-to-string-options.js +2 -0
- package/dist/cjs/collection/buffer/buffer-to-string.d.ts +2 -0
- package/dist/cjs/collection/buffer/buffer-to-string.js +8 -0
- package/dist/cjs/collection/each.d.ts +1 -0
- package/dist/cjs/collection/each.js +6 -0
- package/dist/cjs/collection/included-in.d.ts +1 -0
- package/dist/cjs/collection/included-in.js +6 -0
- package/dist/cjs/collection/index.d.ts +10 -0
- package/dist/cjs/collection/index.js +21 -0
- package/dist/cjs/collection/string/string-to-line-stream.d.ts +1 -0
- package/dist/cjs/collection/string/string-to-line-stream.js +7 -0
- package/dist/cjs/color/color.error.d.ts +4 -0
- package/dist/cjs/color/color.error.js +8 -0
- package/dist/cjs/color/error/invalid-color-string-error-properties.d.ts +3 -0
- package/dist/cjs/color/error/invalid-color-string-error-properties.js +2 -0
- package/dist/cjs/color/index.d.ts +6 -0
- package/dist/cjs/color/index.js +13 -0
- package/dist/cjs/color/string/as-color-string.d.ts +2 -0
- package/dist/cjs/color/string/as-color-string.js +8 -0
- package/dist/cjs/color/string/color-string.d.ts +3 -0
- package/dist/cjs/color/string/color-string.js +2 -0
- package/dist/cjs/color/string/generate-color-string.d.ts +2 -0
- package/dist/cjs/color/string/generate-color-string.js +12 -0
- package/dist/cjs/color/string/is-color-string.d.ts +2 -0
- package/dist/cjs/color/string/is-color-string.js +7 -0
- package/dist/cjs/color/string/validate-color-string.d.ts +2 -0
- package/dist/cjs/color/string/validate-color-string.js +10 -0
- package/dist/cjs/domain/create-domain.d.ts +2 -0
- package/dist/cjs/domain/create-domain.js +8 -0
- package/dist/cjs/domain/domain.d.ts +3 -0
- package/dist/cjs/domain/domain.js +2 -0
- package/dist/cjs/domain/index.d.ts +3 -0
- package/dist/cjs/domain/index.js +7 -0
- package/dist/cjs/domain/is-domain.d.ts +3 -0
- package/dist/cjs/domain/is-domain.js +9 -0
- package/dist/cjs/environment/environment.error.d.ts +10 -0
- package/dist/cjs/environment/environment.error.js +11 -0
- package/dist/cjs/environment/error/invalid-platform-environment-id-error-properties.d.ts +3 -0
- package/dist/cjs/environment/error/invalid-platform-environment-id-error-properties.js +2 -0
- package/dist/cjs/environment/error/invalid-platform-environment-provider-error-properties.d.ts +3 -0
- package/dist/cjs/environment/error/invalid-platform-environment-provider-error-properties.js +2 -0
- package/dist/cjs/environment/error/invalid-platform-environment-region-error-properties.d.ts +3 -0
- package/dist/cjs/environment/error/invalid-platform-environment-region-error-properties.js +2 -0
- package/dist/cjs/environment/error/invalid-platform-environment-type-error-properties.d.ts +3 -0
- package/dist/cjs/environment/error/invalid-platform-environment-type-error-properties.js +2 -0
- package/dist/cjs/environment/id/as-platform-environment-id.d.ts +2 -0
- package/dist/cjs/environment/id/as-platform-environment-id.js +8 -0
- package/dist/cjs/environment/id/is-platform-environment-id.d.ts +2 -0
- package/dist/cjs/environment/id/is-platform-environment-id.js +6 -0
- package/dist/cjs/environment/id/platform-environment-id.d.ts +3 -0
- package/dist/cjs/environment/id/platform-environment-id.js +2 -0
- package/dist/cjs/environment/id/validate-platform-environment-id.d.ts +2 -0
- package/dist/cjs/environment/id/validate-platform-environment-id.js +10 -0
- package/dist/cjs/environment/index.d.ts +25 -0
- package/dist/cjs/environment/index.js +41 -0
- package/dist/cjs/environment/platform-environment.d.ts +11 -0
- package/dist/cjs/environment/platform-environment.js +2 -0
- package/dist/cjs/environment/provider/as-platform-environment-provider.d.ts +2 -0
- package/dist/cjs/environment/provider/as-platform-environment-provider.js +8 -0
- package/dist/cjs/environment/provider/is-platform-environment-provider.d.ts +2 -0
- package/dist/cjs/environment/provider/is-platform-environment-provider.js +8 -0
- package/dist/cjs/environment/provider/platform-environment-provider.d.ts +2 -0
- package/dist/cjs/environment/provider/platform-environment-provider.js +2 -0
- package/dist/cjs/environment/provider/platform-environment-providers.d.ts +1 -0
- package/dist/cjs/environment/provider/platform-environment-providers.js +4 -0
- package/dist/cjs/environment/provider/validate-platform-environment-provider.d.ts +2 -0
- package/dist/cjs/environment/provider/validate-platform-environment-provider.js +10 -0
- package/dist/cjs/environment/region/as-platform-environment-region.d.ts +2 -0
- package/dist/cjs/environment/region/as-platform-environment-region.js +8 -0
- package/dist/cjs/environment/region/is-platform-environment-region.d.ts +2 -0
- package/dist/cjs/environment/region/is-platform-environment-region.js +8 -0
- package/dist/cjs/environment/region/platform-environment-region.d.ts +2 -0
- package/dist/cjs/environment/region/platform-environment-region.js +2 -0
- package/dist/cjs/environment/region/platform-environment-regions.d.ts +1 -0
- package/dist/cjs/environment/region/platform-environment-regions.js +12 -0
- package/dist/cjs/environment/region/validate-platform-environment-region.d.ts +2 -0
- package/dist/cjs/environment/region/validate-platform-environment-region.js +10 -0
- package/dist/cjs/environment/type/as-platform-environment-type.d.ts +2 -0
- package/dist/cjs/environment/type/as-platform-environment-type.js +8 -0
- package/dist/cjs/environment/type/is-platform-environment-type.d.ts +2 -0
- package/dist/cjs/environment/type/is-platform-environment-type.js +8 -0
- package/dist/cjs/environment/type/platform-environment-type.d.ts +2 -0
- package/dist/cjs/environment/type/platform-environment-type.js +2 -0
- package/dist/cjs/environment/type/platform-environment-types.d.ts +1 -0
- package/dist/cjs/environment/type/platform-environment-types.js +4 -0
- package/dist/cjs/environment/type/validate-platform-environment-type.d.ts +2 -0
- package/dist/cjs/environment/type/validate-platform-environment-type.js +10 -0
- package/dist/cjs/environment/variable/definition/environment-variable-definition-to-resolver.d.ts +3 -0
- package/dist/cjs/environment/variable/definition/environment-variable-definition-to-resolver.js +14 -0
- package/dist/cjs/environment/variable/definition/environment-variable-definition-type.d.ts +3 -0
- package/dist/cjs/environment/variable/definition/environment-variable-definition-type.js +2 -0
- package/dist/cjs/environment/variable/definition/environment-variable-definition.d.ts +7 -0
- package/dist/cjs/environment/variable/definition/environment-variable-definition.js +2 -0
- package/dist/cjs/environment/variable/definition/environment-variable-definitions-to-resolvers.d.ts +4 -0
- package/dist/cjs/environment/variable/definition/environment-variable-definitions-to-resolvers.js +11 -0
- package/dist/cjs/environment/variable/definition/environment-variable-entries-to-object.d.ts +6 -0
- package/dist/cjs/environment/variable/definition/environment-variable-entries-to-object.js +14 -0
- package/dist/cjs/environment/variable/definition/environment-variable-entry.d.ts +9 -0
- package/dist/cjs/environment/variable/definition/environment-variable-entry.js +2 -0
- package/dist/cjs/environment/variable/definition/environment-variable-object-property-type.d.ts +4 -0
- package/dist/cjs/environment/variable/definition/environment-variable-object-property-type.js +2 -0
- package/dist/cjs/environment/variable/definition/environment-variable-object-property.d.ts +5 -0
- package/dist/cjs/environment/variable/definition/environment-variable-object-property.js +2 -0
- package/dist/cjs/environment/variable/definition/environment-variable-object.d.ts +6 -0
- package/dist/cjs/environment/variable/definition/environment-variable-object.js +2 -0
- package/dist/cjs/environment/variable/definition/environment-variable-resolver.d.ts +3 -0
- package/dist/cjs/environment/variable/definition/environment-variable-resolver.js +2 -0
- package/dist/cjs/environment/variable/environment-variables-to-platform-environment.d.ts +3 -0
- package/dist/cjs/environment/variable/environment-variables-to-platform-environment.js +36 -0
- package/dist/cjs/environment/variable/environment-variables-to-value.d.ts +5 -0
- package/dist/cjs/environment/variable/environment-variables-to-value.js +12 -0
- package/dist/cjs/environment/variable/environment-variables-to-values.d.ts +7 -0
- package/dist/cjs/environment/variable/environment-variables-to-values.js +15 -0
- package/dist/cjs/environment/variable/environment-variables.d.ts +2 -0
- package/dist/cjs/environment/variable/environment-variables.js +2 -0
- package/dist/cjs/environment/variable/indexed/get-indexed-environment-variables-count.d.ts +5 -0
- package/dist/cjs/environment/variable/indexed/get-indexed-environment-variables-count.js +21 -0
- package/dist/cjs/environment/variable/indexed/index-to-indexed-environment-variables.d.ts +6 -0
- package/dist/cjs/environment/variable/indexed/index-to-indexed-environment-variables.js +15 -0
- package/dist/cjs/environment/variable/indexed/indexed-environment-variable-definitions.d.ts +6 -0
- package/dist/cjs/environment/variable/indexed/indexed-environment-variable-definitions.js +2 -0
- package/dist/cjs/environment/variable/platform-environment-to-environment-variables.d.ts +3 -0
- package/dist/cjs/environment/variable/platform-environment-to-environment-variables.js +13 -0
- package/dist/cjs/error/creator/error-creator.d.ts +4 -0
- package/dist/cjs/error/creator/error-creator.js +2 -0
- package/dist/cjs/error/creator/error-from-creator.d.ts +3 -0
- package/dist/cjs/error/creator/error-from-creator.js +2 -0
- package/dist/cjs/error/index.d.ts +14 -0
- package/dist/cjs/error/index.js +21 -0
- package/dist/cjs/error/is-error-of-type.d.ts +7 -0
- package/dist/cjs/error/is-error-of-type.js +19 -0
- package/dist/cjs/error/is-error.d.ts +1 -0
- package/dist/cjs/error/is-error.js +6 -0
- package/dist/cjs/error/is-platform-error.d.ts +2 -0
- package/dist/cjs/error/is-platform-error.js +13 -0
- package/dist/cjs/error/operator/catch-platform-error.d.ts +3 -0
- package/dist/cjs/error/operator/catch-platform-error.js +8 -0
- package/dist/cjs/error/operator/map-platform-error.d.ts +3 -0
- package/dist/cjs/error/operator/map-platform-error.js +8 -0
- package/dist/cjs/error/platform-error-instance.d.ts +9 -0
- package/dist/cjs/error/platform-error-instance.js +16 -0
- package/dist/cjs/error/platform-error-to-platform-error-instance.d.ts +4 -0
- package/dist/cjs/error/platform-error-to-platform-error-instance.js +8 -0
- package/dist/cjs/error/platform-error.d.ts +7 -0
- package/dist/cjs/error/platform-error.js +2 -0
- package/dist/cjs/error/properties/error-properties-from-error-definitions.d.ts +5 -0
- package/dist/cjs/error/properties/error-properties-from-error-definitions.js +2 -0
- package/dist/cjs/error/properties/error-properties-schema-type-name.d.ts +1 -0
- package/dist/cjs/error/properties/error-properties-schema-type-name.js +4 -0
- package/dist/cjs/error/properties/error-properties-schema.d.ts +3 -0
- package/dist/cjs/error/properties/error-properties-schema.js +2 -0
- package/dist/cjs/error/properties/error-properties.d.ts +3 -0
- package/dist/cjs/error/properties/error-properties.js +8 -0
- package/dist/cjs/error/stack/error-stack-to-platform-error-stack.d.ts +1 -0
- package/dist/cjs/error/stack/error-stack-to-platform-error-stack.js +8 -0
- package/dist/cjs/error/type/create-error-type.d.ts +6 -0
- package/dist/cjs/error/type/create-error-type.js +12 -0
- package/dist/cjs/error/type/error-creator-entry-to-property-descriptor-map.d.ts +2 -0
- package/dist/cjs/error/type/error-creator-entry-to-property-descriptor-map.js +14 -0
- package/dist/cjs/error/type/error-creator-entry.d.ts +3 -0
- package/dist/cjs/error/type/error-creator-entry.js +2 -0
- package/dist/cjs/error/type/error-from-type.d.ts +3 -0
- package/dist/cjs/error/type/error-from-type.js +2 -0
- package/dist/cjs/error/type/error-properties-schema-entry-to-error-creator-entry.d.ts +4 -0
- package/dist/cjs/error/type/error-properties-schema-entry-to-error-creator-entry.js +16 -0
- package/dist/cjs/error/type/error-type.d.ts +7 -0
- package/dist/cjs/error/type/error-type.js +2 -0
- package/dist/cjs/event/creator/event-creator.d.ts +4 -0
- package/dist/cjs/event/creator/event-creator.js +2 -0
- package/dist/cjs/event/creator/event-from-creator.d.ts +3 -0
- package/dist/cjs/event/creator/event-from-creator.js +2 -0
- package/dist/cjs/event/event-name.d.ts +3 -0
- package/dist/cjs/event/event-name.js +2 -0
- package/dist/cjs/event/event.d.ts +6 -0
- package/dist/cjs/event/event.js +2 -0
- package/dist/cjs/event/handler/event-handler.d.ts +4 -0
- package/dist/cjs/event/handler/event-handler.js +2 -0
- package/dist/cjs/event/index.d.ts +22 -0
- package/dist/cjs/event/index.js +21 -0
- package/dist/cjs/event/is-event-of-type.d.ts +9 -0
- package/dist/cjs/event/is-event-of-type.js +6 -0
- package/dist/cjs/event/is-event.d.ts +2 -0
- package/dist/cjs/event/is-event.js +13 -0
- package/dist/cjs/event/matcher/event-matcher-case.d.ts +4 -0
- package/dist/cjs/event/matcher/event-matcher-case.js +2 -0
- package/dist/cjs/event/matcher/event-matcher.d.ts +7 -0
- package/dist/cjs/event/matcher/event-matcher.js +2 -0
- package/dist/cjs/event/matcher/events-matcher-case.d.ts +4 -0
- package/dist/cjs/event/matcher/events-matcher-case.js +2 -0
- package/dist/cjs/event/matcher/events-matcher.d.ts +7 -0
- package/dist/cjs/event/matcher/events-matcher.js +2 -0
- package/dist/cjs/event/matcher/match-event.d.ts +3 -0
- package/dist/cjs/event/matcher/match-event.js +8 -0
- package/dist/cjs/event/matcher/match-events.d.ts +5 -0
- package/dist/cjs/event/matcher/match-events.js +21 -0
- package/dist/cjs/event/properties/event-properties-from-event-definitions.d.ts +5 -0
- package/dist/cjs/event/properties/event-properties-from-event-definitions.js +2 -0
- package/dist/cjs/event/properties/event-properties-schema-type-name.d.ts +1 -0
- package/dist/cjs/event/properties/event-properties-schema-type-name.js +4 -0
- package/dist/cjs/event/properties/event-properties-schema.d.ts +3 -0
- package/dist/cjs/event/properties/event-properties-schema.js +2 -0
- package/dist/cjs/event/properties/event-properties.d.ts +3 -0
- package/dist/cjs/event/properties/event-properties.js +8 -0
- package/dist/cjs/event/properties/event-to-event-name.d.ts +2 -0
- package/dist/cjs/event/properties/event-to-event-name.js +6 -0
- package/dist/cjs/event/properties/event-to-event-properties.d.ts +2 -0
- package/dist/cjs/event/properties/event-to-event-properties.js +6 -0
- package/dist/cjs/event/properties/event-to-properties.d.ts +2 -0
- package/dist/cjs/event/properties/event-to-properties.js +6 -0
- package/dist/cjs/event/type/create-event-type.d.ts +6 -0
- package/dist/cjs/event/type/create-event-type.js +12 -0
- package/dist/cjs/event/type/event-creator-entry-to-property-descriptor-map.d.ts +2 -0
- package/dist/cjs/event/type/event-creator-entry-to-property-descriptor-map.js +14 -0
- package/dist/cjs/event/type/event-creator-entry.d.ts +3 -0
- package/dist/cjs/event/type/event-creator-entry.js +2 -0
- package/dist/cjs/event/type/event-from-type.d.ts +3 -0
- package/dist/cjs/event/type/event-from-type.js +2 -0
- package/dist/cjs/event/type/event-properties-schema-entry-to-event-creator-entry.d.ts +4 -0
- package/dist/cjs/event/type/event-properties-schema-entry-to-event-creator-entry.js +13 -0
- package/dist/cjs/event/type/event-type-with-events.d.ts +2 -0
- package/dist/cjs/event/type/event-type-with-events.js +12 -0
- package/dist/cjs/event/type/event-type.d.ts +7 -0
- package/dist/cjs/event/type/event-type.js +2 -0
- package/dist/cjs/functional/call-with.d.ts +1 -0
- package/dist/cjs/functional/call-with.js +6 -0
- package/dist/cjs/functional/entries-to-object.d.ts +1 -0
- package/dist/cjs/functional/entries-to-object.js +6 -0
- package/dist/cjs/functional/identity.d.ts +1 -0
- package/dist/cjs/functional/identity.js +6 -0
- package/dist/cjs/functional/index.d.ts +12 -0
- package/dist/cjs/functional/index.js +27 -0
- package/dist/cjs/functional/is-defined.d.ts +1 -0
- package/dist/cjs/functional/is-defined.js +6 -0
- package/dist/cjs/functional/is-instance-of.d.ts +1 -0
- package/dist/cjs/functional/is-instance-of.js +6 -0
- package/dist/cjs/functional/is-not-null.d.ts +1 -0
- package/dist/cjs/functional/is-not-null.js +6 -0
- package/dist/cjs/functional/not.d.ts +1 -0
- package/dist/cjs/functional/not.js +6 -0
- package/dist/cjs/functional/object-to-entries.d.ts +2 -0
- package/dist/cjs/functional/object-to-entries.js +6 -0
- package/dist/cjs/functional/object-to-keys.d.ts +2 -0
- package/dist/cjs/functional/object-to-keys.js +6 -0
- package/dist/cjs/functional/object-to-values.d.ts +1 -0
- package/dist/cjs/functional/object-to-values.js +6 -0
- package/dist/cjs/functional/object-with-properties.d.ts +2 -0
- package/dist/cjs/functional/object-with-properties.js +24 -0
- package/dist/cjs/functional/pipe.d.ts +13 -0
- package/dist/cjs/functional/pipe.js +10 -0
- package/dist/cjs/geometry/index.d.ts +3 -0
- package/dist/cjs/geometry/index.js +2 -0
- package/dist/cjs/geometry/point.d.ts +5 -0
- package/dist/cjs/geometry/point.js +2 -0
- package/dist/cjs/geometry/polygon.d.ts +5 -0
- package/dist/cjs/geometry/polygon.js +2 -0
- package/dist/cjs/geometry/position.d.ts +1 -0
- package/dist/cjs/geometry/position.js +2 -0
- package/dist/cjs/http/client/create-http-client.d.ts +3 -0
- package/dist/cjs/http/client/create-http-client.js +37 -0
- package/dist/cjs/http/client/graphql/create-graphql-client.d.ts +3 -0
- package/dist/cjs/http/client/graphql/create-graphql-client.js +31 -0
- package/dist/cjs/http/client/graphql/graphql-client-options.d.ts +8 -0
- package/dist/cjs/http/client/graphql/graphql-client-options.js +2 -0
- package/dist/cjs/http/client/graphql/graphql-client.d.ts +4 -0
- package/dist/cjs/http/client/graphql/graphql-client.error.d.ts +11 -0
- package/dist/cjs/http/client/graphql/graphql-client.error.js +9 -0
- package/dist/cjs/http/client/graphql/graphql-client.js +2 -0
- package/dist/cjs/http/client/graphql/graphql-error-location.d.ts +4 -0
- package/dist/cjs/http/client/graphql/graphql-error-location.js +2 -0
- package/dist/cjs/http/client/graphql/graphql-error.d.ts +7 -0
- package/dist/cjs/http/client/graphql/graphql-error.js +2 -0
- package/dist/cjs/http/client/graphql/graphql-query-to-graphql-request.d.ts +3 -0
- package/dist/cjs/http/client/graphql/graphql-query-to-graphql-request.js +9 -0
- package/dist/cjs/http/client/graphql/graphql-request.d.ts +5 -0
- package/dist/cjs/http/client/graphql/graphql-request.js +2 -0
- package/dist/cjs/http/client/graphql/graphql-response.d.ts +5 -0
- package/dist/cjs/http/client/graphql/graphql-response.js +2 -0
- package/dist/cjs/http/client/graphql/index.d.ts +6 -0
- package/dist/cjs/http/client/graphql/index.js +7 -0
- package/dist/cjs/http/client/header/fetch-header-to-http-header.d.ts +2 -0
- package/dist/cjs/http/client/header/fetch-header-to-http-header.js +9 -0
- package/dist/cjs/http/client/header/http-headers-to-fetch-headers.d.ts +2 -0
- package/dist/cjs/http/client/header/http-headers-to-fetch-headers.js +8 -0
- package/dist/cjs/http/client/http-client-options.d.ts +5 -0
- package/dist/cjs/http/client/http-client-options.js +2 -0
- package/dist/cjs/http/client/http-client.d.ts +5 -0
- package/dist/cjs/http/client/http-client.error.d.ts +4 -0
- package/dist/cjs/http/client/http-client.error.js +9 -0
- package/dist/cjs/http/client/http-client.js +2 -0
- package/dist/cjs/http/client/index.d.ts +19 -0
- package/dist/cjs/http/client/index.js +27 -0
- package/dist/cjs/http/client/progress/controller-to-response-progress-chunks.d.ts +2 -0
- package/dist/cjs/http/client/progress/controller-to-response-progress-chunks.js +23 -0
- package/dist/cjs/http/client/progress/http-client-response-progress.d.ts +7 -0
- package/dist/cjs/http/client/progress/http-client-response-progress.js +2 -0
- package/dist/cjs/http/client/progress/http-client-response-to-http-client-response-with-progress.d.ts +3 -0
- package/dist/cjs/http/client/progress/http-client-response-to-http-client-response-with-progress.js +34 -0
- package/dist/cjs/http/client/progress/http-client-response-with-progress-to-bytes.d.ts +2 -0
- package/dist/cjs/http/client/progress/http-client-response-with-progress-to-bytes.js +7 -0
- package/dist/cjs/http/client/progress/http-client-response-with-progress.d.ts +7 -0
- package/dist/cjs/http/client/progress/http-client-response-with-progress.js +2 -0
- package/dist/cjs/http/client/progress/response-progress-chunk-to-response-progress.d.ts +2 -0
- package/dist/cjs/http/client/progress/response-progress-chunk-to-response-progress.js +19 -0
- package/dist/cjs/http/client/progress/response-progress-underlying-source.d.ts +5 -0
- package/dist/cjs/http/client/progress/response-progress-underlying-source.js +13 -0
- package/dist/cjs/http/client/request/http-client-request-options.d.ts +3 -0
- package/dist/cjs/http/client/request/http-client-request-options.js +2 -0
- package/dist/cjs/http/client/request/http-client-request.d.ts +8 -0
- package/dist/cjs/http/client/request/http-client-request.js +2 -0
- package/dist/cjs/http/client/response/fetch-response-symbol.d.ts +1 -0
- package/dist/cjs/http/client/response/fetch-response-symbol.js +4 -0
- package/dist/cjs/http/client/response/http-client-response-status-is-options.d.ts +7 -0
- package/dist/cjs/http/client/response/http-client-response-status-is-options.js +2 -0
- package/dist/cjs/http/client/response/http-client-response-status-is.d.ts +3 -0
- package/dist/cjs/http/client/response/http-client-response-status-is.js +13 -0
- package/dist/cjs/http/client/response/http-client-response-to-array-buffer.d.ts +2 -0
- package/dist/cjs/http/client/response/http-client-response-to-array-buffer.js +8 -0
- package/dist/cjs/http/client/response/http-client-response-to-blob.d.ts +2 -0
- package/dist/cjs/http/client/response/http-client-response-to-blob.js +8 -0
- package/dist/cjs/http/client/response/http-client-response-to-json-stream-options.d.ts +3 -0
- package/dist/cjs/http/client/response/http-client-response-to-json-stream-options.js +2 -0
- package/dist/cjs/http/client/response/http-client-response-to-json-stream.d.ts +4 -0
- package/dist/cjs/http/client/response/http-client-response-to-json-stream.js +38 -0
- package/dist/cjs/http/client/response/http-client-response-to-json.d.ts +2 -0
- package/dist/cjs/http/client/response/http-client-response-to-json.js +14 -0
- package/dist/cjs/http/client/response/http-client-response-to-text.d.ts +2 -0
- package/dist/cjs/http/client/response/http-client-response-to-text.js +8 -0
- package/dist/cjs/http/client/response/http-client-response.d.ts +7 -0
- package/dist/cjs/http/client/response/http-client-response.js +2 -0
- package/dist/cjs/http/client/response/response-to-http-client-response.d.ts +2 -0
- package/dist/cjs/http/client/response/response-to-http-client-response.js +14 -0
- package/dist/cjs/http/client/response/url-to-http-client-response.d.ts +4 -0
- package/dist/cjs/http/client/response/url-to-http-client-response.js +7 -0
- package/dist/cjs/http/client/testing/create-test-http-client.d.ts +3 -0
- package/dist/cjs/http/client/testing/create-test-http-client.js +20 -0
- package/dist/cjs/http/client/testing/index.d.ts +3 -0
- package/dist/cjs/http/client/testing/index.js +5 -0
- package/dist/cjs/http/client/testing/test-http-client-options.d.ts +3 -0
- package/dist/cjs/http/client/testing/test-http-client-options.js +2 -0
- package/dist/cjs/http/client/testing/test-http-client.d.ts +5 -0
- package/dist/cjs/http/client/testing/test-http-client.js +2 -0
- package/dist/cjs/http/cookie/http-cookie.d.ts +13 -0
- package/dist/cjs/http/cookie/http-cookie.js +2 -0
- package/dist/cjs/http/cookie/is-session-http-cookie.d.ts +2 -0
- package/dist/cjs/http/cookie/is-session-http-cookie.js +7 -0
- package/dist/cjs/http/cookie/same-site-option/http-cookie-same-site-option.d.ts +2 -0
- package/dist/cjs/http/cookie/same-site-option/http-cookie-same-site-option.js +2 -0
- package/dist/cjs/http/cookie/same-site-option/http-cookie-same-site-options.d.ts +1 -0
- package/dist/cjs/http/cookie/same-site-option/http-cookie-same-site-options.js +4 -0
- package/dist/cjs/http/cookie/same-site-option/is-http-cookie-same-site-option.d.ts +2 -0
- package/dist/cjs/http/cookie/same-site-option/is-http-cookie-same-site-option.js +8 -0
- package/dist/cjs/http/cookie/same-site-option/validate-http-cookie-same-site-option.d.ts +2 -0
- package/dist/cjs/http/cookie/same-site-option/validate-http-cookie-same-site-option.js +10 -0
- package/dist/cjs/http/error/invalid-cookie-header-value-error-properties.d.ts +3 -0
- package/dist/cjs/http/error/invalid-cookie-header-value-error-properties.js +2 -0
- package/dist/cjs/http/error/invalid-cookie-same-site-option-error-properties.d.ts +3 -0
- package/dist/cjs/http/error/invalid-cookie-same-site-option-error-properties.js +2 -0
- package/dist/cjs/http/error/invalid-http-header-name-error-properties.d.ts +3 -0
- package/dist/cjs/http/error/invalid-http-header-name-error-properties.js +2 -0
- package/dist/cjs/http/error/invalid-http-method-error-properties.d.ts +3 -0
- package/dist/cjs/http/error/invalid-http-method-error-properties.js +2 -0
- package/dist/cjs/http/error/invalid-http-status-error-properties.d.ts +3 -0
- package/dist/cjs/http/error/invalid-http-status-error-properties.js +2 -0
- package/dist/cjs/http/header/authorization/parse-authorization-header-value.d.ts +1 -0
- package/dist/cjs/http/header/authorization/parse-authorization-header-value.js +12 -0
- package/dist/cjs/http/header/by-http-header-name.d.ts +3 -0
- package/dist/cjs/http/header/by-http-header-name.js +6 -0
- package/dist/cjs/http/header/cookie/create-set-cookie-http-header.d.ts +3 -0
- package/dist/cjs/http/header/cookie/create-set-cookie-http-header.js +24 -0
- package/dist/cjs/http/header/cookie/parse-cookie-header-value.d.ts +2 -0
- package/dist/cjs/http/header/cookie/parse-cookie-header-value.js +31 -0
- package/dist/cjs/http/header/http-header.d.ts +2 -0
- package/dist/cjs/http/header/http-header.js +2 -0
- package/dist/cjs/http/header/name/as-http-header-name.d.ts +2 -0
- package/dist/cjs/http/header/name/as-http-header-name.js +8 -0
- package/dist/cjs/http/header/name/http-header-name.d.ts +2 -0
- package/dist/cjs/http/header/name/http-header-name.js +2 -0
- package/dist/cjs/http/header/name/http-header-names.d.ts +1 -0
- package/dist/cjs/http/header/name/http-header-names.js +118 -0
- package/dist/cjs/http/header/name/is-http-header-name.d.ts +2 -0
- package/dist/cjs/http/header/name/is-http-header-name.js +6 -0
- package/dist/cjs/http/header/name/validate-http-header-name.d.ts +2 -0
- package/dist/cjs/http/header/name/validate-http-header-name.js +10 -0
- package/dist/cjs/http/http.error.d.ts +12 -0
- package/dist/cjs/http/http.error.js +12 -0
- package/dist/cjs/http/index.d.ts +31 -0
- package/dist/cjs/http/index.js +41 -0
- package/dist/cjs/http/method/as-http-method.d.ts +2 -0
- package/dist/cjs/http/method/as-http-method.js +8 -0
- package/dist/cjs/http/method/http-method.d.ts +2 -0
- package/dist/cjs/http/method/http-method.js +2 -0
- package/dist/cjs/http/method/http-methods.d.ts +1 -0
- package/dist/cjs/http/method/http-methods.js +4 -0
- package/dist/cjs/http/method/is-http-method.d.ts +2 -0
- package/dist/cjs/http/method/is-http-method.js +8 -0
- package/dist/cjs/http/method/validate-http-method.d.ts +2 -0
- package/dist/cjs/http/method/validate-http-method.js +10 -0
- package/dist/cjs/http/status/http-status.d.ts +2 -0
- package/dist/cjs/http/status/http-status.js +2 -0
- package/dist/cjs/http/status/http-statuses.d.ts +63 -0
- package/dist/cjs/http/status/http-statuses.js +66 -0
- package/dist/cjs/http/status/is-http-status.d.ts +2 -0
- package/dist/cjs/http/status/is-http-status.js +9 -0
- package/dist/cjs/http/status/validate-http-status.d.ts +2 -0
- package/dist/cjs/http/status/validate-http-status.js +10 -0
- package/dist/cjs/i18n/error/invalid-i18n-string-error-properties.d.ts +3 -0
- package/dist/cjs/i18n/error/invalid-i18n-string-error-properties.js +2 -0
- package/dist/cjs/i18n/i18n.error.d.ts +4 -0
- package/dist/cjs/i18n/i18n.error.js +8 -0
- package/dist/cjs/i18n/index.d.ts +12 -0
- package/dist/cjs/i18n/index.js +19 -0
- package/dist/cjs/i18n/string/as-i18n-string.d.ts +2 -0
- package/dist/cjs/i18n/string/as-i18n-string.js +8 -0
- package/dist/cjs/i18n/string/compare-i18n-strings-options.d.ts +5 -0
- package/dist/cjs/i18n/string/compare-i18n-strings-options.js +2 -0
- package/dist/cjs/i18n/string/compare-i18n-strings.d.ts +3 -0
- package/dist/cjs/i18n/string/compare-i18n-strings.js +11 -0
- package/dist/cjs/i18n/string/i18n-string-includes-options.d.ts +5 -0
- package/dist/cjs/i18n/string/i18n-string-includes-options.js +2 -0
- package/dist/cjs/i18n/string/i18n-string-includes.d.ts +3 -0
- package/dist/cjs/i18n/string/i18n-string-includes.js +23 -0
- package/dist/cjs/i18n/string/i18n-string.d.ts +3 -0
- package/dist/cjs/i18n/string/i18n-string.js +2 -0
- package/dist/cjs/i18n/string/is-i18n-string.d.ts +2 -0
- package/dist/cjs/i18n/string/is-i18n-string.js +10 -0
- package/dist/cjs/i18n/string/is-same-i18n-string.d.ts +2 -0
- package/dist/cjs/i18n/string/is-same-i18n-string.js +21 -0
- package/dist/cjs/i18n/string/merge-i18n-strings.d.ts +2 -0
- package/dist/cjs/i18n/string/merge-i18n-strings.js +9 -0
- package/dist/cjs/i18n/string/validate-i18n-string.d.ts +2 -0
- package/dist/cjs/i18n/string/validate-i18n-string.js +10 -0
- package/dist/cjs/index.d.ts +1 -0
- package/dist/cjs/index.js +5 -0
- package/dist/cjs/language/as-language-code.d.ts +2 -0
- package/dist/cjs/language/as-language-code.js +8 -0
- package/dist/cjs/language/error/invalid-language-code-error-properties.d.ts +3 -0
- package/dist/cjs/language/error/invalid-language-code-error-properties.js +2 -0
- package/dist/cjs/language/index.d.ts +7 -0
- package/dist/cjs/language/index.js +13 -0
- package/dist/cjs/language/is-language-code.d.ts +2 -0
- package/dist/cjs/language/is-language-code.js +8 -0
- package/dist/cjs/language/language-code.d.ts +2 -0
- package/dist/cjs/language/language-code.js +2 -0
- package/dist/cjs/language/language-codes.d.ts +1 -0
- package/dist/cjs/language/language-codes.js +21 -0
- package/dist/cjs/language/language.error.d.ts +4 -0
- package/dist/cjs/language/language.error.js +8 -0
- package/dist/cjs/language/validate-language-code.d.ts +2 -0
- package/dist/cjs/language/validate-language-code.js +10 -0
- package/dist/cjs/locale/as-locale-code.d.ts +2 -0
- package/dist/cjs/locale/as-locale-code.js +8 -0
- package/dist/cjs/locale/by-locale-code.d.ts +4 -0
- package/dist/cjs/locale/by-locale-code.js +7 -0
- package/dist/cjs/locale/error/invalid-locale-code-error-properties.d.ts +3 -0
- package/dist/cjs/locale/error/invalid-locale-code-error-properties.js +2 -0
- package/dist/cjs/locale/index.d.ts +7 -0
- package/dist/cjs/locale/index.js +13 -0
- package/dist/cjs/locale/is-locale-code.d.ts +2 -0
- package/dist/cjs/locale/is-locale-code.js +12 -0
- package/dist/cjs/locale/locale-code.d.ts +2 -0
- package/dist/cjs/locale/locale-code.js +2 -0
- package/dist/cjs/locale/locale-codes.d.ts +1 -0
- package/dist/cjs/locale/locale-codes.js +33 -0
- package/dist/cjs/locale/locale.error.d.ts +4 -0
- package/dist/cjs/locale/locale.error.js +8 -0
- package/dist/cjs/locale/validate-locale-code.d.ts +2 -0
- package/dist/cjs/locale/validate-locale-code.js +10 -0
- package/dist/cjs/platform.domain.d.ts +1 -0
- package/dist/cjs/platform.domain.js +5 -0
- package/dist/cjs/random/get-random-array-value.d.ts +1 -0
- package/dist/cjs/random/get-random-array-value.js +10 -0
- package/dist/cjs/random/index.d.ts +1 -0
- package/dist/cjs/random/index.js +5 -0
- package/dist/cjs/reactive/as-observable.d.ts +1 -0
- package/dist/cjs/reactive/as-observable.js +7 -0
- package/dist/cjs/reactive/catch-error-if.d.ts +3 -0
- package/dist/cjs/reactive/catch-error-if.js +12 -0
- package/dist/cjs/reactive/defer-value.d.ts +1 -0
- package/dist/cjs/reactive/defer-value.js +15 -0
- package/dist/cjs/reactive/index.d.ts +8 -0
- package/dist/cjs/reactive/index.js +19 -0
- package/dist/cjs/reactive/map-error-if.d.ts +3 -0
- package/dist/cjs/reactive/map-error-if.js +12 -0
- package/dist/cjs/reactive/observable-map.d.ts +5 -0
- package/dist/cjs/reactive/observable-map.js +20 -0
- package/dist/cjs/reactive/polyfill/index.d.ts +1 -0
- package/dist/cjs/reactive/polyfill/index.js +4 -0
- package/dist/cjs/reactive/tap-error.d.ts +2 -0
- package/dist/cjs/reactive/tap-error.js +9 -0
- package/dist/cjs/reactive/throw-if.d.ts +3 -0
- package/dist/cjs/reactive/throw-if.js +13 -0
- package/dist/cjs/reactive/throw-unless.d.ts +3 -0
- package/dist/cjs/reactive/throw-unless.js +13 -0
- package/dist/cjs/temporal/date/date-to-start-of-week.d.ts +1 -0
- package/dist/cjs/temporal/date/date-to-start-of-week.js +7 -0
- package/dist/cjs/temporal/date/string/as-date-string.d.ts +2 -0
- package/dist/cjs/temporal/date/string/as-date-string.js +15 -0
- package/dist/cjs/temporal/date/string/current-date-string.d.ts +2 -0
- package/dist/cjs/temporal/date/string/current-date-string.js +7 -0
- package/dist/cjs/temporal/date/string/date-string.d.ts +3 -0
- package/dist/cjs/temporal/date/string/date-string.js +2 -0
- package/dist/cjs/temporal/date/string/is-date-string.d.ts +2 -0
- package/dist/cjs/temporal/date/string/is-date-string.js +15 -0
- package/dist/cjs/temporal/date/string/validate-date-string.d.ts +2 -0
- package/dist/cjs/temporal/date/string/validate-date-string.js +10 -0
- package/dist/cjs/temporal/date-interval/string/as-date-interval-string.d.ts +2 -0
- package/dist/cjs/temporal/date-interval/string/as-date-interval-string.js +8 -0
- package/dist/cjs/temporal/date-interval/string/date-interval-string.d.ts +4 -0
- package/dist/cjs/temporal/date-interval/string/date-interval-string.js +2 -0
- package/dist/cjs/temporal/date-interval/string/is-date-interval-string.d.ts +2 -0
- package/dist/cjs/temporal/date-interval/string/is-date-interval-string.js +14 -0
- package/dist/cjs/temporal/date-interval/string/validate-date-interval-string.d.ts +2 -0
- package/dist/cjs/temporal/date-interval/string/validate-date-interval-string.js +10 -0
- package/dist/cjs/temporal/date-time/string/as-date-time-string.d.ts +2 -0
- package/dist/cjs/temporal/date-time/string/as-date-time-string.js +26 -0
- package/dist/cjs/temporal/date-time/string/current-date-time-string.d.ts +2 -0
- package/dist/cjs/temporal/date-time/string/current-date-time-string.js +7 -0
- package/dist/cjs/temporal/date-time/string/date-time-string-to-date-string.d.ts +4 -0
- package/dist/cjs/temporal/date-time/string/date-time-string-to-date-string.js +10 -0
- package/dist/cjs/temporal/date-time/string/date-time-string-to-instant.d.ts +1 -0
- package/dist/cjs/temporal/date-time/string/date-time-string-to-instant.js +6 -0
- package/dist/cjs/temporal/date-time/string/date-time-string.d.ts +3 -0
- package/dist/cjs/temporal/date-time/string/date-time-string.js +2 -0
- package/dist/cjs/temporal/date-time/string/is-date-time-string.d.ts +2 -0
- package/dist/cjs/temporal/date-time/string/is-date-time-string.js +16 -0
- package/dist/cjs/temporal/date-time/string/validate-date-time-string.d.ts +2 -0
- package/dist/cjs/temporal/date-time/string/validate-date-time-string.js +10 -0
- package/dist/cjs/temporal/date-time-interval/string/as-date-time-interval-string.d.ts +2 -0
- package/dist/cjs/temporal/date-time-interval/string/as-date-time-interval-string.js +8 -0
- package/dist/cjs/temporal/date-time-interval/string/date-time-interval-string.d.ts +4 -0
- package/dist/cjs/temporal/date-time-interval/string/date-time-interval-string.js +2 -0
- package/dist/cjs/temporal/date-time-interval/string/is-date-time-interval-string.d.ts +2 -0
- package/dist/cjs/temporal/date-time-interval/string/is-date-time-interval-string.js +14 -0
- package/dist/cjs/temporal/date-time-interval/string/validate-date-time-interval-string.d.ts +2 -0
- package/dist/cjs/temporal/date-time-interval/string/validate-date-time-interval-string.js +10 -0
- package/dist/cjs/temporal/duration/string/as-duration-string.d.ts +2 -0
- package/dist/cjs/temporal/duration/string/as-duration-string.js +15 -0
- package/dist/cjs/temporal/duration/string/duration-string.d.ts +3 -0
- package/dist/cjs/temporal/duration/string/duration-string.js +2 -0
- package/dist/cjs/temporal/duration/string/is-duration-string.d.ts +2 -0
- package/dist/cjs/temporal/duration/string/is-duration-string.js +15 -0
- package/dist/cjs/temporal/duration/string/validate-duration-string.d.ts +2 -0
- package/dist/cjs/temporal/duration/string/validate-duration-string.js +10 -0
- package/dist/cjs/temporal/error/invalid-date-interval-string-error-properties.d.ts +3 -0
- package/dist/cjs/temporal/error/invalid-date-interval-string-error-properties.js +2 -0
- package/dist/cjs/temporal/error/invalid-date-string-error-properties.d.ts +3 -0
- package/dist/cjs/temporal/error/invalid-date-string-error-properties.js +2 -0
- package/dist/cjs/temporal/error/invalid-date-time-interval-string-error-properties.d.ts +3 -0
- package/dist/cjs/temporal/error/invalid-date-time-interval-string-error-properties.js +2 -0
- package/dist/cjs/temporal/error/invalid-date-time-string-error-properties.d.ts +3 -0
- package/dist/cjs/temporal/error/invalid-date-time-string-error-properties.js +2 -0
- package/dist/cjs/temporal/error/invalid-duration-string-error-properties.d.ts +3 -0
- package/dist/cjs/temporal/error/invalid-duration-string-error-properties.js +2 -0
- package/dist/cjs/temporal/error/invalid-time-interval-string-error-properties.d.ts +3 -0
- package/dist/cjs/temporal/error/invalid-time-interval-string-error-properties.js +2 -0
- package/dist/cjs/temporal/error/invalid-time-string-error-properties.d.ts +3 -0
- package/dist/cjs/temporal/error/invalid-time-string-error-properties.js +2 -0
- package/dist/cjs/temporal/index.d.ts +39 -0
- package/dist/cjs/temporal/index.js +53 -0
- package/dist/cjs/temporal/polyfill/index.d.ts +1 -0
- package/dist/cjs/temporal/polyfill/index.js +6 -0
- package/dist/cjs/temporal/temporal.error.d.ts +16 -0
- package/dist/cjs/temporal/temporal.error.js +14 -0
- package/dist/cjs/temporal/time/string/as-time-string.d.ts +2 -0
- package/dist/cjs/temporal/time/string/as-time-string.js +15 -0
- package/dist/cjs/temporal/time/string/current-time-string.d.ts +2 -0
- package/dist/cjs/temporal/time/string/current-time-string.js +7 -0
- package/dist/cjs/temporal/time/string/is-time-string.d.ts +2 -0
- package/dist/cjs/temporal/time/string/is-time-string.js +15 -0
- package/dist/cjs/temporal/time/string/time-string.d.ts +3 -0
- package/dist/cjs/temporal/time/string/time-string.js +2 -0
- package/dist/cjs/temporal/time/string/validate-time-string.d.ts +2 -0
- package/dist/cjs/temporal/time/string/validate-time-string.js +10 -0
- package/dist/cjs/temporal/time-interval/string/as-time-interval-string.d.ts +2 -0
- package/dist/cjs/temporal/time-interval/string/as-time-interval-string.js +8 -0
- package/dist/cjs/temporal/time-interval/string/is-time-interval-string.d.ts +2 -0
- package/dist/cjs/temporal/time-interval/string/is-time-interval-string.js +14 -0
- package/dist/cjs/temporal/time-interval/string/time-interval-string.d.ts +4 -0
- package/dist/cjs/temporal/time-interval/string/time-interval-string.js +2 -0
- package/dist/cjs/temporal/time-interval/string/validate-time-interval-string.d.ts +2 -0
- package/dist/cjs/temporal/time-interval/string/validate-time-interval-string.js +10 -0
- package/dist/cjs/testing/environment/create-test-environment-variables.d.ts +2 -0
- package/dist/cjs/testing/environment/create-test-environment-variables.js +9 -0
- package/dist/cjs/testing/environment/create-test-platform-environment.d.ts +2 -0
- package/dist/cjs/testing/environment/create-test-platform-environment.js +18 -0
- package/dist/cjs/testing/environment/test-platform-environment-id.d.ts +1 -0
- package/dist/cjs/testing/environment/test-platform-environment-id.js +5 -0
- package/dist/cjs/testing/index.d.ts +3 -0
- package/dist/cjs/testing/index.js +9 -0
- package/dist/cjs/typescript/deep-partial.d.ts +4 -0
- package/dist/cjs/typescript/deep-partial.js +2 -0
- package/dist/cjs/typescript/expand.d.ts +3 -0
- package/dist/cjs/typescript/expand.js +2 -0
- package/dist/cjs/typescript/function/unary-function.d.ts +3 -0
- package/dist/cjs/typescript/function/unary-function.js +2 -0
- package/dist/cjs/typescript/generic-function.d.ts +1 -0
- package/dist/cjs/typescript/generic-function.js +2 -0
- package/dist/cjs/typescript/index.d.ts +17 -0
- package/dist/cjs/typescript/index.js +5 -0
- package/dist/cjs/typescript/is-branded-type.d.ts +2 -0
- package/dist/cjs/typescript/is-branded-type.js +2 -0
- package/dist/cjs/typescript/keys-of-value-type.d.ts +3 -0
- package/dist/cjs/typescript/keys-of-value-type.js +2 -0
- package/dist/cjs/typescript/omit-call-signature.d.ts +4 -0
- package/dist/cjs/typescript/omit-call-signature.js +2 -0
- package/dist/cjs/typescript/omit-indexed-access.d.ts +3 -0
- package/dist/cjs/typescript/omit-indexed-access.js +2 -0
- package/dist/cjs/typescript/pick-call-signature.d.ts +2 -0
- package/dist/cjs/typescript/pick-call-signature.js +2 -0
- package/dist/cjs/typescript/properties-to-union.d.ts +5 -0
- package/dist/cjs/typescript/properties-to-union.js +2 -0
- package/dist/cjs/typescript/readonly-record.d.ts +3 -0
- package/dist/cjs/typescript/readonly-record.js +2 -0
- package/dist/cjs/typescript/schema/type-creator.d.ts +1 -0
- package/dist/cjs/typescript/schema/type-creator.js +2 -0
- package/dist/cjs/typescript/schema/type-schema-symbol.d.ts +2 -0
- package/dist/cjs/typescript/schema/type-schema-symbol.js +5 -0
- package/dist/cjs/typescript/schema/type-schema-type-name.d.ts +2 -0
- package/dist/cjs/typescript/schema/type-schema-type-name.js +2 -0
- package/dist/cjs/typescript/schema/type-schema-type.d.ts +2 -0
- package/dist/cjs/typescript/schema/type-schema-type.js +2 -0
- package/dist/cjs/typescript/schema/type-schema.d.ts +6 -0
- package/dist/cjs/typescript/schema/type-schema.js +10 -0
- package/dist/cjs/typescript/union-to-intersection.d.ts +1 -0
- package/dist/cjs/typescript/union-to-intersection.js +2 -0
- package/dist/cjs/url/error/invalid-url-string-error-properties.d.ts +3 -0
- package/dist/cjs/url/error/invalid-url-string-error-properties.js +2 -0
- package/dist/cjs/url/index.d.ts +4 -0
- package/dist/cjs/url/index.js +9 -0
- package/dist/cjs/url/string/as-url-string.d.ts +2 -0
- package/dist/cjs/url/string/as-url-string.js +14 -0
- package/dist/cjs/url/string/is-url-string.d.ts +2 -0
- package/dist/cjs/url/string/is-url-string.js +15 -0
- package/dist/cjs/url/string/url-string.d.ts +3 -0
- package/dist/cjs/url/string/url-string.js +2 -0
- package/dist/cjs/url/string/validate-url-string.d.ts +2 -0
- package/dist/cjs/url/string/validate-url-string.js +10 -0
- package/dist/cjs/url/url.error.d.ts +4 -0
- package/dist/cjs/url/url.error.js +8 -0
- package/dist/cjs/uuid/as-uuid.d.ts +2 -0
- package/dist/cjs/uuid/as-uuid.js +8 -0
- package/dist/cjs/uuid/error/invalid-uuid-error-properties.d.ts +3 -0
- package/dist/cjs/uuid/error/invalid-uuid-error-properties.js +2 -0
- package/dist/cjs/uuid/generate-uuid.d.ts +2 -0
- package/dist/cjs/uuid/generate-uuid.js +8 -0
- package/dist/cjs/uuid/index.d.ts +7 -0
- package/dist/cjs/uuid/index.js +13 -0
- package/dist/cjs/uuid/is-uuid.d.ts +2 -0
- package/dist/cjs/uuid/is-uuid.js +6 -0
- package/dist/cjs/uuid/uuid.d.ts +3 -0
- package/dist/cjs/uuid/uuid.error.d.ts +4 -0
- package/dist/cjs/uuid/uuid.error.js +8 -0
- package/dist/cjs/uuid/uuid.js +2 -0
- package/dist/cjs/uuid/validate-uuid.d.ts +2 -0
- package/dist/cjs/uuid/validate-uuid.js +10 -0
- package/dist/esm/collection/array/array-to-deduplicated-array-options.d.ts +4 -0
- package/dist/esm/collection/array/array-to-deduplicated-array-options.js +1 -0
- package/dist/esm/collection/array/array-to-deduplicated-array.d.ts +2 -0
- package/dist/esm/collection/array/array-to-deduplicated-array.js +20 -0
- package/dist/esm/collection/array/array-to-element-at.d.ts +1 -0
- package/dist/esm/collection/array/array-to-element-at.js +3 -0
- package/dist/esm/collection/array/array-to-first-element.d.ts +1 -0
- package/dist/esm/collection/array/array-to-first-element.js +3 -0
- package/dist/esm/collection/array/array-to-flattened-array.d.ts +1 -0
- package/dist/esm/collection/array/array-to-flattened-array.js +3 -0
- package/dist/esm/collection/array/array-to-slices.d.ts +1 -0
- package/dist/esm/collection/array/array-to-slices.js +10 -0
- package/dist/esm/collection/buffer/buffer-to-string-options.d.ts +3 -0
- package/dist/esm/collection/buffer/buffer-to-string-options.js +1 -0
- package/dist/esm/collection/buffer/buffer-to-string.d.ts +2 -0
- package/dist/esm/collection/buffer/buffer-to-string.js +5 -0
- package/dist/esm/collection/each.d.ts +1 -0
- package/dist/esm/collection/each.js +3 -0
- package/dist/esm/collection/included-in.d.ts +1 -0
- package/dist/esm/collection/included-in.js +3 -0
- package/dist/esm/collection/index.d.ts +10 -0
- package/dist/esm/collection/index.js +9 -0
- package/dist/esm/collection/string/string-to-line-stream.d.ts +1 -0
- package/dist/esm/collection/string/string-to-line-stream.js +4 -0
- package/dist/esm/color/color.error.d.ts +4 -0
- package/dist/esm/color/color.error.js +5 -0
- package/dist/esm/color/error/invalid-color-string-error-properties.d.ts +3 -0
- package/dist/esm/color/error/invalid-color-string-error-properties.js +1 -0
- package/dist/esm/color/index.d.ts +6 -0
- package/dist/esm/color/index.js +5 -0
- package/dist/esm/color/string/as-color-string.d.ts +2 -0
- package/dist/esm/color/string/as-color-string.js +5 -0
- package/dist/esm/color/string/color-string.d.ts +3 -0
- package/dist/esm/color/string/color-string.js +1 -0
- package/dist/esm/color/string/generate-color-string.d.ts +2 -0
- package/dist/esm/color/string/generate-color-string.js +9 -0
- package/dist/esm/color/string/is-color-string.d.ts +2 -0
- package/dist/esm/color/string/is-color-string.js +4 -0
- package/dist/esm/color/string/validate-color-string.d.ts +2 -0
- package/dist/esm/color/string/validate-color-string.js +7 -0
- package/dist/esm/domain/create-domain.d.ts +2 -0
- package/dist/esm/domain/create-domain.js +5 -0
- package/dist/esm/domain/domain.d.ts +3 -0
- package/dist/esm/domain/domain.js +1 -0
- package/dist/esm/domain/index.d.ts +3 -0
- package/dist/esm/domain/index.js +2 -0
- package/dist/esm/domain/is-domain.d.ts +3 -0
- package/dist/esm/domain/is-domain.js +6 -0
- package/dist/esm/environment/environment.error.d.ts +10 -0
- package/dist/esm/environment/environment.error.js +8 -0
- package/dist/esm/environment/error/invalid-platform-environment-id-error-properties.d.ts +3 -0
- package/dist/esm/environment/error/invalid-platform-environment-id-error-properties.js +1 -0
- package/dist/esm/environment/error/invalid-platform-environment-provider-error-properties.d.ts +3 -0
- package/dist/esm/environment/error/invalid-platform-environment-provider-error-properties.js +1 -0
- package/dist/esm/environment/error/invalid-platform-environment-region-error-properties.d.ts +3 -0
- package/dist/esm/environment/error/invalid-platform-environment-region-error-properties.js +1 -0
- package/dist/esm/environment/error/invalid-platform-environment-type-error-properties.d.ts +3 -0
- package/dist/esm/environment/error/invalid-platform-environment-type-error-properties.js +1 -0
- package/dist/esm/environment/id/as-platform-environment-id.d.ts +2 -0
- package/dist/esm/environment/id/as-platform-environment-id.js +5 -0
- package/dist/esm/environment/id/is-platform-environment-id.d.ts +2 -0
- package/dist/esm/environment/id/is-platform-environment-id.js +3 -0
- package/dist/esm/environment/id/platform-environment-id.d.ts +3 -0
- package/dist/esm/environment/id/platform-environment-id.js +1 -0
- package/dist/esm/environment/id/validate-platform-environment-id.d.ts +2 -0
- package/dist/esm/environment/id/validate-platform-environment-id.js +7 -0
- package/dist/esm/environment/index.d.ts +25 -0
- package/dist/esm/environment/index.js +19 -0
- package/dist/esm/environment/platform-environment.d.ts +11 -0
- package/dist/esm/environment/platform-environment.js +1 -0
- package/dist/esm/environment/provider/as-platform-environment-provider.d.ts +2 -0
- package/dist/esm/environment/provider/as-platform-environment-provider.js +5 -0
- package/dist/esm/environment/provider/is-platform-environment-provider.d.ts +2 -0
- package/dist/esm/environment/provider/is-platform-environment-provider.js +5 -0
- package/dist/esm/environment/provider/platform-environment-provider.d.ts +2 -0
- package/dist/esm/environment/provider/platform-environment-provider.js +1 -0
- package/dist/esm/environment/provider/platform-environment-providers.d.ts +1 -0
- package/dist/esm/environment/provider/platform-environment-providers.js +1 -0
- package/dist/esm/environment/provider/validate-platform-environment-provider.d.ts +2 -0
- package/dist/esm/environment/provider/validate-platform-environment-provider.js +7 -0
- package/dist/esm/environment/region/as-platform-environment-region.d.ts +2 -0
- package/dist/esm/environment/region/as-platform-environment-region.js +5 -0
- package/dist/esm/environment/region/is-platform-environment-region.d.ts +2 -0
- package/dist/esm/environment/region/is-platform-environment-region.js +5 -0
- package/dist/esm/environment/region/platform-environment-region.d.ts +2 -0
- package/dist/esm/environment/region/platform-environment-region.js +1 -0
- package/dist/esm/environment/region/platform-environment-regions.d.ts +1 -0
- package/dist/esm/environment/region/platform-environment-regions.js +9 -0
- package/dist/esm/environment/region/validate-platform-environment-region.d.ts +2 -0
- package/dist/esm/environment/region/validate-platform-environment-region.js +7 -0
- package/dist/esm/environment/type/as-platform-environment-type.d.ts +2 -0
- package/dist/esm/environment/type/as-platform-environment-type.js +5 -0
- package/dist/esm/environment/type/is-platform-environment-type.d.ts +2 -0
- package/dist/esm/environment/type/is-platform-environment-type.js +5 -0
- package/dist/esm/environment/type/platform-environment-type.d.ts +2 -0
- package/dist/esm/environment/type/platform-environment-type.js +1 -0
- package/dist/esm/environment/type/platform-environment-types.d.ts +1 -0
- package/dist/esm/environment/type/platform-environment-types.js +1 -0
- package/dist/esm/environment/type/validate-platform-environment-type.d.ts +2 -0
- package/dist/esm/environment/type/validate-platform-environment-type.js +7 -0
- package/dist/esm/environment/variable/definition/environment-variable-definition-to-resolver.d.ts +3 -0
- package/dist/esm/environment/variable/definition/environment-variable-definition-to-resolver.js +11 -0
- package/dist/esm/environment/variable/definition/environment-variable-definition-type.d.ts +3 -0
- package/dist/esm/environment/variable/definition/environment-variable-definition-type.js +1 -0
- package/dist/esm/environment/variable/definition/environment-variable-definition.d.ts +7 -0
- package/dist/esm/environment/variable/definition/environment-variable-definition.js +1 -0
- package/dist/esm/environment/variable/definition/environment-variable-definitions-to-resolvers.d.ts +4 -0
- package/dist/esm/environment/variable/definition/environment-variable-definitions-to-resolvers.js +8 -0
- package/dist/esm/environment/variable/definition/environment-variable-entries-to-object.d.ts +6 -0
- package/dist/esm/environment/variable/definition/environment-variable-entries-to-object.js +11 -0
- package/dist/esm/environment/variable/definition/environment-variable-entry.d.ts +9 -0
- package/dist/esm/environment/variable/definition/environment-variable-entry.js +1 -0
- package/dist/esm/environment/variable/definition/environment-variable-object-property-type.d.ts +4 -0
- package/dist/esm/environment/variable/definition/environment-variable-object-property-type.js +1 -0
- package/dist/esm/environment/variable/definition/environment-variable-object-property.d.ts +5 -0
- package/dist/esm/environment/variable/definition/environment-variable-object-property.js +1 -0
- package/dist/esm/environment/variable/definition/environment-variable-object.d.ts +6 -0
- package/dist/esm/environment/variable/definition/environment-variable-object.js +1 -0
- package/dist/esm/environment/variable/definition/environment-variable-resolver.d.ts +3 -0
- package/dist/esm/environment/variable/definition/environment-variable-resolver.js +1 -0
- package/dist/esm/environment/variable/environment-variables-to-platform-environment.d.ts +3 -0
- package/dist/esm/environment/variable/environment-variables-to-platform-environment.js +33 -0
- package/dist/esm/environment/variable/environment-variables-to-value.d.ts +5 -0
- package/dist/esm/environment/variable/environment-variables-to-value.js +9 -0
- package/dist/esm/environment/variable/environment-variables-to-values.d.ts +7 -0
- package/dist/esm/environment/variable/environment-variables-to-values.js +12 -0
- package/dist/esm/environment/variable/environment-variables.d.ts +2 -0
- package/dist/esm/environment/variable/environment-variables.js +1 -0
- package/dist/esm/environment/variable/indexed/get-indexed-environment-variables-count.d.ts +5 -0
- package/dist/esm/environment/variable/indexed/get-indexed-environment-variables-count.js +18 -0
- package/dist/esm/environment/variable/indexed/index-to-indexed-environment-variables.d.ts +6 -0
- package/dist/esm/environment/variable/indexed/index-to-indexed-environment-variables.js +12 -0
- package/dist/esm/environment/variable/indexed/indexed-environment-variable-definitions.d.ts +6 -0
- package/dist/esm/environment/variable/indexed/indexed-environment-variable-definitions.js +1 -0
- package/dist/esm/environment/variable/platform-environment-to-environment-variables.d.ts +3 -0
- package/dist/esm/environment/variable/platform-environment-to-environment-variables.js +10 -0
- package/dist/esm/error/creator/error-creator.d.ts +4 -0
- package/dist/esm/error/creator/error-creator.js +1 -0
- package/dist/esm/error/creator/error-from-creator.d.ts +3 -0
- package/dist/esm/error/creator/error-from-creator.js +1 -0
- package/dist/esm/error/index.d.ts +14 -0
- package/dist/esm/error/index.js +9 -0
- package/dist/esm/error/is-error-of-type.d.ts +7 -0
- package/dist/esm/error/is-error-of-type.js +16 -0
- package/dist/esm/error/is-error.d.ts +1 -0
- package/dist/esm/error/is-error.js +3 -0
- package/dist/esm/error/is-platform-error.d.ts +2 -0
- package/dist/esm/error/is-platform-error.js +10 -0
- package/dist/esm/error/operator/catch-platform-error.d.ts +3 -0
- package/dist/esm/error/operator/catch-platform-error.js +5 -0
- package/dist/esm/error/operator/map-platform-error.d.ts +3 -0
- package/dist/esm/error/operator/map-platform-error.js +5 -0
- package/dist/esm/error/platform-error-instance.d.ts +9 -0
- package/dist/esm/error/platform-error-instance.js +12 -0
- package/dist/esm/error/platform-error-to-platform-error-instance.d.ts +4 -0
- package/dist/esm/error/platform-error-to-platform-error-instance.js +5 -0
- package/dist/esm/error/platform-error.d.ts +7 -0
- package/dist/esm/error/platform-error.js +1 -0
- package/dist/esm/error/properties/error-properties-from-error-definitions.d.ts +5 -0
- package/dist/esm/error/properties/error-properties-from-error-definitions.js +1 -0
- package/dist/esm/error/properties/error-properties-schema-type-name.d.ts +1 -0
- package/dist/esm/error/properties/error-properties-schema-type-name.js +1 -0
- package/dist/esm/error/properties/error-properties-schema.d.ts +3 -0
- package/dist/esm/error/properties/error-properties-schema.js +1 -0
- package/dist/esm/error/properties/error-properties.d.ts +3 -0
- package/dist/esm/error/properties/error-properties.js +5 -0
- package/dist/esm/error/stack/error-stack-to-platform-error-stack.d.ts +1 -0
- package/dist/esm/error/stack/error-stack-to-platform-error-stack.js +5 -0
- package/dist/esm/error/type/create-error-type.d.ts +6 -0
- package/dist/esm/error/type/create-error-type.js +9 -0
- package/dist/esm/error/type/error-creator-entry-to-property-descriptor-map.d.ts +2 -0
- package/dist/esm/error/type/error-creator-entry-to-property-descriptor-map.js +11 -0
- package/dist/esm/error/type/error-creator-entry.d.ts +3 -0
- package/dist/esm/error/type/error-creator-entry.js +1 -0
- package/dist/esm/error/type/error-from-type.d.ts +3 -0
- package/dist/esm/error/type/error-from-type.js +1 -0
- package/dist/esm/error/type/error-properties-schema-entry-to-error-creator-entry.d.ts +4 -0
- package/dist/esm/error/type/error-properties-schema-entry-to-error-creator-entry.js +13 -0
- package/dist/esm/error/type/error-type.d.ts +7 -0
- package/dist/esm/error/type/error-type.js +1 -0
- package/dist/esm/event/creator/event-creator.d.ts +4 -0
- package/dist/esm/event/creator/event-creator.js +1 -0
- package/dist/esm/event/creator/event-from-creator.d.ts +3 -0
- package/dist/esm/event/creator/event-from-creator.js +1 -0
- package/dist/esm/event/event-name.d.ts +3 -0
- package/dist/esm/event/event-name.js +1 -0
- package/dist/esm/event/event.d.ts +6 -0
- package/dist/esm/event/event.js +1 -0
- package/dist/esm/event/handler/event-handler.d.ts +4 -0
- package/dist/esm/event/handler/event-handler.js +1 -0
- package/dist/esm/event/index.d.ts +22 -0
- package/dist/esm/event/index.js +9 -0
- package/dist/esm/event/is-event-of-type.d.ts +9 -0
- package/dist/esm/event/is-event-of-type.js +3 -0
- package/dist/esm/event/is-event.d.ts +2 -0
- package/dist/esm/event/is-event.js +10 -0
- package/dist/esm/event/matcher/event-matcher-case.d.ts +4 -0
- package/dist/esm/event/matcher/event-matcher-case.js +1 -0
- package/dist/esm/event/matcher/event-matcher.d.ts +7 -0
- package/dist/esm/event/matcher/event-matcher.js +1 -0
- package/dist/esm/event/matcher/events-matcher-case.d.ts +4 -0
- package/dist/esm/event/matcher/events-matcher-case.js +1 -0
- package/dist/esm/event/matcher/events-matcher.d.ts +7 -0
- package/dist/esm/event/matcher/events-matcher.js +1 -0
- package/dist/esm/event/matcher/match-event.d.ts +3 -0
- package/dist/esm/event/matcher/match-event.js +5 -0
- package/dist/esm/event/matcher/match-events.d.ts +5 -0
- package/dist/esm/event/matcher/match-events.js +18 -0
- package/dist/esm/event/properties/event-properties-from-event-definitions.d.ts +5 -0
- package/dist/esm/event/properties/event-properties-from-event-definitions.js +1 -0
- package/dist/esm/event/properties/event-properties-schema-type-name.d.ts +1 -0
- package/dist/esm/event/properties/event-properties-schema-type-name.js +1 -0
- package/dist/esm/event/properties/event-properties-schema.d.ts +3 -0
- package/dist/esm/event/properties/event-properties-schema.js +1 -0
- package/dist/esm/event/properties/event-properties.d.ts +3 -0
- package/dist/esm/event/properties/event-properties.js +5 -0
- package/dist/esm/event/properties/event-to-event-name.d.ts +2 -0
- package/dist/esm/event/properties/event-to-event-name.js +3 -0
- package/dist/esm/event/properties/event-to-event-properties.d.ts +2 -0
- package/dist/esm/event/properties/event-to-event-properties.js +3 -0
- package/dist/esm/event/properties/event-to-properties.d.ts +2 -0
- package/dist/esm/event/properties/event-to-properties.js +3 -0
- package/dist/esm/event/type/create-event-type.d.ts +6 -0
- package/dist/esm/event/type/create-event-type.js +9 -0
- package/dist/esm/event/type/event-creator-entry-to-property-descriptor-map.d.ts +2 -0
- package/dist/esm/event/type/event-creator-entry-to-property-descriptor-map.js +11 -0
- package/dist/esm/event/type/event-creator-entry.d.ts +3 -0
- package/dist/esm/event/type/event-creator-entry.js +1 -0
- package/dist/esm/event/type/event-from-type.d.ts +3 -0
- package/dist/esm/event/type/event-from-type.js +1 -0
- package/dist/esm/event/type/event-properties-schema-entry-to-event-creator-entry.d.ts +4 -0
- package/dist/esm/event/type/event-properties-schema-entry-to-event-creator-entry.js +10 -0
- package/dist/esm/event/type/event-type-with-events.d.ts +2 -0
- package/dist/esm/event/type/event-type-with-events.js +9 -0
- package/dist/esm/event/type/event-type.d.ts +7 -0
- package/dist/esm/event/type/event-type.js +1 -0
- package/dist/esm/functional/call-with.d.ts +1 -0
- package/dist/esm/functional/call-with.js +3 -0
- package/dist/esm/functional/entries-to-object.d.ts +1 -0
- package/dist/esm/functional/entries-to-object.js +3 -0
- package/dist/esm/functional/identity.d.ts +1 -0
- package/dist/esm/functional/identity.js +3 -0
- package/dist/esm/functional/index.d.ts +12 -0
- package/dist/esm/functional/index.js +12 -0
- package/dist/esm/functional/is-defined.d.ts +1 -0
- package/dist/esm/functional/is-defined.js +3 -0
- package/dist/esm/functional/is-instance-of.d.ts +1 -0
- package/dist/esm/functional/is-instance-of.js +3 -0
- package/dist/esm/functional/is-not-null.d.ts +1 -0
- package/dist/esm/functional/is-not-null.js +3 -0
- package/dist/esm/functional/not.d.ts +1 -0
- package/dist/esm/functional/not.js +3 -0
- package/dist/esm/functional/object-to-entries.d.ts +2 -0
- package/dist/esm/functional/object-to-entries.js +3 -0
- package/dist/esm/functional/object-to-keys.d.ts +2 -0
- package/dist/esm/functional/object-to-keys.js +3 -0
- package/dist/esm/functional/object-to-values.d.ts +1 -0
- package/dist/esm/functional/object-to-values.js +3 -0
- package/dist/esm/functional/object-with-properties.d.ts +2 -0
- package/dist/esm/functional/object-with-properties.js +21 -0
- package/dist/esm/functional/pipe.d.ts +13 -0
- package/dist/esm/functional/pipe.js +7 -0
- package/dist/esm/geometry/index.d.ts +3 -0
- package/dist/esm/geometry/index.js +1 -0
- package/dist/esm/geometry/point.d.ts +5 -0
- package/dist/esm/geometry/point.js +1 -0
- package/dist/esm/geometry/polygon.d.ts +5 -0
- package/dist/esm/geometry/polygon.js +1 -0
- package/dist/esm/geometry/position.d.ts +1 -0
- package/dist/esm/geometry/position.js +1 -0
- package/dist/esm/http/client/create-http-client.d.ts +3 -0
- package/dist/esm/http/client/create-http-client.js +34 -0
- package/dist/esm/http/client/graphql/create-graphql-client.d.ts +3 -0
- package/dist/esm/http/client/graphql/create-graphql-client.js +28 -0
- package/dist/esm/http/client/graphql/graphql-client-options.d.ts +8 -0
- package/dist/esm/http/client/graphql/graphql-client-options.js +1 -0
- package/dist/esm/http/client/graphql/graphql-client.d.ts +4 -0
- package/dist/esm/http/client/graphql/graphql-client.error.d.ts +11 -0
- package/dist/esm/http/client/graphql/graphql-client.error.js +6 -0
- package/dist/esm/http/client/graphql/graphql-client.js +1 -0
- package/dist/esm/http/client/graphql/graphql-error-location.d.ts +4 -0
- package/dist/esm/http/client/graphql/graphql-error-location.js +1 -0
- package/dist/esm/http/client/graphql/graphql-error.d.ts +7 -0
- package/dist/esm/http/client/graphql/graphql-error.js +1 -0
- package/dist/esm/http/client/graphql/graphql-query-to-graphql-request.d.ts +3 -0
- package/dist/esm/http/client/graphql/graphql-query-to-graphql-request.js +6 -0
- package/dist/esm/http/client/graphql/graphql-request.d.ts +5 -0
- package/dist/esm/http/client/graphql/graphql-request.js +1 -0
- package/dist/esm/http/client/graphql/graphql-response.d.ts +5 -0
- package/dist/esm/http/client/graphql/graphql-response.js +1 -0
- package/dist/esm/http/client/graphql/index.d.ts +6 -0
- package/dist/esm/http/client/graphql/index.js +2 -0
- package/dist/esm/http/client/header/fetch-header-to-http-header.d.ts +2 -0
- package/dist/esm/http/client/header/fetch-header-to-http-header.js +6 -0
- package/dist/esm/http/client/header/http-headers-to-fetch-headers.d.ts +2 -0
- package/dist/esm/http/client/header/http-headers-to-fetch-headers.js +5 -0
- package/dist/esm/http/client/http-client-options.d.ts +5 -0
- package/dist/esm/http/client/http-client-options.js +1 -0
- package/dist/esm/http/client/http-client.d.ts +5 -0
- package/dist/esm/http/client/http-client.error.d.ts +4 -0
- package/dist/esm/http/client/http-client.error.js +6 -0
- package/dist/esm/http/client/http-client.js +1 -0
- package/dist/esm/http/client/index.d.ts +19 -0
- package/dist/esm/http/client/index.js +12 -0
- package/dist/esm/http/client/progress/controller-to-response-progress-chunks.d.ts +2 -0
- package/dist/esm/http/client/progress/controller-to-response-progress-chunks.js +20 -0
- package/dist/esm/http/client/progress/http-client-response-progress.d.ts +7 -0
- package/dist/esm/http/client/progress/http-client-response-progress.js +1 -0
- package/dist/esm/http/client/progress/http-client-response-to-http-client-response-with-progress.d.ts +3 -0
- package/dist/esm/http/client/progress/http-client-response-to-http-client-response-with-progress.js +31 -0
- package/dist/esm/http/client/progress/http-client-response-with-progress-to-bytes.d.ts +2 -0
- package/dist/esm/http/client/progress/http-client-response-with-progress-to-bytes.js +4 -0
- package/dist/esm/http/client/progress/http-client-response-with-progress.d.ts +7 -0
- package/dist/esm/http/client/progress/http-client-response-with-progress.js +1 -0
- package/dist/esm/http/client/progress/response-progress-chunk-to-response-progress.d.ts +2 -0
- package/dist/esm/http/client/progress/response-progress-chunk-to-response-progress.js +16 -0
- package/dist/esm/http/client/progress/response-progress-underlying-source.d.ts +5 -0
- package/dist/esm/http/client/progress/response-progress-underlying-source.js +9 -0
- package/dist/esm/http/client/request/http-client-request-options.d.ts +3 -0
- package/dist/esm/http/client/request/http-client-request-options.js +1 -0
- package/dist/esm/http/client/request/http-client-request.d.ts +8 -0
- package/dist/esm/http/client/request/http-client-request.js +1 -0
- package/dist/esm/http/client/response/fetch-response-symbol.d.ts +1 -0
- package/dist/esm/http/client/response/fetch-response-symbol.js +1 -0
- package/dist/esm/http/client/response/http-client-response-status-is-options.d.ts +7 -0
- package/dist/esm/http/client/response/http-client-response-status-is-options.js +1 -0
- package/dist/esm/http/client/response/http-client-response-status-is.d.ts +3 -0
- package/dist/esm/http/client/response/http-client-response-status-is.js +10 -0
- package/dist/esm/http/client/response/http-client-response-to-array-buffer.d.ts +2 -0
- package/dist/esm/http/client/response/http-client-response-to-array-buffer.js +5 -0
- package/dist/esm/http/client/response/http-client-response-to-blob.d.ts +2 -0
- package/dist/esm/http/client/response/http-client-response-to-blob.js +5 -0
- package/dist/esm/http/client/response/http-client-response-to-json-stream-options.d.ts +3 -0
- package/dist/esm/http/client/response/http-client-response-to-json-stream-options.js +1 -0
- package/dist/esm/http/client/response/http-client-response-to-json-stream.d.ts +4 -0
- package/dist/esm/http/client/response/http-client-response-to-json-stream.js +35 -0
- package/dist/esm/http/client/response/http-client-response-to-json.d.ts +2 -0
- package/dist/esm/http/client/response/http-client-response-to-json.js +11 -0
- package/dist/esm/http/client/response/http-client-response-to-text.d.ts +2 -0
- package/dist/esm/http/client/response/http-client-response-to-text.js +5 -0
- package/dist/esm/http/client/response/http-client-response.d.ts +7 -0
- package/dist/esm/http/client/response/http-client-response.js +1 -0
- package/dist/esm/http/client/response/response-to-http-client-response.d.ts +2 -0
- package/dist/esm/http/client/response/response-to-http-client-response.js +11 -0
- package/dist/esm/http/client/response/url-to-http-client-response.d.ts +4 -0
- package/dist/esm/http/client/response/url-to-http-client-response.js +4 -0
- package/dist/esm/http/client/testing/create-test-http-client.d.ts +3 -0
- package/dist/esm/http/client/testing/create-test-http-client.js +17 -0
- package/dist/esm/http/client/testing/index.d.ts +3 -0
- package/dist/esm/http/client/testing/index.js +1 -0
- package/dist/esm/http/client/testing/test-http-client-options.d.ts +3 -0
- package/dist/esm/http/client/testing/test-http-client-options.js +1 -0
- package/dist/esm/http/client/testing/test-http-client.d.ts +5 -0
- package/dist/esm/http/client/testing/test-http-client.js +1 -0
- package/dist/esm/http/cookie/http-cookie.d.ts +13 -0
- package/dist/esm/http/cookie/http-cookie.js +1 -0
- package/dist/esm/http/cookie/is-session-http-cookie.d.ts +2 -0
- package/dist/esm/http/cookie/is-session-http-cookie.js +4 -0
- package/dist/esm/http/cookie/same-site-option/http-cookie-same-site-option.d.ts +2 -0
- package/dist/esm/http/cookie/same-site-option/http-cookie-same-site-option.js +1 -0
- package/dist/esm/http/cookie/same-site-option/http-cookie-same-site-options.d.ts +1 -0
- package/dist/esm/http/cookie/same-site-option/http-cookie-same-site-options.js +1 -0
- package/dist/esm/http/cookie/same-site-option/is-http-cookie-same-site-option.d.ts +2 -0
- package/dist/esm/http/cookie/same-site-option/is-http-cookie-same-site-option.js +5 -0
- package/dist/esm/http/cookie/same-site-option/validate-http-cookie-same-site-option.d.ts +2 -0
- package/dist/esm/http/cookie/same-site-option/validate-http-cookie-same-site-option.js +7 -0
- package/dist/esm/http/error/invalid-cookie-header-value-error-properties.d.ts +3 -0
- package/dist/esm/http/error/invalid-cookie-header-value-error-properties.js +1 -0
- package/dist/esm/http/error/invalid-cookie-same-site-option-error-properties.d.ts +3 -0
- package/dist/esm/http/error/invalid-cookie-same-site-option-error-properties.js +1 -0
- package/dist/esm/http/error/invalid-http-header-name-error-properties.d.ts +3 -0
- package/dist/esm/http/error/invalid-http-header-name-error-properties.js +1 -0
- package/dist/esm/http/error/invalid-http-method-error-properties.d.ts +3 -0
- package/dist/esm/http/error/invalid-http-method-error-properties.js +1 -0
- package/dist/esm/http/error/invalid-http-status-error-properties.d.ts +3 -0
- package/dist/esm/http/error/invalid-http-status-error-properties.js +1 -0
- package/dist/esm/http/header/authorization/parse-authorization-header-value.d.ts +1 -0
- package/dist/esm/http/header/authorization/parse-authorization-header-value.js +9 -0
- package/dist/esm/http/header/by-http-header-name.d.ts +3 -0
- package/dist/esm/http/header/by-http-header-name.js +3 -0
- package/dist/esm/http/header/cookie/create-set-cookie-http-header.d.ts +3 -0
- package/dist/esm/http/header/cookie/create-set-cookie-http-header.js +21 -0
- package/dist/esm/http/header/cookie/parse-cookie-header-value.d.ts +2 -0
- package/dist/esm/http/header/cookie/parse-cookie-header-value.js +28 -0
- package/dist/esm/http/header/http-header.d.ts +2 -0
- package/dist/esm/http/header/http-header.js +1 -0
- package/dist/esm/http/header/name/as-http-header-name.d.ts +2 -0
- package/dist/esm/http/header/name/as-http-header-name.js +5 -0
- package/dist/esm/http/header/name/http-header-name.d.ts +2 -0
- package/dist/esm/http/header/name/http-header-name.js +1 -0
- package/dist/esm/http/header/name/http-header-names.d.ts +1 -0
- package/dist/esm/http/header/name/http-header-names.js +115 -0
- package/dist/esm/http/header/name/is-http-header-name.d.ts +2 -0
- package/dist/esm/http/header/name/is-http-header-name.js +3 -0
- package/dist/esm/http/header/name/validate-http-header-name.d.ts +2 -0
- package/dist/esm/http/header/name/validate-http-header-name.js +7 -0
- package/dist/esm/http/http.error.d.ts +12 -0
- package/dist/esm/http/http.error.js +9 -0
- package/dist/esm/http/index.d.ts +31 -0
- package/dist/esm/http/index.js +19 -0
- package/dist/esm/http/method/as-http-method.d.ts +2 -0
- package/dist/esm/http/method/as-http-method.js +5 -0
- package/dist/esm/http/method/http-method.d.ts +2 -0
- package/dist/esm/http/method/http-method.js +1 -0
- package/dist/esm/http/method/http-methods.d.ts +1 -0
- package/dist/esm/http/method/http-methods.js +1 -0
- package/dist/esm/http/method/is-http-method.d.ts +2 -0
- package/dist/esm/http/method/is-http-method.js +5 -0
- package/dist/esm/http/method/validate-http-method.d.ts +2 -0
- package/dist/esm/http/method/validate-http-method.js +7 -0
- package/dist/esm/http/status/http-status.d.ts +2 -0
- package/dist/esm/http/status/http-status.js +1 -0
- package/dist/esm/http/status/http-statuses.d.ts +63 -0
- package/dist/esm/http/status/http-statuses.js +63 -0
- package/dist/esm/http/status/is-http-status.d.ts +2 -0
- package/dist/esm/http/status/is-http-status.js +6 -0
- package/dist/esm/http/status/validate-http-status.d.ts +2 -0
- package/dist/esm/http/status/validate-http-status.js +7 -0
- package/dist/esm/i18n/error/invalid-i18n-string-error-properties.d.ts +3 -0
- package/dist/esm/i18n/error/invalid-i18n-string-error-properties.js +1 -0
- package/dist/esm/i18n/i18n.error.d.ts +4 -0
- package/dist/esm/i18n/i18n.error.js +5 -0
- package/dist/esm/i18n/index.d.ts +12 -0
- package/dist/esm/i18n/index.js +8 -0
- package/dist/esm/i18n/string/as-i18n-string.d.ts +2 -0
- package/dist/esm/i18n/string/as-i18n-string.js +5 -0
- package/dist/esm/i18n/string/compare-i18n-strings-options.d.ts +5 -0
- package/dist/esm/i18n/string/compare-i18n-strings-options.js +1 -0
- package/dist/esm/i18n/string/compare-i18n-strings.d.ts +3 -0
- package/dist/esm/i18n/string/compare-i18n-strings.js +8 -0
- package/dist/esm/i18n/string/i18n-string-includes-options.d.ts +5 -0
- package/dist/esm/i18n/string/i18n-string-includes-options.js +1 -0
- package/dist/esm/i18n/string/i18n-string-includes.d.ts +3 -0
- package/dist/esm/i18n/string/i18n-string-includes.js +20 -0
- package/dist/esm/i18n/string/i18n-string.d.ts +3 -0
- package/dist/esm/i18n/string/i18n-string.js +1 -0
- package/dist/esm/i18n/string/is-i18n-string.d.ts +2 -0
- package/dist/esm/i18n/string/is-i18n-string.js +7 -0
- package/dist/esm/i18n/string/is-same-i18n-string.d.ts +2 -0
- package/dist/esm/i18n/string/is-same-i18n-string.js +18 -0
- package/dist/esm/i18n/string/merge-i18n-strings.d.ts +2 -0
- package/dist/esm/i18n/string/merge-i18n-strings.js +6 -0
- package/dist/esm/i18n/string/validate-i18n-string.d.ts +2 -0
- package/dist/esm/i18n/string/validate-i18n-string.js +7 -0
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/language/as-language-code.d.ts +2 -0
- package/dist/esm/language/as-language-code.js +5 -0
- package/dist/esm/language/error/invalid-language-code-error-properties.d.ts +3 -0
- package/dist/esm/language/error/invalid-language-code-error-properties.js +1 -0
- package/dist/esm/language/index.d.ts +7 -0
- package/dist/esm/language/index.js +5 -0
- package/dist/esm/language/is-language-code.d.ts +2 -0
- package/dist/esm/language/is-language-code.js +5 -0
- package/dist/esm/language/language-code.d.ts +2 -0
- package/dist/esm/language/language-code.js +1 -0
- package/dist/esm/language/language-codes.d.ts +1 -0
- package/dist/esm/language/language-codes.js +18 -0
- package/dist/esm/language/language.error.d.ts +4 -0
- package/dist/esm/language/language.error.js +5 -0
- package/dist/esm/language/validate-language-code.d.ts +2 -0
- package/dist/esm/language/validate-language-code.js +7 -0
- package/dist/esm/locale/as-locale-code.d.ts +2 -0
- package/dist/esm/locale/as-locale-code.js +5 -0
- package/dist/esm/locale/by-locale-code.d.ts +4 -0
- package/dist/esm/locale/by-locale-code.js +4 -0
- package/dist/esm/locale/error/invalid-locale-code-error-properties.d.ts +3 -0
- package/dist/esm/locale/error/invalid-locale-code-error-properties.js +1 -0
- package/dist/esm/locale/index.d.ts +7 -0
- package/dist/esm/locale/index.js +5 -0
- package/dist/esm/locale/is-locale-code.d.ts +2 -0
- package/dist/esm/locale/is-locale-code.js +9 -0
- package/dist/esm/locale/locale-code.d.ts +2 -0
- package/dist/esm/locale/locale-code.js +1 -0
- package/dist/esm/locale/locale-codes.d.ts +1 -0
- package/dist/esm/locale/locale-codes.js +30 -0
- package/dist/esm/locale/locale.error.d.ts +4 -0
- package/dist/esm/locale/locale.error.js +5 -0
- package/dist/esm/locale/validate-locale-code.d.ts +2 -0
- package/dist/esm/locale/validate-locale-code.js +7 -0
- package/dist/esm/platform.domain.d.ts +1 -0
- package/dist/esm/platform.domain.js +2 -0
- package/dist/esm/random/get-random-array-value.d.ts +1 -0
- package/dist/esm/random/get-random-array-value.js +7 -0
- package/dist/esm/random/index.d.ts +1 -0
- package/dist/esm/random/index.js +1 -0
- package/dist/esm/reactive/as-observable.d.ts +1 -0
- package/dist/esm/reactive/as-observable.js +4 -0
- package/dist/esm/reactive/catch-error-if.d.ts +3 -0
- package/dist/esm/reactive/catch-error-if.js +9 -0
- package/dist/esm/reactive/defer-value.d.ts +1 -0
- package/dist/esm/reactive/defer-value.js +12 -0
- package/dist/esm/reactive/index.d.ts +8 -0
- package/dist/esm/reactive/index.js +8 -0
- package/dist/esm/reactive/map-error-if.d.ts +3 -0
- package/dist/esm/reactive/map-error-if.js +9 -0
- package/dist/esm/reactive/observable-map.d.ts +5 -0
- package/dist/esm/reactive/observable-map.js +16 -0
- package/dist/esm/reactive/polyfill/index.d.ts +1 -0
- package/dist/esm/reactive/polyfill/index.js +2 -0
- package/dist/esm/reactive/tap-error.d.ts +2 -0
- package/dist/esm/reactive/tap-error.js +6 -0
- package/dist/esm/reactive/throw-if.d.ts +3 -0
- package/dist/esm/reactive/throw-if.js +10 -0
- package/dist/esm/reactive/throw-unless.d.ts +3 -0
- package/dist/esm/reactive/throw-unless.js +10 -0
- package/dist/esm/temporal/date/date-to-start-of-week.d.ts +1 -0
- package/dist/esm/temporal/date/date-to-start-of-week.js +4 -0
- package/dist/esm/temporal/date/string/as-date-string.d.ts +2 -0
- package/dist/esm/temporal/date/string/as-date-string.js +12 -0
- package/dist/esm/temporal/date/string/current-date-string.d.ts +2 -0
- package/dist/esm/temporal/date/string/current-date-string.js +4 -0
- package/dist/esm/temporal/date/string/date-string.d.ts +3 -0
- package/dist/esm/temporal/date/string/date-string.js +1 -0
- package/dist/esm/temporal/date/string/is-date-string.d.ts +2 -0
- package/dist/esm/temporal/date/string/is-date-string.js +12 -0
- package/dist/esm/temporal/date/string/validate-date-string.d.ts +2 -0
- package/dist/esm/temporal/date/string/validate-date-string.js +7 -0
- package/dist/esm/temporal/date-interval/string/as-date-interval-string.d.ts +2 -0
- package/dist/esm/temporal/date-interval/string/as-date-interval-string.js +5 -0
- package/dist/esm/temporal/date-interval/string/date-interval-string.d.ts +4 -0
- package/dist/esm/temporal/date-interval/string/date-interval-string.js +1 -0
- package/dist/esm/temporal/date-interval/string/is-date-interval-string.d.ts +2 -0
- package/dist/esm/temporal/date-interval/string/is-date-interval-string.js +11 -0
- package/dist/esm/temporal/date-interval/string/validate-date-interval-string.d.ts +2 -0
- package/dist/esm/temporal/date-interval/string/validate-date-interval-string.js +7 -0
- package/dist/esm/temporal/date-time/string/as-date-time-string.d.ts +2 -0
- package/dist/esm/temporal/date-time/string/as-date-time-string.js +23 -0
- package/dist/esm/temporal/date-time/string/current-date-time-string.d.ts +2 -0
- package/dist/esm/temporal/date-time/string/current-date-time-string.js +4 -0
- package/dist/esm/temporal/date-time/string/date-time-string-to-date-string.d.ts +4 -0
- package/dist/esm/temporal/date-time/string/date-time-string-to-date-string.js +7 -0
- package/dist/esm/temporal/date-time/string/date-time-string-to-instant.d.ts +1 -0
- package/dist/esm/temporal/date-time/string/date-time-string-to-instant.js +3 -0
- package/dist/esm/temporal/date-time/string/date-time-string.d.ts +3 -0
- package/dist/esm/temporal/date-time/string/date-time-string.js +1 -0
- package/dist/esm/temporal/date-time/string/is-date-time-string.d.ts +2 -0
- package/dist/esm/temporal/date-time/string/is-date-time-string.js +13 -0
- package/dist/esm/temporal/date-time/string/validate-date-time-string.d.ts +2 -0
- package/dist/esm/temporal/date-time/string/validate-date-time-string.js +7 -0
- package/dist/esm/temporal/date-time-interval/string/as-date-time-interval-string.d.ts +2 -0
- package/dist/esm/temporal/date-time-interval/string/as-date-time-interval-string.js +5 -0
- package/dist/esm/temporal/date-time-interval/string/date-time-interval-string.d.ts +4 -0
- package/dist/esm/temporal/date-time-interval/string/date-time-interval-string.js +1 -0
- package/dist/esm/temporal/date-time-interval/string/is-date-time-interval-string.d.ts +2 -0
- package/dist/esm/temporal/date-time-interval/string/is-date-time-interval-string.js +11 -0
- package/dist/esm/temporal/date-time-interval/string/validate-date-time-interval-string.d.ts +2 -0
- package/dist/esm/temporal/date-time-interval/string/validate-date-time-interval-string.js +7 -0
- package/dist/esm/temporal/duration/string/as-duration-string.d.ts +2 -0
- package/dist/esm/temporal/duration/string/as-duration-string.js +12 -0
- package/dist/esm/temporal/duration/string/duration-string.d.ts +3 -0
- package/dist/esm/temporal/duration/string/duration-string.js +1 -0
- package/dist/esm/temporal/duration/string/is-duration-string.d.ts +2 -0
- package/dist/esm/temporal/duration/string/is-duration-string.js +12 -0
- package/dist/esm/temporal/duration/string/validate-duration-string.d.ts +2 -0
- package/dist/esm/temporal/duration/string/validate-duration-string.js +7 -0
- package/dist/esm/temporal/error/invalid-date-interval-string-error-properties.d.ts +3 -0
- package/dist/esm/temporal/error/invalid-date-interval-string-error-properties.js +1 -0
- package/dist/esm/temporal/error/invalid-date-string-error-properties.d.ts +3 -0
- package/dist/esm/temporal/error/invalid-date-string-error-properties.js +1 -0
- package/dist/esm/temporal/error/invalid-date-time-interval-string-error-properties.d.ts +3 -0
- package/dist/esm/temporal/error/invalid-date-time-interval-string-error-properties.js +1 -0
- package/dist/esm/temporal/error/invalid-date-time-string-error-properties.d.ts +3 -0
- package/dist/esm/temporal/error/invalid-date-time-string-error-properties.js +1 -0
- package/dist/esm/temporal/error/invalid-duration-string-error-properties.d.ts +3 -0
- package/dist/esm/temporal/error/invalid-duration-string-error-properties.js +1 -0
- package/dist/esm/temporal/error/invalid-time-interval-string-error-properties.d.ts +3 -0
- package/dist/esm/temporal/error/invalid-time-interval-string-error-properties.js +1 -0
- package/dist/esm/temporal/error/invalid-time-string-error-properties.d.ts +3 -0
- package/dist/esm/temporal/error/invalid-time-string-error-properties.js +1 -0
- package/dist/esm/temporal/index.d.ts +39 -0
- package/dist/esm/temporal/index.js +25 -0
- package/dist/esm/temporal/polyfill/index.d.ts +1 -0
- package/dist/esm/temporal/polyfill/index.js +4 -0
- package/dist/esm/temporal/temporal.error.d.ts +16 -0
- package/dist/esm/temporal/temporal.error.js +11 -0
- package/dist/esm/temporal/time/string/as-time-string.d.ts +2 -0
- package/dist/esm/temporal/time/string/as-time-string.js +12 -0
- package/dist/esm/temporal/time/string/current-time-string.d.ts +2 -0
- package/dist/esm/temporal/time/string/current-time-string.js +4 -0
- package/dist/esm/temporal/time/string/is-time-string.d.ts +2 -0
- package/dist/esm/temporal/time/string/is-time-string.js +12 -0
- package/dist/esm/temporal/time/string/time-string.d.ts +3 -0
- package/dist/esm/temporal/time/string/time-string.js +1 -0
- package/dist/esm/temporal/time/string/validate-time-string.d.ts +2 -0
- package/dist/esm/temporal/time/string/validate-time-string.js +7 -0
- package/dist/esm/temporal/time-interval/string/as-time-interval-string.d.ts +2 -0
- package/dist/esm/temporal/time-interval/string/as-time-interval-string.js +5 -0
- package/dist/esm/temporal/time-interval/string/is-time-interval-string.d.ts +2 -0
- package/dist/esm/temporal/time-interval/string/is-time-interval-string.js +11 -0
- package/dist/esm/temporal/time-interval/string/time-interval-string.d.ts +4 -0
- package/dist/esm/temporal/time-interval/string/time-interval-string.js +1 -0
- package/dist/esm/temporal/time-interval/string/validate-time-interval-string.d.ts +2 -0
- package/dist/esm/temporal/time-interval/string/validate-time-interval-string.js +7 -0
- package/dist/esm/testing/environment/create-test-environment-variables.d.ts +2 -0
- package/dist/esm/testing/environment/create-test-environment-variables.js +6 -0
- package/dist/esm/testing/environment/create-test-platform-environment.d.ts +2 -0
- package/dist/esm/testing/environment/create-test-platform-environment.js +15 -0
- package/dist/esm/testing/environment/test-platform-environment-id.d.ts +1 -0
- package/dist/esm/testing/environment/test-platform-environment-id.js +2 -0
- package/dist/esm/testing/index.d.ts +3 -0
- package/dist/esm/testing/index.js +3 -0
- package/dist/esm/typescript/deep-partial.d.ts +4 -0
- package/dist/esm/typescript/deep-partial.js +1 -0
- package/dist/esm/typescript/expand.d.ts +3 -0
- package/dist/esm/typescript/expand.js +1 -0
- package/dist/esm/typescript/function/unary-function.d.ts +3 -0
- package/dist/esm/typescript/function/unary-function.js +1 -0
- package/dist/esm/typescript/generic-function.d.ts +1 -0
- package/dist/esm/typescript/generic-function.js +1 -0
- package/dist/esm/typescript/index.d.ts +17 -0
- package/dist/esm/typescript/index.js +1 -0
- package/dist/esm/typescript/is-branded-type.d.ts +2 -0
- package/dist/esm/typescript/is-branded-type.js +1 -0
- package/dist/esm/typescript/keys-of-value-type.d.ts +3 -0
- package/dist/esm/typescript/keys-of-value-type.js +1 -0
- package/dist/esm/typescript/omit-call-signature.d.ts +4 -0
- package/dist/esm/typescript/omit-call-signature.js +1 -0
- package/dist/esm/typescript/omit-indexed-access.d.ts +3 -0
- package/dist/esm/typescript/omit-indexed-access.js +1 -0
- package/dist/esm/typescript/pick-call-signature.d.ts +2 -0
- package/dist/esm/typescript/pick-call-signature.js +1 -0
- package/dist/esm/typescript/properties-to-union.d.ts +5 -0
- package/dist/esm/typescript/properties-to-union.js +1 -0
- package/dist/esm/typescript/readonly-record.d.ts +3 -0
- package/dist/esm/typescript/readonly-record.js +1 -0
- package/dist/esm/typescript/schema/type-creator.d.ts +1 -0
- package/dist/esm/typescript/schema/type-creator.js +1 -0
- package/dist/esm/typescript/schema/type-schema-symbol.d.ts +2 -0
- package/dist/esm/typescript/schema/type-schema-symbol.js +2 -0
- package/dist/esm/typescript/schema/type-schema-type-name.d.ts +2 -0
- package/dist/esm/typescript/schema/type-schema-type-name.js +1 -0
- package/dist/esm/typescript/schema/type-schema-type.d.ts +2 -0
- package/dist/esm/typescript/schema/type-schema-type.js +1 -0
- package/dist/esm/typescript/schema/type-schema.d.ts +6 -0
- package/dist/esm/typescript/schema/type-schema.js +7 -0
- package/dist/esm/typescript/union-to-intersection.d.ts +1 -0
- package/dist/esm/typescript/union-to-intersection.js +1 -0
- package/dist/esm/url/error/invalid-url-string-error-properties.d.ts +3 -0
- package/dist/esm/url/error/invalid-url-string-error-properties.js +1 -0
- package/dist/esm/url/index.d.ts +4 -0
- package/dist/esm/url/index.js +3 -0
- package/dist/esm/url/string/as-url-string.d.ts +2 -0
- package/dist/esm/url/string/as-url-string.js +11 -0
- package/dist/esm/url/string/is-url-string.d.ts +2 -0
- package/dist/esm/url/string/is-url-string.js +12 -0
- package/dist/esm/url/string/url-string.d.ts +3 -0
- package/dist/esm/url/string/url-string.js +1 -0
- package/dist/esm/url/string/validate-url-string.d.ts +2 -0
- package/dist/esm/url/string/validate-url-string.js +7 -0
- package/dist/esm/url/url.error.d.ts +4 -0
- package/dist/esm/url/url.error.js +5 -0
- package/dist/esm/uuid/as-uuid.d.ts +2 -0
- package/dist/esm/uuid/as-uuid.js +5 -0
- package/dist/esm/uuid/error/invalid-uuid-error-properties.d.ts +3 -0
- package/dist/esm/uuid/error/invalid-uuid-error-properties.js +1 -0
- package/dist/esm/uuid/generate-uuid.d.ts +2 -0
- package/dist/esm/uuid/generate-uuid.js +5 -0
- package/dist/esm/uuid/index.d.ts +7 -0
- package/dist/esm/uuid/index.js +5 -0
- package/dist/esm/uuid/is-uuid.d.ts +2 -0
- package/dist/esm/uuid/is-uuid.js +3 -0
- package/dist/esm/uuid/uuid.d.ts +3 -0
- package/dist/esm/uuid/uuid.error.d.ts +4 -0
- package/dist/esm/uuid/uuid.error.js +5 -0
- package/dist/esm/uuid/uuid.js +1 -0
- package/dist/esm/uuid/validate-uuid.d.ts +2 -0
- package/dist/esm/uuid/validate-uuid.js +7 -0
- package/dist/types/collection/array/array-to-deduplicated-array-options.d.ts +14 -0
- package/dist/types/collection/array/array-to-deduplicated-array-options.d.ts.map +1 -0
- package/dist/types/collection/array/array-to-deduplicated-array.d.ts +9 -0
- package/dist/types/collection/array/array-to-deduplicated-array.d.ts.map +1 -0
- package/dist/types/collection/array/array-to-element-at.d.ts +8 -0
- package/dist/types/collection/array/array-to-element-at.d.ts.map +1 -0
- package/dist/types/collection/array/array-to-first-element.d.ts +8 -0
- package/dist/types/collection/array/array-to-first-element.d.ts.map +1 -0
- package/dist/types/collection/array/array-to-flattened-array.d.ts +8 -0
- package/dist/types/collection/array/array-to-flattened-array.d.ts.map +1 -0
- package/dist/types/collection/array/array-to-slices.d.ts +8 -0
- package/dist/types/collection/array/array-to-slices.d.ts.map +1 -0
- package/dist/types/collection/buffer/buffer-to-string-options.d.ts +10 -0
- package/dist/types/collection/buffer/buffer-to-string-options.d.ts.map +1 -0
- package/dist/types/collection/buffer/buffer-to-string.d.ts +9 -0
- package/dist/types/collection/buffer/buffer-to-string.d.ts.map +1 -0
- package/dist/types/collection/each.d.ts +10 -0
- package/dist/types/collection/each.d.ts.map +1 -0
- package/dist/types/collection/included-in.d.ts +9 -0
- package/dist/types/collection/included-in.d.ts.map +1 -0
- package/dist/types/collection/index.d.ts +11 -0
- package/dist/types/collection/index.d.ts.map +1 -0
- package/dist/types/collection/string/string-to-line-stream.d.ts +8 -0
- package/dist/types/collection/string/string-to-line-stream.d.ts.map +1 -0
- package/dist/types/color/color.error.d.ts +11 -0
- package/dist/types/color/color.error.d.ts.map +1 -0
- package/dist/types/color/error/invalid-color-string-error-properties.d.ts +7 -0
- package/dist/types/color/error/invalid-color-string-error-properties.d.ts.map +1 -0
- package/dist/types/color/index.d.ts +7 -0
- package/dist/types/color/index.d.ts.map +1 -0
- package/dist/types/color/string/as-color-string.d.ts +9 -0
- package/dist/types/color/string/as-color-string.d.ts.map +1 -0
- package/dist/types/color/string/color-string.d.ts +7 -0
- package/dist/types/color/string/color-string.d.ts.map +1 -0
- package/dist/types/color/string/generate-color-string.d.ts +8 -0
- package/dist/types/color/string/generate-color-string.d.ts.map +1 -0
- package/dist/types/color/string/is-color-string.d.ts +9 -0
- package/dist/types/color/string/is-color-string.d.ts.map +1 -0
- package/dist/types/color/string/validate-color-string.d.ts +8 -0
- package/dist/types/color/string/validate-color-string.d.ts.map +1 -0
- package/dist/types/domain/create-domain.d.ts +10 -0
- package/dist/types/domain/create-domain.d.ts.map +1 -0
- package/dist/types/domain/domain.d.ts +12 -0
- package/dist/types/domain/domain.d.ts.map +1 -0
- package/dist/types/domain/index.d.ts +4 -0
- package/dist/types/domain/index.d.ts.map +1 -0
- package/dist/types/domain/is-domain.d.ts +18 -0
- package/dist/types/domain/is-domain.d.ts.map +1 -0
- package/dist/types/environment/environment.error.d.ts +26 -0
- package/dist/types/environment/environment.error.d.ts.map +1 -0
- package/dist/types/environment/error/invalid-platform-environment-id-error-properties.d.ts +10 -0
- package/dist/types/environment/error/invalid-platform-environment-id-error-properties.d.ts.map +1 -0
- package/dist/types/environment/error/invalid-platform-environment-provider-error-properties.d.ts +10 -0
- package/dist/types/environment/error/invalid-platform-environment-provider-error-properties.d.ts.map +1 -0
- package/dist/types/environment/error/invalid-platform-environment-region-error-properties.d.ts +10 -0
- package/dist/types/environment/error/invalid-platform-environment-region-error-properties.d.ts.map +1 -0
- package/dist/types/environment/error/invalid-platform-environment-type-error-properties.d.ts +10 -0
- package/dist/types/environment/error/invalid-platform-environment-type-error-properties.d.ts.map +1 -0
- package/dist/types/environment/id/as-platform-environment-id.d.ts +9 -0
- package/dist/types/environment/id/as-platform-environment-id.d.ts.map +1 -0
- package/dist/types/environment/id/is-platform-environment-id.d.ts +9 -0
- package/dist/types/environment/id/is-platform-environment-id.d.ts.map +1 -0
- package/dist/types/environment/id/platform-environment-id.d.ts +7 -0
- package/dist/types/environment/id/platform-environment-id.d.ts.map +1 -0
- package/dist/types/environment/id/validate-platform-environment-id.d.ts +8 -0
- package/dist/types/environment/id/validate-platform-environment-id.d.ts.map +1 -0
- package/dist/types/environment/index.d.ts +26 -0
- package/dist/types/environment/index.d.ts.map +1 -0
- package/dist/types/environment/platform-environment.d.ts +30 -0
- package/dist/types/environment/platform-environment.d.ts.map +1 -0
- package/dist/types/environment/provider/as-platform-environment-provider.d.ts +9 -0
- package/dist/types/environment/provider/as-platform-environment-provider.d.ts.map +1 -0
- package/dist/types/environment/provider/is-platform-environment-provider.d.ts +9 -0
- package/dist/types/environment/provider/is-platform-environment-provider.d.ts.map +1 -0
- package/dist/types/environment/provider/platform-environment-provider.d.ts +6 -0
- package/dist/types/environment/provider/platform-environment-provider.d.ts.map +1 -0
- package/dist/types/environment/provider/platform-environment-providers.d.ts +5 -0
- package/dist/types/environment/provider/platform-environment-providers.d.ts.map +1 -0
- package/dist/types/environment/provider/validate-platform-environment-provider.d.ts +8 -0
- package/dist/types/environment/provider/validate-platform-environment-provider.d.ts.map +1 -0
- package/dist/types/environment/region/as-platform-environment-region.d.ts +9 -0
- package/dist/types/environment/region/as-platform-environment-region.d.ts.map +1 -0
- package/dist/types/environment/region/is-platform-environment-region.d.ts +9 -0
- package/dist/types/environment/region/is-platform-environment-region.d.ts.map +1 -0
- package/dist/types/environment/region/platform-environment-region.d.ts +6 -0
- package/dist/types/environment/region/platform-environment-region.d.ts.map +1 -0
- package/dist/types/environment/region/platform-environment-regions.d.ts +5 -0
- package/dist/types/environment/region/platform-environment-regions.d.ts.map +1 -0
- package/dist/types/environment/region/validate-platform-environment-region.d.ts +8 -0
- package/dist/types/environment/region/validate-platform-environment-region.d.ts.map +1 -0
- package/dist/types/environment/type/as-platform-environment-type.d.ts +9 -0
- package/dist/types/environment/type/as-platform-environment-type.d.ts.map +1 -0
- package/dist/types/environment/type/is-platform-environment-type.d.ts +9 -0
- package/dist/types/environment/type/is-platform-environment-type.d.ts.map +1 -0
- package/dist/types/environment/type/platform-environment-type.d.ts +6 -0
- package/dist/types/environment/type/platform-environment-type.d.ts.map +1 -0
- package/dist/types/environment/type/platform-environment-types.d.ts +5 -0
- package/dist/types/environment/type/platform-environment-types.d.ts.map +1 -0
- package/dist/types/environment/type/validate-platform-environment-type.d.ts +8 -0
- package/dist/types/environment/type/validate-platform-environment-type.d.ts.map +1 -0
- package/dist/types/environment/variable/definition/environment-variable-definition-to-resolver.d.ts +12 -0
- package/dist/types/environment/variable/definition/environment-variable-definition-to-resolver.d.ts.map +1 -0
- package/dist/types/environment/variable/definition/environment-variable-definition-type.d.ts +7 -0
- package/dist/types/environment/variable/definition/environment-variable-definition-type.d.ts.map +1 -0
- package/dist/types/environment/variable/definition/environment-variable-definition.d.ts +29 -0
- package/dist/types/environment/variable/definition/environment-variable-definition.d.ts.map +1 -0
- package/dist/types/environment/variable/definition/environment-variable-definitions-to-resolvers.d.ts +12 -0
- package/dist/types/environment/variable/definition/environment-variable-definitions-to-resolvers.d.ts.map +1 -0
- package/dist/types/environment/variable/definition/environment-variable-entries-to-object.d.ts +15 -0
- package/dist/types/environment/variable/definition/environment-variable-entries-to-object.d.ts.map +1 -0
- package/dist/types/environment/variable/definition/environment-variable-entry.d.ts +15 -0
- package/dist/types/environment/variable/definition/environment-variable-entry.d.ts.map +1 -0
- package/dist/types/environment/variable/definition/environment-variable-object-property-type.d.ts +8 -0
- package/dist/types/environment/variable/definition/environment-variable-object-property-type.d.ts.map +1 -0
- package/dist/types/environment/variable/definition/environment-variable-object-property.d.ts +11 -0
- package/dist/types/environment/variable/definition/environment-variable-object-property.d.ts.map +1 -0
- package/dist/types/environment/variable/definition/environment-variable-object.d.ts +12 -0
- package/dist/types/environment/variable/definition/environment-variable-object.d.ts.map +1 -0
- package/dist/types/environment/variable/definition/environment-variable-resolver.d.ts +7 -0
- package/dist/types/environment/variable/definition/environment-variable-resolver.d.ts.map +1 -0
- package/dist/types/environment/variable/environment-variables-to-platform-environment.d.ts +9 -0
- package/dist/types/environment/variable/environment-variables-to-platform-environment.d.ts.map +1 -0
- package/dist/types/environment/variable/environment-variables-to-value.d.ts +13 -0
- package/dist/types/environment/variable/environment-variables-to-value.d.ts.map +1 -0
- package/dist/types/environment/variable/environment-variables-to-values.d.ts +25 -0
- package/dist/types/environment/variable/environment-variables-to-values.d.ts.map +1 -0
- package/dist/types/environment/variable/environment-variables.d.ts +6 -0
- package/dist/types/environment/variable/environment-variables.d.ts.map +1 -0
- package/dist/types/environment/variable/indexed/get-indexed-environment-variables-count.d.ts +14 -0
- package/dist/types/environment/variable/indexed/get-indexed-environment-variables-count.d.ts.map +1 -0
- package/dist/types/environment/variable/indexed/index-to-indexed-environment-variables.d.ts +15 -0
- package/dist/types/environment/variable/indexed/index-to-indexed-environment-variables.d.ts.map +1 -0
- package/dist/types/environment/variable/indexed/indexed-environment-variable-definitions.d.ts +18 -0
- package/dist/types/environment/variable/indexed/indexed-environment-variable-definitions.d.ts.map +1 -0
- package/dist/types/environment/variable/platform-environment-to-environment-variables.d.ts +10 -0
- package/dist/types/environment/variable/platform-environment-to-environment-variables.d.ts.map +1 -0
- package/dist/types/error/creator/error-creator.d.ts +14 -0
- package/dist/types/error/creator/error-creator.d.ts.map +1 -0
- package/dist/types/error/creator/error-from-creator.d.ts +9 -0
- package/dist/types/error/creator/error-from-creator.d.ts.map +1 -0
- package/dist/types/error/index.d.ts +15 -0
- package/dist/types/error/index.d.ts.map +1 -0
- package/dist/types/error/is-error-of-type.d.ts +22 -0
- package/dist/types/error/is-error-of-type.d.ts.map +1 -0
- package/dist/types/error/is-error.d.ts +8 -0
- package/dist/types/error/is-error.d.ts.map +1 -0
- package/dist/types/error/is-platform-error.d.ts +9 -0
- package/dist/types/error/is-platform-error.d.ts.map +1 -0
- package/dist/types/error/operator/catch-platform-error.d.ts +7 -0
- package/dist/types/error/operator/catch-platform-error.d.ts.map +1 -0
- package/dist/types/error/operator/map-platform-error.d.ts +9 -0
- package/dist/types/error/operator/map-platform-error.d.ts.map +1 -0
- package/dist/types/error/platform-error-instance.d.ts +24 -0
- package/dist/types/error/platform-error-instance.d.ts.map +1 -0
- package/dist/types/error/platform-error-to-platform-error-instance.d.ts +11 -0
- package/dist/types/error/platform-error-to-platform-error-instance.d.ts.map +1 -0
- package/dist/types/error/platform-error.d.ts +27 -0
- package/dist/types/error/platform-error.d.ts.map +1 -0
- package/dist/types/error/properties/error-properties-from-error-definitions.d.ts +11 -0
- package/dist/types/error/properties/error-properties-from-error-definitions.d.ts.map +1 -0
- package/dist/types/error/properties/error-properties-schema-type-name.d.ts +5 -0
- package/dist/types/error/properties/error-properties-schema-type-name.d.ts.map +1 -0
- package/dist/types/error/properties/error-properties-schema.d.ts +9 -0
- package/dist/types/error/properties/error-properties-schema.d.ts.map +1 -0
- package/dist/types/error/properties/error-properties.d.ts +9 -0
- package/dist/types/error/properties/error-properties.d.ts.map +1 -0
- package/dist/types/error/stack/error-stack-to-platform-error-stack.d.ts +10 -0
- package/dist/types/error/stack/error-stack-to-platform-error-stack.d.ts.map +1 -0
- package/dist/types/error/type/create-error-type.d.ts +18 -0
- package/dist/types/error/type/create-error-type.d.ts.map +1 -0
- package/dist/types/error/type/error-creator-entry-to-property-descriptor-map.d.ts +10 -0
- package/dist/types/error/type/error-creator-entry-to-property-descriptor-map.d.ts.map +1 -0
- package/dist/types/error/type/error-creator-entry.d.ts +7 -0
- package/dist/types/error/type/error-creator-entry.d.ts.map +1 -0
- package/dist/types/error/type/error-from-type.d.ts +9 -0
- package/dist/types/error/type/error-from-type.d.ts.map +1 -0
- package/dist/types/error/type/error-properties-schema-entry-to-error-creator-entry.d.ts +11 -0
- package/dist/types/error/type/error-properties-schema-entry-to-error-creator-entry.d.ts.map +1 -0
- package/dist/types/error/type/error-type.d.ts +20 -0
- package/dist/types/error/type/error-type.d.ts.map +1 -0
- package/dist/types/event/creator/event-creator.d.ts +14 -0
- package/dist/types/event/creator/event-creator.d.ts.map +1 -0
- package/dist/types/event/creator/event-from-creator.d.ts +9 -0
- package/dist/types/event/creator/event-from-creator.d.ts.map +1 -0
- package/dist/types/event/event-name.d.ts +9 -0
- package/dist/types/event/event-name.d.ts.map +1 -0
- package/dist/types/event/event.d.ts +23 -0
- package/dist/types/event/event.d.ts.map +1 -0
- package/dist/types/event/handler/event-handler.d.ts +10 -0
- package/dist/types/event/handler/event-handler.d.ts.map +1 -0
- package/dist/types/event/index.d.ts +23 -0
- package/dist/types/event/index.d.ts.map +1 -0
- package/dist/types/event/is-event-of-type.d.ts +26 -0
- package/dist/types/event/is-event-of-type.d.ts.map +1 -0
- package/dist/types/event/is-event.d.ts +9 -0
- package/dist/types/event/is-event.d.ts.map +1 -0
- package/dist/types/event/matcher/event-matcher-case.d.ts +11 -0
- package/dist/types/event/matcher/event-matcher-case.d.ts.map +1 -0
- package/dist/types/event/matcher/event-matcher.d.ts +14 -0
- package/dist/types/event/matcher/event-matcher.d.ts.map +1 -0
- package/dist/types/event/matcher/events-matcher-case.d.ts +11 -0
- package/dist/types/event/matcher/events-matcher-case.d.ts.map +1 -0
- package/dist/types/event/matcher/events-matcher.d.ts +14 -0
- package/dist/types/event/matcher/events-matcher.d.ts.map +1 -0
- package/dist/types/event/matcher/match-event.d.ts +13 -0
- package/dist/types/event/matcher/match-event.d.ts.map +1 -0
- package/dist/types/event/matcher/match-events.d.ts +15 -0
- package/dist/types/event/matcher/match-events.d.ts.map +1 -0
- package/dist/types/event/properties/event-properties-from-event-definitions.d.ts +11 -0
- package/dist/types/event/properties/event-properties-from-event-definitions.d.ts.map +1 -0
- package/dist/types/event/properties/event-properties-schema-type-name.d.ts +5 -0
- package/dist/types/event/properties/event-properties-schema-type-name.d.ts.map +1 -0
- package/dist/types/event/properties/event-properties-schema.d.ts +9 -0
- package/dist/types/event/properties/event-properties-schema.d.ts.map +1 -0
- package/dist/types/event/properties/event-properties.d.ts +10 -0
- package/dist/types/event/properties/event-properties.d.ts.map +1 -0
- package/dist/types/event/properties/event-to-event-name.d.ts +10 -0
- package/dist/types/event/properties/event-to-event-name.d.ts.map +1 -0
- package/dist/types/event/properties/event-to-event-properties.d.ts +10 -0
- package/dist/types/event/properties/event-to-event-properties.d.ts.map +1 -0
- package/dist/types/event/properties/event-to-properties.d.ts +10 -0
- package/dist/types/event/properties/event-to-properties.d.ts.map +1 -0
- package/dist/types/event/type/create-event-type.d.ts +16 -0
- package/dist/types/event/type/create-event-type.d.ts.map +1 -0
- package/dist/types/event/type/event-creator-entry-to-property-descriptor-map.d.ts +11 -0
- package/dist/types/event/type/event-creator-entry-to-property-descriptor-map.d.ts.map +1 -0
- package/dist/types/event/type/event-creator-entry.d.ts +7 -0
- package/dist/types/event/type/event-creator-entry.d.ts.map +1 -0
- package/dist/types/event/type/event-from-type.d.ts +9 -0
- package/dist/types/event/type/event-from-type.d.ts.map +1 -0
- package/dist/types/event/type/event-properties-schema-entry-to-event-creator-entry.d.ts +13 -0
- package/dist/types/event/type/event-properties-schema-entry-to-event-creator-entry.d.ts.map +1 -0
- package/dist/types/event/type/event-type-with-events.d.ts +10 -0
- package/dist/types/event/type/event-type-with-events.d.ts.map +1 -0
- package/dist/types/event/type/event-type.d.ts +20 -0
- package/dist/types/event/type/event-type.d.ts.map +1 -0
- package/dist/types/functional/call-with.d.ts +9 -0
- package/dist/types/functional/call-with.d.ts.map +1 -0
- package/dist/types/functional/entries-to-object.d.ts +8 -0
- package/dist/types/functional/entries-to-object.d.ts.map +1 -0
- package/dist/types/functional/identity.d.ts +8 -0
- package/dist/types/functional/identity.d.ts.map +1 -0
- package/dist/types/functional/index.d.ts +13 -0
- package/dist/types/functional/index.d.ts.map +1 -0
- package/dist/types/functional/is-defined.d.ts +9 -0
- package/dist/types/functional/is-defined.d.ts.map +1 -0
- package/dist/types/functional/is-instance-of.d.ts +9 -0
- package/dist/types/functional/is-instance-of.d.ts.map +1 -0
- package/dist/types/functional/is-not-null.d.ts +8 -0
- package/dist/types/functional/is-not-null.d.ts.map +1 -0
- package/dist/types/functional/not.d.ts +9 -0
- package/dist/types/functional/not.d.ts.map +1 -0
- package/dist/types/functional/object-to-entries.d.ts +9 -0
- package/dist/types/functional/object-to-entries.d.ts.map +1 -0
- package/dist/types/functional/object-to-keys.d.ts +9 -0
- package/dist/types/functional/object-to-keys.d.ts.map +1 -0
- package/dist/types/functional/object-to-values.d.ts +8 -0
- package/dist/types/functional/object-to-values.d.ts.map +1 -0
- package/dist/types/functional/object-with-properties.d.ts +10 -0
- package/dist/types/functional/object-with-properties.d.ts.map +1 -0
- package/dist/types/functional/pipe.d.ts +14 -0
- package/dist/types/functional/pipe.d.ts.map +1 -0
- package/dist/types/geometry/index.d.ts +4 -0
- package/dist/types/geometry/index.d.ts.map +1 -0
- package/dist/types/geometry/point.d.ts +17 -0
- package/dist/types/geometry/point.d.ts.map +1 -0
- package/dist/types/geometry/polygon.d.ts +17 -0
- package/dist/types/geometry/polygon.d.ts.map +1 -0
- package/dist/types/geometry/position.d.ts +7 -0
- package/dist/types/geometry/position.d.ts.map +1 -0
- package/dist/types/http/client/create-http-client.d.ts +10 -0
- package/dist/types/http/client/create-http-client.d.ts.map +1 -0
- package/dist/types/http/client/graphql/create-graphql-client.d.ts +10 -0
- package/dist/types/http/client/graphql/create-graphql-client.d.ts.map +1 -0
- package/dist/types/http/client/graphql/graphql-client-options.d.ts +26 -0
- package/dist/types/http/client/graphql/graphql-client-options.d.ts.map +1 -0
- package/dist/types/http/client/graphql/graphql-client.d.ts +16 -0
- package/dist/types/http/client/graphql/graphql-client.d.ts.map +1 -0
- package/dist/types/http/client/graphql/graphql-client.error.d.ts +21 -0
- package/dist/types/http/client/graphql/graphql-client.error.d.ts.map +1 -0
- package/dist/types/http/client/graphql/graphql-error-location.d.ts +14 -0
- package/dist/types/http/client/graphql/graphql-error-location.d.ts.map +1 -0
- package/dist/types/http/client/graphql/graphql-error.d.ts +23 -0
- package/dist/types/http/client/graphql/graphql-error.d.ts.map +1 -0
- package/dist/types/http/client/graphql/graphql-query-to-graphql-request.d.ts +11 -0
- package/dist/types/http/client/graphql/graphql-query-to-graphql-request.d.ts.map +1 -0
- package/dist/types/http/client/graphql/graphql-request.d.ts +15 -0
- package/dist/types/http/client/graphql/graphql-request.d.ts.map +1 -0
- package/dist/types/http/client/graphql/graphql-response.d.ts +17 -0
- package/dist/types/http/client/graphql/graphql-response.d.ts.map +1 -0
- package/dist/types/http/client/graphql/index.d.ts +7 -0
- package/dist/types/http/client/graphql/index.d.ts.map +1 -0
- package/dist/types/http/client/header/fetch-header-to-http-header.d.ts +9 -0
- package/dist/types/http/client/header/fetch-header-to-http-header.d.ts.map +1 -0
- package/dist/types/http/client/header/http-headers-to-fetch-headers.d.ts +10 -0
- package/dist/types/http/client/header/http-headers-to-fetch-headers.d.ts.map +1 -0
- package/dist/types/http/client/http-client-options.d.ts +15 -0
- package/dist/types/http/client/http-client-options.d.ts.map +1 -0
- package/dist/types/http/client/http-client.d.ts +15 -0
- package/dist/types/http/client/http-client.d.ts.map +1 -0
- package/dist/types/http/client/http-client.error.d.ts +14 -0
- package/dist/types/http/client/http-client.error.d.ts.map +1 -0
- package/dist/types/http/client/index.d.ts +20 -0
- package/dist/types/http/client/index.d.ts.map +1 -0
- package/dist/types/http/client/progress/controller-to-response-progress-chunks.d.ts +10 -0
- package/dist/types/http/client/progress/controller-to-response-progress-chunks.d.ts.map +1 -0
- package/dist/types/http/client/progress/http-client-response-progress.d.ts +26 -0
- package/dist/types/http/client/progress/http-client-response-progress.d.ts.map +1 -0
- package/dist/types/http/client/progress/http-client-response-to-http-client-response-with-progress.d.ts +10 -0
- package/dist/types/http/client/progress/http-client-response-to-http-client-response-with-progress.d.ts.map +1 -0
- package/dist/types/http/client/progress/http-client-response-with-progress-to-bytes.d.ts +9 -0
- package/dist/types/http/client/progress/http-client-response-with-progress-to-bytes.d.ts.map +1 -0
- package/dist/types/http/client/progress/http-client-response-with-progress.d.ts +11 -0
- package/dist/types/http/client/progress/http-client-response-with-progress.d.ts.map +1 -0
- package/dist/types/http/client/progress/response-progress-chunk-to-response-progress.d.ts +10 -0
- package/dist/types/http/client/progress/response-progress-chunk-to-response-progress.d.ts.map +1 -0
- package/dist/types/http/client/progress/response-progress-underlying-source.d.ts +20 -0
- package/dist/types/http/client/progress/response-progress-underlying-source.d.ts.map +1 -0
- package/dist/types/http/client/request/http-client-request-options.d.ts +12 -0
- package/dist/types/http/client/request/http-client-request-options.d.ts.map +1 -0
- package/dist/types/http/client/request/http-client-request.d.ts +26 -0
- package/dist/types/http/client/request/http-client-request.d.ts.map +1 -0
- package/dist/types/http/client/response/fetch-response-symbol.d.ts +5 -0
- package/dist/types/http/client/response/fetch-response-symbol.d.ts.map +1 -0
- package/dist/types/http/client/response/http-client-response-status-is-options.d.ts +11 -0
- package/dist/types/http/client/response/http-client-response-status-is-options.d.ts.map +1 -0
- package/dist/types/http/client/response/http-client-response-status-is.d.ts +10 -0
- package/dist/types/http/client/response/http-client-response-status-is.d.ts.map +1 -0
- package/dist/types/http/client/response/http-client-response-to-array-buffer.d.ts +8 -0
- package/dist/types/http/client/response/http-client-response-to-array-buffer.d.ts.map +1 -0
- package/dist/types/http/client/response/http-client-response-to-blob.d.ts +8 -0
- package/dist/types/http/client/response/http-client-response-to-blob.d.ts.map +1 -0
- package/dist/types/http/client/response/http-client-response-to-json-stream-options.d.ts +12 -0
- package/dist/types/http/client/response/http-client-response-to-json-stream-options.d.ts.map +1 -0
- package/dist/types/http/client/response/http-client-response-to-json-stream.d.ts +12 -0
- package/dist/types/http/client/response/http-client-response-to-json-stream.d.ts.map +1 -0
- package/dist/types/http/client/response/http-client-response-to-json.d.ts +10 -0
- package/dist/types/http/client/response/http-client-response-to-json.d.ts.map +1 -0
- package/dist/types/http/client/response/http-client-response-to-text.d.ts +8 -0
- package/dist/types/http/client/response/http-client-response-to-text.d.ts.map +1 -0
- package/dist/types/http/client/response/http-client-response.d.ts +20 -0
- package/dist/types/http/client/response/http-client-response.d.ts.map +1 -0
- package/dist/types/http/client/response/response-to-http-client-response.d.ts +9 -0
- package/dist/types/http/client/response/response-to-http-client-response.d.ts.map +1 -0
- package/dist/types/http/client/response/url-to-http-client-response.d.ts +12 -0
- package/dist/types/http/client/response/url-to-http-client-response.d.ts.map +1 -0
- package/dist/types/http/client/testing/create-test-http-client.d.ts +10 -0
- package/dist/types/http/client/testing/create-test-http-client.d.ts.map +1 -0
- package/dist/types/http/client/testing/index.d.ts +4 -0
- package/dist/types/http/client/testing/index.d.ts.map +1 -0
- package/dist/types/http/client/testing/test-http-client-options.d.ts +7 -0
- package/dist/types/http/client/testing/test-http-client-options.d.ts.map +1 -0
- package/dist/types/http/client/testing/test-http-client.d.ts +15 -0
- package/dist/types/http/client/testing/test-http-client.d.ts.map +1 -0
- package/dist/types/http/cookie/http-cookie.d.ts +52 -0
- package/dist/types/http/cookie/http-cookie.d.ts.map +1 -0
- package/dist/types/http/cookie/is-session-http-cookie.d.ts +11 -0
- package/dist/types/http/cookie/is-session-http-cookie.d.ts.map +1 -0
- package/dist/types/http/cookie/same-site-option/http-cookie-same-site-option.d.ts +6 -0
- package/dist/types/http/cookie/same-site-option/http-cookie-same-site-option.d.ts.map +1 -0
- package/dist/types/http/cookie/same-site-option/http-cookie-same-site-options.d.ts +5 -0
- package/dist/types/http/cookie/same-site-option/http-cookie-same-site-options.d.ts.map +1 -0
- package/dist/types/http/cookie/same-site-option/is-http-cookie-same-site-option.d.ts +9 -0
- package/dist/types/http/cookie/same-site-option/is-http-cookie-same-site-option.d.ts.map +1 -0
- package/dist/types/http/cookie/same-site-option/validate-http-cookie-same-site-option.d.ts +8 -0
- package/dist/types/http/cookie/same-site-option/validate-http-cookie-same-site-option.d.ts.map +1 -0
- package/dist/types/http/error/invalid-cookie-header-value-error-properties.d.ts +10 -0
- package/dist/types/http/error/invalid-cookie-header-value-error-properties.d.ts.map +1 -0
- package/dist/types/http/error/invalid-cookie-same-site-option-error-properties.d.ts +10 -0
- package/dist/types/http/error/invalid-cookie-same-site-option-error-properties.d.ts.map +1 -0
- package/dist/types/http/error/invalid-http-header-name-error-properties.d.ts +10 -0
- package/dist/types/http/error/invalid-http-header-name-error-properties.d.ts.map +1 -0
- package/dist/types/http/error/invalid-http-method-error-properties.d.ts +10 -0
- package/dist/types/http/error/invalid-http-method-error-properties.d.ts.map +1 -0
- package/dist/types/http/error/invalid-http-status-error-properties.d.ts +10 -0
- package/dist/types/http/error/invalid-http-status-error-properties.d.ts.map +1 -0
- package/dist/types/http/header/authorization/parse-authorization-header-value.d.ts +8 -0
- package/dist/types/http/header/authorization/parse-authorization-header-value.d.ts.map +1 -0
- package/dist/types/http/header/by-http-header-name.d.ts +10 -0
- package/dist/types/http/header/by-http-header-name.d.ts.map +1 -0
- package/dist/types/http/header/cookie/create-set-cookie-http-header.d.ts +10 -0
- package/dist/types/http/header/cookie/create-set-cookie-http-header.d.ts.map +1 -0
- package/dist/types/http/header/cookie/parse-cookie-header-value.d.ts +9 -0
- package/dist/types/http/header/cookie/parse-cookie-header-value.d.ts.map +1 -0
- package/dist/types/http/header/http-header.d.ts +6 -0
- package/dist/types/http/header/http-header.d.ts.map +1 -0
- package/dist/types/http/header/name/as-http-header-name.d.ts +9 -0
- package/dist/types/http/header/name/as-http-header-name.d.ts.map +1 -0
- package/dist/types/http/header/name/http-header-name.d.ts +6 -0
- package/dist/types/http/header/name/http-header-name.d.ts.map +1 -0
- package/dist/types/http/header/name/http-header-names.d.ts +5 -0
- package/dist/types/http/header/name/http-header-names.d.ts.map +1 -0
- package/dist/types/http/header/name/is-http-header-name.d.ts +9 -0
- package/dist/types/http/header/name/is-http-header-name.d.ts.map +1 -0
- package/dist/types/http/header/name/validate-http-header-name.d.ts +8 -0
- package/dist/types/http/header/name/validate-http-header-name.d.ts.map +1 -0
- package/dist/types/http/http.error.d.ts +31 -0
- package/dist/types/http/http.error.d.ts.map +1 -0
- package/dist/types/http/index.d.ts +32 -0
- package/dist/types/http/index.d.ts.map +1 -0
- package/dist/types/http/method/as-http-method.d.ts +9 -0
- package/dist/types/http/method/as-http-method.d.ts.map +1 -0
- package/dist/types/http/method/http-method.d.ts +6 -0
- package/dist/types/http/method/http-method.d.ts.map +1 -0
- package/dist/types/http/method/http-methods.d.ts +5 -0
- package/dist/types/http/method/http-methods.d.ts.map +1 -0
- package/dist/types/http/method/is-http-method.d.ts +9 -0
- package/dist/types/http/method/is-http-method.d.ts.map +1 -0
- package/dist/types/http/method/validate-http-method.d.ts +8 -0
- package/dist/types/http/method/validate-http-method.d.ts.map +1 -0
- package/dist/types/http/status/http-status.d.ts +6 -0
- package/dist/types/http/status/http-status.d.ts.map +1 -0
- package/dist/types/http/status/http-statuses.d.ts +67 -0
- package/dist/types/http/status/http-statuses.d.ts.map +1 -0
- package/dist/types/http/status/is-http-status.d.ts +9 -0
- package/dist/types/http/status/is-http-status.d.ts.map +1 -0
- package/dist/types/http/status/validate-http-status.d.ts +8 -0
- package/dist/types/http/status/validate-http-status.d.ts.map +1 -0
- package/dist/types/i18n/error/invalid-i18n-string-error-properties.d.ts +7 -0
- package/dist/types/i18n/error/invalid-i18n-string-error-properties.d.ts.map +1 -0
- package/dist/types/i18n/i18n.error.d.ts +11 -0
- package/dist/types/i18n/i18n.error.d.ts.map +1 -0
- package/dist/types/i18n/index.d.ts +13 -0
- package/dist/types/i18n/index.d.ts.map +1 -0
- package/dist/types/i18n/string/as-i18n-string.d.ts +9 -0
- package/dist/types/i18n/string/as-i18n-string.d.ts.map +1 -0
- package/dist/types/i18n/string/compare-i18n-strings-options.d.ts +15 -0
- package/dist/types/i18n/string/compare-i18n-strings-options.d.ts.map +1 -0
- package/dist/types/i18n/string/compare-i18n-strings.d.ts +10 -0
- package/dist/types/i18n/string/compare-i18n-strings.d.ts.map +1 -0
- package/dist/types/i18n/string/i18n-string-includes-options.d.ts +15 -0
- package/dist/types/i18n/string/i18n-string-includes-options.d.ts.map +1 -0
- package/dist/types/i18n/string/i18n-string-includes.d.ts +11 -0
- package/dist/types/i18n/string/i18n-string-includes.d.ts.map +1 -0
- package/dist/types/i18n/string/i18n-string.d.ts +7 -0
- package/dist/types/i18n/string/i18n-string.d.ts.map +1 -0
- package/dist/types/i18n/string/is-i18n-string.d.ts +9 -0
- package/dist/types/i18n/string/is-i18n-string.d.ts.map +1 -0
- package/dist/types/i18n/string/is-same-i18n-string.d.ts +10 -0
- package/dist/types/i18n/string/is-same-i18n-string.d.ts.map +1 -0
- package/dist/types/i18n/string/merge-i18n-strings.d.ts +8 -0
- package/dist/types/i18n/string/merge-i18n-strings.d.ts.map +1 -0
- package/dist/types/i18n/string/validate-i18n-string.d.ts +8 -0
- package/dist/types/i18n/string/validate-i18n-string.d.ts.map +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/language/as-language-code.d.ts +9 -0
- package/dist/types/language/as-language-code.d.ts.map +1 -0
- package/dist/types/language/error/invalid-language-code-error-properties.d.ts +7 -0
- package/dist/types/language/error/invalid-language-code-error-properties.d.ts.map +1 -0
- package/dist/types/language/index.d.ts +8 -0
- package/dist/types/language/index.d.ts.map +1 -0
- package/dist/types/language/is-language-code.d.ts +9 -0
- package/dist/types/language/is-language-code.d.ts.map +1 -0
- package/dist/types/language/language-code.d.ts +6 -0
- package/dist/types/language/language-code.d.ts.map +1 -0
- package/dist/types/language/language-codes.d.ts +5 -0
- package/dist/types/language/language-codes.d.ts.map +1 -0
- package/dist/types/language/language.error.d.ts +11 -0
- package/dist/types/language/language.error.d.ts.map +1 -0
- package/dist/types/language/validate-language-code.d.ts +8 -0
- package/dist/types/language/validate-language-code.d.ts.map +1 -0
- package/dist/types/locale/as-locale-code.d.ts +9 -0
- package/dist/types/locale/as-locale-code.d.ts.map +1 -0
- package/dist/types/locale/by-locale-code.d.ts +11 -0
- package/dist/types/locale/by-locale-code.d.ts.map +1 -0
- package/dist/types/locale/error/invalid-locale-code-error-properties.d.ts +7 -0
- package/dist/types/locale/error/invalid-locale-code-error-properties.d.ts.map +1 -0
- package/dist/types/locale/index.d.ts +8 -0
- package/dist/types/locale/index.d.ts.map +1 -0
- package/dist/types/locale/is-locale-code.d.ts +9 -0
- package/dist/types/locale/is-locale-code.d.ts.map +1 -0
- package/dist/types/locale/locale-code.d.ts +6 -0
- package/dist/types/locale/locale-code.d.ts.map +1 -0
- package/dist/types/locale/locale-codes.d.ts +10 -0
- package/dist/types/locale/locale-codes.d.ts.map +1 -0
- package/dist/types/locale/locale.error.d.ts +11 -0
- package/dist/types/locale/locale.error.d.ts.map +1 -0
- package/dist/types/locale/validate-locale-code.d.ts +8 -0
- package/dist/types/locale/validate-locale-code.d.ts.map +1 -0
- package/dist/types/platform.domain.d.ts +5 -0
- package/dist/types/platform.domain.d.ts.map +1 -0
- package/dist/types/random/get-random-array-value.d.ts +8 -0
- package/dist/types/random/get-random-array-value.d.ts.map +1 -0
- package/dist/types/random/index.d.ts +2 -0
- package/dist/types/random/index.d.ts.map +1 -0
- package/dist/types/reactive/as-observable.d.ts +9 -0
- package/dist/types/reactive/as-observable.d.ts.map +1 -0
- package/dist/types/reactive/catch-error-if.d.ts +21 -0
- package/dist/types/reactive/catch-error-if.d.ts.map +1 -0
- package/dist/types/reactive/defer-value.d.ts +9 -0
- package/dist/types/reactive/defer-value.d.ts.map +1 -0
- package/dist/types/reactive/index.d.ts +9 -0
- package/dist/types/reactive/index.d.ts.map +1 -0
- package/dist/types/reactive/map-error-if.d.ts +19 -0
- package/dist/types/reactive/map-error-if.d.ts.map +1 -0
- package/dist/types/reactive/observable-map.d.ts +18 -0
- package/dist/types/reactive/observable-map.d.ts.map +1 -0
- package/dist/types/reactive/polyfill/index.d.ts +2 -0
- package/dist/types/reactive/polyfill/index.d.ts.map +1 -0
- package/dist/types/reactive/tap-error.d.ts +8 -0
- package/dist/types/reactive/tap-error.d.ts.map +1 -0
- package/dist/types/reactive/throw-if.d.ts +18 -0
- package/dist/types/reactive/throw-if.d.ts.map +1 -0
- package/dist/types/reactive/throw-unless.d.ts +18 -0
- package/dist/types/reactive/throw-unless.d.ts.map +1 -0
- package/dist/types/temporal/date/date-to-start-of-week.d.ts +8 -0
- package/dist/types/temporal/date/date-to-start-of-week.d.ts.map +1 -0
- package/dist/types/temporal/date/string/as-date-string.d.ts +9 -0
- package/dist/types/temporal/date/string/as-date-string.d.ts.map +1 -0
- package/dist/types/temporal/date/string/current-date-string.d.ts +8 -0
- package/dist/types/temporal/date/string/current-date-string.d.ts.map +1 -0
- package/dist/types/temporal/date/string/date-string.d.ts +7 -0
- package/dist/types/temporal/date/string/date-string.d.ts.map +1 -0
- package/dist/types/temporal/date/string/is-date-string.d.ts +9 -0
- package/dist/types/temporal/date/string/is-date-string.d.ts.map +1 -0
- package/dist/types/temporal/date/string/validate-date-string.d.ts +8 -0
- package/dist/types/temporal/date/string/validate-date-string.d.ts.map +1 -0
- package/dist/types/temporal/date-interval/string/as-date-interval-string.d.ts +9 -0
- package/dist/types/temporal/date-interval/string/as-date-interval-string.d.ts.map +1 -0
- package/dist/types/temporal/date-interval/string/date-interval-string.d.ts +8 -0
- package/dist/types/temporal/date-interval/string/date-interval-string.d.ts.map +1 -0
- package/dist/types/temporal/date-interval/string/is-date-interval-string.d.ts +9 -0
- package/dist/types/temporal/date-interval/string/is-date-interval-string.d.ts.map +1 -0
- package/dist/types/temporal/date-interval/string/validate-date-interval-string.d.ts +8 -0
- package/dist/types/temporal/date-interval/string/validate-date-interval-string.d.ts.map +1 -0
- package/dist/types/temporal/date-time/string/as-date-time-string.d.ts +9 -0
- package/dist/types/temporal/date-time/string/as-date-time-string.d.ts.map +1 -0
- package/dist/types/temporal/date-time/string/current-date-time-string.d.ts +8 -0
- package/dist/types/temporal/date-time/string/current-date-time-string.d.ts.map +1 -0
- package/dist/types/temporal/date-time/string/date-time-string-to-date-string.d.ts +17 -0
- package/dist/types/temporal/date-time/string/date-time-string-to-date-string.d.ts.map +1 -0
- package/dist/types/temporal/date-time/string/date-time-string-to-instant.d.ts +8 -0
- package/dist/types/temporal/date-time/string/date-time-string-to-instant.d.ts.map +1 -0
- package/dist/types/temporal/date-time/string/date-time-string.d.ts +7 -0
- package/dist/types/temporal/date-time/string/date-time-string.d.ts.map +1 -0
- package/dist/types/temporal/date-time/string/is-date-time-string.d.ts +9 -0
- package/dist/types/temporal/date-time/string/is-date-time-string.d.ts.map +1 -0
- package/dist/types/temporal/date-time/string/validate-date-time-string.d.ts +8 -0
- package/dist/types/temporal/date-time/string/validate-date-time-string.d.ts.map +1 -0
- package/dist/types/temporal/date-time-interval/string/as-date-time-interval-string.d.ts +9 -0
- package/dist/types/temporal/date-time-interval/string/as-date-time-interval-string.d.ts.map +1 -0
- package/dist/types/temporal/date-time-interval/string/date-time-interval-string.d.ts +8 -0
- package/dist/types/temporal/date-time-interval/string/date-time-interval-string.d.ts.map +1 -0
- package/dist/types/temporal/date-time-interval/string/is-date-time-interval-string.d.ts +9 -0
- package/dist/types/temporal/date-time-interval/string/is-date-time-interval-string.d.ts.map +1 -0
- package/dist/types/temporal/date-time-interval/string/validate-date-time-interval-string.d.ts +8 -0
- package/dist/types/temporal/date-time-interval/string/validate-date-time-interval-string.d.ts.map +1 -0
- package/dist/types/temporal/duration/string/as-duration-string.d.ts +9 -0
- package/dist/types/temporal/duration/string/as-duration-string.d.ts.map +1 -0
- package/dist/types/temporal/duration/string/duration-string.d.ts +7 -0
- package/dist/types/temporal/duration/string/duration-string.d.ts.map +1 -0
- package/dist/types/temporal/duration/string/is-duration-string.d.ts +9 -0
- package/dist/types/temporal/duration/string/is-duration-string.d.ts.map +1 -0
- package/dist/types/temporal/duration/string/validate-duration-string.d.ts +8 -0
- package/dist/types/temporal/duration/string/validate-duration-string.d.ts.map +1 -0
- package/dist/types/temporal/error/invalid-date-interval-string-error-properties.d.ts +7 -0
- package/dist/types/temporal/error/invalid-date-interval-string-error-properties.d.ts.map +1 -0
- package/dist/types/temporal/error/invalid-date-string-error-properties.d.ts +7 -0
- package/dist/types/temporal/error/invalid-date-string-error-properties.d.ts.map +1 -0
- package/dist/types/temporal/error/invalid-date-time-interval-string-error-properties.d.ts +7 -0
- package/dist/types/temporal/error/invalid-date-time-interval-string-error-properties.d.ts.map +1 -0
- package/dist/types/temporal/error/invalid-date-time-string-error-properties.d.ts +7 -0
- package/dist/types/temporal/error/invalid-date-time-string-error-properties.d.ts.map +1 -0
- package/dist/types/temporal/error/invalid-duration-string-error-properties.d.ts +7 -0
- package/dist/types/temporal/error/invalid-duration-string-error-properties.d.ts.map +1 -0
- package/dist/types/temporal/error/invalid-time-interval-string-error-properties.d.ts +7 -0
- package/dist/types/temporal/error/invalid-time-interval-string-error-properties.d.ts.map +1 -0
- package/dist/types/temporal/error/invalid-time-string-error-properties.d.ts +7 -0
- package/dist/types/temporal/error/invalid-time-string-error-properties.d.ts.map +1 -0
- package/dist/types/temporal/index.d.ts +40 -0
- package/dist/types/temporal/index.d.ts.map +1 -0
- package/dist/types/temporal/polyfill/index.d.ts +2 -0
- package/dist/types/temporal/polyfill/index.d.ts.map +1 -0
- package/dist/types/temporal/temporal.error.d.ts +41 -0
- package/dist/types/temporal/temporal.error.d.ts.map +1 -0
- package/dist/types/temporal/time/string/as-time-string.d.ts +9 -0
- package/dist/types/temporal/time/string/as-time-string.d.ts.map +1 -0
- package/dist/types/temporal/time/string/current-time-string.d.ts +8 -0
- package/dist/types/temporal/time/string/current-time-string.d.ts.map +1 -0
- package/dist/types/temporal/time/string/is-time-string.d.ts +9 -0
- package/dist/types/temporal/time/string/is-time-string.d.ts.map +1 -0
- package/dist/types/temporal/time/string/time-string.d.ts +7 -0
- package/dist/types/temporal/time/string/time-string.d.ts.map +1 -0
- package/dist/types/temporal/time/string/validate-time-string.d.ts +8 -0
- package/dist/types/temporal/time/string/validate-time-string.d.ts.map +1 -0
- package/dist/types/temporal/time-interval/string/as-time-interval-string.d.ts +9 -0
- package/dist/types/temporal/time-interval/string/as-time-interval-string.d.ts.map +1 -0
- package/dist/types/temporal/time-interval/string/is-time-interval-string.d.ts +9 -0
- package/dist/types/temporal/time-interval/string/is-time-interval-string.d.ts.map +1 -0
- package/dist/types/temporal/time-interval/string/time-interval-string.d.ts +8 -0
- package/dist/types/temporal/time-interval/string/time-interval-string.d.ts.map +1 -0
- package/dist/types/temporal/time-interval/string/validate-time-interval-string.d.ts +8 -0
- package/dist/types/temporal/time-interval/string/validate-time-interval-string.d.ts.map +1 -0
- package/dist/types/testing/environment/create-test-environment-variables.d.ts +8 -0
- package/dist/types/testing/environment/create-test-environment-variables.d.ts.map +1 -0
- package/dist/types/testing/environment/create-test-platform-environment.d.ts +9 -0
- package/dist/types/testing/environment/create-test-platform-environment.d.ts.map +1 -0
- package/dist/types/testing/environment/test-platform-environment-id.d.ts +5 -0
- package/dist/types/testing/environment/test-platform-environment-id.d.ts.map +1 -0
- package/dist/types/testing/index.d.ts +4 -0
- package/dist/types/testing/index.d.ts.map +1 -0
- package/dist/types/typescript/deep-partial.d.ts +12 -0
- package/dist/types/typescript/deep-partial.d.ts.map +1 -0
- package/dist/types/typescript/expand.d.ts +13 -0
- package/dist/types/typescript/expand.d.ts.map +1 -0
- package/dist/types/typescript/function/unary-function.d.ts +10 -0
- package/dist/types/typescript/function/unary-function.d.ts.map +1 -0
- package/dist/types/typescript/generic-function.d.ts +5 -0
- package/dist/types/typescript/generic-function.d.ts.map +1 -0
- package/dist/types/typescript/index.d.ts +18 -0
- package/dist/types/typescript/index.d.ts.map +1 -0
- package/dist/types/typescript/is-branded-type.d.ts +8 -0
- package/dist/types/typescript/is-branded-type.d.ts.map +1 -0
- package/dist/types/typescript/keys-of-value-type.d.ts +7 -0
- package/dist/types/typescript/keys-of-value-type.d.ts.map +1 -0
- package/dist/types/typescript/omit-call-signature.d.ts +10 -0
- package/dist/types/typescript/omit-call-signature.d.ts.map +1 -0
- package/dist/types/typescript/omit-indexed-access.d.ts +9 -0
- package/dist/types/typescript/omit-indexed-access.d.ts.map +1 -0
- package/dist/types/typescript/pick-call-signature.d.ts +8 -0
- package/dist/types/typescript/pick-call-signature.d.ts.map +1 -0
- package/dist/types/typescript/properties-to-union.d.ts +9 -0
- package/dist/types/typescript/properties-to-union.d.ts.map +1 -0
- package/dist/types/typescript/readonly-record.d.ts +10 -0
- package/dist/types/typescript/readonly-record.d.ts.map +1 -0
- package/dist/types/typescript/schema/type-creator.d.ts +5 -0
- package/dist/types/typescript/schema/type-creator.d.ts.map +1 -0
- package/dist/types/typescript/schema/type-schema-symbol.d.ts +9 -0
- package/dist/types/typescript/schema/type-schema-symbol.d.ts.map +1 -0
- package/dist/types/typescript/schema/type-schema-type-name.d.ts +9 -0
- package/dist/types/typescript/schema/type-schema-type-name.d.ts.map +1 -0
- package/dist/types/typescript/schema/type-schema-type.d.ts +9 -0
- package/dist/types/typescript/schema/type-schema-type.d.ts.map +1 -0
- package/dist/types/typescript/schema/type-schema.d.ts +21 -0
- package/dist/types/typescript/schema/type-schema.d.ts.map +1 -0
- package/dist/types/typescript/union-to-intersection.d.ts +5 -0
- package/dist/types/typescript/union-to-intersection.d.ts.map +1 -0
- package/dist/types/url/error/invalid-url-string-error-properties.d.ts +7 -0
- package/dist/types/url/error/invalid-url-string-error-properties.d.ts.map +1 -0
- package/dist/types/url/index.d.ts +5 -0
- package/dist/types/url/index.d.ts.map +1 -0
- package/dist/types/url/string/as-url-string.d.ts +9 -0
- package/dist/types/url/string/as-url-string.d.ts.map +1 -0
- package/dist/types/url/string/is-url-string.d.ts +9 -0
- package/dist/types/url/string/is-url-string.d.ts.map +1 -0
- package/dist/types/url/string/url-string.d.ts +7 -0
- package/dist/types/url/string/url-string.d.ts.map +1 -0
- package/dist/types/url/string/validate-url-string.d.ts +8 -0
- package/dist/types/url/string/validate-url-string.d.ts.map +1 -0
- package/dist/types/url/url.error.d.ts +11 -0
- package/dist/types/url/url.error.d.ts.map +1 -0
- package/dist/types/uuid/as-uuid.d.ts +9 -0
- package/dist/types/uuid/as-uuid.d.ts.map +1 -0
- package/dist/types/uuid/error/invalid-uuid-error-properties.d.ts +7 -0
- package/dist/types/uuid/error/invalid-uuid-error-properties.d.ts.map +1 -0
- package/dist/types/uuid/generate-uuid.d.ts +8 -0
- package/dist/types/uuid/generate-uuid.d.ts.map +1 -0
- package/dist/types/uuid/index.d.ts +8 -0
- package/dist/types/uuid/index.d.ts.map +1 -0
- package/dist/types/uuid/is-uuid.d.ts +9 -0
- package/dist/types/uuid/is-uuid.d.ts.map +1 -0
- package/dist/types/uuid/uuid.d.ts +7 -0
- package/dist/types/uuid/uuid.d.ts.map +1 -0
- package/dist/types/uuid/uuid.error.d.ts +12 -0
- package/dist/types/uuid/uuid.error.d.ts.map +1 -0
- package/dist/types/uuid/validate-uuid.d.ts +8 -0
- package/dist/types/uuid/validate-uuid.d.ts.map +1 -0
- package/package.json +270 -0
- package/src/collection/array/array-to-deduplicated-array-options.ts +13 -0
- package/src/collection/array/array-to-deduplicated-array.ts +29 -0
- package/src/collection/array/array-to-element-at.ts +9 -0
- package/src/collection/array/array-to-first-element.ts +9 -0
- package/src/collection/array/array-to-flattened-array.spec.ts +8 -0
- package/src/collection/array/array-to-flattened-array.ts +11 -0
- package/src/collection/array/array-to-slices.spec.ts +7 -0
- package/src/collection/array/array-to-slices.ts +18 -0
- package/src/collection/buffer/buffer-to-string-options.ts +9 -0
- package/src/collection/buffer/buffer-to-string.ts +13 -0
- package/src/collection/each.spec.ts +8 -0
- package/src/collection/each.ts +12 -0
- package/src/collection/included-in.ts +12 -0
- package/src/collection/index.ts +10 -0
- package/src/collection/string/string-to-line-stream.spec.ts +21 -0
- package/src/collection/string/string-to-line-stream.ts +11 -0
- package/src/color/color.error.ts +14 -0
- package/src/color/error/invalid-color-string-error-properties.ts +6 -0
- package/src/color/index.ts +6 -0
- package/src/color/string/as-color-string.spec.ts +8 -0
- package/src/color/string/as-color-string.ts +13 -0
- package/src/color/string/color-string.ts +6 -0
- package/src/color/string/generate-color-string.ts +16 -0
- package/src/color/string/is-color-string.spec.ts +8 -0
- package/src/color/string/is-color-string.ts +13 -0
- package/src/color/string/validate-color-string.spec.ts +8 -0
- package/src/color/string/validate-color-string.ts +14 -0
- package/src/domain/create-domain.spec.ts +18 -0
- package/src/domain/create-domain.ts +14 -0
- package/src/domain/domain.ts +11 -0
- package/src/domain/index.ts +3 -0
- package/src/domain/is-domain.ts +34 -0
- package/src/environment/environment.error.ts +29 -0
- package/src/environment/error/invalid-platform-environment-id-error-properties.ts +9 -0
- package/src/environment/error/invalid-platform-environment-provider-error-properties.ts +9 -0
- package/src/environment/error/invalid-platform-environment-region-error-properties.ts +9 -0
- package/src/environment/error/invalid-platform-environment-type-error-properties.ts +9 -0
- package/src/environment/id/as-platform-environment-id.spec.ts +25 -0
- package/src/environment/id/as-platform-environment-id.ts +13 -0
- package/src/environment/id/is-platform-environment-id.spec.ts +40 -0
- package/src/environment/id/is-platform-environment-id.ts +11 -0
- package/src/environment/id/platform-environment-id.ts +6 -0
- package/src/environment/id/validate-platform-environment-id.spec.ts +37 -0
- package/src/environment/id/validate-platform-environment-id.ts +14 -0
- package/src/environment/index.ts +25 -0
- package/src/environment/platform-environment.ts +30 -0
- package/src/environment/provider/as-platform-environment-provider.spec.ts +27 -0
- package/src/environment/provider/as-platform-environment-provider.ts +13 -0
- package/src/environment/provider/is-platform-environment-provider.spec.ts +22 -0
- package/src/environment/provider/is-platform-environment-provider.ts +17 -0
- package/src/environment/provider/platform-environment-provider.ts +6 -0
- package/src/environment/provider/platform-environment-providers.ts +4 -0
- package/src/environment/provider/validate-platform-environment-provider.spec.ts +36 -0
- package/src/environment/provider/validate-platform-environment-provider.ts +14 -0
- package/src/environment/region/as-platform-environment-region.spec.ts +27 -0
- package/src/environment/region/as-platform-environment-region.ts +13 -0
- package/src/environment/region/is-platform-environment-region.spec.ts +31 -0
- package/src/environment/region/is-platform-environment-region.ts +17 -0
- package/src/environment/region/platform-environment-region.ts +6 -0
- package/src/environment/region/platform-environment-regions.ts +12 -0
- package/src/environment/region/validate-platform-environment-region.spec.ts +23 -0
- package/src/environment/region/validate-platform-environment-region.ts +14 -0
- package/src/environment/type/as-platform-environment-type.spec.ts +25 -0
- package/src/environment/type/as-platform-environment-type.ts +13 -0
- package/src/environment/type/is-platform-environment-type.spec.ts +21 -0
- package/src/environment/type/is-platform-environment-type.ts +17 -0
- package/src/environment/type/platform-environment-type.ts +6 -0
- package/src/environment/type/platform-environment-types.ts +4 -0
- package/src/environment/type/validate-platform-environment-type.spec.ts +35 -0
- package/src/environment/type/validate-platform-environment-type.ts +14 -0
- package/src/environment/variable/definition/environment-variable-definition-to-resolver.ts +28 -0
- package/src/environment/variable/definition/environment-variable-definition-type.ts +10 -0
- package/src/environment/variable/definition/environment-variable-definition.ts +28 -0
- package/src/environment/variable/definition/environment-variable-definitions-to-resolvers.ts +22 -0
- package/src/environment/variable/definition/environment-variable-entries-to-object.ts +37 -0
- package/src/environment/variable/definition/environment-variable-entry.ts +18 -0
- package/src/environment/variable/definition/environment-variable-object-property-type.spec.ts +36 -0
- package/src/environment/variable/definition/environment-variable-object-property-type.ts +8 -0
- package/src/environment/variable/definition/environment-variable-object-property.spec.ts +36 -0
- package/src/environment/variable/definition/environment-variable-object-property.ts +13 -0
- package/src/environment/variable/definition/environment-variable-object.ts +15 -0
- package/src/environment/variable/definition/environment-variable-resolver.ts +6 -0
- package/src/environment/variable/environment-variables-to-platform-environment.spec.ts +35 -0
- package/src/environment/variable/environment-variables-to-platform-environment.ts +43 -0
- package/src/environment/variable/environment-variables-to-value.spec.ts +55 -0
- package/src/environment/variable/environment-variables-to-value.ts +29 -0
- package/src/environment/variable/environment-variables-to-values.spec.ts +87 -0
- package/src/environment/variable/environment-variables-to-values.ts +63 -0
- package/src/environment/variable/environment-variables.ts +6 -0
- package/src/environment/variable/indexed/get-indexed-environment-variables-count.spec.ts +119 -0
- package/src/environment/variable/indexed/get-indexed-environment-variables-count.ts +41 -0
- package/src/environment/variable/indexed/index-to-indexed-environment-variables.spec.ts +40 -0
- package/src/environment/variable/indexed/index-to-indexed-environment-variables.ts +39 -0
- package/src/environment/variable/indexed/indexed-environment-variable-definitions.ts +21 -0
- package/src/environment/variable/platform-environment-to-environment-variables.ts +22 -0
- package/src/error/creator/error-creator.ts +14 -0
- package/src/error/creator/error-from-creator.ts +10 -0
- package/src/error/index.ts +14 -0
- package/src/error/is-error-of-type.spec.ts +8 -0
- package/src/error/is-error-of-type.ts +54 -0
- package/src/error/is-error.spec.ts +8 -0
- package/src/error/is-error.ts +9 -0
- package/src/error/is-platform-error.ts +20 -0
- package/src/error/operator/catch-platform-error.ts +15 -0
- package/src/error/operator/map-platform-error.ts +15 -0
- package/src/error/platform-error-instance.spec.ts +28 -0
- package/src/error/platform-error-instance.ts +34 -0
- package/src/error/platform-error-to-platform-error-instance.ts +17 -0
- package/src/error/platform-error.ts +31 -0
- package/src/error/properties/error-properties-from-error-definitions.ts +14 -0
- package/src/error/properties/error-properties-schema-type-name.ts +4 -0
- package/src/error/properties/error-properties-schema.ts +10 -0
- package/src/error/properties/error-properties.ts +16 -0
- package/src/error/stack/error-stack-to-platform-error-stack.ts +13 -0
- package/src/error/type/create-error-type.spec.ts +9 -0
- package/src/error/type/create-error-type.ts +36 -0
- package/src/error/type/error-creator-entry-to-property-descriptor-map.ts +24 -0
- package/src/error/type/error-creator-entry.ts +8 -0
- package/src/error/type/error-from-type.ts +9 -0
- package/src/error/type/error-properties-schema-entry-to-error-creator-entry.ts +32 -0
- package/src/error/type/error-type.ts +31 -0
- package/src/event/creator/event-creator.ts +14 -0
- package/src/event/creator/event-from-creator.ts +10 -0
- package/src/event/event-name.spec.ts +32 -0
- package/src/event/event-name.ts +11 -0
- package/src/event/event.spec.ts +16 -0
- package/src/event/event.ts +27 -0
- package/src/event/handler/event-handler.ts +10 -0
- package/src/event/index.ts +22 -0
- package/src/event/is-event-of-type.spec.ts +44 -0
- package/src/event/is-event-of-type.ts +45 -0
- package/src/event/is-event.ts +21 -0
- package/src/event/matcher/event-matcher-case.ts +11 -0
- package/src/event/matcher/event-matcher.ts +12 -0
- package/src/event/matcher/events-matcher-case.ts +11 -0
- package/src/event/matcher/events-matcher.ts +12 -0
- package/src/event/matcher/match-event.spec.ts +9 -0
- package/src/event/matcher/match-event.ts +22 -0
- package/src/event/matcher/match-events.ts +44 -0
- package/src/event/properties/event-properties-from-event-definitions.ts +14 -0
- package/src/event/properties/event-properties-schema-type-name.ts +4 -0
- package/src/event/properties/event-properties-schema.ts +10 -0
- package/src/event/properties/event-properties.spec.ts +19 -0
- package/src/event/properties/event-properties.ts +17 -0
- package/src/event/properties/event-to-event-name.ts +12 -0
- package/src/event/properties/event-to-event-properties.spec.ts +22 -0
- package/src/event/properties/event-to-event-properties.ts +12 -0
- package/src/event/type/create-event-type.spec.ts +9 -0
- package/src/event/type/create-event-type.ts +34 -0
- package/src/event/type/event-creator-entry-to-property-descriptor-map.ts +25 -0
- package/src/event/type/event-creator-entry.ts +8 -0
- package/src/event/type/event-from-type.ts +12 -0
- package/src/event/type/event-properties-schema-entry-to-event-creator-entry.ts +25 -0
- package/src/event/type/event-type-with-events.ts +26 -0
- package/src/event/type/event-type.ts +31 -0
- package/src/functional/call-with.ts +12 -0
- package/src/functional/entries-to-object.spec.ts +11 -0
- package/src/functional/entries-to-object.ts +11 -0
- package/src/functional/identity.spec.ts +16 -0
- package/src/functional/identity.ts +9 -0
- package/src/functional/index.ts +12 -0
- package/src/functional/is-defined.spec.ts +26 -0
- package/src/functional/is-defined.ts +10 -0
- package/src/functional/is-instance-of.spec.ts +31 -0
- package/src/functional/is-instance-of.ts +10 -0
- package/src/functional/is-not-null.spec.ts +26 -0
- package/src/functional/is-not-null.ts +9 -0
- package/src/functional/not.ts +12 -0
- package/src/functional/object-to-entries.spec.ts +40 -0
- package/src/functional/object-to-entries.ts +13 -0
- package/src/functional/object-to-keys.spec.ts +30 -0
- package/src/functional/object-to-keys.ts +11 -0
- package/src/functional/object-to-values.spec.ts +11 -0
- package/src/functional/object-to-values.ts +9 -0
- package/src/functional/object-with-properties.spec.ts +13 -0
- package/src/functional/object-with-properties.ts +48 -0
- package/src/functional/pipe.ts +89 -0
- package/src/geometry/index.ts +3 -0
- package/src/geometry/point.ts +17 -0
- package/src/geometry/polygon.ts +17 -0
- package/src/geometry/position.ts +6 -0
- package/src/http/client/create-http-client.ts +49 -0
- package/src/http/client/graphql/create-graphql-client.ts +52 -0
- package/src/http/client/graphql/graphql-client-options.ts +26 -0
- package/src/http/client/graphql/graphql-client.error.ts +19 -0
- package/src/http/client/graphql/graphql-client.ts +16 -0
- package/src/http/client/graphql/graphql-error-location.ts +13 -0
- package/src/http/client/graphql/graphql-error.ts +23 -0
- package/src/http/client/graphql/graphql-query-to-graphql-request.spec.ts +33 -0
- package/src/http/client/graphql/graphql-query-to-graphql-request.ts +20 -0
- package/src/http/client/graphql/graphql-request.ts +15 -0
- package/src/http/client/graphql/graphql-response.ts +17 -0
- package/src/http/client/graphql/index.ts +6 -0
- package/src/http/client/header/fetch-header-to-http-header.spec.ts +11 -0
- package/src/http/client/header/fetch-header-to-http-header.ts +13 -0
- package/src/http/client/header/http-headers-to-fetch-headers.spec.ts +11 -0
- package/src/http/client/header/http-headers-to-fetch-headers.ts +14 -0
- package/src/http/client/http-client-options.ts +15 -0
- package/src/http/client/http-client.error.ts +16 -0
- package/src/http/client/http-client.ts +15 -0
- package/src/http/client/index.ts +19 -0
- package/src/http/client/progress/controller-to-response-progress-chunks.spec.ts +13 -0
- package/src/http/client/progress/controller-to-response-progress-chunks.ts +33 -0
- package/src/http/client/progress/http-client-response-progress.ts +25 -0
- package/src/http/client/progress/http-client-response-to-http-client-response-with-progress.spec.ts +11 -0
- package/src/http/client/progress/http-client-response-to-http-client-response-with-progress.ts +52 -0
- package/src/http/client/progress/http-client-response-with-progress-to-bytes.ts +12 -0
- package/src/http/client/progress/http-client-response-with-progress.ts +11 -0
- package/src/http/client/progress/response-progress-chunk-to-response-progress.spec.ts +11 -0
- package/src/http/client/progress/response-progress-chunk-to-response-progress.ts +28 -0
- package/src/http/client/progress/response-progress-underlying-source.spec.ts +11 -0
- package/src/http/client/progress/response-progress-underlying-source.ts +25 -0
- package/src/http/client/request/http-client-request-options.ts +11 -0
- package/src/http/client/request/http-client-request.ts +27 -0
- package/src/http/client/response/fetch-response-symbol.ts +4 -0
- package/src/http/client/response/http-client-response-status-is-options.ts +13 -0
- package/src/http/client/response/http-client-response-status-is.spec.ts +32 -0
- package/src/http/client/response/http-client-response-status-is.ts +20 -0
- package/src/http/client/response/http-client-response-to-array-buffer.spec.ts +29 -0
- package/src/http/client/response/http-client-response-to-array-buffer.ts +13 -0
- package/src/http/client/response/http-client-response-to-blob.spec.ts +27 -0
- package/src/http/client/response/http-client-response-to-blob.ts +13 -0
- package/src/http/client/response/http-client-response-to-json-stream-options.ts +11 -0
- package/src/http/client/response/http-client-response-to-json-stream.spec.ts +85 -0
- package/src/http/client/response/http-client-response-to-json-stream.ts +52 -0
- package/src/http/client/response/http-client-response-to-json.spec.ts +49 -0
- package/src/http/client/response/http-client-response-to-json.ts +26 -0
- package/src/http/client/response/http-client-response-to-text.spec.ts +27 -0
- package/src/http/client/response/http-client-response-to-text.ts +13 -0
- package/src/http/client/response/http-client-response.ts +21 -0
- package/src/http/client/response/response-to-http-client-response.spec.ts +11 -0
- package/src/http/client/response/response-to-http-client-response.ts +19 -0
- package/src/http/client/response/url-to-http-client-response.spec.ts +11 -0
- package/src/http/client/response/url-to-http-client-response.ts +18 -0
- package/src/http/client/testing/create-test-http-client.ts +32 -0
- package/src/http/client/testing/index.ts +3 -0
- package/src/http/client/testing/test-http-client-options.ts +6 -0
- package/src/http/client/testing/test-http-client.ts +15 -0
- package/src/http/cookie/http-cookie.ts +52 -0
- package/src/http/cookie/is-session-http-cookie.ts +14 -0
- package/src/http/cookie/same-site-option/http-cookie-same-site-option.ts +6 -0
- package/src/http/cookie/same-site-option/http-cookie-same-site-options.ts +4 -0
- package/src/http/cookie/same-site-option/is-http-cookie-same-site-option.ts +17 -0
- package/src/http/cookie/same-site-option/validate-http-cookie-same-site-option.ts +14 -0
- package/src/http/error/invalid-cookie-header-value-error-properties.ts +9 -0
- package/src/http/error/invalid-cookie-same-site-option-error-properties.ts +9 -0
- package/src/http/error/invalid-http-header-name-error-properties.ts +9 -0
- package/src/http/error/invalid-http-method-error-properties.ts +9 -0
- package/src/http/error/invalid-http-status-error-properties.ts +9 -0
- package/src/http/header/authorization/parse-authorization-header-value.ts +24 -0
- package/src/http/header/by-http-header-name.ts +12 -0
- package/src/http/header/cookie/create-set-cookie-http-header.ts +34 -0
- package/src/http/header/cookie/parse-cookie-header-value.spec.ts +125 -0
- package/src/http/header/cookie/parse-cookie-header-value.ts +53 -0
- package/src/http/header/http-header.ts +6 -0
- package/src/http/header/name/as-http-header-name.ts +13 -0
- package/src/http/header/name/http-header-name.ts +6 -0
- package/src/http/header/name/http-header-names.ts +118 -0
- package/src/http/header/name/is-http-header-name.ts +11 -0
- package/src/http/header/name/validate-http-header-name.ts +14 -0
- package/src/http/http.error.ts +34 -0
- package/src/http/index.ts +31 -0
- package/src/http/method/as-http-method.ts +13 -0
- package/src/http/method/http-method.ts +6 -0
- package/src/http/method/http-methods.ts +4 -0
- package/src/http/method/is-http-method.ts +14 -0
- package/src/http/method/validate-http-method.ts +14 -0
- package/src/http/status/http-status.ts +6 -0
- package/src/http/status/http-statuses.ts +68 -0
- package/src/http/status/is-http-status.spec.ts +20 -0
- package/src/http/status/is-http-status.ts +16 -0
- package/src/http/status/validate-http-status.spec.ts +21 -0
- package/src/http/status/validate-http-status.ts +14 -0
- package/src/i18n/error/invalid-i18n-string-error-properties.ts +6 -0
- package/src/i18n/i18n.error.ts +14 -0
- package/src/i18n/index.ts +12 -0
- package/src/i18n/string/as-i18n-string.ts +13 -0
- package/src/i18n/string/compare-i18n-strings-options.ts +15 -0
- package/src/i18n/string/compare-i18n-strings.ts +19 -0
- package/src/i18n/string/i18n-string-includes-options.ts +15 -0
- package/src/i18n/string/i18n-string-includes.ts +44 -0
- package/src/i18n/string/i18n-string.ts +7 -0
- package/src/i18n/string/is-i18n-string.spec.ts +19 -0
- package/src/i18n/string/is-i18n-string.ts +20 -0
- package/src/i18n/string/is-same-i18n-string.ts +32 -0
- package/src/i18n/string/merge-i18n-strings.ts +16 -0
- package/src/i18n/string/validate-i18n-string.ts +14 -0
- package/src/index.ts +1 -0
- package/src/language/as-language-code.spec.ts +8 -0
- package/src/language/as-language-code.ts +13 -0
- package/src/language/error/invalid-language-code-error-properties.ts +6 -0
- package/src/language/index.ts +7 -0
- package/src/language/is-language-code.spec.ts +8 -0
- package/src/language/is-language-code.ts +17 -0
- package/src/language/language-code.ts +6 -0
- package/src/language/language-codes.ts +21 -0
- package/src/language/language.error.ts +14 -0
- package/src/language/validate-language-code.spec.ts +8 -0
- package/src/language/validate-language-code.ts +14 -0
- package/src/locale/as-locale-code.spec.ts +8 -0
- package/src/locale/as-locale-code.ts +13 -0
- package/src/locale/by-locale-code.ts +14 -0
- package/src/locale/error/invalid-locale-code-error-properties.ts +6 -0
- package/src/locale/index.ts +7 -0
- package/src/locale/is-locale-code.spec.ts +8 -0
- package/src/locale/is-locale-code.ts +23 -0
- package/src/locale/locale-code.ts +6 -0
- package/src/locale/locale.error.ts +14 -0
- package/src/locale/validate-locale-code.spec.ts +8 -0
- package/src/locale/validate-locale-code.ts +14 -0
- package/src/platform.domain.ts +6 -0
- package/src/random/get-random-array-value.ts +14 -0
- package/src/random/index.ts +1 -0
- package/src/reactive/as-observable.spec.ts +29 -0
- package/src/reactive/as-observable.ts +12 -0
- package/src/reactive/catch-error-if.spec.ts +55 -0
- package/src/reactive/catch-error-if.ts +41 -0
- package/src/reactive/defer-value.spec.ts +29 -0
- package/src/reactive/defer-value.ts +18 -0
- package/src/reactive/index.ts +8 -0
- package/src/reactive/map-error-if.ts +39 -0
- package/src/reactive/observable-map.spec.ts +41 -0
- package/src/reactive/observable-map.ts +31 -0
- package/src/reactive/polyfill/index.spec.ts +11 -0
- package/src/reactive/polyfill/index.ts +3 -0
- package/src/reactive/polyfill/types/reactive.d.ts +6 -0
- package/src/reactive/tap-error.ts +12 -0
- package/src/reactive/throw-if.ts +39 -0
- package/src/reactive/throw-unless.spec.ts +52 -0
- package/src/reactive/throw-unless.ts +39 -0
- package/src/temporal/date/date-to-start-of-week.ts +10 -0
- package/src/temporal/date/string/as-date-string.ts +22 -0
- package/src/temporal/date/string/current-date-string.ts +11 -0
- package/src/temporal/date/string/date-string.ts +6 -0
- package/src/temporal/date/string/is-date-string.ts +20 -0
- package/src/temporal/date/string/validate-date-string.ts +14 -0
- package/src/temporal/date-interval/string/as-date-interval-string.ts +13 -0
- package/src/temporal/date-interval/string/date-interval-string.ts +8 -0
- package/src/temporal/date-interval/string/is-date-interval-string.ts +21 -0
- package/src/temporal/date-interval/string/validate-date-interval-string.ts +14 -0
- package/src/temporal/date-time/string/as-date-time-string.spec.ts +45 -0
- package/src/temporal/date-time/string/as-date-time-string.ts +34 -0
- package/src/temporal/date-time/string/current-date-time-string.ts +11 -0
- package/src/temporal/date-time/string/date-time-string-to-date-string.ts +27 -0
- package/src/temporal/date-time/string/date-time-string-to-instant.ts +9 -0
- package/src/temporal/date-time/string/date-time-string.ts +6 -0
- package/src/temporal/date-time/string/is-date-time-string.ts +21 -0
- package/src/temporal/date-time/string/validate-date-time-string.ts +14 -0
- package/src/temporal/date-time-interval/string/as-date-time-interval-string.ts +13 -0
- package/src/temporal/date-time-interval/string/date-time-interval-string.ts +8 -0
- package/src/temporal/date-time-interval/string/is-date-time-interval-string.ts +21 -0
- package/src/temporal/date-time-interval/string/validate-date-time-interval-string.ts +14 -0
- package/src/temporal/duration/string/as-duration-string.spec.ts +36 -0
- package/src/temporal/duration/string/as-duration-string.ts +22 -0
- package/src/temporal/duration/string/duration-string.ts +6 -0
- package/src/temporal/duration/string/is-duration-string.ts +20 -0
- package/src/temporal/duration/string/validate-duration-string.ts +14 -0
- package/src/temporal/error/invalid-date-interval-string-error-properties.ts +6 -0
- package/src/temporal/error/invalid-date-string-error-properties.ts +6 -0
- package/src/temporal/error/invalid-date-time-interval-string-error-properties.ts +6 -0
- package/src/temporal/error/invalid-date-time-string-error-properties.ts +6 -0
- package/src/temporal/error/invalid-duration-string-error-properties.ts +6 -0
- package/src/temporal/error/invalid-time-interval-string-error-properties.ts +6 -0
- package/src/temporal/error/invalid-time-string-error-properties.ts +6 -0
- package/src/temporal/index.ts +39 -0
- package/src/temporal/polyfill/index.spec.ts +21 -0
- package/src/temporal/polyfill/index.ts +5 -0
- package/src/temporal/polyfill/types/temporal.d.ts +75 -0
- package/src/temporal/temporal.error.ts +44 -0
- package/src/temporal/time/string/as-time-string.ts +22 -0
- package/src/temporal/time/string/current-time-string.ts +11 -0
- package/src/temporal/time/string/is-time-string.ts +20 -0
- package/src/temporal/time/string/time-string.ts +6 -0
- package/src/temporal/time/string/validate-time-string.ts +14 -0
- package/src/temporal/time-interval/string/as-time-interval-string.ts +13 -0
- package/src/temporal/time-interval/string/is-time-interval-string.ts +21 -0
- package/src/temporal/time-interval/string/time-interval-string.ts +8 -0
- package/src/temporal/time-interval/string/validate-time-interval-string.ts +14 -0
- package/src/testing/environment/create-test-environment-variables.ts +13 -0
- package/src/testing/environment/create-test-platform-environment.ts +25 -0
- package/src/testing/environment/test-platform-environment-id.ts +6 -0
- package/src/testing/index.ts +3 -0
- package/src/tsconfig.base.json +37 -0
- package/src/tsconfig.cjs.json +8 -0
- package/src/tsconfig.esm.json +8 -0
- package/src/tsconfig.spec.json +9 -0
- package/src/tsconfig.types.json +13 -0
- package/src/typescript/deep-partial.ts +17 -0
- package/src/typescript/expand.spec.ts +16 -0
- package/src/typescript/expand.ts +10 -0
- package/src/typescript/function/unary-function.ts +9 -0
- package/src/typescript/generic-function.ts +4 -0
- package/src/typescript/index.ts +17 -0
- package/src/typescript/is-branded-type.ts +12 -0
- package/src/typescript/keys-of-value-type.ts +4 -0
- package/src/typescript/omit-call-signature.ts +10 -0
- package/src/typescript/omit-indexed-access.ts +8 -0
- package/src/typescript/pick-call-signature.ts +8 -0
- package/src/typescript/properties-to-union.ts +6 -0
- package/src/typescript/readonly-record.spec.ts +17 -0
- package/src/typescript/readonly-record.ts +10 -0
- package/src/typescript/schema/type-creator.ts +6 -0
- package/src/typescript/schema/type-schema-symbol.ts +9 -0
- package/src/typescript/schema/type-schema-type-name.spec.ts +16 -0
- package/src/typescript/schema/type-schema-type-name.ts +10 -0
- package/src/typescript/schema/type-schema-type.spec.ts +19 -0
- package/src/typescript/schema/type-schema-type.ts +10 -0
- package/src/typescript/schema/type-schema.spec.ts +20 -0
- package/src/typescript/schema/type-schema.ts +29 -0
- package/src/typescript/union-to-intersection.ts +8 -0
- package/src/url/error/invalid-url-string-error-properties.ts +6 -0
- package/src/url/index.ts +4 -0
- package/src/url/string/as-url-string.spec.ts +35 -0
- package/src/url/string/as-url-string.ts +19 -0
- package/src/url/string/is-url-string.spec.ts +30 -0
- package/src/url/string/is-url-string.ts +20 -0
- package/src/url/string/url-string.ts +6 -0
- package/src/url/string/validate-url-string.spec.ts +21 -0
- package/src/url/string/validate-url-string.ts +14 -0
- package/src/url/url.error.ts +14 -0
- package/src/uuid/as-uuid.spec.ts +25 -0
- package/src/uuid/as-uuid.ts +13 -0
- package/src/uuid/error/invalid-uuid-error-properties.ts +6 -0
- package/src/uuid/generate-uuid.spec.ts +14 -0
- package/src/uuid/generate-uuid.ts +12 -0
- package/src/uuid/index.ts +7 -0
- package/src/uuid/is-uuid.spec.ts +30 -0
- package/src/uuid/is-uuid.ts +12 -0
- package/src/uuid/uuid.error.ts +15 -0
- package/src/uuid/uuid.ts +6 -0
- package/src/uuid/validate-uuid.spec.ts +24 -0
- package/src/uuid/validate-uuid.ts +14 -0
- package/tsconfig.json +50 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { describe, expect, it } from 'vitest';
|
|
2
|
+
|
|
3
|
+
import { environmentError } from '../environment.error.js';
|
|
4
|
+
import { asPlatformEnvironmentType } from './as-platform-environment-type.js';
|
|
5
|
+
|
|
6
|
+
describe('As platform environment type', () => {
|
|
7
|
+
it('safely casts a string to a platform environment type', () => {
|
|
8
|
+
// given: a platform environment type string
|
|
9
|
+
const value = 'development';
|
|
10
|
+
|
|
11
|
+
// when: casting the string to a platform environment type
|
|
12
|
+
const platformEnvironmentType = asPlatformEnvironmentType(value);
|
|
13
|
+
|
|
14
|
+
// then: the platform environment type is left untouched
|
|
15
|
+
expect(platformEnvironmentType).toBe(value);
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
it('throws an error when the string is not a valid platform environment type', () => {
|
|
19
|
+
// given: an invalid platform environment type string
|
|
20
|
+
const value = 'a';
|
|
21
|
+
|
|
22
|
+
// expect: casting the string to a platform environment type to throw
|
|
23
|
+
expect(() => asPlatformEnvironmentType(value)).toThrow(environmentError.invalidPlatformEnvironmentType({ value }));
|
|
24
|
+
});
|
|
25
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type PlatformEnvironmentType } from './platform-environment-type.js';
|
|
2
|
+
import { validatePlatformEnvironmentType } from './validate-platform-environment-type.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Safely casts a value to a platform environment type
|
|
6
|
+
*
|
|
7
|
+
* @param value Value
|
|
8
|
+
* @returns Platform environment type
|
|
9
|
+
*/
|
|
10
|
+
export function asPlatformEnvironmentType(value: unknown): PlatformEnvironmentType {
|
|
11
|
+
validatePlatformEnvironmentType(value);
|
|
12
|
+
return value;
|
|
13
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { describe, expect, it } from 'vitest';
|
|
2
|
+
|
|
3
|
+
import { isPlatformEnvironmentType } from './is-platform-environment-type.js';
|
|
4
|
+
|
|
5
|
+
describe('Is platform environment type', () => {
|
|
6
|
+
it.each([
|
|
7
|
+
['development', true],
|
|
8
|
+
['dev', false],
|
|
9
|
+
['staging', true],
|
|
10
|
+
['production', true],
|
|
11
|
+
['prod', false],
|
|
12
|
+
])('properly determines whether a string is a platform environment type', (value, expectedResult) => {
|
|
13
|
+
// given: a string
|
|
14
|
+
|
|
15
|
+
// when: testing whether the string is a platform environment type
|
|
16
|
+
const result = isPlatformEnvironmentType(value);
|
|
17
|
+
|
|
18
|
+
// expect: true to be returned if it is
|
|
19
|
+
expect(result).toBe(expectedResult);
|
|
20
|
+
});
|
|
21
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type PlatformEnvironmentType } from './platform-environment-type.js';
|
|
2
|
+
import { platformEnvironmentTypes } from './platform-environment-types.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Tests whether a value is a platform environment type
|
|
6
|
+
*
|
|
7
|
+
* @param value Value
|
|
8
|
+
* @returns true if the value is a platform environment type
|
|
9
|
+
*/
|
|
10
|
+
export function isPlatformEnvironmentType(value: unknown): value is PlatformEnvironmentType {
|
|
11
|
+
return typeof value === 'string' && set.has(value);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Set of possible values
|
|
16
|
+
*/
|
|
17
|
+
const set: ReadonlySet<string> = new Set(platformEnvironmentTypes);
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { describe, expect, expectTypeOf, it } from 'vitest';
|
|
2
|
+
|
|
3
|
+
import { type PlatformEnvironmentType } from './platform-environment-type.js';
|
|
4
|
+
import { validatePlatformEnvironmentType } from './validate-platform-environment-type.js';
|
|
5
|
+
|
|
6
|
+
describe('Validate platform environment type', () => {
|
|
7
|
+
it('throws an error when an invalid string is passed', () => {
|
|
8
|
+
// given: an invalid platform environment type string
|
|
9
|
+
const value = 'dev';
|
|
10
|
+
|
|
11
|
+
// expect: validating the string to throw
|
|
12
|
+
expect(() => validatePlatformEnvironmentType(value)).toThrow(
|
|
13
|
+
`@edumalin/platform:error:invalidPlatformEnvironmentType`
|
|
14
|
+
);
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
it.each(['development', 'staging', 'production'])('does not throw an error when a valid string is passed', value => {
|
|
18
|
+
// given: a valid platform environment type string
|
|
19
|
+
|
|
20
|
+
// expect: validating the string not to throw
|
|
21
|
+
expect(() => validatePlatformEnvironmentType(value)).not.toThrow();
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
it('asserts the type of the parameter', () => {
|
|
25
|
+
// given: a platform environment type string
|
|
26
|
+
// oxlint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
27
|
+
const value: string = 'development';
|
|
28
|
+
|
|
29
|
+
// when: validating the string
|
|
30
|
+
validatePlatformEnvironmentType(value);
|
|
31
|
+
|
|
32
|
+
// expect: its type to have been asserted
|
|
33
|
+
expectTypeOf(value).toEqualTypeOf<PlatformEnvironmentType>();
|
|
34
|
+
});
|
|
35
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { environmentError } from '../environment.error.js';
|
|
2
|
+
import { isPlatformEnvironmentType } from './is-platform-environment-type.js';
|
|
3
|
+
import { type PlatformEnvironmentType } from './platform-environment-type.js';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Validates that a value is a valid platform environment type
|
|
7
|
+
*
|
|
8
|
+
* @param value Value
|
|
9
|
+
*/
|
|
10
|
+
export function validatePlatformEnvironmentType(value: unknown): asserts value is PlatformEnvironmentType {
|
|
11
|
+
if (!isPlatformEnvironmentType(value)) {
|
|
12
|
+
throw environmentError.invalidPlatformEnvironmentType({ value });
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { identity } from '@edumalin/platform/functional';
|
|
2
|
+
|
|
3
|
+
import { type EnvironmentVariableDefinition } from './environment-variable-definition.js';
|
|
4
|
+
import { type EnvironmentVariableResolver } from './environment-variable-resolver.js';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Returns an environment variable resolver, given a definition
|
|
8
|
+
*
|
|
9
|
+
* @param environmentVariableDefinition Environment variable definition
|
|
10
|
+
* @returns Environment variable resolver
|
|
11
|
+
* @template T Variable type
|
|
12
|
+
* @template Optional Whether the variable is optional
|
|
13
|
+
*/
|
|
14
|
+
export function environmentVariableDefinitionToResolver<T, Optional extends boolean>(
|
|
15
|
+
environmentVariableDefinition: EnvironmentVariableDefinition<T, Optional>
|
|
16
|
+
): EnvironmentVariableResolver<T> {
|
|
17
|
+
const { defaultValue, description, optional = false, parse = identity } = environmentVariableDefinition;
|
|
18
|
+
|
|
19
|
+
return (variableValue, name) => {
|
|
20
|
+
const value = variableValue !== undefined ? parse(variableValue) : defaultValue;
|
|
21
|
+
|
|
22
|
+
if (value === undefined && !optional) {
|
|
23
|
+
throw new Error(`missing environment variable "${name}" (${description})`);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
return value as T;
|
|
27
|
+
};
|
|
28
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type ReadonlyRecord } from '@edumalin/platform/typescript';
|
|
2
|
+
|
|
3
|
+
import { type EnvironmentVariableDefinition } from './environment-variable-definition.js';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Environment variable definition type
|
|
7
|
+
*/
|
|
8
|
+
export type EnvironmentVariableDefinitionType<
|
|
9
|
+
T extends ReadonlyRecord<string, EnvironmentVariableDefinition<unknown, boolean>>,
|
|
10
|
+
> = T extends ReadonlyRecord<string, infer DefinitionType> ? DefinitionType : never;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Environment variable definition
|
|
3
|
+
*
|
|
4
|
+
* @template T Variable type
|
|
5
|
+
* @template Optional Whether the variable is optional
|
|
6
|
+
*/
|
|
7
|
+
export interface EnvironmentVariableDefinition<T = string, Optional extends boolean = false> {
|
|
8
|
+
/**
|
|
9
|
+
* Default value
|
|
10
|
+
*/
|
|
11
|
+
readonly defaultValue?: T;
|
|
12
|
+
/**
|
|
13
|
+
* Environment variable description
|
|
14
|
+
*/
|
|
15
|
+
readonly description: string;
|
|
16
|
+
/**
|
|
17
|
+
* Variable name
|
|
18
|
+
*/
|
|
19
|
+
readonly name: string;
|
|
20
|
+
/**
|
|
21
|
+
* Whether the environment variable is optional
|
|
22
|
+
*/
|
|
23
|
+
readonly optional?: Optional;
|
|
24
|
+
/**
|
|
25
|
+
* A parser that specializes the environment variable
|
|
26
|
+
*/
|
|
27
|
+
readonly parse?: (variableValue: string) => T;
|
|
28
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { objectToEntries } from '@edumalin/platform/functional';
|
|
2
|
+
import { type ReadonlyRecord } from '@edumalin/platform/typescript';
|
|
3
|
+
|
|
4
|
+
import { type EnvironmentVariableDefinition } from './environment-variable-definition.js';
|
|
5
|
+
import { environmentVariableDefinitionToResolver } from './environment-variable-definition-to-resolver.js';
|
|
6
|
+
import { type EnvironmentVariableEntry } from './environment-variable-entry.js';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Returns a list of resolvers, given environment variable definitions
|
|
10
|
+
*
|
|
11
|
+
* @param definitions environment variable definitions
|
|
12
|
+
* @returns List of resolvers
|
|
13
|
+
* @template VariableDefinitions Variable definitions type
|
|
14
|
+
*/
|
|
15
|
+
export function environmentVariableDefinitionsToResolvers<
|
|
16
|
+
VariableDefinitions extends ReadonlyRecord<string, EnvironmentVariableDefinition<unknown, boolean>>,
|
|
17
|
+
>(definitions: VariableDefinitions): ReadonlyArray<EnvironmentVariableEntry<VariableDefinitions>> {
|
|
18
|
+
return objectToEntries(definitions).map(([propertyKey, variableDefinition]) => {
|
|
19
|
+
const variableResolver = environmentVariableDefinitionToResolver(variableDefinition);
|
|
20
|
+
return [propertyKey, variableDefinition, variableResolver] as const;
|
|
21
|
+
}) as unknown as ReadonlyArray<EnvironmentVariableEntry<VariableDefinitions>>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { type ReadonlyRecord } from '@edumalin/platform/typescript';
|
|
2
|
+
|
|
3
|
+
import { type EnvironmentVariables } from '../environment-variables.js';
|
|
4
|
+
import { type EnvironmentVariableDefinition } from './environment-variable-definition.js';
|
|
5
|
+
import { type EnvironmentVariableDefinitionType } from './environment-variable-definition-type.js';
|
|
6
|
+
import { type EnvironmentVariableEntry } from './environment-variable-entry.js';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Creates a function that reduces environment variable entries to an environment variable object
|
|
10
|
+
*
|
|
11
|
+
* @param environmentVariables Environment variables
|
|
12
|
+
* @param variableNameResolver Variable name resolver
|
|
13
|
+
* @returns Function that reduces environment variable entries to an environment variable object
|
|
14
|
+
* @template VariableDefinitions Variable definitions type
|
|
15
|
+
*/
|
|
16
|
+
export function environmentVariableEntriesToObject<
|
|
17
|
+
VariableDefinitions extends ReadonlyRecord<string, EnvironmentVariableDefinition<unknown, boolean>>,
|
|
18
|
+
>(
|
|
19
|
+
environmentVariables: EnvironmentVariables,
|
|
20
|
+
variableNameResolver: (
|
|
21
|
+
definition: EnvironmentVariableDefinitionType<VariableDefinitions>,
|
|
22
|
+
propertyKey: keyof VariableDefinitions
|
|
23
|
+
) => string
|
|
24
|
+
): (
|
|
25
|
+
obj: ReadonlyRecord<keyof VariableDefinitions, unknown>,
|
|
26
|
+
environmentVariableEntry: EnvironmentVariableEntry<VariableDefinitions>
|
|
27
|
+
) => ReadonlyRecord<keyof VariableDefinitions, unknown> {
|
|
28
|
+
return (obj, [propertyKey, definition, resolver]) => {
|
|
29
|
+
const variableName = variableNameResolver(definition, propertyKey);
|
|
30
|
+
const variableString = environmentVariables[variableName];
|
|
31
|
+
const propertyValue = resolver(variableString, variableName);
|
|
32
|
+
return {
|
|
33
|
+
...obj,
|
|
34
|
+
[propertyKey]: propertyValue,
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type ReadonlyRecord } from '@edumalin/platform/typescript';
|
|
2
|
+
|
|
3
|
+
import { type EnvironmentVariableDefinition } from './environment-variable-definition.js';
|
|
4
|
+
import { type EnvironmentVariableDefinitionType } from './environment-variable-definition-type.js';
|
|
5
|
+
import { type EnvironmentVariableResolver } from './environment-variable-resolver.js';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Environment variable entry
|
|
9
|
+
*
|
|
10
|
+
* @template VariableDefinitions Variable definitions type
|
|
11
|
+
*/
|
|
12
|
+
export type EnvironmentVariableEntry<
|
|
13
|
+
VariableDefinitions extends ReadonlyRecord<string, EnvironmentVariableDefinition<unknown, boolean>>,
|
|
14
|
+
> = readonly [
|
|
15
|
+
propertyKey: keyof VariableDefinitions,
|
|
16
|
+
variableDefinition: EnvironmentVariableDefinitionType<VariableDefinitions>,
|
|
17
|
+
resolver: EnvironmentVariableResolver<unknown>,
|
|
18
|
+
];
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { describe, expectTypeOf, it } from 'vitest';
|
|
2
|
+
|
|
3
|
+
import { type EnvironmentVariableObjectPropertyType } from './environment-variable-object-property-type.js';
|
|
4
|
+
|
|
5
|
+
describe('Environment variable object property type', () => {
|
|
6
|
+
it('can extract a type from an environment variable definition with a parser', () => {
|
|
7
|
+
// given: an environment variable definition with a parser
|
|
8
|
+
// oxlint-disable-next-line @typescript-eslint/no-unused-vars
|
|
9
|
+
const environmentVariableDefinition = {
|
|
10
|
+
description: 'Test description',
|
|
11
|
+
name: 'Test name',
|
|
12
|
+
parse: (value: string) => new URL(value),
|
|
13
|
+
} as const;
|
|
14
|
+
|
|
15
|
+
// when: extracting the type from the environment variable definition
|
|
16
|
+
type ObjectProperty = EnvironmentVariableObjectPropertyType<typeof environmentVariableDefinition>;
|
|
17
|
+
|
|
18
|
+
// expect: a type to be extract from an environment variable definition
|
|
19
|
+
expectTypeOf<ObjectProperty>().toEqualTypeOf<URL>();
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
it('extracts a type from an environment variable definition without a parser', () => {
|
|
23
|
+
// given: an environment variable definition without a parser
|
|
24
|
+
// oxlint-disable-next-line @typescript-eslint/no-unused-vars
|
|
25
|
+
const environmentVariableDefinition = {
|
|
26
|
+
description: 'Test description',
|
|
27
|
+
name: 'Test name',
|
|
28
|
+
} as const;
|
|
29
|
+
|
|
30
|
+
// when: extracting the type from the environment variable definition
|
|
31
|
+
type ObjectProperty = EnvironmentVariableObjectPropertyType<typeof environmentVariableDefinition>;
|
|
32
|
+
|
|
33
|
+
// expect: a type to be extract from an environment variable definition
|
|
34
|
+
expectTypeOf<ObjectProperty>().toEqualTypeOf<string>();
|
|
35
|
+
});
|
|
36
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type EnvironmentVariableDefinition } from './environment-variable-definition.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Environment variable definition property type
|
|
5
|
+
*/
|
|
6
|
+
export type EnvironmentVariableObjectPropertyType<
|
|
7
|
+
VariableDefinition extends EnvironmentVariableDefinition<any, boolean>,
|
|
8
|
+
> = VariableDefinition extends { readonly parse: (variableValue: string) => infer T } ? T : string;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { describe, expectTypeOf, it } from 'vitest';
|
|
2
|
+
|
|
3
|
+
import { type EnvironmentVariableObjectProperty } from './environment-variable-object-property.js';
|
|
4
|
+
|
|
5
|
+
describe('Environment variable object property', () => {
|
|
6
|
+
it('can extract a type from an environment variable definition with a parser', () => {
|
|
7
|
+
// given: an environment variable definition with a parser
|
|
8
|
+
// oxlint-disable-next-line @typescript-eslint/no-unused-vars
|
|
9
|
+
const environmentVariableDefinition = {
|
|
10
|
+
description: 'Test description',
|
|
11
|
+
name: 'Test name',
|
|
12
|
+
parse: (value: string) => new URL(value),
|
|
13
|
+
} as const;
|
|
14
|
+
|
|
15
|
+
// when: extracting the type from the environment variable definition
|
|
16
|
+
type ObjectProperty = EnvironmentVariableObjectProperty<typeof environmentVariableDefinition>;
|
|
17
|
+
|
|
18
|
+
// expect: a type to be extract from an environment variable definition
|
|
19
|
+
expectTypeOf<ObjectProperty>().toEqualTypeOf<URL>();
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
it('extracts a type from an environment variable definition without a parser', () => {
|
|
23
|
+
// given: an environment variable definition without a parser
|
|
24
|
+
// oxlint-disable-next-line @typescript-eslint/no-unused-vars
|
|
25
|
+
const environmentVariableDefinition = {
|
|
26
|
+
description: 'Test description',
|
|
27
|
+
name: 'Test name',
|
|
28
|
+
} as const;
|
|
29
|
+
|
|
30
|
+
// when: extracting the type from the environment variable definition
|
|
31
|
+
type ObjectProperty = EnvironmentVariableObjectProperty<typeof environmentVariableDefinition>;
|
|
32
|
+
|
|
33
|
+
// expect: a type to be extract from an environment variable definition
|
|
34
|
+
expectTypeOf<ObjectProperty>().toEqualTypeOf<string>();
|
|
35
|
+
});
|
|
36
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type EnvironmentVariableDefinition } from './environment-variable-definition.js';
|
|
2
|
+
import { type EnvironmentVariableObjectPropertyType } from './environment-variable-object-property-type.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Environment variable object property
|
|
6
|
+
*
|
|
7
|
+
* @template VariableDefinition Variable definition type
|
|
8
|
+
*/
|
|
9
|
+
export type EnvironmentVariableObjectProperty<
|
|
10
|
+
VariableDefinition extends EnvironmentVariableDefinition<unknown, boolean>,
|
|
11
|
+
> = VariableDefinition extends { readonly optional: true }
|
|
12
|
+
? EnvironmentVariableObjectPropertyType<VariableDefinition> | undefined
|
|
13
|
+
: EnvironmentVariableObjectPropertyType<VariableDefinition>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type Expand, type ReadonlyRecord } from '@edumalin/platform/typescript';
|
|
2
|
+
|
|
3
|
+
import { type EnvironmentVariableDefinition } from './environment-variable-definition.js';
|
|
4
|
+
import { type EnvironmentVariableObjectProperty } from './environment-variable-object-property.js';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Environment variable object
|
|
8
|
+
*
|
|
9
|
+
* @template VariableDefinitions Variable definitions type
|
|
10
|
+
*/
|
|
11
|
+
export type EnvironmentVariableObject<
|
|
12
|
+
VariableDefinitions extends ReadonlyRecord<string, EnvironmentVariableDefinition<unknown, boolean>>,
|
|
13
|
+
> = Expand<{
|
|
14
|
+
readonly [K in keyof VariableDefinitions]: EnvironmentVariableObjectProperty<VariableDefinitions[K]>;
|
|
15
|
+
}>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { describe, expect, it } from 'vitest';
|
|
2
|
+
|
|
3
|
+
import { type EnvironmentVariables } from './environment-variables.js';
|
|
4
|
+
import { environmentVariablesToPlatformEnvironment } from './environment-variables-to-platform-environment.js';
|
|
5
|
+
|
|
6
|
+
describe('Environment variables to platform environment', () => {
|
|
7
|
+
const id = 'test';
|
|
8
|
+
const name = 'test';
|
|
9
|
+
const provider = 'local';
|
|
10
|
+
const region = 'eu-paas';
|
|
11
|
+
const type = 'development';
|
|
12
|
+
|
|
13
|
+
it('can build the platform environment from environment variables', () => {
|
|
14
|
+
// given: environment variables
|
|
15
|
+
const environmentVariables: EnvironmentVariables = {
|
|
16
|
+
EDU_ENV_ID: id,
|
|
17
|
+
EDU_ENV_NAME: name,
|
|
18
|
+
EDU_ENV_PROVIDER: provider,
|
|
19
|
+
EDU_ENV_REGION: region,
|
|
20
|
+
EDU_ENV_TYPE: type,
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
// when: creating a function that returns the platform environment
|
|
24
|
+
const func = environmentVariablesToPlatformEnvironment();
|
|
25
|
+
// and: calling it
|
|
26
|
+
const platformEnvironment = func(environmentVariables);
|
|
27
|
+
|
|
28
|
+
// then: the platform environment information is properly constructed
|
|
29
|
+
expect(platformEnvironment.id).toBe(id);
|
|
30
|
+
expect(platformEnvironment.name).toBe(name);
|
|
31
|
+
expect(platformEnvironment.provider).toBe(provider);
|
|
32
|
+
expect(platformEnvironment.region).toBe(region);
|
|
33
|
+
expect(platformEnvironment.type).toBe(type);
|
|
34
|
+
});
|
|
35
|
+
});
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { asPlatformEnvironmentId } from '../id/as-platform-environment-id';
|
|
2
|
+
import { type PlatformEnvironment } from '../platform-environment.js';
|
|
3
|
+
import { asPlatformEnvironmentProvider } from '../provider/as-platform-environment-provider';
|
|
4
|
+
import { asPlatformEnvironmentRegion } from '../region/as-platform-environment-region.js';
|
|
5
|
+
import { asPlatformEnvironmentType } from '../type/as-platform-environment-type.js';
|
|
6
|
+
import { type EnvironmentVariables } from './environment-variables.js';
|
|
7
|
+
import { environmentVariablesToValue } from './environment-variables-to-value.js';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Creates a function that returns the current platform environment, given environment variables
|
|
11
|
+
*
|
|
12
|
+
* @returns Function that returns the current platform environment, given environment variables
|
|
13
|
+
*/
|
|
14
|
+
export function environmentVariablesToPlatformEnvironment(): (
|
|
15
|
+
environmentVariables: EnvironmentVariables
|
|
16
|
+
) => PlatformEnvironment {
|
|
17
|
+
return environmentVariablesToValue({
|
|
18
|
+
id: {
|
|
19
|
+
description: 'Edumalin platform environment identifier',
|
|
20
|
+
name: 'EDU_ENV_ID',
|
|
21
|
+
parse: asPlatformEnvironmentId,
|
|
22
|
+
},
|
|
23
|
+
name: {
|
|
24
|
+
description: 'Edumalin platform environment name',
|
|
25
|
+
name: 'EDU_ENV_NAME',
|
|
26
|
+
},
|
|
27
|
+
provider: {
|
|
28
|
+
description: 'Edumalin platform environment provider',
|
|
29
|
+
name: 'EDU_ENV_PROVIDER',
|
|
30
|
+
parse: asPlatformEnvironmentProvider,
|
|
31
|
+
},
|
|
32
|
+
region: {
|
|
33
|
+
description: 'Edumalin platform environment region',
|
|
34
|
+
name: 'EDU_ENV_REGION',
|
|
35
|
+
parse: asPlatformEnvironmentRegion,
|
|
36
|
+
},
|
|
37
|
+
type: {
|
|
38
|
+
description: 'Edumalin platform environment type',
|
|
39
|
+
name: 'EDU_ENV_TYPE',
|
|
40
|
+
parse: asPlatformEnvironmentType,
|
|
41
|
+
},
|
|
42
|
+
});
|
|
43
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { describe, expect, it } from 'vitest';
|
|
2
|
+
|
|
3
|
+
import { type EnvironmentVariables } from './environment-variables.js';
|
|
4
|
+
import { environmentVariablesToValue } from './environment-variables-to-value.js';
|
|
5
|
+
|
|
6
|
+
describe('Environment variables to value', () => {
|
|
7
|
+
it('builds an object from environment variables', () => {
|
|
8
|
+
// given: environment variables
|
|
9
|
+
const testName1 = 'TEST_NAME_1';
|
|
10
|
+
const testValue1 = 'test-variable-1';
|
|
11
|
+
const testName2 = 'TEST_NAME_2';
|
|
12
|
+
const testValue2 = 'test-variable-2';
|
|
13
|
+
const environmentVariables: EnvironmentVariables = {
|
|
14
|
+
[testName1]: testValue1,
|
|
15
|
+
[testName2]: testValue2,
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
// when: creating a function that maps environment variables to a value
|
|
19
|
+
const func = environmentVariablesToValue({
|
|
20
|
+
testProp1: {
|
|
21
|
+
description: 'Test name 1',
|
|
22
|
+
name: testName1,
|
|
23
|
+
},
|
|
24
|
+
testProp2: {
|
|
25
|
+
description: 'Test name 2',
|
|
26
|
+
name: testName2,
|
|
27
|
+
},
|
|
28
|
+
});
|
|
29
|
+
// and: calling it
|
|
30
|
+
const result = func(environmentVariables);
|
|
31
|
+
|
|
32
|
+
// then: the environment variables have been used to build a new object
|
|
33
|
+
expect(result.testProp1).toBe(testValue1);
|
|
34
|
+
expect(result.testProp2).toBe(testValue2);
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
it('throws an error if an environment variable is missing', () => {
|
|
38
|
+
// given: environment variables
|
|
39
|
+
const environmentVariables: EnvironmentVariables = {};
|
|
40
|
+
// and: an environment variable name that is not defined
|
|
41
|
+
const name = 'test-name';
|
|
42
|
+
const description = 'Test name';
|
|
43
|
+
|
|
44
|
+
// when: creating a function that maps environment variables to a value
|
|
45
|
+
const func = environmentVariablesToValue({
|
|
46
|
+
test: {
|
|
47
|
+
description,
|
|
48
|
+
name,
|
|
49
|
+
},
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
// expect: an error to be thrown when calling it with missing environment variables
|
|
53
|
+
expect(() => func(environmentVariables)).toThrow(`missing environment variable "${name}" (${description})`);
|
|
54
|
+
});
|
|
55
|
+
});
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type ReadonlyRecord } from '@edumalin/platform/typescript';
|
|
2
|
+
|
|
3
|
+
import { type EnvironmentVariableDefinition } from './definition/environment-variable-definition.js';
|
|
4
|
+
import { environmentVariableDefinitionsToResolvers } from './definition/environment-variable-definitions-to-resolvers.js';
|
|
5
|
+
import { environmentVariableEntriesToObject } from './definition/environment-variable-entries-to-object.js';
|
|
6
|
+
import { type EnvironmentVariableObject } from './definition/environment-variable-object.js';
|
|
7
|
+
import { type EnvironmentVariables } from './environment-variables.js';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Creates a function that returns a value, given environment variables
|
|
11
|
+
*
|
|
12
|
+
* @param definitions Environment variable definitions
|
|
13
|
+
* @returns Function that returns a value, given environment variables
|
|
14
|
+
* @template VariableDefinitions Environment variable definitions
|
|
15
|
+
*/
|
|
16
|
+
export function environmentVariablesToValue<
|
|
17
|
+
VariableDefinitions extends ReadonlyRecord<string, EnvironmentVariableDefinition<any, boolean>>,
|
|
18
|
+
>(
|
|
19
|
+
definitions: VariableDefinitions
|
|
20
|
+
): (environmentVariables: EnvironmentVariables) => EnvironmentVariableObject<VariableDefinitions> {
|
|
21
|
+
return environmentVariables => {
|
|
22
|
+
const variableResolvers = environmentVariableDefinitionsToResolvers(definitions);
|
|
23
|
+
const object = variableResolvers.reduce(
|
|
24
|
+
environmentVariableEntriesToObject<VariableDefinitions>(environmentVariables, definition => definition.name),
|
|
25
|
+
{} as ReadonlyRecord<keyof VariableDefinitions, any>
|
|
26
|
+
);
|
|
27
|
+
return object as EnvironmentVariableObject<VariableDefinitions>;
|
|
28
|
+
};
|
|
29
|
+
}
|