@go-mondo/identity-sdk 0.0.1 → 0.0.2-beta.1
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/.github/workflows/release.yaml +105 -0
- package/.release-please-manifest.json +3 -1
- package/.tsbuildinfo/cjs.json +1 -0
- package/.tsbuildinfo/esm.json +1 -0
- package/.vscode/settings.json +41 -0
- package/CHANGELOG.md +24 -0
- package/biome.json +1 -1
- package/dist/cjs/action/index.d.ts +2 -0
- package/dist/cjs/action/index.d.ts.map +1 -0
- package/dist/cjs/action/index.js +17 -0
- package/dist/cjs/action/schema/base.d.ts +21 -0
- package/dist/cjs/action/schema/base.d.ts.map +1 -0
- package/dist/cjs/action/schema/base.js +19 -0
- package/dist/cjs/action/schema/operations/set-password.d.ts +31 -0
- package/dist/cjs/action/schema/operations/set-password.d.ts.map +1 -0
- package/dist/cjs/action/schema/operations/set-password.js +18 -0
- package/dist/cjs/action/schema/operations/sign-up-verification.d.ts +22 -0
- package/dist/cjs/action/schema/operations/sign-up-verification.d.ts.map +1 -0
- package/dist/cjs/action/schema/operations/sign-up-verification.js +15 -0
- package/dist/cjs/action/schema/operations/sign-up.d.ts +44 -0
- package/dist/cjs/action/schema/operations/sign-up.d.ts.map +1 -0
- package/dist/cjs/action/schema/operations/sign-up.js +21 -0
- package/dist/cjs/action/schema/operations/user-attribute-verification.d.ts +20 -0
- package/dist/cjs/action/schema/operations/user-attribute-verification.d.ts.map +1 -0
- package/dist/cjs/action/schema/operations/user-attribute-verification.js +13 -0
- package/dist/cjs/action/schema/schema.d.ts +92 -0
- package/dist/cjs/action/schema/schema.d.ts.map +1 -0
- package/dist/cjs/action/schema/schema.js +40 -0
- package/dist/cjs/activity/index.d.ts +2 -0
- package/dist/cjs/activity/index.d.ts.map +1 -0
- package/dist/cjs/activity/index.js +17 -0
- package/dist/cjs/activity/schema/base.d.ts +54 -0
- package/dist/cjs/activity/schema/base.d.ts.map +1 -0
- package/dist/cjs/activity/schema/base.js +34 -0
- package/dist/cjs/activity/schema/schema.d.ts +156 -0
- package/dist/cjs/activity/schema/schema.d.ts.map +1 -0
- package/dist/cjs/activity/schema/schema.js +54 -0
- package/dist/cjs/activity/schema/types/authentication.d.ts +29 -0
- package/dist/cjs/activity/schema/types/authentication.d.ts.map +1 -0
- package/dist/cjs/activity/schema/types/authentication.js +16 -0
- package/dist/cjs/activity/schema/types/authorization.d.ts +29 -0
- package/dist/cjs/activity/schema/types/authorization.d.ts.map +1 -0
- package/dist/cjs/activity/schema/types/authorization.js +17 -0
- package/dist/cjs/activity/schema/types/note.d.ts +51 -0
- package/dist/cjs/activity/schema/types/note.d.ts.map +1 -0
- package/dist/cjs/activity/schema/types/note.js +17 -0
- package/dist/cjs/activity/schema/types/operation.d.ts +31 -0
- package/dist/cjs/activity/schema/types/operation.d.ts.map +1 -0
- package/dist/cjs/activity/schema/types/operation.js +18 -0
- package/dist/cjs/activity/schema/types/unknown.d.ts +22 -0
- package/dist/cjs/activity/schema/types/unknown.d.ts.map +1 -0
- package/dist/cjs/activity/schema/types/unknown.js +9 -0
- package/dist/cjs/activity/schema/utils.d.ts +7 -0
- package/dist/cjs/activity/schema/utils.d.ts.map +1 -0
- package/dist/cjs/activity/schema/utils.js +16 -0
- package/dist/cjs/app/index.d.ts +2 -0
- package/dist/cjs/app/index.d.ts.map +1 -0
- package/dist/cjs/app/index.js +17 -0
- package/dist/cjs/app/schema/app.d.ts +58 -0
- package/dist/cjs/app/schema/app.d.ts.map +1 -0
- package/dist/cjs/app/schema/app.js +43 -0
- package/dist/cjs/app/schema/authorization.d.ts +37 -0
- package/dist/cjs/app/schema/authorization.d.ts.map +1 -0
- package/dist/cjs/app/schema/authorization.js +44 -0
- package/dist/cjs/app/schema/oauth.d.ts +30 -0
- package/dist/cjs/app/schema/oauth.d.ts.map +1 -0
- package/dist/cjs/app/schema/oauth.js +21 -0
- package/dist/cjs/app/schema/oidc.d.ts +28 -0
- package/dist/cjs/app/schema/oidc.d.ts.map +1 -0
- package/dist/cjs/app/schema/oidc.js +13 -0
- package/dist/cjs/app/schema/registration.d.ts +22 -0
- package/dist/cjs/app/schema/registration.d.ts.map +1 -0
- package/dist/cjs/app/schema/registration.js +16 -0
- package/dist/cjs/app/schema/saml.d.ts +28 -0
- package/dist/cjs/app/schema/saml.d.ts.map +1 -0
- package/dist/cjs/app/schema/saml.js +13 -0
- package/dist/cjs/app/schema/schema.d.ts +8 -0
- package/dist/cjs/app/schema/schema.d.ts.map +1 -0
- package/dist/cjs/app/schema/schema.js +23 -0
- package/dist/cjs/app/schema/utils.d.ts +11 -0
- package/dist/cjs/app/schema/utils.d.ts.map +1 -0
- package/dist/cjs/app/schema/utils.js +23 -0
- package/dist/cjs/association/index.d.ts +2 -0
- package/dist/cjs/association/index.d.ts.map +1 -0
- package/dist/cjs/association/index.js +17 -0
- package/dist/cjs/association/schema/association.d.ts +82 -0
- package/dist/cjs/association/schema/association.d.ts.map +1 -0
- package/dist/cjs/association/schema/association.js +26 -0
- package/dist/cjs/association/schema/schema.d.ts +2 -0
- package/dist/cjs/association/schema/schema.d.ts.map +1 -0
- package/dist/cjs/association/schema/schema.js +17 -0
- package/dist/cjs/authentication/index.d.ts +2 -0
- package/dist/cjs/authentication/index.d.ts.map +1 -0
- package/dist/cjs/authentication/index.js +17 -0
- package/dist/cjs/authentication/schema/factors.d.ts +48 -0
- package/dist/cjs/authentication/schema/factors.d.ts.map +1 -0
- package/dist/cjs/authentication/schema/factors.js +28 -0
- package/dist/cjs/authentication/schema/factors.test.d.ts +2 -0
- package/dist/cjs/authentication/schema/factors.test.d.ts.map +1 -0
- package/dist/cjs/authentication/schema/factors.test.js +123 -0
- package/dist/cjs/authentication/schema/provider.d.ts +27 -0
- package/dist/cjs/authentication/schema/provider.d.ts.map +1 -0
- package/dist/cjs/authentication/schema/provider.js +24 -0
- package/dist/cjs/authentication/schema/schema.d.ts +6 -0
- package/dist/cjs/authentication/schema/schema.d.ts.map +1 -0
- package/dist/cjs/authentication/schema/schema.js +21 -0
- package/dist/cjs/authentication/schema/session.d.ts +59 -0
- package/dist/cjs/authentication/schema/session.d.ts.map +1 -0
- package/dist/cjs/authentication/schema/session.js +46 -0
- package/dist/cjs/authentication/schema/settings.d.ts +46 -0
- package/dist/cjs/authentication/schema/settings.d.ts.map +1 -0
- package/dist/cjs/authentication/schema/settings.js +16 -0
- package/dist/cjs/authentication/schema/strategy/base.d.ts +54 -0
- package/dist/cjs/authentication/schema/strategy/base.d.ts.map +1 -0
- package/dist/cjs/authentication/schema/strategy/base.js +39 -0
- package/dist/cjs/authentication/schema/strategy/schema.d.ts +158 -0
- package/dist/cjs/authentication/schema/strategy/schema.d.ts.map +1 -0
- package/dist/cjs/authentication/schema/strategy/schema.js +39 -0
- package/dist/cjs/authentication/schema/strategy/types/email.d.ts +44 -0
- package/dist/cjs/authentication/schema/strategy/types/email.d.ts.map +1 -0
- package/dist/cjs/authentication/schema/strategy/types/email.js +20 -0
- package/dist/cjs/authentication/schema/strategy/types/password.d.ts +99 -0
- package/dist/cjs/authentication/schema/strategy/types/password.d.ts.map +1 -0
- package/dist/cjs/authentication/schema/strategy/types/password.js +35 -0
- package/dist/cjs/authentication/schema/strategy/types/totp.d.ts +91 -0
- package/dist/cjs/authentication/schema/strategy/types/totp.d.ts.map +1 -0
- package/dist/cjs/authentication/schema/strategy/types/totp.js +48 -0
- package/dist/cjs/authorization/index.d.ts +6 -0
- package/dist/cjs/authorization/index.d.ts.map +1 -0
- package/dist/cjs/authorization/index.js +21 -0
- package/dist/cjs/authorization/permissions/resources.d.ts +20 -0
- package/dist/cjs/authorization/permissions/resources.d.ts.map +1 -0
- package/dist/cjs/authorization/permissions/resources.js +57 -0
- package/dist/cjs/authorization/permissions/schema.d.ts +104 -0
- package/dist/cjs/authorization/permissions/schema.d.ts.map +1 -0
- package/dist/cjs/authorization/permissions/schema.js +66 -0
- package/dist/cjs/authorization/roles/resources.d.ts +20 -0
- package/dist/cjs/authorization/roles/resources.d.ts.map +1 -0
- package/dist/cjs/authorization/roles/resources.js +57 -0
- package/dist/cjs/authorization/roles/schema.d.ts +113 -0
- package/dist/cjs/authorization/roles/schema.d.ts.map +1 -0
- package/dist/cjs/authorization/roles/schema.js +72 -0
- package/dist/cjs/authorization/utils.d.ts +11 -0
- package/dist/cjs/authorization/utils.d.ts.map +1 -0
- package/dist/cjs/authorization/utils.js +23 -0
- package/dist/cjs/common/errors/http.d.ts +17 -0
- package/dist/cjs/common/errors/http.d.ts.map +1 -0
- package/dist/cjs/common/errors/http.js +18 -0
- package/dist/cjs/common/errors/validation.d.ts +11 -0
- package/dist/cjs/common/errors/validation.d.ts.map +1 -0
- package/dist/cjs/common/errors/validation.js +12 -0
- package/dist/cjs/common/index.d.ts +6 -0
- package/dist/cjs/common/index.d.ts.map +1 -0
- package/dist/cjs/common/index.js +21 -0
- package/dist/cjs/common/resources/authorization.d.ts +2 -0
- package/dist/cjs/common/resources/authorization.d.ts.map +1 -0
- package/dist/cjs/common/resources/authorization.js +2 -0
- package/dist/cjs/common/resources/init.d.ts +16 -0
- package/dist/cjs/common/resources/init.d.ts.map +1 -0
- package/dist/cjs/common/resources/init.js +38 -0
- package/dist/cjs/common/resources/operations.d.ts +7 -0
- package/dist/cjs/common/resources/operations.d.ts.map +1 -0
- package/dist/cjs/common/resources/operations.js +90 -0
- package/dist/cjs/common/resources/utils.d.ts +18 -0
- package/dist/cjs/common/resources/utils.d.ts.map +1 -0
- package/dist/cjs/common/resources/utils.js +96 -0
- package/dist/cjs/common/schema/aggregate.d.ts +6 -0
- package/dist/cjs/common/schema/aggregate.d.ts.map +1 -0
- package/dist/cjs/common/schema/aggregate.js +8 -0
- package/dist/cjs/common/schema/collection.d.ts +18 -0
- package/dist/cjs/common/schema/collection.d.ts.map +1 -0
- package/dist/cjs/common/schema/collection.js +10 -0
- package/dist/cjs/common/schema/dates.d.ts +39 -0
- package/dist/cjs/common/schema/dates.d.ts.map +1 -0
- package/dist/cjs/common/schema/dates.js +34 -0
- package/dist/cjs/common/schema/dates.test.d.ts +2 -0
- package/dist/cjs/common/schema/dates.test.d.ts.map +1 -0
- package/dist/cjs/common/schema/dates.test.js +33 -0
- package/dist/cjs/common/schema/jwt.d.ts +21 -0
- package/dist/cjs/common/schema/jwt.d.ts.map +1 -0
- package/dist/cjs/common/schema/jwt.js +24 -0
- package/dist/cjs/common/schema/metadata.d.ts +47 -0
- package/dist/cjs/common/schema/metadata.d.ts.map +1 -0
- package/dist/cjs/common/schema/metadata.js +88 -0
- package/dist/cjs/common/schema/metadata.test.d.ts +2 -0
- package/dist/cjs/common/schema/metadata.test.d.ts.map +1 -0
- package/dist/cjs/common/schema/metadata.test.js +62 -0
- package/dist/cjs/common/schema/pagination.d.ts +6 -0
- package/dist/cjs/common/schema/pagination.d.ts.map +1 -0
- package/dist/cjs/common/schema/pagination.js +8 -0
- package/dist/cjs/common/schema/schema.d.ts +8 -0
- package/dist/cjs/common/schema/schema.d.ts.map +1 -0
- package/dist/cjs/common/schema/schema.js +23 -0
- package/dist/cjs/common/schema/sets.d.ts +3 -0
- package/dist/cjs/common/schema/sets.d.ts.map +1 -0
- package/dist/cjs/common/schema/sets.js +9 -0
- package/dist/cjs/customer/index.d.ts +4 -0
- package/dist/cjs/customer/index.d.ts.map +1 -0
- package/dist/cjs/customer/index.js +19 -0
- package/dist/cjs/customer/schema/organization.d.ts +54 -0
- package/dist/cjs/customer/schema/organization.d.ts.map +1 -0
- package/dist/cjs/customer/schema/organization.js +40 -0
- package/dist/cjs/customer/schema/schema.d.ts +4 -0
- package/dist/cjs/customer/schema/schema.d.ts.map +1 -0
- package/dist/cjs/customer/schema/schema.js +19 -0
- package/dist/cjs/customer/schema/utils.d.ts +11 -0
- package/dist/cjs/customer/schema/utils.d.ts.map +1 -0
- package/dist/cjs/customer/schema/utils.js +23 -0
- package/dist/cjs/customer/users/resources.d.ts +20 -0
- package/dist/cjs/customer/users/resources.d.ts.map +1 -0
- package/dist/cjs/customer/users/resources.js +57 -0
- package/dist/cjs/customer/users/schema.d.ts +151 -0
- package/dist/cjs/customer/users/schema.d.ts.map +1 -0
- package/dist/cjs/customer/users/schema.js +91 -0
- package/dist/cjs/customer/users/schema.test.d.ts +2 -0
- package/dist/cjs/customer/users/schema.test.d.ts.map +1 -0
- package/dist/cjs/customer/users/schema.test.js +57 -0
- package/dist/cjs/identity/index.d.ts +2 -0
- package/dist/cjs/identity/index.d.ts.map +1 -0
- package/dist/cjs/identity/index.js +17 -0
- package/dist/cjs/identity/schema/schema.d.ts +7 -0
- package/dist/cjs/identity/schema/schema.d.ts.map +1 -0
- package/dist/cjs/identity/schema/schema.js +9 -0
- package/dist/cjs/oauth/authorize/index.d.ts +2 -0
- package/dist/cjs/oauth/authorize/index.d.ts.map +1 -0
- package/dist/cjs/oauth/authorize/index.js +17 -0
- package/dist/cjs/oauth/authorize/schema/grants/authorization-code.d.ts +29 -0
- package/dist/cjs/oauth/authorize/schema/grants/authorization-code.d.ts.map +1 -0
- package/dist/cjs/oauth/authorize/schema/grants/authorization-code.js +34 -0
- package/dist/cjs/oauth/authorize/schema/grants/implicit.d.ts +11 -0
- package/dist/cjs/oauth/authorize/schema/grants/implicit.d.ts.map +1 -0
- package/dist/cjs/oauth/authorize/schema/grants/implicit.js +21 -0
- package/dist/cjs/oauth/authorize/schema/schema.d.ts +42 -0
- package/dist/cjs/oauth/authorize/schema/schema.d.ts.map +1 -0
- package/dist/cjs/oauth/authorize/schema/schema.js +25 -0
- package/dist/cjs/oauth/common/schema.d.ts +62 -0
- package/dist/cjs/oauth/common/schema.d.ts.map +1 -0
- package/dist/cjs/oauth/common/schema.js +54 -0
- package/dist/cjs/oauth/index.d.ts +4 -0
- package/dist/cjs/oauth/index.d.ts.map +1 -0
- package/dist/cjs/oauth/index.js +49 -0
- package/dist/cjs/oauth/token/index.d.ts +2 -0
- package/dist/cjs/oauth/token/index.d.ts.map +1 -0
- package/dist/cjs/oauth/token/index.js +17 -0
- package/dist/cjs/oauth/token/schema/grants/authorization-code.d.ts +10 -0
- package/dist/cjs/oauth/token/schema/grants/authorization-code.d.ts.map +1 -0
- package/dist/cjs/oauth/token/schema/grants/authorization-code.js +20 -0
- package/dist/cjs/oauth/token/schema/grants/client-credentials.d.ts +21 -0
- package/dist/cjs/oauth/token/schema/grants/client-credentials.d.ts.map +1 -0
- package/dist/cjs/oauth/token/schema/grants/client-credentials.js +25 -0
- package/dist/cjs/oauth/token/schema/grants/refresh-token.d.ts +9 -0
- package/dist/cjs/oauth/token/schema/grants/refresh-token.d.ts.map +1 -0
- package/dist/cjs/oauth/token/schema/grants/refresh-token.js +17 -0
- package/dist/cjs/oauth/token/schema/schema.d.ts +28 -0
- package/dist/cjs/oauth/token/schema/schema.d.ts.map +1 -0
- package/dist/cjs/oauth/token/schema/schema.js +27 -0
- package/dist/cjs/package.json +1 -0
- package/dist/cjs/workspace/index.d.ts +2 -0
- package/dist/cjs/workspace/index.d.ts.map +1 -0
- package/dist/cjs/workspace/index.js +17 -0
- package/dist/cjs/workspace/schema/authorization.d.ts +31 -0
- package/dist/cjs/workspace/schema/authorization.d.ts.map +1 -0
- package/dist/cjs/workspace/schema/authorization.js +22 -0
- package/dist/cjs/workspace/schema/branding.d.ts +38 -0
- package/dist/cjs/workspace/schema/branding.d.ts.map +1 -0
- package/dist/cjs/workspace/schema/branding.js +25 -0
- package/dist/cjs/workspace/schema/membership.d.ts +25 -0
- package/dist/cjs/workspace/schema/membership.d.ts.map +1 -0
- package/dist/cjs/workspace/schema/membership.js +19 -0
- package/dist/cjs/workspace/schema/registration.d.ts +28 -0
- package/dist/cjs/workspace/schema/registration.d.ts.map +1 -0
- package/dist/cjs/workspace/schema/registration.js +22 -0
- package/dist/cjs/workspace/schema/schema.d.ts +10 -0
- package/dist/cjs/workspace/schema/schema.d.ts.map +1 -0
- package/dist/cjs/workspace/schema/schema.js +25 -0
- package/dist/cjs/workspace/schema/settings.d.ts +23 -0
- package/dist/cjs/workspace/schema/settings.d.ts.map +1 -0
- package/dist/cjs/workspace/schema/settings.js +15 -0
- package/dist/cjs/workspace/schema/tenant.d.ts +57 -0
- package/dist/cjs/workspace/schema/tenant.d.ts.map +1 -0
- package/dist/cjs/workspace/schema/tenant.js +26 -0
- package/dist/cjs/workspace/schema/user-notification.d.ts +62 -0
- package/dist/cjs/workspace/schema/user-notification.d.ts.map +1 -0
- package/dist/cjs/workspace/schema/user-notification.js +44 -0
- package/dist/cjs/workspace/schema/user-preferences.d.ts +26 -0
- package/dist/cjs/workspace/schema/user-preferences.d.ts.map +1 -0
- package/dist/cjs/workspace/schema/user-preferences.js +19 -0
- package/dist/cjs/workspace/schema/utils.d.ts +15 -0
- package/dist/cjs/workspace/schema/utils.d.ts.map +1 -0
- package/dist/cjs/workspace/schema/utils.js +64 -0
- package/dist/esm/action/index.d.ts +2 -0
- package/dist/esm/action/index.d.ts.map +1 -0
- package/dist/esm/action/index.js +1 -0
- package/dist/esm/action/schema/base.d.ts +21 -0
- package/dist/esm/action/schema/base.d.ts.map +1 -0
- package/dist/esm/action/schema/base.js +16 -0
- package/dist/esm/action/schema/operations/set-password.d.ts +31 -0
- package/dist/esm/action/schema/operations/set-password.d.ts.map +1 -0
- package/dist/esm/action/schema/operations/set-password.js +15 -0
- package/dist/esm/action/schema/operations/sign-up-verification.d.ts +22 -0
- package/dist/esm/action/schema/operations/sign-up-verification.d.ts.map +1 -0
- package/dist/esm/action/schema/operations/sign-up-verification.js +12 -0
- package/dist/esm/action/schema/operations/sign-up.d.ts +44 -0
- package/dist/esm/action/schema/operations/sign-up.d.ts.map +1 -0
- package/dist/esm/action/schema/operations/sign-up.js +18 -0
- package/dist/esm/action/schema/operations/user-attribute-verification.d.ts +20 -0
- package/dist/esm/action/schema/operations/user-attribute-verification.d.ts.map +1 -0
- package/dist/esm/action/schema/operations/user-attribute-verification.js +10 -0
- package/dist/esm/action/schema/schema.d.ts +92 -0
- package/dist/esm/action/schema/schema.d.ts.map +1 -0
- package/dist/esm/action/schema/schema.js +21 -0
- package/dist/esm/activity/index.d.ts +2 -0
- package/dist/esm/activity/index.d.ts.map +1 -0
- package/dist/esm/activity/index.js +1 -0
- package/dist/esm/activity/schema/base.d.ts +54 -0
- package/dist/esm/activity/schema/base.d.ts.map +1 -0
- package/dist/esm/activity/schema/base.js +31 -0
- package/dist/esm/activity/schema/schema.d.ts +156 -0
- package/dist/esm/activity/schema/schema.d.ts.map +1 -0
- package/dist/esm/activity/schema/schema.js +33 -0
- package/dist/esm/activity/schema/types/authentication.d.ts +29 -0
- package/dist/esm/activity/schema/types/authentication.d.ts.map +1 -0
- package/dist/esm/activity/schema/types/authentication.js +13 -0
- package/dist/esm/activity/schema/types/authorization.d.ts +29 -0
- package/dist/esm/activity/schema/types/authorization.d.ts.map +1 -0
- package/dist/esm/activity/schema/types/authorization.js +14 -0
- package/dist/esm/activity/schema/types/note.d.ts +51 -0
- package/dist/esm/activity/schema/types/note.d.ts.map +1 -0
- package/dist/esm/activity/schema/types/note.js +14 -0
- package/dist/esm/activity/schema/types/operation.d.ts +31 -0
- package/dist/esm/activity/schema/types/operation.d.ts.map +1 -0
- package/dist/esm/activity/schema/types/operation.js +15 -0
- package/dist/esm/activity/schema/types/unknown.d.ts +22 -0
- package/dist/esm/activity/schema/types/unknown.d.ts.map +1 -0
- package/dist/esm/activity/schema/types/unknown.js +6 -0
- package/dist/esm/activity/schema/utils.d.ts +7 -0
- package/dist/esm/activity/schema/utils.d.ts.map +1 -0
- package/dist/esm/activity/schema/utils.js +9 -0
- package/dist/esm/app/index.d.ts +2 -0
- package/dist/esm/app/index.d.ts.map +1 -0
- package/dist/esm/app/index.js +1 -0
- package/dist/esm/app/schema/app.d.ts +58 -0
- package/dist/esm/app/schema/app.d.ts.map +1 -0
- package/dist/esm/app/schema/app.js +40 -0
- package/dist/esm/app/schema/authorization.d.ts +37 -0
- package/dist/esm/app/schema/authorization.d.ts.map +1 -0
- package/dist/esm/app/schema/authorization.js +41 -0
- package/dist/esm/app/schema/oauth.d.ts +30 -0
- package/dist/esm/app/schema/oauth.d.ts.map +1 -0
- package/dist/esm/app/schema/oauth.js +18 -0
- package/dist/esm/app/schema/oidc.d.ts +28 -0
- package/dist/esm/app/schema/oidc.d.ts.map +1 -0
- package/dist/esm/app/schema/oidc.js +10 -0
- package/dist/esm/app/schema/registration.d.ts +22 -0
- package/dist/esm/app/schema/registration.d.ts.map +1 -0
- package/dist/esm/app/schema/registration.js +13 -0
- package/dist/esm/app/schema/saml.d.ts +28 -0
- package/dist/esm/app/schema/saml.d.ts.map +1 -0
- package/dist/esm/app/schema/saml.js +10 -0
- package/dist/esm/app/schema/schema.d.ts +8 -0
- package/dist/esm/app/schema/schema.d.ts.map +1 -0
- package/dist/esm/app/schema/schema.js +7 -0
- package/dist/esm/app/schema/utils.d.ts +11 -0
- package/dist/esm/app/schema/utils.d.ts.map +1 -0
- package/dist/esm/app/schema/utils.js +15 -0
- package/dist/esm/association/index.d.ts +2 -0
- package/dist/esm/association/index.d.ts.map +1 -0
- package/dist/esm/association/index.js +1 -0
- package/dist/esm/association/schema/association.d.ts +82 -0
- package/dist/esm/association/schema/association.d.ts.map +1 -0
- package/dist/esm/association/schema/association.js +23 -0
- package/dist/esm/association/schema/schema.d.ts +2 -0
- package/dist/esm/association/schema/schema.d.ts.map +1 -0
- package/dist/esm/association/schema/schema.js +1 -0
- package/dist/esm/authentication/index.d.ts +2 -0
- package/dist/esm/authentication/index.d.ts.map +1 -0
- package/dist/esm/authentication/index.js +1 -0
- package/dist/esm/authentication/schema/factors.d.ts +48 -0
- package/dist/esm/authentication/schema/factors.d.ts.map +1 -0
- package/dist/esm/authentication/schema/factors.js +25 -0
- package/dist/esm/authentication/schema/factors.test.d.ts +2 -0
- package/dist/esm/authentication/schema/factors.test.d.ts.map +1 -0
- package/dist/esm/authentication/schema/factors.test.js +121 -0
- package/dist/esm/authentication/schema/provider.d.ts +27 -0
- package/dist/esm/authentication/schema/provider.d.ts.map +1 -0
- package/dist/esm/authentication/schema/provider.js +21 -0
- package/dist/esm/authentication/schema/schema.d.ts +6 -0
- package/dist/esm/authentication/schema/schema.d.ts.map +1 -0
- package/dist/esm/authentication/schema/schema.js +5 -0
- package/dist/esm/authentication/schema/session.d.ts +59 -0
- package/dist/esm/authentication/schema/session.d.ts.map +1 -0
- package/dist/esm/authentication/schema/session.js +43 -0
- package/dist/esm/authentication/schema/settings.d.ts +46 -0
- package/dist/esm/authentication/schema/settings.d.ts.map +1 -0
- package/dist/esm/authentication/schema/settings.js +13 -0
- package/dist/esm/authentication/schema/strategy/base.d.ts +54 -0
- package/dist/esm/authentication/schema/strategy/base.d.ts.map +1 -0
- package/dist/esm/authentication/schema/strategy/base.js +36 -0
- package/dist/esm/authentication/schema/strategy/schema.d.ts +158 -0
- package/dist/esm/authentication/schema/strategy/schema.d.ts.map +1 -0
- package/dist/esm/authentication/schema/strategy/schema.js +13 -0
- package/dist/esm/authentication/schema/strategy/types/email.d.ts +44 -0
- package/dist/esm/authentication/schema/strategy/types/email.d.ts.map +1 -0
- package/dist/esm/authentication/schema/strategy/types/email.js +17 -0
- package/dist/esm/authentication/schema/strategy/types/password.d.ts +99 -0
- package/dist/esm/authentication/schema/strategy/types/password.d.ts.map +1 -0
- package/dist/esm/authentication/schema/strategy/types/password.js +32 -0
- package/dist/esm/authentication/schema/strategy/types/totp.d.ts +91 -0
- package/dist/esm/authentication/schema/strategy/types/totp.d.ts.map +1 -0
- package/dist/esm/authentication/schema/strategy/types/totp.js +45 -0
- package/dist/esm/authorization/index.d.ts +6 -0
- package/dist/esm/authorization/index.d.ts.map +1 -0
- package/dist/esm/authorization/index.js +5 -0
- package/dist/esm/authorization/permissions/resources.d.ts +20 -0
- package/dist/esm/authorization/permissions/resources.d.ts.map +1 -0
- package/dist/esm/authorization/permissions/resources.js +48 -0
- package/dist/esm/authorization/permissions/schema.d.ts +104 -0
- package/dist/esm/authorization/permissions/schema.d.ts.map +1 -0
- package/dist/esm/authorization/permissions/schema.js +63 -0
- package/dist/esm/authorization/roles/resources.d.ts +20 -0
- package/dist/esm/authorization/roles/resources.d.ts.map +1 -0
- package/dist/esm/authorization/roles/resources.js +48 -0
- package/dist/esm/authorization/roles/schema.d.ts +113 -0
- package/dist/esm/authorization/roles/schema.d.ts.map +1 -0
- package/dist/esm/authorization/roles/schema.js +69 -0
- package/dist/esm/authorization/utils.d.ts +11 -0
- package/dist/esm/authorization/utils.d.ts.map +1 -0
- package/dist/esm/authorization/utils.js +15 -0
- package/dist/esm/common/errors/http.d.ts +17 -0
- package/dist/esm/common/errors/http.d.ts.map +1 -0
- package/dist/esm/common/errors/http.js +14 -0
- package/dist/esm/common/errors/validation.d.ts +11 -0
- package/dist/esm/common/errors/validation.d.ts.map +1 -0
- package/dist/esm/common/errors/validation.js +8 -0
- package/dist/esm/common/index.d.ts +6 -0
- package/dist/esm/common/index.d.ts.map +1 -0
- package/dist/esm/common/index.js +5 -0
- package/dist/esm/common/resources/authorization.d.ts +2 -0
- package/dist/esm/common/resources/authorization.d.ts.map +1 -0
- package/dist/esm/common/resources/authorization.js +1 -0
- package/dist/esm/common/resources/init.d.ts +16 -0
- package/dist/esm/common/resources/init.d.ts.map +1 -0
- package/dist/esm/common/resources/init.js +34 -0
- package/dist/esm/common/resources/operations.d.ts +7 -0
- package/dist/esm/common/resources/operations.d.ts.map +1 -0
- package/dist/esm/common/resources/operations.js +83 -0
- package/dist/esm/common/resources/utils.d.ts +18 -0
- package/dist/esm/common/resources/utils.d.ts.map +1 -0
- package/dist/esm/common/resources/utils.js +86 -0
- package/dist/esm/common/schema/aggregate.d.ts +6 -0
- package/dist/esm/common/schema/aggregate.d.ts.map +1 -0
- package/dist/esm/common/schema/aggregate.js +5 -0
- package/dist/esm/common/schema/collection.d.ts +18 -0
- package/dist/esm/common/schema/collection.d.ts.map +1 -0
- package/dist/esm/common/schema/collection.js +7 -0
- package/dist/esm/common/schema/dates.d.ts +39 -0
- package/dist/esm/common/schema/dates.d.ts.map +1 -0
- package/dist/esm/common/schema/dates.js +31 -0
- package/dist/esm/common/schema/dates.test.d.ts +2 -0
- package/dist/esm/common/schema/dates.test.d.ts.map +1 -0
- package/dist/esm/common/schema/dates.test.js +31 -0
- package/dist/esm/common/schema/jwt.d.ts +21 -0
- package/dist/esm/common/schema/jwt.d.ts.map +1 -0
- package/dist/esm/common/schema/jwt.js +21 -0
- package/dist/esm/common/schema/metadata.d.ts +47 -0
- package/dist/esm/common/schema/metadata.d.ts.map +1 -0
- package/dist/esm/common/schema/metadata.js +83 -0
- package/dist/esm/common/schema/metadata.test.d.ts +2 -0
- package/dist/esm/common/schema/metadata.test.d.ts.map +1 -0
- package/dist/esm/common/schema/metadata.test.js +60 -0
- package/dist/esm/common/schema/pagination.d.ts +6 -0
- package/dist/esm/common/schema/pagination.d.ts.map +1 -0
- package/dist/esm/common/schema/pagination.js +5 -0
- package/dist/esm/common/schema/schema.d.ts +8 -0
- package/dist/esm/common/schema/schema.d.ts.map +1 -0
- package/dist/esm/common/schema/schema.js +7 -0
- package/dist/esm/common/schema/sets.d.ts +3 -0
- package/dist/esm/common/schema/sets.d.ts.map +1 -0
- package/dist/esm/common/schema/sets.js +6 -0
- package/dist/esm/customer/index.d.ts +4 -0
- package/dist/esm/customer/index.d.ts.map +1 -0
- package/dist/esm/customer/index.js +3 -0
- package/dist/esm/customer/schema/organization.d.ts +54 -0
- package/dist/esm/customer/schema/organization.d.ts.map +1 -0
- package/dist/esm/customer/schema/organization.js +37 -0
- package/dist/esm/customer/schema/schema.d.ts +4 -0
- package/dist/esm/customer/schema/schema.d.ts.map +1 -0
- package/dist/esm/customer/schema/schema.js +3 -0
- package/dist/esm/customer/schema/utils.d.ts +11 -0
- package/dist/esm/customer/schema/utils.d.ts.map +1 -0
- package/dist/esm/customer/schema/utils.js +15 -0
- package/dist/esm/customer/users/resources.d.ts +20 -0
- package/dist/esm/customer/users/resources.d.ts.map +1 -0
- package/dist/esm/customer/users/resources.js +48 -0
- package/dist/esm/customer/users/schema.d.ts +151 -0
- package/dist/esm/customer/users/schema.d.ts.map +1 -0
- package/dist/esm/customer/users/schema.js +88 -0
- package/dist/esm/customer/users/schema.test.d.ts +2 -0
- package/dist/esm/customer/users/schema.test.d.ts.map +1 -0
- package/dist/esm/customer/users/schema.test.js +55 -0
- package/dist/esm/identity/index.d.ts +2 -0
- package/dist/esm/identity/index.d.ts.map +1 -0
- package/dist/esm/identity/index.js +1 -0
- package/dist/esm/identity/schema/schema.d.ts +7 -0
- package/dist/esm/identity/schema/schema.d.ts.map +1 -0
- package/dist/esm/identity/schema/schema.js +6 -0
- package/dist/esm/oauth/authorize/index.d.ts +2 -0
- package/dist/esm/oauth/authorize/index.d.ts.map +1 -0
- package/dist/esm/oauth/authorize/index.js +1 -0
- package/dist/esm/oauth/authorize/schema/grants/authorization-code.d.ts +29 -0
- package/dist/esm/oauth/authorize/schema/grants/authorization-code.d.ts.map +1 -0
- package/dist/esm/oauth/authorize/schema/grants/authorization-code.js +31 -0
- package/dist/esm/oauth/authorize/schema/grants/implicit.d.ts +11 -0
- package/dist/esm/oauth/authorize/schema/grants/implicit.d.ts.map +1 -0
- package/dist/esm/oauth/authorize/schema/grants/implicit.js +18 -0
- package/dist/esm/oauth/authorize/schema/schema.d.ts +42 -0
- package/dist/esm/oauth/authorize/schema/schema.d.ts.map +1 -0
- package/dist/esm/oauth/authorize/schema/schema.js +8 -0
- package/dist/esm/oauth/common/schema.d.ts +62 -0
- package/dist/esm/oauth/common/schema.d.ts.map +1 -0
- package/dist/esm/oauth/common/schema.js +51 -0
- package/dist/esm/oauth/index.d.ts +4 -0
- package/dist/esm/oauth/index.d.ts.map +1 -0
- package/dist/esm/oauth/index.js +3 -0
- package/dist/esm/oauth/token/index.d.ts +2 -0
- package/dist/esm/oauth/token/index.d.ts.map +1 -0
- package/dist/esm/oauth/token/index.js +1 -0
- package/dist/esm/oauth/token/schema/grants/authorization-code.d.ts +10 -0
- package/dist/esm/oauth/token/schema/grants/authorization-code.d.ts.map +1 -0
- package/dist/esm/oauth/token/schema/grants/authorization-code.js +17 -0
- package/dist/esm/oauth/token/schema/grants/client-credentials.d.ts +21 -0
- package/dist/esm/oauth/token/schema/grants/client-credentials.d.ts.map +1 -0
- package/dist/esm/oauth/token/schema/grants/client-credentials.js +22 -0
- package/dist/esm/oauth/token/schema/grants/refresh-token.d.ts +9 -0
- package/dist/esm/oauth/token/schema/grants/refresh-token.d.ts.map +1 -0
- package/dist/esm/oauth/token/schema/grants/refresh-token.js +14 -0
- package/dist/esm/oauth/token/schema/schema.d.ts +28 -0
- package/dist/esm/oauth/token/schema/schema.d.ts.map +1 -0
- package/dist/esm/oauth/token/schema/schema.js +10 -0
- package/dist/esm/package.json +1 -0
- package/dist/esm/workspace/index.d.ts +2 -0
- package/dist/esm/workspace/index.d.ts.map +1 -0
- package/dist/esm/workspace/index.js +1 -0
- package/dist/esm/workspace/schema/authorization.d.ts +31 -0
- package/dist/esm/workspace/schema/authorization.d.ts.map +1 -0
- package/dist/esm/workspace/schema/authorization.js +19 -0
- package/dist/esm/workspace/schema/branding.d.ts +38 -0
- package/dist/esm/workspace/schema/branding.d.ts.map +1 -0
- package/dist/esm/workspace/schema/branding.js +22 -0
- package/dist/esm/workspace/schema/membership.d.ts +25 -0
- package/dist/esm/workspace/schema/membership.d.ts.map +1 -0
- package/dist/esm/workspace/schema/membership.js +16 -0
- package/dist/esm/workspace/schema/registration.d.ts +28 -0
- package/dist/esm/workspace/schema/registration.d.ts.map +1 -0
- package/dist/esm/workspace/schema/registration.js +19 -0
- package/dist/esm/workspace/schema/schema.d.ts +10 -0
- package/dist/esm/workspace/schema/schema.d.ts.map +1 -0
- package/dist/esm/workspace/schema/schema.js +9 -0
- package/dist/esm/workspace/schema/settings.d.ts +23 -0
- package/dist/esm/workspace/schema/settings.d.ts.map +1 -0
- package/dist/esm/workspace/schema/settings.js +12 -0
- package/dist/esm/workspace/schema/tenant.d.ts +57 -0
- package/dist/esm/workspace/schema/tenant.d.ts.map +1 -0
- package/dist/esm/workspace/schema/tenant.js +23 -0
- package/dist/esm/workspace/schema/user-notification.d.ts +62 -0
- package/dist/esm/workspace/schema/user-notification.d.ts.map +1 -0
- package/dist/esm/workspace/schema/user-notification.js +41 -0
- package/dist/esm/workspace/schema/user-preferences.d.ts +26 -0
- package/dist/esm/workspace/schema/user-preferences.d.ts.map +1 -0
- package/dist/esm/workspace/schema/user-preferences.js +16 -0
- package/dist/esm/workspace/schema/utils.d.ts +15 -0
- package/dist/esm/workspace/schema/utils.d.ts.map +1 -0
- package/dist/esm/workspace/schema/utils.js +22 -0
- package/package.json +50 -55
- package/release-please-config.json +13 -3
- package/tsconfig.esm.json +1 -1
- package/tsconfig.json +26 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
export declare const TenantIdSchema: import("arktype/internal/methods/string.ts").StringType<string, {}>;
|
|
2
|
+
export declare const TenantIdPropertySchema: import("arktype/internal/methods/object.ts").ObjectType<{
|
|
3
|
+
id: string;
|
|
4
|
+
}, {}>;
|
|
5
|
+
export declare const TenantPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
|
|
6
|
+
status: import("arktype/internal/attributes.ts").Default<"active" | "suspended", "active">;
|
|
7
|
+
name: string;
|
|
8
|
+
createdAt: (In: string | Date) => import("arktype/internal/attributes.ts").Out<string>;
|
|
9
|
+
updatedAt: (In: string | Date) => import("arktype/internal/attributes.ts").Out<string>;
|
|
10
|
+
deletedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
|
|
11
|
+
deactivatedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
|
|
12
|
+
id: string;
|
|
13
|
+
metadata?: ((In: {
|
|
14
|
+
[x: string]: string | number | boolean;
|
|
15
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
|
|
16
|
+
[x: string]: string | number | boolean;
|
|
17
|
+
} | undefined>) | undefined;
|
|
18
|
+
handle: string;
|
|
19
|
+
supportEmail?: string | undefined;
|
|
20
|
+
authHost?: string | undefined;
|
|
21
|
+
membership?: {
|
|
22
|
+
features?: {
|
|
23
|
+
"Branding.Remove"?: {
|
|
24
|
+
expiresAt: (In: string | Date) => import("arktype/internal/attributes.ts").Out<string>;
|
|
25
|
+
} | undefined;
|
|
26
|
+
} | undefined;
|
|
27
|
+
startAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
|
|
28
|
+
endAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
|
|
29
|
+
} | undefined;
|
|
30
|
+
}, {}>;
|
|
31
|
+
export type TenantPayload = typeof TenantPayloadSchema.inferOut;
|
|
32
|
+
export declare const InsertTenantPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
|
|
33
|
+
name: string;
|
|
34
|
+
status?: "active" | "suspended" | undefined;
|
|
35
|
+
metadata?: ((In: {
|
|
36
|
+
[x: string]: string | number | boolean;
|
|
37
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
|
|
38
|
+
[x: string]: string | number | boolean;
|
|
39
|
+
} | null>) | undefined;
|
|
40
|
+
id: import("arktype/internal/attributes.ts").Default<string, string>;
|
|
41
|
+
handle: import("arktype/internal/attributes.ts").Default<string, string>;
|
|
42
|
+
supportEmail?: string | undefined;
|
|
43
|
+
}, {}>;
|
|
44
|
+
export type InsertTenantPayload = typeof InsertTenantPayloadSchema.inferOut;
|
|
45
|
+
export declare const UpdateTenantPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
|
|
46
|
+
status?: "active" | "suspended" | null | undefined;
|
|
47
|
+
name?: string | null | undefined;
|
|
48
|
+
metadata?: ((In: {
|
|
49
|
+
[x: string]: string | number | boolean;
|
|
50
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
|
|
51
|
+
[x: string]: string | number | boolean;
|
|
52
|
+
} | null>) | undefined;
|
|
53
|
+
handle?: string | undefined;
|
|
54
|
+
supportEmail?: string | undefined;
|
|
55
|
+
}, {}>;
|
|
56
|
+
export type UpdateTenantPayload = typeof UpdateTenantPayloadSchema.inferOut;
|
|
57
|
+
//# sourceMappingURL=tenant.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tenant.d.ts","sourceRoot":"","sources":["../../../../src/workspace/schema/tenant.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,cAAc,qEAAc,CAAC;AAE1C,eAAO,MAAM,sBAAsB;;MAEjC,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;MAK9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,OAAO,mBAAmB,CAAC,QAAQ,CAAC;AAEhE,eAAO,MAAM,yBAAyB;;;;;;;;;;;MAMpC,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,yBAAyB,CAAC,QAAQ,CAAC;AAE5E,eAAO,MAAM,yBAAyB;;;;;;;;;;MAGpC,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,yBAAyB,CAAC,QAAQ,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type } from 'arktype';
|
|
2
|
+
import { InsertOrganizationPayloadSchema, OrganizationPayloadSchema, UpdateOrganizationPayloadSchema, } from '../../customer/schema/organization.js';
|
|
3
|
+
import { MembershipPayloadSchema } from './membership.js';
|
|
4
|
+
import { generateHandle, generateTenantId } from './utils.js';
|
|
5
|
+
export const TenantIdSchema = type.string;
|
|
6
|
+
export const TenantIdPropertySchema = type({
|
|
7
|
+
id: TenantIdSchema,
|
|
8
|
+
});
|
|
9
|
+
export const TenantPayloadSchema = OrganizationPayloadSchema.and({
|
|
10
|
+
handle: type('string'),
|
|
11
|
+
supportEmail: type('string.email').optional(),
|
|
12
|
+
authHost: type('string.url').optional(), // Not live yet (used for dev now)
|
|
13
|
+
membership: MembershipPayloadSchema.optional(),
|
|
14
|
+
});
|
|
15
|
+
export const InsertTenantPayloadSchema = InsertOrganizationPayloadSchema.omit('id').and({
|
|
16
|
+
id: TenantIdSchema.default(() => generateTenantId()),
|
|
17
|
+
handle: type('string').default(() => generateHandle()),
|
|
18
|
+
supportEmail: type('string.email').optional(),
|
|
19
|
+
});
|
|
20
|
+
export const UpdateTenantPayloadSchema = UpdateOrganizationPayloadSchema.and({
|
|
21
|
+
handle: type('string').optional(),
|
|
22
|
+
supportEmail: type('string.email').optional(),
|
|
23
|
+
});
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
export declare const NotificationType: {
|
|
2
|
+
readonly INFO: "info";
|
|
3
|
+
readonly IMPORT: "import";
|
|
4
|
+
};
|
|
5
|
+
export type AnyNotificationType = (typeof NotificationType)[keyof typeof NotificationType];
|
|
6
|
+
export declare const UserNotificationIdSchema: import("arktype/internal/methods/string.ts").StringType<string, {}>;
|
|
7
|
+
export type UserNotificationId = typeof UserNotificationIdSchema.inferOut;
|
|
8
|
+
export declare const UserNotificationIdPropertySchema: import("arktype/internal/methods/object.ts").ObjectType<{
|
|
9
|
+
id: string;
|
|
10
|
+
}, {}>;
|
|
11
|
+
export type UserNotificationIdProperty = typeof UserNotificationIdPropertySchema.inferOut;
|
|
12
|
+
export declare const UserNotificationPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
|
|
13
|
+
id: string;
|
|
14
|
+
title?: string | undefined;
|
|
15
|
+
message?: string | undefined;
|
|
16
|
+
type: "info" | "import";
|
|
17
|
+
createdAt: (In: string | Date) => import("arktype/internal/attributes.ts").Out<string>;
|
|
18
|
+
updatedAt: (In: string | Date) => import("arktype/internal/attributes.ts").Out<string>;
|
|
19
|
+
action?: {
|
|
20
|
+
link: string;
|
|
21
|
+
label: string;
|
|
22
|
+
} | undefined;
|
|
23
|
+
deletedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
|
|
24
|
+
deactivatedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
|
|
25
|
+
metadata?: ((In: {
|
|
26
|
+
[x: string]: string | number | boolean;
|
|
27
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
|
|
28
|
+
[x: string]: string | number | boolean;
|
|
29
|
+
} | undefined>) | undefined;
|
|
30
|
+
}, {}>;
|
|
31
|
+
export type UserNotificationPayload = typeof UserNotificationPayloadSchema.inferOut;
|
|
32
|
+
export declare const InsertUserNotificationPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
|
|
33
|
+
id: import("arktype/internal/attributes.ts").Default<string, string>;
|
|
34
|
+
type: "info";
|
|
35
|
+
action?: {
|
|
36
|
+
link: string;
|
|
37
|
+
label: string;
|
|
38
|
+
} | undefined;
|
|
39
|
+
title?: string | undefined;
|
|
40
|
+
message?: string | undefined;
|
|
41
|
+
metadata?: ((In: {
|
|
42
|
+
[x: string]: string | number | boolean;
|
|
43
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
|
|
44
|
+
[x: string]: string | number | boolean;
|
|
45
|
+
} | undefined>) | undefined;
|
|
46
|
+
}, {}>;
|
|
47
|
+
export type InsertUserNotificationPayload = typeof InsertUserNotificationPayloadSchema.inferOut;
|
|
48
|
+
export declare const UpdateUserNotificationPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
|
|
49
|
+
title?: string | undefined;
|
|
50
|
+
message?: string | undefined;
|
|
51
|
+
action?: {
|
|
52
|
+
link: string;
|
|
53
|
+
label: string;
|
|
54
|
+
} | undefined;
|
|
55
|
+
metadata?: ((In: {
|
|
56
|
+
[x: string]: string | number | boolean;
|
|
57
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
|
|
58
|
+
[x: string]: string | number | boolean;
|
|
59
|
+
} | undefined>) | undefined;
|
|
60
|
+
}, {}>;
|
|
61
|
+
export type UpdateUserNotificationPayload = typeof UpdateUserNotificationPayloadSchema.inferOut;
|
|
62
|
+
//# sourceMappingURL=user-notification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-notification.d.ts","sourceRoot":"","sources":["../../../../src/workspace/schema/user-notification.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,gBAAgB;;;CAGnB,CAAC;AAEX,MAAM,MAAM,mBAAmB,GAC7B,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAE3D,eAAO,MAAM,wBAAwB,qEAAc,CAAC;AACpD,MAAM,MAAM,kBAAkB,GAAG,OAAO,wBAAwB,CAAC,QAAQ,CAAC;AAE1E,eAAO,MAAM,gCAAgC;;MAE3C,CAAC;AACH,MAAM,MAAM,0BAA0B,GACpC,OAAO,gCAAgC,CAAC,QAAQ,CAAC;AAYnD,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;MAUH,CAAC;AACxC,MAAM,MAAM,uBAAuB,GACjC,OAAO,6BAA6B,CAAC,QAAQ,CAAC;AAEhD,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;MAMX,CAAC;AACtC,MAAM,MAAM,6BAA6B,GACvC,OAAO,mCAAmC,CAAC,QAAQ,CAAC;AAEtD,eAAO,MAAM,mCAAmC;;;;;;;;;;;;MAEX,CAAC;AACtC,MAAM,MAAM,6BAA6B,GACvC,OAAO,mCAAmC,CAAC,QAAQ,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { type } from 'arktype';
|
|
2
|
+
import { OptionalDatePayloadSchema, RequiredDatePayloadSchema, } from '../../common/schema/dates.js';
|
|
3
|
+
import { MetadataPayloadPropertySchema } from '../../common/schema/metadata.js';
|
|
4
|
+
import { UserIdSchema } from '../../customer/users/schema.js';
|
|
5
|
+
import { generateNotificationId } from './utils.js';
|
|
6
|
+
export const NotificationType = {
|
|
7
|
+
INFO: 'info',
|
|
8
|
+
IMPORT: 'import',
|
|
9
|
+
};
|
|
10
|
+
export const UserNotificationIdSchema = type.string;
|
|
11
|
+
export const UserNotificationIdPropertySchema = type({
|
|
12
|
+
id: UserNotificationIdSchema,
|
|
13
|
+
});
|
|
14
|
+
const ActionSchema = type({
|
|
15
|
+
link: type('string.url'),
|
|
16
|
+
label: type('string'),
|
|
17
|
+
});
|
|
18
|
+
const BaseAttributes = type({
|
|
19
|
+
title: type('string | undefined').optional(),
|
|
20
|
+
message: type('string | undefined').optional(),
|
|
21
|
+
});
|
|
22
|
+
export const UserNotificationPayloadSchema = UserNotificationIdPropertySchema.and(BaseAttributes)
|
|
23
|
+
.and({
|
|
24
|
+
type: type.enumerated(NotificationType.IMPORT, NotificationType.INFO),
|
|
25
|
+
action: ActionSchema.or('undefined').optional(),
|
|
26
|
+
createdAt: RequiredDatePayloadSchema,
|
|
27
|
+
updatedAt: RequiredDatePayloadSchema,
|
|
28
|
+
'deletedAt?': OptionalDatePayloadSchema,
|
|
29
|
+
'deactivatedAt?': OptionalDatePayloadSchema,
|
|
30
|
+
})
|
|
31
|
+
.and(MetadataPayloadPropertySchema);
|
|
32
|
+
export const InsertUserNotificationPayloadSchema = type({
|
|
33
|
+
id: UserIdSchema.default(() => generateNotificationId()),
|
|
34
|
+
type: type.enumerated(NotificationType.INFO),
|
|
35
|
+
action: ActionSchema.optional(),
|
|
36
|
+
})
|
|
37
|
+
.and(BaseAttributes)
|
|
38
|
+
.and(MetadataPayloadPropertySchema);
|
|
39
|
+
export const UpdateUserNotificationPayloadSchema = BaseAttributes.and({
|
|
40
|
+
action: ActionSchema.optional(),
|
|
41
|
+
}).and(MetadataPayloadPropertySchema);
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const UserPreferencesPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
|
|
2
|
+
views?: Record<string, {
|
|
3
|
+
columns?: string[] | undefined;
|
|
4
|
+
}> | undefined;
|
|
5
|
+
updatedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
|
|
6
|
+
deletedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
|
|
7
|
+
deactivatedAt?: ((In: string | Date | undefined) => import("arktype/internal/attributes.ts").Out<string | undefined>) | undefined;
|
|
8
|
+
metadata?: ((In: {
|
|
9
|
+
[x: string]: string | number | boolean;
|
|
10
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
|
|
11
|
+
[x: string]: string | number | boolean;
|
|
12
|
+
} | null>) | undefined;
|
|
13
|
+
}, {}>;
|
|
14
|
+
export type UserPreferencesPayload = typeof UserPreferencesPayloadSchema.inferOut;
|
|
15
|
+
export declare const UpsertUserPreferencesPayloadSchema: import("arktype/internal/methods/object.ts").ObjectType<{
|
|
16
|
+
views?: Record<string, {
|
|
17
|
+
columns?: string[] | undefined;
|
|
18
|
+
}> | undefined;
|
|
19
|
+
metadata?: ((In: {
|
|
20
|
+
[x: string]: string | number | boolean;
|
|
21
|
+
} | Map<string, string | number | boolean> | null | undefined) => import("arktype/internal/attributes.ts").Out<{
|
|
22
|
+
[x: string]: string | number | boolean;
|
|
23
|
+
} | null>) | undefined;
|
|
24
|
+
}, {}>;
|
|
25
|
+
export type UpsertUserPreferencesPayload = typeof UpsertUserPreferencesPayloadSchema.inferOut;
|
|
26
|
+
//# sourceMappingURL=user-preferences.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-preferences.d.ts","sourceRoot":"","sources":["../../../../src/workspace/schema/user-preferences.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,4BAA4B;;;;;;;;;;;;MAIE,CAAC;AAC5C,MAAM,MAAM,sBAAsB,GAChC,OAAO,4BAA4B,CAAC,QAAQ,CAAC;AAE/C,eAAO,MAAM,kCAAkC;;;;;;;;;MAE9C,CAAC;AACF,MAAM,MAAM,4BAA4B,GACtC,OAAO,kCAAkC,CAAC,QAAQ,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type } from 'arktype';
|
|
2
|
+
import { OptionalDatePayloadSchema } from '../../common/schema/dates.js';
|
|
3
|
+
import { UpsertMetadataPayloadPropertySchema } from '../../common/schema/metadata.js';
|
|
4
|
+
const TableSchema = type({
|
|
5
|
+
columns: type('string').array().optional(),
|
|
6
|
+
});
|
|
7
|
+
const TablesSchema = type.Record('string', TableSchema);
|
|
8
|
+
const BaseAttributes = type({
|
|
9
|
+
views: TablesSchema.optional(),
|
|
10
|
+
});
|
|
11
|
+
export const UserPreferencesPayloadSchema = BaseAttributes.and({
|
|
12
|
+
'updatedAt?': OptionalDatePayloadSchema,
|
|
13
|
+
'deletedAt?': OptionalDatePayloadSchema,
|
|
14
|
+
'deactivatedAt?': OptionalDatePayloadSchema,
|
|
15
|
+
}).and(UpsertMetadataPayloadPropertySchema);
|
|
16
|
+
export const UpsertUserPreferencesPayloadSchema = BaseAttributes.and(UpsertMetadataPayloadPropertySchema);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const Model: {
|
|
2
|
+
readonly Action: {
|
|
3
|
+
readonly UIDPrefix: "act";
|
|
4
|
+
};
|
|
5
|
+
readonly Notification: {
|
|
6
|
+
readonly UIDPrefix: "ntf";
|
|
7
|
+
};
|
|
8
|
+
readonly Tenant: {
|
|
9
|
+
readonly UIDPrefix: "tnt";
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export declare function generateTenantId(): string;
|
|
13
|
+
export declare function generateHandle(): string;
|
|
14
|
+
export declare function generateNotificationId(): string;
|
|
15
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/workspace/schema/utils.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK;;;;;;;;;;CAUR,CAAC;AAEX,wBAAgB,gBAAgB,WAE/B;AAED,wBAAgB,cAAc,WAE7B;AAED,wBAAgB,sBAAsB,WAErC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as crypto from 'node:crypto';
|
|
2
|
+
import KSUID from 'ksuid';
|
|
3
|
+
export const Model = {
|
|
4
|
+
Action: {
|
|
5
|
+
UIDPrefix: 'act',
|
|
6
|
+
},
|
|
7
|
+
Notification: {
|
|
8
|
+
UIDPrefix: 'ntf',
|
|
9
|
+
},
|
|
10
|
+
Tenant: {
|
|
11
|
+
UIDPrefix: 'tnt',
|
|
12
|
+
},
|
|
13
|
+
};
|
|
14
|
+
export function generateTenantId() {
|
|
15
|
+
return `${Model.Tenant.UIDPrefix}_${KSUID.randomSync().string}`;
|
|
16
|
+
}
|
|
17
|
+
export function generateHandle() {
|
|
18
|
+
return crypto.randomBytes(6).toString('hex');
|
|
19
|
+
}
|
|
20
|
+
export function generateNotificationId() {
|
|
21
|
+
return `${Model.Notification.UIDPrefix}_${KSUID.randomSync().string}`;
|
|
22
|
+
}
|
package/package.json
CHANGED
|
@@ -1,139 +1,134 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@go-mondo/identity-sdk",
|
|
3
|
-
"version": "0.0.1",
|
|
3
|
+
"version": "0.0.2-beta.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A node SDK for Mondo Identity",
|
|
6
6
|
"license": "MIT",
|
|
7
|
-
"publishConfig": {
|
|
8
|
-
"access": "public"
|
|
9
|
-
},
|
|
10
|
-
"main": "./lib/cjs/common/index.js",
|
|
11
|
-
"types": "./lib/cjs/common/index.d.ts",
|
|
12
7
|
"exports": {
|
|
13
8
|
".": {
|
|
14
9
|
"require": {
|
|
15
|
-
"types": "./
|
|
16
|
-
"default": "./
|
|
10
|
+
"types": "./dist/cjs/common/index.d.ts",
|
|
11
|
+
"default": "./dist/cjs/common/index.js"
|
|
17
12
|
},
|
|
18
13
|
"import": {
|
|
19
|
-
"types": "./
|
|
20
|
-
"default": "./
|
|
14
|
+
"types": "./dist/esm/common/index.d.ts",
|
|
15
|
+
"default": "./dist/esm/common/index.js"
|
|
21
16
|
}
|
|
22
17
|
},
|
|
23
18
|
"./action": {
|
|
24
19
|
"require": {
|
|
25
|
-
"types": "./
|
|
26
|
-
"default": "./
|
|
20
|
+
"types": "./dist/cjs/action/index.d.ts",
|
|
21
|
+
"default": "./dist/cjs/action/index.js"
|
|
27
22
|
},
|
|
28
23
|
"import": {
|
|
29
|
-
"types": "./
|
|
30
|
-
"default": "./
|
|
24
|
+
"types": "./dist/esm/action/index.d.ts",
|
|
25
|
+
"default": "./dist/esm/action/index.js"
|
|
31
26
|
}
|
|
32
27
|
},
|
|
33
28
|
"./activity": {
|
|
34
29
|
"require": {
|
|
35
|
-
"types": "./
|
|
36
|
-
"default": "./
|
|
30
|
+
"types": "./dist/cjs/activity/index.d.ts",
|
|
31
|
+
"default": "./dist/cjs/activity/index.js"
|
|
37
32
|
},
|
|
38
33
|
"import": {
|
|
39
|
-
"types": "./
|
|
40
|
-
"default": "./
|
|
34
|
+
"types": "./dist/esm/activity/index.d.ts",
|
|
35
|
+
"default": "./dist/esm/activity/index.js"
|
|
41
36
|
}
|
|
42
37
|
},
|
|
43
38
|
"./app": {
|
|
44
39
|
"require": {
|
|
45
|
-
"types": "./
|
|
46
|
-
"default": "./
|
|
40
|
+
"types": "./dist/cjs/app/index.d.ts",
|
|
41
|
+
"default": "./dist/cjs/app/index.js"
|
|
47
42
|
},
|
|
48
43
|
"import": {
|
|
49
|
-
"types": "./
|
|
50
|
-
"default": "./
|
|
44
|
+
"types": "./dist/esm/app/index.d.ts",
|
|
45
|
+
"default": "./dist/esm/app/index.js"
|
|
51
46
|
}
|
|
52
47
|
},
|
|
53
48
|
"./association": {
|
|
54
49
|
"require": {
|
|
55
|
-
"types": "./
|
|
56
|
-
"default": "./
|
|
50
|
+
"types": "./dist/cjs/association/index.d.ts",
|
|
51
|
+
"default": "./dist/cjs/association/index.js"
|
|
57
52
|
},
|
|
58
53
|
"import": {
|
|
59
|
-
"types": "./
|
|
60
|
-
"default": "./
|
|
54
|
+
"types": "./dist/esm/association/index.d.ts",
|
|
55
|
+
"default": "./dist/esm/association/index.js"
|
|
61
56
|
}
|
|
62
57
|
},
|
|
63
58
|
"./authentication": {
|
|
64
59
|
"require": {
|
|
65
|
-
"types": "./
|
|
66
|
-
"default": "./
|
|
60
|
+
"types": "./dist/cjs/authentication/index.d.ts",
|
|
61
|
+
"default": "./dist/cjs/authentication/index.js"
|
|
67
62
|
},
|
|
68
63
|
"import": {
|
|
69
|
-
"types": "./
|
|
70
|
-
"default": "./
|
|
64
|
+
"types": "./dist/esm/authentication/index.d.ts",
|
|
65
|
+
"default": "./dist/esm/authentication/index.js"
|
|
71
66
|
}
|
|
72
67
|
},
|
|
73
68
|
"./authorization": {
|
|
74
69
|
"require": {
|
|
75
|
-
"types": "./
|
|
76
|
-
"default": "./
|
|
70
|
+
"types": "./dist/cjs/authorization/index.d.ts",
|
|
71
|
+
"default": "./dist/cjs/authorization/index.js"
|
|
77
72
|
},
|
|
78
73
|
"import": {
|
|
79
|
-
"types": "./
|
|
80
|
-
"default": "./
|
|
74
|
+
"types": "./dist/esm/authorization/index.d.ts",
|
|
75
|
+
"default": "./dist/esm/authorization/index.js"
|
|
81
76
|
}
|
|
82
77
|
},
|
|
83
78
|
"./customer": {
|
|
84
79
|
"require": {
|
|
85
|
-
"types": "./
|
|
86
|
-
"default": "./
|
|
80
|
+
"types": "./dist/cjs/customer/index.d.ts",
|
|
81
|
+
"default": "./dist/cjs/customer/index.js"
|
|
87
82
|
},
|
|
88
83
|
"import": {
|
|
89
|
-
"types": "./
|
|
90
|
-
"default": "./
|
|
84
|
+
"types": "./dist/esm/customer/index.d.ts",
|
|
85
|
+
"default": "./dist/esm/customer/index.js"
|
|
91
86
|
}
|
|
92
87
|
},
|
|
93
88
|
"./identity": {
|
|
94
89
|
"require": {
|
|
95
|
-
"types": "./
|
|
96
|
-
"default": "./
|
|
90
|
+
"types": "./dist/cjs/identity/index.d.ts",
|
|
91
|
+
"default": "./dist/cjs/identity/index.js"
|
|
97
92
|
},
|
|
98
93
|
"import": {
|
|
99
|
-
"types": "./
|
|
100
|
-
"default": "./
|
|
94
|
+
"types": "./dist/esm/identity/index.d.ts",
|
|
95
|
+
"default": "./dist/esm/identity/index.js"
|
|
101
96
|
}
|
|
102
97
|
},
|
|
103
98
|
"./oauth": {
|
|
104
99
|
"require": {
|
|
105
|
-
"types": "./
|
|
106
|
-
"default": "./
|
|
100
|
+
"types": "./dist/cjs/oauth/index.d.ts",
|
|
101
|
+
"default": "./dist/cjs/oauth/index.js"
|
|
107
102
|
},
|
|
108
103
|
"import": {
|
|
109
|
-
"types": "./
|
|
110
|
-
"default": "./
|
|
104
|
+
"types": "./dist/esm/oauth/index.d.ts",
|
|
105
|
+
"default": "./dist/esm/oauth/index.js"
|
|
111
106
|
}
|
|
112
107
|
},
|
|
113
108
|
"./workspace": {
|
|
114
109
|
"require": {
|
|
115
|
-
"types": "./
|
|
116
|
-
"default": "./
|
|
110
|
+
"types": "./dist/cjs/workspace/index.d.ts",
|
|
111
|
+
"default": "./dist/cjs/workspace/index.js"
|
|
117
112
|
},
|
|
118
113
|
"import": {
|
|
119
|
-
"types": "./
|
|
120
|
-
"default": "./
|
|
114
|
+
"types": "./dist/esm/workspace/index.d.ts",
|
|
115
|
+
"default": "./dist/esm/workspace/index.js"
|
|
121
116
|
}
|
|
122
117
|
}
|
|
123
118
|
},
|
|
124
119
|
"scripts": {
|
|
125
120
|
"type-check": "tsc --noEmit -p ./tsconfig.json",
|
|
126
|
-
"build:cjs": "tsc --build tsconfig.json && echo '{ \"type\": \"commonjs\" }' >
|
|
127
|
-
"build:esm": "tsc --build tsconfig.esm.json && echo '{ \"type\": \"module\" }' >
|
|
121
|
+
"build:cjs": "tsc --build tsconfig.json && echo '{ \"type\": \"commonjs\" }' > dist/cjs/package.json",
|
|
122
|
+
"build:esm": "tsc --build tsconfig.esm.json && echo '{ \"type\": \"module\" }' > dist/esm/package.json",
|
|
128
123
|
"build": "npm run build:esm & npm run build:cjs",
|
|
129
124
|
"test:ci": "npx vitest run --silent",
|
|
130
|
-
"test:dev": "npx vitest
|
|
125
|
+
"test:dev": "npx vitest",
|
|
131
126
|
"test": "npx vitest run --silent",
|
|
132
127
|
"check-types": "tsc --noEmit -p ./tsconfig.json",
|
|
133
128
|
"lint": "npx biome lint",
|
|
134
129
|
"lint:fix": "npx biome lint --fix",
|
|
135
|
-
"format": "npx biome format
|
|
136
|
-
"format:fix": "npx biome format
|
|
130
|
+
"format": "npx biome format",
|
|
131
|
+
"format:fix": "npx biome format --fix",
|
|
137
132
|
"pre-commit": "pnpm run check-types && pnpm run lint && pnpm run format",
|
|
138
133
|
"prepare": "husky"
|
|
139
134
|
},
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
"packages": {
|
|
3
|
+
".": {
|
|
4
|
+
"changelog-path": "CHANGELOG.md",
|
|
5
|
+
"bump-minor-pre-major": true,
|
|
6
|
+
"bump-patch-for-minor-pre-major": true,
|
|
7
|
+
"draft": false,
|
|
8
|
+
"prerelease": true,
|
|
9
|
+
"prerelease-type": "beta",
|
|
10
|
+
"release-type": "node",
|
|
11
|
+
"versioning": "prerelease"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
|
|
5
15
|
}
|
package/tsconfig.esm.json
CHANGED
package/tsconfig.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"incremental": true,
|
|
4
|
+
"composite": true,
|
|
5
|
+
"target": "ES2022", // Node.js 18
|
|
6
|
+
"experimentalDecorators": true,
|
|
7
|
+
"module": "commonjs",
|
|
8
|
+
"moduleResolution": "node",
|
|
9
|
+
"baseUrl": ".",
|
|
10
|
+
"declaration": true,
|
|
11
|
+
"removeComments": false,
|
|
12
|
+
"isolatedModules": true,
|
|
13
|
+
"declarationMap": true,
|
|
14
|
+
"esModuleInterop": true,
|
|
15
|
+
"forceConsistentCasingInFileNames": true,
|
|
16
|
+
"strict": true,
|
|
17
|
+
"skipLibCheck": true,
|
|
18
|
+
"pretty": true,
|
|
19
|
+
"preserveConstEnums": true,
|
|
20
|
+
"outDir": "./dist/cjs/",
|
|
21
|
+
"rootDir": "./src",
|
|
22
|
+
"tsBuildInfoFile": ".tsbuildinfo/cjs.json"
|
|
23
|
+
},
|
|
24
|
+
"include": ["src/*.ts", "src/**/*.ts"],
|
|
25
|
+
"exclude": [".test.ts", "node_modules", "coverage", "**/__mocks__/*"]
|
|
26
|
+
}
|