infinity-forge 0.3.1 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/system/container/decorators/authorize-http-client-decorator.d.ts +8 -0
- package/dist/system/container/decorators/authorize-http-client-decorator.js +118 -0
- package/dist/system/container/decorators/authorize-http-client-decorator.js.map +1 -0
- package/dist/system/container/decorators/index.d.ts +1 -0
- package/dist/system/container/decorators/index.js +18 -0
- package/dist/system/container/decorators/index.js.map +1 -0
- package/dist/system/container/index.d.ts +2 -0
- package/dist/system/container/index.js +19 -0
- package/dist/system/container/index.js.map +1 -0
- package/dist/system/container/infra/container.d.ts +3 -0
- package/dist/system/container/infra/container.js +17 -0
- package/dist/system/container/infra/container.js.map +1 -0
- package/dist/system/container/infra/index.d.ts +3 -0
- package/dist/system/container/infra/index.js +20 -0
- package/dist/system/container/infra/index.js.map +1 -0
- package/dist/system/container/infra/make-api-url.d.ts +3 -0
- package/dist/system/container/infra/make-api-url.js +23 -0
- package/dist/system/container/infra/make-api-url.js.map +1 -0
- package/dist/system/container/infra/types.d.ts +7 -0
- package/dist/system/container/infra/types.js +11 -0
- package/dist/system/container/infra/types.js.map +1 -0
- package/dist/system/container/main.d.ts +3 -0
- package/dist/system/container/main.js +7 -0
- package/dist/system/container/main.js.map +1 -0
- package/dist/system/data/index.d.ts +1 -0
- package/dist/system/data/index.js +18 -0
- package/dist/system/data/index.js.map +1 -0
- package/dist/system/data/use-cases/auth/index.d.ts +1 -0
- package/dist/system/data/use-cases/auth/index.js +18 -0
- package/dist/system/data/use-cases/auth/index.js.map +1 -0
- package/dist/system/data/use-cases/auth/remote-auth-admin.d.ts +10 -0
- package/dist/system/data/use-cases/auth/remote-auth-admin.js +121 -0
- package/dist/system/data/use-cases/auth/remote-auth-admin.js.map +1 -0
- package/dist/system/data/use-cases/index.d.ts +1 -0
- package/dist/system/data/use-cases/index.js +18 -0
- package/dist/system/data/use-cases/index.js.map +1 -0
- package/dist/system/domain/entities/departament.d.ts +4 -0
- package/dist/system/domain/entities/departament.js +3 -0
- package/dist/system/domain/entities/departament.js.map +1 -0
- package/dist/system/domain/entities/index.d.ts +3 -0
- package/dist/system/domain/entities/index.js +20 -0
- package/dist/system/domain/entities/index.js.map +1 -0
- package/dist/system/domain/entities/roles/index.d.ts +1 -0
- package/dist/system/domain/entities/roles/index.js +18 -0
- package/dist/system/domain/entities/roles/index.js.map +1 -0
- package/dist/system/domain/entities/roles/permission.d.ts +6 -0
- package/dist/system/domain/entities/roles/permission.js +3 -0
- package/dist/system/domain/entities/roles/permission.js.map +1 -0
- package/dist/system/domain/entities/users/index.d.ts +1 -0
- package/dist/system/domain/entities/users/index.js +18 -0
- package/dist/system/domain/entities/users/index.js.map +1 -0
- package/dist/system/domain/entities/users/user-controller.d.ts +9 -0
- package/dist/system/domain/entities/users/user-controller.js +3 -0
- package/dist/system/domain/entities/users/user-controller.js.map +1 -0
- package/dist/system/domain/index.d.ts +3 -0
- package/dist/system/domain/index.js +20 -0
- package/dist/system/domain/index.js.map +1 -0
- package/dist/system/domain/protocols/cache/cache-keys.d.ts +6 -0
- package/dist/system/domain/protocols/cache/cache-keys.js +3 -0
- package/dist/system/domain/protocols/cache/cache-keys.js.map +1 -0
- package/dist/system/domain/protocols/cache/get-storage.d.ts +4 -0
- package/dist/system/domain/protocols/cache/get-storage.js +3 -0
- package/dist/system/domain/protocols/cache/get-storage.js.map +1 -0
- package/dist/system/domain/protocols/cache/index.d.ts +3 -0
- package/dist/system/domain/protocols/cache/index.js +20 -0
- package/dist/system/domain/protocols/cache/index.js.map +1 -0
- package/dist/system/domain/protocols/cache/set-storage.d.ts +4 -0
- package/dist/system/domain/protocols/cache/set-storage.js +4 -0
- package/dist/system/domain/protocols/cache/set-storage.js.map +1 -0
- package/dist/system/domain/protocols/http/errors/http-errors/application-unexpected-error.d.ts +3 -0
- package/dist/system/domain/protocols/http/errors/http-errors/application-unexpected-error.js +29 -0
- package/dist/system/domain/protocols/http/errors/http-errors/application-unexpected-error.js.map +1 -0
- package/dist/system/domain/protocols/http/errors/http-errors/bad-request-error.d.ts +8 -0
- package/dist/system/domain/protocols/http/errors/http-errors/bad-request-error.js +11 -0
- package/dist/system/domain/protocols/http/errors/http-errors/bad-request-error.js.map +1 -0
- package/dist/system/domain/protocols/http/errors/http-errors/index.d.ts +5 -0
- package/dist/system/domain/protocols/http/errors/http-errors/index.js +22 -0
- package/dist/system/domain/protocols/http/errors/http-errors/index.js.map +1 -0
- package/dist/system/domain/protocols/http/errors/http-errors/no-content.d.ts +3 -0
- package/dist/system/domain/protocols/http/errors/http-errors/no-content.js +29 -0
- package/dist/system/domain/protocols/http/errors/http-errors/no-content.js.map +1 -0
- package/dist/system/domain/protocols/http/errors/http-errors/not-found-error.d.ts +3 -0
- package/dist/system/domain/protocols/http/errors/http-errors/not-found-error.js +29 -0
- package/dist/system/domain/protocols/http/errors/http-errors/not-found-error.js.map +1 -0
- package/dist/system/domain/protocols/http/errors/http-errors/unexpected-error.d.ts +3 -0
- package/dist/system/domain/protocols/http/errors/http-errors/unexpected-error.js +29 -0
- package/dist/system/domain/protocols/http/errors/http-errors/unexpected-error.js.map +1 -0
- package/dist/system/domain/protocols/http/errors/index.d.ts +2 -0
- package/dist/system/domain/protocols/http/errors/index.js +19 -0
- package/dist/system/domain/protocols/http/errors/index.js.map +1 -0
- package/dist/system/domain/protocols/http/errors/system-errors-model/index.d.ts +1 -0
- package/dist/system/domain/protocols/http/errors/system-errors-model/index.js +18 -0
- package/dist/system/domain/protocols/http/errors/system-errors-model/index.js.map +1 -0
- package/dist/system/domain/protocols/http/errors/system-errors-model/validation-errors-model.d.ts +11 -0
- package/dist/system/domain/protocols/http/errors/system-errors-model/validation-errors-model.js +11 -0
- package/dist/system/domain/protocols/http/errors/system-errors-model/validation-errors-model.js.map +1 -0
- package/dist/system/domain/protocols/http/http-client.d.ts +28 -0
- package/dist/system/domain/protocols/http/http-client.js +18 -0
- package/dist/system/domain/protocols/http/http-client.js.map +1 -0
- package/dist/system/domain/protocols/http/index.d.ts +2 -0
- package/dist/system/domain/protocols/http/index.js +19 -0
- package/dist/system/domain/protocols/http/index.js.map +1 -0
- package/dist/system/domain/protocols/index.d.ts +2 -0
- package/dist/system/domain/protocols/index.js +19 -0
- package/dist/system/domain/protocols/index.js.map +1 -0
- package/dist/system/domain/use-cases/auth/admin/auth-admin.d.ts +20 -0
- package/dist/system/domain/use-cases/auth/admin/auth-admin.js +3 -0
- package/dist/system/domain/use-cases/auth/admin/auth-admin.js.map +1 -0
- package/dist/system/domain/use-cases/auth/admin/index.d.ts +1 -0
- package/dist/system/domain/use-cases/auth/admin/index.js +18 -0
- package/dist/system/domain/use-cases/auth/admin/index.js.map +1 -0
- package/dist/system/domain/use-cases/auth/index.d.ts +1 -0
- package/dist/system/domain/use-cases/auth/index.js +18 -0
- package/dist/system/domain/use-cases/auth/index.js.map +1 -0
- package/dist/system/domain/use-cases/index.d.ts +1 -0
- package/dist/system/domain/use-cases/index.js +18 -0
- package/dist/system/domain/use-cases/index.js.map +1 -0
- package/dist/system/index.d.ts +1 -3
- package/dist/system/index.js +1 -3
- package/dist/system/index.js.map +1 -1
- package/dist/system/infra/cache/cookie-storage-adapter.d.ts +6 -0
- package/dist/system/infra/cache/cookie-storage-adapter.js +108 -0
- package/dist/system/infra/cache/cookie-storage-adapter.js.map +1 -0
- package/dist/system/infra/cache/index.d.ts +2 -0
- package/dist/system/infra/cache/index.js +19 -0
- package/dist/system/infra/cache/index.js.map +1 -0
- package/dist/system/infra/cache/storage-type.d.ts +2 -0
- package/dist/system/infra/cache/storage-type.js +3 -0
- package/dist/system/infra/cache/storage-type.js.map +1 -0
- package/dist/system/infra/http/axios-http-client.d.ts +4 -0
- package/dist/system/infra/http/axios-http-client.js +109 -0
- package/dist/system/infra/http/axios-http-client.js.map +1 -0
- package/dist/system/infra/http/index.d.ts +1 -0
- package/dist/system/infra/http/index.js +18 -0
- package/dist/system/infra/http/index.js.map +1 -0
- package/dist/system/infra/index.d.ts +4 -0
- package/dist/system/infra/index.js +21 -0
- package/dist/system/infra/index.js.map +1 -0
- package/dist/system/infra/server/headers.d.ts +5 -0
- package/dist/system/infra/server/headers.js +3 -0
- package/dist/system/infra/server/headers.js.map +1 -0
- package/dist/system/infra/server/index.d.ts +1 -0
- package/dist/system/infra/server/index.js +18 -0
- package/dist/system/infra/server/index.js.map +1 -0
- package/dist/system/infra/type-models/birthday.d.ts +1 -0
- package/dist/system/infra/type-models/birthday.js +3 -0
- package/dist/system/infra/type-models/birthday.js.map +1 -0
- package/dist/system/infra/type-models/index.d.ts +2 -0
- package/dist/system/infra/type-models/index.js +19 -0
- package/dist/system/infra/type-models/index.js.map +1 -0
- package/dist/system/infra/type-models/zipcode.d.ts +1 -0
- package/dist/system/infra/type-models/zipcode.js +3 -0
- package/dist/system/infra/type-models/zipcode.js.map +1 -0
- package/dist/system/presentation/components/data/avatar/index.d.ts +4 -0
- package/dist/system/presentation/components/data/avatar/index.js +57 -0
- package/dist/system/presentation/components/data/avatar/index.js.map +1 -0
- package/dist/system/presentation/components/data/avatar/styles.d.ts +2 -0
- package/dist/system/presentation/components/data/avatar/styles.js +14 -0
- package/dist/system/presentation/components/data/avatar/styles.js.map +1 -0
- package/dist/system/presentation/components/data/cards/index.d.ts +1 -0
- package/dist/system/presentation/components/data/cards/index.js +18 -0
- package/dist/system/presentation/components/data/cards/index.js.map +1 -0
- package/dist/system/presentation/components/data/cards/message-card/index.d.ts +2 -0
- package/dist/system/presentation/components/data/cards/message-card/index.js +37 -0
- package/dist/system/presentation/components/data/cards/message-card/index.js.map +1 -0
- package/dist/system/presentation/components/data/cards/message-card/styles.d.ts +2 -0
- package/dist/system/presentation/components/data/cards/message-card/styles.js +14 -0
- package/dist/system/presentation/components/data/cards/message-card/styles.js.map +1 -0
- package/dist/system/presentation/components/data/index.d.ts +9 -0
- package/dist/system/presentation/components/data/index.js +26 -0
- package/dist/system/presentation/components/data/index.js.map +1 -0
- package/dist/system/presentation/components/data/logo/index.d.ts +1 -0
- package/dist/system/presentation/components/data/logo/index.js +34 -0
- package/dist/system/presentation/components/data/logo/index.js.map +1 -0
- package/dist/system/presentation/components/data/logo/styles.d.ts +2 -0
- package/dist/system/presentation/components/data/logo/styles.js +14 -0
- package/dist/system/presentation/components/data/logo/styles.js.map +1 -0
- package/dist/system/presentation/components/data/overlay/index.d.ts +2 -0
- package/dist/system/presentation/components/data/overlay/index.js +35 -0
- package/dist/system/presentation/components/data/overlay/index.js.map +1 -0
- package/dist/system/presentation/components/data/overlay/interfaces.d.ts +7 -0
- package/dist/system/presentation/components/data/overlay/interfaces.js +3 -0
- package/dist/system/presentation/components/data/overlay/interfaces.js.map +1 -0
- package/dist/system/presentation/components/data/overlay/styles.d.ts +7 -0
- package/dist/system/presentation/components/data/overlay/styles.js +15 -0
- package/dist/system/presentation/components/data/overlay/styles.js.map +1 -0
- package/dist/system/presentation/components/data/page-wrapper/index.d.ts +2 -0
- package/dist/system/presentation/components/data/page-wrapper/index.js +35 -0
- package/dist/system/presentation/components/data/page-wrapper/index.js.map +1 -0
- package/dist/system/presentation/components/data/page-wrapper/interfaces.d.ts +5 -0
- package/dist/system/presentation/components/data/page-wrapper/interfaces.js +3 -0
- package/dist/system/presentation/components/data/page-wrapper/interfaces.js.map +1 -0
- package/dist/system/presentation/components/data/page-wrapper/styles.d.ts +4 -0
- package/dist/system/presentation/components/data/page-wrapper/styles.js +14 -0
- package/dist/system/presentation/components/data/page-wrapper/styles.js.map +1 -0
- package/dist/system/presentation/components/data/popover/index.d.ts +2 -0
- package/dist/system/presentation/components/data/popover/index.js +10 -0
- package/dist/system/presentation/components/data/popover/index.js.map +1 -0
- package/dist/system/presentation/components/data/popover/interfaces.d.ts +8 -0
- package/dist/system/presentation/components/data/popover/interfaces.js +3 -0
- package/dist/system/presentation/components/data/popover/interfaces.js.map +1 -0
- package/dist/system/presentation/components/data/sign-in/index.d.ts +1 -0
- package/dist/system/presentation/components/data/sign-in/index.js +36 -0
- package/dist/system/presentation/components/data/sign-in/index.js.map +1 -0
- package/dist/system/presentation/components/data/sign-in/styles.d.ts +4 -0
- package/dist/system/presentation/components/data/sign-in/styles.js +14 -0
- package/dist/system/presentation/components/data/sign-in/styles.js.map +1 -0
- package/dist/system/presentation/components/data/sign-up/index.d.ts +1 -0
- package/dist/system/presentation/components/data/sign-up/index.js +36 -0
- package/dist/system/presentation/components/data/sign-up/index.js.map +1 -0
- package/dist/system/presentation/components/data/sign-up/styles.d.ts +4 -0
- package/dist/system/presentation/components/data/sign-up/styles.js +14 -0
- package/dist/system/presentation/components/data/sign-up/styles.js.map +1 -0
- package/dist/system/presentation/components/data/skeleton/index.d.ts +2 -0
- package/dist/system/presentation/components/data/skeleton/index.js +35 -0
- package/dist/system/presentation/components/data/skeleton/index.js.map +1 -0
- package/dist/system/presentation/components/data/skeleton/interfaces.d.ts +4 -0
- package/dist/system/presentation/components/data/skeleton/interfaces.js +3 -0
- package/dist/system/presentation/components/data/skeleton/interfaces.js.map +1 -0
- package/dist/system/presentation/components/data/skeleton/styles.d.ts +4 -0
- package/dist/system/presentation/components/data/skeleton/styles.js +14 -0
- package/dist/system/presentation/components/data/skeleton/styles.js.map +1 -0
- package/dist/system/presentation/components/index.d.ts +2 -0
- package/dist/system/presentation/components/index.js +19 -0
- package/dist/system/presentation/components/index.js.map +1 -0
- package/dist/system/presentation/components/layout/component.d.ts +4 -0
- package/dist/system/presentation/components/layout/component.js +36 -0
- package/dist/system/presentation/components/layout/component.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/index.d.ts +2 -0
- package/dist/system/presentation/components/layout/header/components/index.js +19 -0
- package/dist/system/presentation/components/layout/header/components/index.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/index.d.ts +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/index.js +38 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/index.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/index.d.ts +2 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/index.js +54 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/index.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/interfaces.d.ts +6 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/interfaces.js +3 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/interfaces.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/styles.d.ts +2 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/styles.js +14 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/content/styles.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/index.d.ts +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/index.js +31 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/index.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/styles.d.ts +2 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/styles.js +14 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/messages/styles.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/notifications/index.d.ts +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/notifications/index.js +11 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/notifications/index.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/notifications/styles.d.ts +2 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/notifications/styles.js +14 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/notifications/styles.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/profile/content/index.d.ts +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/profile/content/index.js +56 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/profile/content/index.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/profile/content/styles.d.ts +2 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/profile/content/styles.js +14 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/profile/content/styles.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/profile/index.d.ts +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/profile/index.js +37 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/profile/index.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/profile/styles.d.ts +2 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/profile/styles.js +14 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/profile/styles.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/settings/index.d.ts +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/settings/index.js +42 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/settings/index.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/settings/styles.d.ts +2 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/settings/styles.js +14 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/settings/styles.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/styles.d.ts +2 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/styles.js +14 -0
- package/dist/system/presentation/components/layout/header/components/menu-right/styles.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/search-modal/index.d.ts +1 -0
- package/dist/system/presentation/components/layout/header/components/search-modal/index.js +39 -0
- package/dist/system/presentation/components/layout/header/components/search-modal/index.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/search-modal/search-list/index.d.ts +4 -0
- package/dist/system/presentation/components/layout/header/components/search-modal/search-list/index.js +61 -0
- package/dist/system/presentation/components/layout/header/components/search-modal/search-list/index.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/search-modal/search-list/styles.d.ts +2 -0
- package/dist/system/presentation/components/layout/header/components/search-modal/search-list/styles.js +14 -0
- package/dist/system/presentation/components/layout/header/components/search-modal/search-list/styles.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/search-modal/styles.d.ts +2 -0
- package/dist/system/presentation/components/layout/header/components/search-modal/styles.js +14 -0
- package/dist/system/presentation/components/layout/header/components/search-modal/styles.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/search-modal/trigger/index.d.ts +1 -0
- package/dist/system/presentation/components/layout/header/components/search-modal/trigger/index.js +45 -0
- package/dist/system/presentation/components/layout/header/components/search-modal/trigger/index.js.map +1 -0
- package/dist/system/presentation/components/layout/header/components/search-modal/trigger/styles.d.ts +2 -0
- package/dist/system/presentation/components/layout/header/components/search-modal/trigger/styles.js +14 -0
- package/dist/system/presentation/components/layout/header/components/search-modal/trigger/styles.js.map +1 -0
- package/dist/system/presentation/components/layout/header/index.d.ts +1 -0
- package/dist/system/presentation/components/layout/header/index.js +15 -0
- package/dist/system/presentation/components/layout/header/index.js.map +1 -0
- package/dist/system/presentation/components/layout/header/version-01/index.d.ts +1 -0
- package/dist/system/presentation/components/layout/header/version-01/index.js +36 -0
- package/dist/system/presentation/components/layout/header/version-01/index.js.map +1 -0
- package/dist/system/presentation/components/layout/header/version-01/styles.d.ts +6 -0
- package/dist/system/presentation/components/layout/header/version-01/styles.js +37 -0
- package/dist/system/presentation/components/layout/header/version-01/styles.js.map +1 -0
- package/dist/system/presentation/components/layout/index.d.ts +3 -0
- package/dist/system/presentation/components/layout/index.js +20 -0
- package/dist/system/presentation/components/layout/index.js.map +1 -0
- package/dist/system/presentation/components/layout/menu/components/index.d.ts +2 -0
- package/dist/system/presentation/components/layout/menu/components/index.js +19 -0
- package/dist/system/presentation/components/layout/menu/components/index.js.map +1 -0
- package/dist/system/presentation/components/layout/menu/components/menu/index.d.ts +1 -0
- package/dist/system/presentation/components/layout/menu/components/menu/index.js +59 -0
- package/dist/system/presentation/components/layout/menu/components/menu/index.js.map +1 -0
- package/dist/system/presentation/components/layout/menu/components/menu/styles.d.ts +2 -0
- package/dist/system/presentation/components/layout/menu/components/menu/styles.js +14 -0
- package/dist/system/presentation/components/layout/menu/components/menu/styles.js.map +1 -0
- package/dist/system/presentation/components/layout/menu/components/select-workspace/index.d.ts +1 -0
- package/dist/system/presentation/components/layout/menu/components/select-workspace/index.js +78 -0
- package/dist/system/presentation/components/layout/menu/components/select-workspace/index.js.map +1 -0
- package/dist/system/presentation/components/layout/menu/components/select-workspace/styles.d.ts +2 -0
- package/dist/system/presentation/components/layout/menu/components/select-workspace/styles.js +14 -0
- package/dist/system/presentation/components/layout/menu/components/select-workspace/styles.js.map +1 -0
- package/dist/system/presentation/components/layout/menu/index.d.ts +1 -0
- package/dist/system/presentation/components/layout/menu/index.js +15 -0
- package/dist/system/presentation/components/layout/menu/index.js.map +1 -0
- package/dist/system/presentation/components/layout/menu/version-01/index.d.ts +1 -0
- package/dist/system/presentation/components/layout/menu/version-01/index.js +35 -0
- package/dist/system/presentation/components/layout/menu/version-01/index.js.map +1 -0
- package/dist/system/presentation/components/layout/menu/version-01/styles.d.ts +2 -0
- package/dist/system/presentation/components/layout/menu/version-01/styles.js +14 -0
- package/dist/system/presentation/components/layout/menu/version-01/styles.js.map +1 -0
- package/dist/system/presentation/components/layout/styles.d.ts +4 -0
- package/dist/system/presentation/components/layout/styles.js +14 -0
- package/dist/system/presentation/components/layout/styles.js.map +1 -0
- package/dist/system/presentation/configs/index.d.ts +3 -0
- package/dist/system/presentation/configs/index.js +20 -0
- package/dist/system/presentation/configs/index.js.map +1 -0
- package/dist/system/presentation/configs/menu.d.ts +10 -0
- package/dist/system/presentation/configs/menu.js +18 -0
- package/dist/system/presentation/configs/menu.js.map +1 -0
- package/dist/system/presentation/configs/page-links.d.ts +7 -0
- package/dist/system/presentation/configs/page-links.js +319 -0
- package/dist/system/presentation/configs/page-links.js.map +1 -0
- package/dist/system/presentation/configs/routes.d.ts +10 -0
- package/dist/system/presentation/configs/routes.js +14 -0
- package/dist/system/presentation/configs/routes.js.map +1 -0
- package/dist/system/presentation/hooks/index.d.ts +1 -0
- package/dist/system/presentation/hooks/index.js +18 -0
- package/dist/system/presentation/hooks/index.js.map +1 -0
- package/dist/system/presentation/hooks/ui/index.d.ts +1 -0
- package/dist/system/presentation/hooks/ui/index.js +18 -0
- package/dist/system/presentation/hooks/ui/index.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/component.d.ts +5 -0
- package/dist/system/presentation/hooks/ui/use-table/component.js +14 -0
- package/dist/system/presentation/hooks/ui/use-table/component.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/active-indicator/index.d.ts +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/active-indicator/index.js +33 -0
- package/dist/system/presentation/hooks/ui/use-table/components/active-indicator/index.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/active-indicator/styles.d.ts +4 -0
- package/dist/system/presentation/hooks/ui/use-table/components/active-indicator/styles.js +14 -0
- package/dist/system/presentation/hooks/ui/use-table/components/active-indicator/styles.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/index.d.ts +3 -0
- package/dist/system/presentation/hooks/ui/use-table/components/index.js +20 -0
- package/dist/system/presentation/hooks/ui/use-table/components/index.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/searchbar/active-indicator/index.d.ts +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/searchbar/active-indicator/index.js +33 -0
- package/dist/system/presentation/hooks/ui/use-table/components/searchbar/active-indicator/index.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/searchbar/active-indicator/styles.d.ts +4 -0
- package/dist/system/presentation/hooks/ui/use-table/components/searchbar/active-indicator/styles.js +14 -0
- package/dist/system/presentation/hooks/ui/use-table/components/searchbar/active-indicator/styles.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/searchbar/index.d.ts +2 -0
- package/dist/system/presentation/hooks/ui/use-table/components/searchbar/index.js +56 -0
- package/dist/system/presentation/hooks/ui/use-table/components/searchbar/index.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/searchbar/interfaces.d.ts +7 -0
- package/dist/system/presentation/hooks/ui/use-table/components/searchbar/interfaces.js +3 -0
- package/dist/system/presentation/hooks/ui/use-table/components/searchbar/interfaces.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/searchbar/styles.d.ts +8 -0
- package/dist/system/presentation/hooks/ui/use-table/components/searchbar/styles.js +14 -0
- package/dist/system/presentation/hooks/ui/use-table/components/searchbar/styles.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/index.d.ts +2 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/index.js +92 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/index.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/interfaces.d.ts +16 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/interfaces.js +3 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/interfaces.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/loader-table/index.d.ts +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/loader-table/index.js +33 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/loader-table/index.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/loader-table/styles.d.ts +4 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/loader-table/styles.js +14 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/loader-table/styles.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/styles.d.ts +4 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/styles.js +14 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/styles.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/index.d.ts +2 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/index.js +50 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/index.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/interfaces.d.ts +6 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/interfaces.js +3 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/interfaces.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/styles.d.ts +4 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/styles.js +14 -0
- package/dist/system/presentation/hooks/ui/use-table/components/table/thead-item/styles.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/index.d.ts +5 -0
- package/dist/system/presentation/hooks/ui/use-table/index.js +22 -0
- package/dist/system/presentation/hooks/ui/use-table/index.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/interfaces.d.ts +58 -0
- package/dist/system/presentation/hooks/ui/use-table/interfaces.js +3 -0
- package/dist/system/presentation/hooks/ui/use-table/interfaces.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/query/index.d.ts +6 -0
- package/dist/system/presentation/hooks/ui/use-table/query/index.js +30 -0
- package/dist/system/presentation/hooks/ui/use-table/query/index.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/query/interfaces.d.ts +33 -0
- package/dist/system/presentation/hooks/ui/use-table/query/interfaces.js +3 -0
- package/dist/system/presentation/hooks/ui/use-table/query/interfaces.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/query/service.d.ts +25 -0
- package/dist/system/presentation/hooks/ui/use-table/query/service.js +113 -0
- package/dist/system/presentation/hooks/ui/use-table/query/service.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/utils/buffer.d.ts +3 -0
- package/dist/system/presentation/hooks/ui/use-table/utils/buffer.js +32 -0
- package/dist/system/presentation/hooks/ui/use-table/utils/buffer.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/utils/filter-empty-values.d.ts +1 -0
- package/dist/system/presentation/hooks/ui/use-table/utils/filter-empty-values.js +22 -0
- package/dist/system/presentation/hooks/ui/use-table/utils/filter-empty-values.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/utils/index.d.ts +4 -0
- package/dist/system/presentation/hooks/ui/use-table/utils/index.js +21 -0
- package/dist/system/presentation/hooks/ui/use-table/utils/index.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/utils/is-object-empty.d.ts +1 -0
- package/dist/system/presentation/hooks/ui/use-table/utils/is-object-empty.js +12 -0
- package/dist/system/presentation/hooks/ui/use-table/utils/is-object-empty.js.map +1 -0
- package/dist/system/presentation/hooks/ui/use-table/utils/update-route.d.ts +6 -0
- package/dist/system/presentation/hooks/ui/use-table/utils/update-route.js +31 -0
- package/dist/system/presentation/hooks/ui/use-table/utils/update-route.js.map +1 -0
- package/dist/system/presentation/index.d.ts +3 -0
- package/dist/system/presentation/index.js +20 -0
- package/dist/system/presentation/index.js.map +1 -0
- package/dist/ui/components/form/input/index.js +1 -1
- package/dist/ui/components/form/input/index.js.map +1 -1
- package/dist/ui/components/form/select/index.js +3 -4
- package/dist/ui/components/form/select/index.js.map +1 -1
- package/package.json +5 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"permission.js","sourceRoot":"","sources":["../../../../../src/system/domain/entities/roles/permission.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./user-controller.js";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./user-controller.js"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/system/domain/entities/users/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-controller.js","sourceRoot":"","sources":["../../../../../src/system/domain/entities/users/user-controller.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./entities/index.js"), exports);
|
|
18
|
+
__exportStar(require("./protocols/index.js"), exports);
|
|
19
|
+
__exportStar(require("./use-cases/index.js"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/domain/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,8CAA4B;AAC5B,8CAA4B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cache-keys.js","sourceRoot":"","sources":["../../../../../src/system/domain/protocols/cache/cache-keys.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-storage.js","sourceRoot":"","sources":["../../../../../src/system/domain/protocols/cache/get-storage.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./cache-keys.js"), exports);
|
|
18
|
+
__exportStar(require("./set-storage.js"), exports);
|
|
19
|
+
__exportStar(require("./get-storage.js"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/system/domain/protocols/cache/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,gDAA8B;AAC9B,gDAA8B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-storage.js","sourceRoot":"","sources":["../../../../../src/system/domain/protocols/cache/set-storage.ts"],"names":[],"mappings":";;AAIC,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.ApplicationUnexpectedError = void 0;
|
|
19
|
+
var ApplicationUnexpectedError = /** @class */ (function (_super) {
|
|
20
|
+
__extends(ApplicationUnexpectedError, _super);
|
|
21
|
+
function ApplicationUnexpectedError() {
|
|
22
|
+
var _this = _super.call(this, "ApplicationUnexpectedError") || this;
|
|
23
|
+
_this.name = ' ApplicationUnexpectedError';
|
|
24
|
+
return _this;
|
|
25
|
+
}
|
|
26
|
+
return ApplicationUnexpectedError;
|
|
27
|
+
}(Error));
|
|
28
|
+
exports.ApplicationUnexpectedError = ApplicationUnexpectedError;
|
|
29
|
+
//# sourceMappingURL=application-unexpected-error.js.map
|
package/dist/system/domain/protocols/http/errors/http-errors/application-unexpected-error.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"application-unexpected-error.js","sourceRoot":"","sources":["../../../../../../../src/system/domain/protocols/http/errors/http-errors/application-unexpected-error.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA;IAAgD,8CAAK;IACjD;QACE,YAAA,MAAK,YAAC,4BAA4B,CAAC,SAAC;QACpC,KAAI,CAAC,IAAI,GAAG,6BAA6B,CAAC;;IAC5C,CAAC;IACH,iCAAC;AAAD,CAAC,AALH,CAAgD,KAAK,GAKlD;AALU,gEAA0B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BadRequestError = void 0;
|
|
4
|
+
var BadRequestError = /** @class */ (function () {
|
|
5
|
+
function BadRequestError(error) {
|
|
6
|
+
this.error = error;
|
|
7
|
+
}
|
|
8
|
+
return BadRequestError;
|
|
9
|
+
}());
|
|
10
|
+
exports.BadRequestError = BadRequestError;
|
|
11
|
+
//# sourceMappingURL=bad-request-error.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bad-request-error.js","sourceRoot":"","sources":["../../../../../../../src/system/domain/protocols/http/errors/http-errors/bad-request-error.ts"],"names":[],"mappings":";;;AAKA;IAGE,yBAAY,KAA2B;QACrC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;IACH,sBAAC;AAAD,CAAC,AAND,IAMC;AANY,0CAAe"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./no-content.js"), exports);
|
|
18
|
+
__exportStar(require("./not-found-error.js"), exports);
|
|
19
|
+
__exportStar(require("./unexpected-error.js"), exports);
|
|
20
|
+
__exportStar(require("./bad-request-error.js"), exports);
|
|
21
|
+
__exportStar(require("./application-unexpected-error.js"), exports);
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/system/domain/protocols/http/errors/http-errors/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,oDAAkC;AAClC,qDAAmC;AACnC,sDAAoC;AACpC,iEAA+C"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.NoContentError = void 0;
|
|
19
|
+
var NoContentError = /** @class */ (function (_super) {
|
|
20
|
+
__extends(NoContentError, _super);
|
|
21
|
+
function NoContentError(message) {
|
|
22
|
+
var _this = _super.call(this, message) || this;
|
|
23
|
+
_this.name = 'NoContentError';
|
|
24
|
+
return _this;
|
|
25
|
+
}
|
|
26
|
+
return NoContentError;
|
|
27
|
+
}(Error));
|
|
28
|
+
exports.NoContentError = NoContentError;
|
|
29
|
+
//# sourceMappingURL=no-content.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"no-content.js","sourceRoot":"","sources":["../../../../../../../src/system/domain/protocols/http/errors/http-errors/no-content.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA;IAAoC,kCAAK;IACvC,wBACE,OAAe;QAEf,YAAA,MAAK,YAAC,OAAO,CAAC,SAAA;QACd,KAAI,CAAC,IAAI,GAAG,gBAAgB,CAAA;;IAC9B,CAAC;IACH,qBAAC;AAAD,CAAC,AAPD,CAAoC,KAAK,GAOxC;AAPY,wCAAc"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.NotFoundError = void 0;
|
|
19
|
+
var NotFoundError = /** @class */ (function (_super) {
|
|
20
|
+
__extends(NotFoundError, _super);
|
|
21
|
+
function NotFoundError(message) {
|
|
22
|
+
var _this = _super.call(this, message || 'Não foi possível encontrar o conteúdo solicitado') || this;
|
|
23
|
+
_this.name = 'NotFoundError';
|
|
24
|
+
return _this;
|
|
25
|
+
}
|
|
26
|
+
return NotFoundError;
|
|
27
|
+
}(Error));
|
|
28
|
+
exports.NotFoundError = NotFoundError;
|
|
29
|
+
//# sourceMappingURL=not-found-error.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"not-found-error.js","sourceRoot":"","sources":["../../../../../../../src/system/domain/protocols/http/errors/http-errors/not-found-error.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA;IAAmC,iCAAK;IACtC,uBAAY,OAAgB;QAC1B,YAAA,MAAK,YAAC,OAAO,IAAI,kDAAkD,CAAC,SAAC;QACrE,KAAI,CAAC,IAAI,GAAG,eAAe,CAAC;;IAC9B,CAAC;IACH,oBAAC;AAAD,CAAC,AALD,CAAmC,KAAK,GAKvC;AALY,sCAAa"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
|
3
|
+
var extendStatics = function (d, b) {
|
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
+
return extendStatics(d, b);
|
|
8
|
+
};
|
|
9
|
+
return function (d, b) {
|
|
10
|
+
if (typeof b !== "function" && b !== null)
|
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
+
extendStatics(d, b);
|
|
13
|
+
function __() { this.constructor = d; }
|
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
+
};
|
|
16
|
+
})();
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.UnexpectedError = void 0;
|
|
19
|
+
var UnexpectedError = /** @class */ (function (_super) {
|
|
20
|
+
__extends(UnexpectedError, _super);
|
|
21
|
+
function UnexpectedError(message) {
|
|
22
|
+
var _this = _super.call(this, message || 'Algo de errado aconteceu. Tente novamente em breve.') || this;
|
|
23
|
+
_this.name = 'UnexpectedError';
|
|
24
|
+
return _this;
|
|
25
|
+
}
|
|
26
|
+
return UnexpectedError;
|
|
27
|
+
}(Error));
|
|
28
|
+
exports.UnexpectedError = UnexpectedError;
|
|
29
|
+
//# sourceMappingURL=unexpected-error.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unexpected-error.js","sourceRoot":"","sources":["../../../../../../../src/system/domain/protocols/http/errors/http-errors/unexpected-error.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA;IAAqC,mCAAK;IACxC,yBAAY,OAAgB;QAC1B,YAAA,MAAK,YAAC,OAAO,IAAI,qDAAqD,CAAC,SAAC;QACxE,KAAI,CAAC,IAAI,GAAG,iBAAiB,CAAC;;IAChC,CAAC;IACH,sBAAC;AAAD,CAAC,AALD,CAAqC,KAAK,GAKzC;AALY,0CAAe"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./http-errors/index.js"), exports);
|
|
18
|
+
__exportStar(require("./system-errors-model/index.js"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/system/domain/protocols/http/errors/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,wDAAsC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./validation-errors-model.js";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./validation-errors-model.js"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/system/domain/protocols/http/errors/system-errors-model/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAAyC"}
|
package/dist/system/domain/protocols/http/errors/system-errors-model/validation-errors-model.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ValidationError = void 0;
|
|
4
|
+
var ValidationError = /** @class */ (function () {
|
|
5
|
+
function ValidationError(errors) {
|
|
6
|
+
this.errors = errors;
|
|
7
|
+
}
|
|
8
|
+
return ValidationError;
|
|
9
|
+
}());
|
|
10
|
+
exports.ValidationError = ValidationError;
|
|
11
|
+
//# sourceMappingURL=validation-errors-model.js.map
|
package/dist/system/domain/protocols/http/errors/system-errors-model/validation-errors-model.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validation-errors-model.js","sourceRoot":"","sources":["../../../../../../../src/system/domain/protocols/http/errors/system-errors-model/validation-errors-model.ts"],"names":[],"mappings":";;;AAIA;IAGE,yBAAY,MAA4B;QACtC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IACH,sBAAC;AAAD,CAAC,AAND,IAMC;AANY,0CAAe"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export type HttpMethod = 'post' | 'get' | 'put' | 'delete';
|
|
2
|
+
export type HttpRequest = {
|
|
3
|
+
url: string;
|
|
4
|
+
method: HttpMethod;
|
|
5
|
+
body?: any;
|
|
6
|
+
headers?: any;
|
|
7
|
+
};
|
|
8
|
+
export declare enum HttpStatusCode {
|
|
9
|
+
ok = 200,
|
|
10
|
+
okCreated = 201,
|
|
11
|
+
okPost = 202,
|
|
12
|
+
okNoContent = 204,
|
|
13
|
+
notFound = 404,
|
|
14
|
+
noContent = 204,
|
|
15
|
+
forbidden = 403,
|
|
16
|
+
badRequest = 400,
|
|
17
|
+
serverError = 500,
|
|
18
|
+
unauthorized = 401,
|
|
19
|
+
unprocessableEntity = 422
|
|
20
|
+
}
|
|
21
|
+
export type HttpResponse<T = any> = {
|
|
22
|
+
body?: T | undefined;
|
|
23
|
+
statusCode: HttpStatusCode;
|
|
24
|
+
};
|
|
25
|
+
export type HttpResponseResult<R = any> = Promise<HttpResponse<R>>;
|
|
26
|
+
export interface HttpClient<R = any> {
|
|
27
|
+
request: (data: HttpRequest) => HttpResponseResult<R>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HttpStatusCode = void 0;
|
|
4
|
+
var HttpStatusCode;
|
|
5
|
+
(function (HttpStatusCode) {
|
|
6
|
+
HttpStatusCode[HttpStatusCode["ok"] = 200] = "ok";
|
|
7
|
+
HttpStatusCode[HttpStatusCode["okCreated"] = 201] = "okCreated";
|
|
8
|
+
HttpStatusCode[HttpStatusCode["okPost"] = 202] = "okPost";
|
|
9
|
+
HttpStatusCode[HttpStatusCode["okNoContent"] = 204] = "okNoContent";
|
|
10
|
+
HttpStatusCode[HttpStatusCode["notFound"] = 404] = "notFound";
|
|
11
|
+
HttpStatusCode[HttpStatusCode["noContent"] = 204] = "noContent";
|
|
12
|
+
HttpStatusCode[HttpStatusCode["forbidden"] = 403] = "forbidden";
|
|
13
|
+
HttpStatusCode[HttpStatusCode["badRequest"] = 400] = "badRequest";
|
|
14
|
+
HttpStatusCode[HttpStatusCode["serverError"] = 500] = "serverError";
|
|
15
|
+
HttpStatusCode[HttpStatusCode["unauthorized"] = 401] = "unauthorized";
|
|
16
|
+
HttpStatusCode[HttpStatusCode["unprocessableEntity"] = 422] = "unprocessableEntity";
|
|
17
|
+
})(HttpStatusCode || (exports.HttpStatusCode = HttpStatusCode = {}));
|
|
18
|
+
//# sourceMappingURL=http-client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"http-client.js","sourceRoot":"","sources":["../../../../../src/system/domain/protocols/http/http-client.ts"],"names":[],"mappings":";;;AASA,IAAY,cAYX;AAZD,WAAY,cAAc;IACxB,iDAAQ,CAAA;IACR,+DAAe,CAAA;IACf,yDAAY,CAAA;IACZ,mEAAiB,CAAA;IACjB,6DAAc,CAAA;IACd,+DAAe,CAAA;IACf,+DAAe,CAAA;IACf,iEAAgB,CAAA;IAChB,mEAAiB,CAAA;IACjB,qEAAkB,CAAA;IAClB,mFAAyB,CAAA;AAC3B,CAAC,EAZW,cAAc,8BAAd,cAAc,QAYzB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./errors/index.js"), exports);
|
|
18
|
+
__exportStar(require("./http-client.js"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/system/domain/protocols/http/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB;AACxB,gDAA6B"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./http/index.js"), exports);
|
|
18
|
+
__exportStar(require("./cache/index.js"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/system/domain/protocols/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAsB;AACtB,0CAAuB"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { BadRequestErrorModel, ValidationErrorModel } from "../../../../../system/domain/protocols/index.js";
|
|
2
|
+
export type AuthAdmin = {
|
|
3
|
+
auth: (params: AuthAdmin.Params) => Promise<AuthAdmin.Model>;
|
|
4
|
+
};
|
|
5
|
+
export type AdminUser = {
|
|
6
|
+
token: {
|
|
7
|
+
type: "bearer";
|
|
8
|
+
token: string;
|
|
9
|
+
};
|
|
10
|
+
userID: string;
|
|
11
|
+
userType: "controller";
|
|
12
|
+
};
|
|
13
|
+
export declare namespace AuthAdmin {
|
|
14
|
+
type Params = {
|
|
15
|
+
email: string;
|
|
16
|
+
system: string;
|
|
17
|
+
password: string;
|
|
18
|
+
};
|
|
19
|
+
type Model = AdminUser | ValidationErrorModel | BadRequestErrorModel;
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth-admin.js","sourceRoot":"","sources":["../../../../../../src/system/domain/use-cases/auth/admin/auth-admin.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./auth-admin.js";
|