@darkfrost-1107/scaff-z-react 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +5 -0
- package/README.md +75 -0
- package/dist/_virtual/_rolldown/runtime.cjs +1 -0
- package/dist/action-processor.d.ts +2 -0
- package/dist/app/config/sqlite.registry.cjs +1 -0
- package/dist/app/config/sqlite.registry.esm +37 -0
- package/dist/app.config.d.ts +1 -0
- package/dist/async-combobox.input.d.ts +4 -0
- package/dist/async-multi-select.input.d.ts +4 -0
- package/dist/async-select.input.d.ts +4 -0
- package/dist/audit-view.d.ts +2 -0
- package/dist/back-button.action.d.ts +6 -0
- package/dist/badge.d.ts +2 -0
- package/dist/base.connector.d.ts +4 -0
- package/dist/base.entity.d.ts +2 -0
- package/dist/base.node.d.ts +2 -0
- package/dist/base.service.d.ts +4 -0
- package/dist/breadcrumb.d.ts +2 -0
- package/dist/build.router.d.ts +4 -0
- package/dist/builder-device.guard.d.ts +2 -0
- package/dist/builder.d.ts +2 -0
- package/dist/button.d.ts +2 -0
- package/dist/calendar.d.ts +2 -0
- package/dist/canvas-view.layout.d.ts +2 -0
- package/dist/card.d.ts +2 -0
- package/dist/checkbox-inline.input.d.ts +4 -0
- package/dist/checkbox.d.ts +2 -0
- package/dist/checkbox.input.d.ts +4 -0
- package/dist/code.input.d.ts +4 -0
- package/dist/color.input.d.ts +4 -0
- package/dist/combobox.d.ts +2 -0
- package/dist/combobox.input.d.ts +4 -0
- package/dist/command.d.ts +2 -0
- package/dist/component.factory.d.ts +4 -0
- package/dist/component.guard.d.ts +2 -0
- package/dist/components.registry.d.ts +2 -0
- package/dist/context.guard.d.ts +2 -0
- package/dist/context.verifier.d.ts +2 -0
- package/dist/crypto.service.d.ts +2 -0
- package/dist/dark.style.d.ts +2 -0
- package/dist/data-table.component.d.ts +2 -0
- package/dist/data-table.provider.d.ts +1 -0
- package/dist/date.input.d.ts +2 -0
- package/dist/deckgl-overlay.d.ts +2 -0
- package/dist/detail-tabs.layout.d.ts +6 -0
- package/dist/detail-view.layout.d.ts +6 -0
- package/dist/device-artifact.guard.d.ts +2 -0
- package/dist/device.guard.d.ts +2 -0
- package/dist/device.verifier.registry.d.ts +2 -0
- package/dist/dialog.d.ts +2 -0
- package/dist/dnd.provider.d.ts +2 -0
- package/dist/draggeable.d.ts +2 -0
- package/dist/droppable.d.ts +2 -0
- package/dist/droppeable.d.ts +2 -0
- package/dist/dynamic-device.guard.d.ts +2 -0
- package/dist/dynamic-icon.d.ts +6 -0
- package/dist/email.input.d.ts +4 -0
- package/dist/enum.verifier.d.ts +2 -0
- package/dist/env.manager.d.ts +2 -0
- package/dist/feedback.layout.d.ts +2 -0
- package/dist/field.d.ts +2 -0
- package/dist/file.input.d.ts +4 -0
- package/dist/flow-canvas.d.ts +2 -0
- package/dist/flow.renderer.d.ts +2 -0
- package/dist/flow.types.d.ts +1 -0
- package/dist/form-dialog-layout.d.ts +4 -0
- package/dist/form-tab-layout.d.ts +4 -0
- package/dist/form.component.d.ts +2 -0
- package/dist/grid.layout.d.ts +2 -0
- package/dist/guard.d.ts +2 -0
- package/dist/hover.d.ts +2 -0
- package/dist/icon-box.d.ts +2 -0
- package/dist/icon-button.d.ts +2 -0
- package/dist/image.input.d.ts +4 -0
- package/dist/index.d.ts +2 -0
- package/dist/indexeddb.service.d.ts +6 -0
- package/dist/input-group.d.ts +2 -0
- package/dist/input.d.ts +2 -0
- package/dist/interceptor.builder.d.ts +2 -0
- package/dist/label.d.ts +2 -0
- package/dist/language-toggle.d.ts +2 -0
- package/dist/list-select.input.d.ts +4 -0
- package/dist/logger.d.ts +2 -0
- package/dist/main.connector.d.ts +2 -0
- package/dist/main.service.d.ts +6 -0
- package/dist/maps.renderer.d.ts +4 -0
- package/dist/marker.factory.d.ts +2 -0
- package/dist/marker.guard.d.ts +2 -0
- package/dist/markers.meta.d.ts +1 -0
- package/dist/modules/actions/entities/action.entity.cjs +1 -0
- package/dist/modules/actions/entities/action.entity.esm +139 -0
- package/dist/modules/artifacts/entities/artifact.entity.cjs +1 -0
- package/dist/modules/artifacts/entities/artifact.entity.esm +82 -0
- package/dist/modules/integrations/entities/integration.entity.cjs +1 -0
- package/dist/modules/integrations/entities/integration.entity.esm +75 -0
- package/dist/modules/inventory/entities/category.entity.cjs +1 -0
- package/dist/modules/inventory/entities/category.entity.esm +50 -0
- package/dist/modules/inventory/entities/inventory-item.entity.cjs +1 -0
- package/dist/modules/inventory/entities/inventory-item.entity.esm +68 -0
- package/dist/modules/inventory/entities/product-item.entity.cjs +1 -0
- package/dist/modules/inventory/entities/product-item.entity.esm +69 -0
- package/dist/modules/inventory/entities/zone.entity.cjs +1 -0
- package/dist/modules/inventory/entities/zone.entity.esm +50 -0
- package/dist/modules/memberships/entities/membership.entity.cjs +1 -0
- package/dist/modules/memberships/entities/membership.entity.esm +53 -0
- package/dist/modules/organizations/entities/organization.entity.cjs +1 -0
- package/dist/modules/organizations/entities/organization.entity.esm +75 -0
- package/dist/modules/projects/entities/project.entity.cjs +1 -0
- package/dist/modules/projects/entities/project.entity.esm +100 -0
- package/dist/modules/test/entities/experiment.entity.cjs +1 -0
- package/dist/modules/test/entities/experiment.entity.esm +71 -0
- package/dist/modules/tickets/entities/ticket.entity.cjs +1 -0
- package/dist/modules/tickets/entities/ticket.entity.esm +92 -0
- package/dist/modules/tools/entities/tool.entity.cjs +1 -0
- package/dist/modules/tools/entities/tool.entity.esm +129 -0
- package/dist/modules/users/entities/user-role.enum.cjs +1 -0
- package/dist/modules/users/entities/user-role.enum.esm +6 -0
- package/dist/modules/users/entities/user.entity.cjs +1 -0
- package/dist/modules/users/entities/user.entity.esm +88 -0
- package/dist/nfc.service.d.ts +6 -0
- package/dist/nosql.repo.d.ts +2 -0
- package/dist/nosql.repo.service.d.ts +4 -0
- package/dist/packages/capacitor/app.config.cjs +1 -0
- package/dist/packages/capacitor/app.config.d.ts +1 -0
- package/dist/packages/capacitor/app.config.esm +7 -0
- package/dist/packages/crypto/crypto.service.cjs +1 -0
- package/dist/packages/crypto/crypto.service.d.ts +6 -0
- package/dist/packages/crypto/crypto.service.esm +17 -0
- package/dist/packages/crypto/index.cjs +1 -0
- package/dist/packages/crypto/index.d.ts +1 -0
- package/dist/packages/crypto/index.esm +2 -0
- package/dist/packages/dnd/dnd.provider.cjs +1 -0
- package/dist/packages/dnd/dnd.provider.d.ts +3 -0
- package/dist/packages/dnd/dnd.provider.esm +8 -0
- package/dist/packages/dnd/draggeable.cjs +1 -0
- package/dist/packages/dnd/draggeable.d.ts +4 -0
- package/dist/packages/dnd/draggeable.esm +12 -0
- package/dist/packages/dnd/droppable.cjs +1 -0
- package/dist/packages/dnd/droppable.d.ts +8 -0
- package/dist/packages/dnd/droppable.esm +14 -0
- package/dist/packages/dnd/droppeable.cjs +1 -0
- package/dist/packages/dnd/droppeable.d.ts +5 -0
- package/dist/packages/dnd/droppeable.esm +13 -0
- package/dist/packages/dnd/sortable.cjs +1 -0
- package/dist/packages/dnd/sortable.d.ts +11 -0
- package/dist/packages/dnd/sortable.esm +18 -0
- package/dist/packages/env/env.manager.cjs +1 -0
- package/dist/packages/env/env.manager.d.ts +11 -0
- package/dist/packages/env/env.manager.esm +69 -0
- package/dist/packages/env/index.cjs +1 -0
- package/dist/packages/env/index.d.ts +1 -0
- package/dist/packages/env/index.esm +2 -0
- package/dist/packages/flow/flow.renderer.cjs +1 -0
- package/dist/packages/flow/flow.renderer.d.ts +13 -0
- package/dist/packages/flow/flow.renderer.esm +50 -0
- package/dist/packages/flow/flow.types.cjs +0 -0
- package/dist/packages/flow/flow.types.d.ts +30 -0
- package/dist/packages/flow/flow.types.esm +0 -0
- package/dist/packages/formatters/qr-code/qr.encoder.service.cjs +1 -0
- package/dist/packages/formatters/qr-code/qr.encoder.service.d.ts +5 -0
- package/dist/packages/formatters/qr-code/qr.encoder.service.esm +17 -0
- package/dist/packages/formatters/qr-code/qr.renderer.cjs +1 -0
- package/dist/packages/formatters/qr-code/qr.renderer.d.ts +3 -0
- package/dist/packages/formatters/qr-code/qr.renderer.esm +16 -0
- package/dist/packages/formatters/text-code/text-coder.service.cjs +1 -0
- package/dist/packages/formatters/text-code/text-coder.service.d.ts +9 -0
- package/dist/packages/formatters/text-code/text-coder.service.esm +36 -0
- package/dist/packages/i18n/index.cjs +1 -0
- package/dist/packages/i18n/index.d.ts +10 -0
- package/dist/packages/i18n/index.esm +18 -0
- package/dist/packages/i18n/language-toggle.cjs +1 -0
- package/dist/packages/i18n/language-toggle.d.ts +9 -0
- package/dist/packages/i18n/language-toggle.esm +73 -0
- package/dist/packages/indexeddb/builder.cjs +1 -0
- package/dist/packages/indexeddb/builder.d.ts +13 -0
- package/dist/packages/indexeddb/builder.esm +35 -0
- package/dist/packages/indexeddb/index.cjs +1 -0
- package/dist/packages/indexeddb/index.d.ts +5 -0
- package/dist/packages/indexeddb/index.esm +5 -0
- package/dist/packages/indexeddb/indexeddb.service.cjs +1 -0
- package/dist/packages/indexeddb/indexeddb.service.d.ts +21 -0
- package/dist/packages/indexeddb/indexeddb.service.esm +59 -0
- package/dist/packages/indexeddb/nosql.repo.cjs +1 -0
- package/dist/packages/indexeddb/nosql.repo.d.ts +33 -0
- package/dist/packages/indexeddb/nosql.repo.esm +69 -0
- package/dist/packages/indexeddb/nosql.repo.service.cjs +1 -0
- package/dist/packages/indexeddb/nosql.repo.service.d.ts +46 -0
- package/dist/packages/indexeddb/nosql.repo.service.esm +87 -0
- package/dist/packages/indexeddb/registry.cjs +1 -0
- package/dist/packages/indexeddb/registry.d.ts +21 -0
- package/dist/packages/indexeddb/registry.esm +22 -0
- package/dist/packages/indexeddb/types.cjs +0 -0
- package/dist/packages/indexeddb/types.d.ts +33 -0
- package/dist/packages/indexeddb/types.esm +0 -0
- package/dist/packages/logger/index.cjs +1 -0
- package/dist/packages/logger/index.d.ts +2 -0
- package/dist/packages/logger/index.esm +3 -0
- package/dist/packages/logger/logger.cjs +1 -0
- package/dist/packages/logger/logger.d.ts +137 -0
- package/dist/packages/logger/logger.esm +186 -0
- package/dist/packages/logger/registry.cjs +1 -0
- package/dist/packages/logger/registry.d.ts +9 -0
- package/dist/packages/logger/registry.esm +17 -0
- package/dist/packages/maps/deckgl-overlay.cjs +1 -0
- package/dist/packages/maps/deckgl-overlay.d.ts +9 -0
- package/dist/packages/maps/deckgl-overlay.esm +12 -0
- package/dist/packages/maps/maps.renderer.cjs +1 -0
- package/dist/packages/maps/maps.renderer.d.ts +19 -0
- package/dist/packages/maps/maps.renderer.esm +25 -0
- package/dist/packages/maps/markers/marker.factory.cjs +1 -0
- package/dist/packages/maps/markers/marker.factory.d.ts +8 -0
- package/dist/packages/maps/markers/marker.factory.esm +58 -0
- package/dist/packages/maps/markers/marker.guard.cjs +1 -0
- package/dist/packages/maps/markers/marker.guard.d.ts +22 -0
- package/dist/packages/maps/markers/marker.guard.esm +37 -0
- package/dist/packages/maps/markers/markers.meta.cjs +0 -0
- package/dist/packages/maps/markers/markers.meta.d.ts +12 -0
- package/dist/packages/maps/markers/markers.meta.esm +0 -0
- package/dist/packages/maps/styles/dark.style.cjs +1 -0
- package/dist/packages/maps/styles/dark.style.d.ts +1 -0
- package/dist/packages/maps/styles/dark.style.esm +93 -0
- package/dist/packages/nfc/nfc.service.cjs +1 -0
- package/dist/packages/nfc/nfc.service.d.ts +41 -0
- package/dist/packages/nfc/nfc.service.esm +104 -0
- package/dist/packages/requests/axios/base.connector.cjs +1 -0
- package/dist/packages/requests/axios/base.connector.d.ts +37 -0
- package/dist/packages/requests/axios/base.connector.esm +25 -0
- package/dist/packages/requests/axios/base.service.cjs +1 -0
- package/dist/packages/requests/axios/base.service.d.ts +41 -0
- package/dist/packages/requests/axios/base.service.esm +11 -0
- package/dist/packages/requests/axios/interceptor.builder.cjs +1 -0
- package/dist/packages/requests/axios/interceptor.builder.d.ts +26 -0
- package/dist/packages/requests/axios/interceptor.builder.esm +20 -0
- package/dist/packages/router/build.router.cjs +1 -0
- package/dist/packages/router/build.router.d.ts +6 -0
- package/dist/packages/router/build.router.esm +9 -0
- package/dist/packages/router/route.builder.cjs +1 -0
- package/dist/packages/router/route.builder.d.ts +46 -0
- package/dist/packages/router/route.builder.esm +50 -0
- package/dist/packages/scanner/scanner.formats.cjs +1 -0
- package/dist/packages/scanner/scanner.formats.d.ts +51 -0
- package/dist/packages/scanner/scanner.formats.esm +96 -0
- package/dist/packages/scanner/scanner.service.cjs +1 -0
- package/dist/packages/scanner/scanner.service.d.ts +32 -0
- package/dist/packages/scanner/scanner.service.esm +32 -0
- package/dist/packages/sheets/index.cjs +1 -0
- package/dist/packages/sheets/index.d.ts +2 -0
- package/dist/packages/sheets/index.esm +3 -0
- package/dist/packages/sheets/sheets.connector.cjs +1 -0
- package/dist/packages/sheets/sheets.connector.d.ts +6 -0
- package/dist/packages/sheets/sheets.connector.esm +21 -0
- package/dist/packages/sheets/sheets.service.cjs +1 -0
- package/dist/packages/sheets/sheets.service.d.ts +21 -0
- package/dist/packages/sheets/sheets.service.esm +38 -0
- package/dist/packages/sqlite/base/base.entity.cjs +1 -0
- package/dist/packages/sqlite/base/base.entity.d.ts +5 -0
- package/dist/packages/sqlite/base/base.entity.esm +41 -0
- package/dist/packages/sqlite/repo.service.cjs +1 -0
- package/dist/packages/sqlite/repo.service.d.ts +22 -0
- package/dist/packages/sqlite/repo.service.esm +52 -0
- package/dist/packages/sqlite/sqlite.service.cjs +1 -0
- package/dist/packages/sqlite/sqlite.service.d.ts +40 -0
- package/dist/packages/sqlite/sqlite.service.esm +77 -0
- package/dist/packages/sqlite/templates/test.entity.cjs +1 -0
- package/dist/packages/sqlite/templates/test.entity.d.ts +6 -0
- package/dist/packages/sqlite/templates/test.entity.esm +62 -0
- package/dist/packages/sqlite/templates/test.repo.service.cjs +1 -0
- package/dist/packages/sqlite/templates/test.repo.service.d.ts +8 -0
- package/dist/packages/sqlite/templates/test.repo.service.esm +26 -0
- package/dist/packages/stores/storage.service.cjs +1 -0
- package/dist/packages/stores/storage.service.d.ts +5 -0
- package/dist/packages/stores/storage.service.esm +22 -0
- package/dist/packages/stores/store.hook.cjs +1 -0
- package/dist/packages/stores/store.hook.d.ts +23 -0
- package/dist/packages/stores/store.hook.esm +22 -0
- package/dist/packages/stores/store.service.cjs +1 -0
- package/dist/packages/stores/store.service.d.ts +12 -0
- package/dist/packages/stores/store.service.esm +48 -0
- package/dist/packages/theme/theme-builder.cjs +1 -0
- package/dist/packages/theme/theme-builder.d.ts +19 -0
- package/dist/packages/theme/theme-builder.esm +25 -0
- package/dist/packages/theme/theme-provider.cjs +1 -0
- package/dist/packages/theme/theme-provider.d.ts +7 -0
- package/dist/packages/theme/theme-provider.esm +17 -0
- package/dist/packages/theme/theme-toggle.cjs +1 -0
- package/dist/packages/theme/theme-toggle.d.ts +6 -0
- package/dist/packages/theme/theme-toggle.esm +33 -0
- package/dist/packages/w3/tron/index.cjs +1 -0
- package/dist/packages/w3/tron/index.d.ts +4 -0
- package/dist/packages/w3/tron/index.esm +4 -0
- package/dist/packages/w3/tron/tron-assets.service.cjs +1 -0
- package/dist/packages/w3/tron/tron-assets.service.d.ts +38 -0
- package/dist/packages/w3/tron/tron-assets.service.esm +116 -0
- package/dist/packages/w3/tron/tron-wallet.entity.cjs +1 -0
- package/dist/packages/w3/tron/tron-wallet.entity.d.ts +15 -0
- package/dist/packages/w3/tron/tron-wallet.entity.esm +88 -0
- package/dist/packages/w3/tron/tron-wallet.repo.cjs +1 -0
- package/dist/packages/w3/tron/tron-wallet.repo.d.ts +30 -0
- package/dist/packages/w3/tron/tron-wallet.repo.esm +52 -0
- package/dist/packages/w3/tron/tron.service.cjs +1 -0
- package/dist/packages/w3/tron/tron.service.d.ts +124 -0
- package/dist/packages/w3/tron/tron.service.esm +406 -0
- package/dist/packages/w3/tron/tron.types.cjs +0 -0
- package/dist/packages/w3/tron/tron.types.d.ts +129 -0
- package/dist/packages/w3/tron/tron.types.esm +0 -0
- package/dist/page-container.d.ts +2 -0
- package/dist/popover.d.ts +2 -0
- package/dist/qr.encoder.service.d.ts +4 -0
- package/dist/qr.renderer.d.ts +4 -0
- package/dist/registry.d.ts +2 -0
- package/dist/repo.service.d.ts +4 -0
- package/dist/repository.contract.d.ts +1 -0
- package/dist/route.builder.d.ts +4 -0
- package/dist/scanner.formats.d.ts +2 -0
- package/dist/scanner.service.d.ts +2 -0
- package/dist/scroll-area.d.ts +2 -0
- package/dist/secret.input.d.ts +4 -0
- package/dist/select.d.ts +2 -0
- package/dist/select.input.d.ts +4 -0
- package/dist/separator.d.ts +2 -0
- package/dist/shared/assets/social-icons.cjs +1 -0
- package/dist/shared/assets/social-icons.d.ts +2 -0
- package/dist/shared/assets/social-icons.esm +30 -0
- package/dist/shared/constants/connectors/main.connector.cjs +1 -0
- package/dist/shared/constants/connectors/main.connector.d.ts +8 -0
- package/dist/shared/constants/connectors/main.connector.esm +38 -0
- package/dist/shared/constants/services/main.service.cjs +1 -0
- package/dist/shared/constants/services/main.service.d.ts +7 -0
- package/dist/shared/constants/services/main.service.esm +26 -0
- package/dist/shared/contracts/repository.contract.cjs +0 -0
- package/dist/shared/contracts/repository.contract.d.ts +26 -0
- package/dist/shared/contracts/repository.contract.esm +0 -0
- package/dist/shared/custom/actions/back-button.action.cjs +1 -0
- package/dist/shared/custom/actions/back-button.action.d.ts +13 -0
- package/dist/shared/custom/actions/back-button.action.esm +20 -0
- package/dist/shared/custom/audit/audit-view.cjs +1 -0
- package/dist/shared/custom/audit/audit-view.d.ts +46 -0
- package/dist/shared/custom/audit/audit-view.esm +73 -0
- package/dist/shared/custom/confirm/use-confirm.cjs +1 -0
- package/dist/shared/custom/confirm/use-confirm.d.ts +15 -0
- package/dist/shared/custom/confirm/use-confirm.esm +57 -0
- package/dist/shared/custom/data-table/data-table.component.cjs +1 -0
- package/dist/shared/custom/data-table/data-table.component.d.ts +9 -0
- package/dist/shared/custom/data-table/data-table.component.esm +26 -0
- package/dist/shared/custom/data-table/data-table.provider.cjs +0 -0
- package/dist/shared/custom/data-table/data-table.provider.d.ts +1 -0
- package/dist/shared/custom/data-table/data-table.provider.esm +0 -0
- package/dist/shared/custom/flow/flow-canvas.cjs +1 -0
- package/dist/shared/custom/flow/flow-canvas.d.ts +10 -0
- package/dist/shared/custom/flow/flow-canvas.esm +23 -0
- package/dist/shared/custom/flow/nodes/base.node.cjs +1 -0
- package/dist/shared/custom/flow/nodes/base.node.d.ts +9 -0
- package/dist/shared/custom/flow/nodes/base.node.esm +51 -0
- package/dist/shared/custom/form/form.component.cjs +1 -0
- package/dist/shared/custom/form/form.component.d.ts +13 -0
- package/dist/shared/custom/form/form.component.esm +26 -0
- package/dist/shared/custom/form/index.cjs +1 -0
- package/dist/shared/custom/form/index.d.ts +17 -0
- package/dist/shared/custom/form/index.esm +2 -0
- package/dist/shared/custom/form/inputs/async-combobox.input.cjs +1 -0
- package/dist/shared/custom/form/inputs/async-combobox.input.d.ts +18 -0
- package/dist/shared/custom/form/inputs/async-combobox.input.esm +91 -0
- package/dist/shared/custom/form/inputs/async-multi-select.input.cjs +1 -0
- package/dist/shared/custom/form/inputs/async-multi-select.input.d.ts +20 -0
- package/dist/shared/custom/form/inputs/async-multi-select.input.esm +127 -0
- package/dist/shared/custom/form/inputs/async-select.input.cjs +1 -0
- package/dist/shared/custom/form/inputs/async-select.input.d.ts +15 -0
- package/dist/shared/custom/form/inputs/async-select.input.esm +71 -0
- package/dist/shared/custom/form/inputs/checkbox-inline.input.cjs +1 -0
- package/dist/shared/custom/form/inputs/checkbox-inline.input.d.ts +15 -0
- package/dist/shared/custom/form/inputs/checkbox-inline.input.esm +41 -0
- package/dist/shared/custom/form/inputs/checkbox.input.cjs +1 -0
- package/dist/shared/custom/form/inputs/checkbox.input.d.ts +21 -0
- package/dist/shared/custom/form/inputs/checkbox.input.esm +50 -0
- package/dist/shared/custom/form/inputs/code.input.cjs +1 -0
- package/dist/shared/custom/form/inputs/code.input.d.ts +11 -0
- package/dist/shared/custom/form/inputs/code.input.esm +58 -0
- package/dist/shared/custom/form/inputs/color.input.cjs +1 -0
- package/dist/shared/custom/form/inputs/color.input.d.ts +11 -0
- package/dist/shared/custom/form/inputs/color.input.esm +47 -0
- package/dist/shared/custom/form/inputs/combobox.input.cjs +1 -0
- package/dist/shared/custom/form/inputs/combobox.input.d.ts +18 -0
- package/dist/shared/custom/form/inputs/combobox.input.esm +73 -0
- package/dist/shared/custom/form/inputs/date.input.cjs +1 -0
- package/dist/shared/custom/form/inputs/date.input.d.ts +11 -0
- package/dist/shared/custom/form/inputs/date.input.esm +52 -0
- package/dist/shared/custom/form/inputs/email.input.cjs +1 -0
- package/dist/shared/custom/form/inputs/email.input.d.ts +12 -0
- package/dist/shared/custom/form/inputs/email.input.esm +47 -0
- package/dist/shared/custom/form/inputs/file.input.cjs +1 -0
- package/dist/shared/custom/form/inputs/file.input.d.ts +11 -0
- package/dist/shared/custom/form/inputs/file.input.esm +95 -0
- package/dist/shared/custom/form/inputs/image.input.cjs +1 -0
- package/dist/shared/custom/form/inputs/image.input.d.ts +11 -0
- package/dist/shared/custom/form/inputs/image.input.esm +90 -0
- package/dist/shared/custom/form/inputs/list-select.input.cjs +1 -0
- package/dist/shared/custom/form/inputs/list-select.input.d.ts +17 -0
- package/dist/shared/custom/form/inputs/list-select.input.esm +53 -0
- package/dist/shared/custom/form/inputs/secret.input.cjs +1 -0
- package/dist/shared/custom/form/inputs/secret.input.d.ts +11 -0
- package/dist/shared/custom/form/inputs/secret.input.esm +53 -0
- package/dist/shared/custom/form/inputs/select.input.cjs +1 -0
- package/dist/shared/custom/form/inputs/select.input.d.ts +17 -0
- package/dist/shared/custom/form/inputs/select.input.esm +44 -0
- package/dist/shared/custom/form/inputs/tags.input.cjs +1 -0
- package/dist/shared/custom/form/inputs/tags.input.d.ts +16 -0
- package/dist/shared/custom/form/inputs/tags.input.esm +80 -0
- package/dist/shared/custom/form/inputs/text.input.cjs +1 -0
- package/dist/shared/custom/form/inputs/text.input.d.ts +13 -0
- package/dist/shared/custom/form/inputs/text.input.esm +47 -0
- package/dist/shared/custom/form/inputs/textarea.input.cjs +1 -0
- package/dist/shared/custom/form/inputs/textarea.input.d.ts +12 -0
- package/dist/shared/custom/form/inputs/textarea.input.esm +36 -0
- package/dist/shared/custom/form/layout/form-dialog-layout.cjs +1 -0
- package/dist/shared/custom/form/layout/form-dialog-layout.d.ts +25 -0
- package/dist/shared/custom/form/layout/form-dialog-layout.esm +37 -0
- package/dist/shared/custom/form/layout/form-tab-layout.cjs +1 -0
- package/dist/shared/custom/form/layout/form-tab-layout.d.ts +30 -0
- package/dist/shared/custom/form/layout/form-tab-layout.esm +69 -0
- package/dist/shared/custom/hover/hover.cjs +1 -0
- package/dist/shared/custom/hover/hover.d.ts +6 -0
- package/dist/shared/custom/hover/hover.esm +20 -0
- package/dist/shared/custom/layouts/canvas-view.layout.cjs +1 -0
- package/dist/shared/custom/layouts/canvas-view.layout.d.ts +18 -0
- package/dist/shared/custom/layouts/canvas-view.layout.esm +15 -0
- package/dist/shared/custom/layouts/detail-tabs.layout.cjs +1 -0
- package/dist/shared/custom/layouts/detail-tabs.layout.d.ts +27 -0
- package/dist/shared/custom/layouts/detail-tabs.layout.esm +32 -0
- package/dist/shared/custom/layouts/detail-view.layout.cjs +1 -0
- package/dist/shared/custom/layouts/detail-view.layout.d.ts +33 -0
- package/dist/shared/custom/layouts/detail-view.layout.esm +64 -0
- package/dist/shared/custom/layouts/feedback.layout.cjs +1 -0
- package/dist/shared/custom/layouts/feedback.layout.d.ts +14 -0
- package/dist/shared/custom/layouts/feedback.layout.esm +20 -0
- package/dist/shared/custom/layouts/grid.layout.cjs +1 -0
- package/dist/shared/custom/layouts/grid.layout.d.ts +38 -0
- package/dist/shared/custom/layouts/grid.layout.esm +39 -0
- package/dist/shared/custom/layouts/page-container.cjs +1 -0
- package/dist/shared/custom/layouts/page-container.d.ts +6 -0
- package/dist/shared/custom/layouts/page-container.esm +12 -0
- package/dist/shared/custom/ui/icon-box.cjs +1 -0
- package/dist/shared/custom/ui/icon-box.d.ts +12 -0
- package/dist/shared/custom/ui/icon-box.esm +21 -0
- package/dist/shared/custom/ui/typography.cjs +1 -0
- package/dist/shared/custom/ui/typography.d.ts +11 -0
- package/dist/shared/custom/ui/typography.esm +30 -0
- package/dist/shared/hooks/use-device.cjs +1 -0
- package/dist/shared/hooks/use-device.d.ts +10 -0
- package/dist/shared/hooks/use-device.esm +37 -0
- package/dist/shared/hooks/use-i18n.cjs +1 -0
- package/dist/shared/hooks/use-i18n.d.ts +10 -0
- package/dist/shared/hooks/use-i18n.esm +15 -0
- package/dist/shared/hooks/use-mobile.cjs +1 -0
- package/dist/shared/hooks/use-mobile.d.ts +1 -0
- package/dist/shared/hooks/use-mobile.esm +14 -0
- package/dist/shared/lib/utils.cjs +1 -0
- package/dist/shared/lib/utils.d.ts +2 -0
- package/dist/shared/lib/utils.esm +8 -0
- package/dist/shared/logic/action/action-processor.cjs +1 -0
- package/dist/shared/logic/action/action-processor.d.ts +86 -0
- package/dist/shared/logic/action/action-processor.esm +30 -0
- package/dist/shared/logic/components/components.registry.cjs +1 -0
- package/dist/shared/logic/components/components.registry.d.ts +16 -0
- package/dist/shared/logic/components/components.registry.esm +26 -0
- package/dist/shared/logic/events/startable.cjs +1 -0
- package/dist/shared/logic/events/startable.d.ts +7 -0
- package/dist/shared/logic/events/startable.esm +32 -0
- package/dist/shared/logic/events/use-on-start.hook.cjs +1 -0
- package/dist/shared/logic/events/use-on-start.hook.d.ts +12 -0
- package/dist/shared/logic/events/use-on-start.hook.esm +15 -0
- package/dist/shared/logic/factory/component.factory.cjs +1 -0
- package/dist/shared/logic/factory/component.factory.d.ts +9 -0
- package/dist/shared/logic/factory/component.factory.esm +28 -0
- package/dist/shared/logic/guards/builder-device.guard.cjs +1 -0
- package/dist/shared/logic/guards/builder-device.guard.d.ts +5 -0
- package/dist/shared/logic/guards/builder-device.guard.esm +10 -0
- package/dist/shared/logic/guards/component.guard.cjs +1 -0
- package/dist/shared/logic/guards/component.guard.d.ts +5 -0
- package/dist/shared/logic/guards/component.guard.esm +13 -0
- package/dist/shared/logic/guards/context.guard.cjs +1 -0
- package/dist/shared/logic/guards/context.guard.d.ts +13 -0
- package/dist/shared/logic/guards/context.guard.esm +9 -0
- package/dist/shared/logic/guards/device-artifact.guard.cjs +1 -0
- package/dist/shared/logic/guards/device-artifact.guard.d.ts +16 -0
- package/dist/shared/logic/guards/device-artifact.guard.esm +44 -0
- package/dist/shared/logic/guards/device.guard.cjs +1 -0
- package/dist/shared/logic/guards/device.guard.d.ts +17 -0
- package/dist/shared/logic/guards/device.guard.esm +40 -0
- package/dist/shared/logic/guards/dynamic-device.guard.cjs +1 -0
- package/dist/shared/logic/guards/dynamic-device.guard.d.ts +5 -0
- package/dist/shared/logic/guards/dynamic-device.guard.esm +10 -0
- package/dist/shared/logic/guards/guard.cjs +1 -0
- package/dist/shared/logic/guards/guard.d.ts +24 -0
- package/dist/shared/logic/guards/guard.esm +18 -0
- package/dist/shared/logic/service/base.service.cjs +1 -0
- package/dist/shared/logic/service/base.service.d.ts +3 -0
- package/dist/shared/logic/service/base.service.esm +5 -0
- package/dist/shared/logic/verifiers/context.verifier.cjs +1 -0
- package/dist/shared/logic/verifiers/context.verifier.d.ts +7 -0
- package/dist/shared/logic/verifiers/context.verifier.esm +31 -0
- package/dist/shared/logic/verifiers/device.verifier.registry.cjs +1 -0
- package/dist/shared/logic/verifiers/device.verifier.registry.d.ts +13 -0
- package/dist/shared/logic/verifiers/device.verifier.registry.esm +36 -0
- package/dist/shared/logic/verifiers/enum.verifier.cjs +1 -0
- package/dist/shared/logic/verifiers/enum.verifier.d.ts +4 -0
- package/dist/shared/logic/verifiers/enum.verifier.esm +9 -0
- package/dist/shared/logic/verifiers/value.verifier.cjs +1 -0
- package/dist/shared/logic/verifiers/value.verifier.d.ts +5 -0
- package/dist/shared/logic/verifiers/value.verifier.esm +9 -0
- package/dist/shared/ui/badge.cjs +1 -0
- package/dist/shared/ui/badge.d.ts +9 -0
- package/dist/shared/ui/badge.esm +27 -0
- package/dist/shared/ui/breadcrumb.cjs +1 -0
- package/dist/shared/ui/breadcrumb.d.ts +11 -0
- package/dist/shared/ui/breadcrumb.esm +70 -0
- package/dist/shared/ui/button.cjs +1 -0
- package/dist/shared/ui/button.d.ts +11 -0
- package/dist/shared/ui/button.esm +47 -0
- package/dist/shared/ui/calendar.cjs +1 -0
- package/dist/shared/ui/calendar.d.ts +10 -0
- package/dist/shared/ui/calendar.esm +92 -0
- package/dist/shared/ui/card.cjs +1 -0
- package/dist/shared/ui/card.d.ts +11 -0
- package/dist/shared/ui/card.esm +56 -0
- package/dist/shared/ui/checkbox.cjs +1 -0
- package/dist/shared/ui/checkbox.d.ts +4 -0
- package/dist/shared/ui/checkbox.esm +20 -0
- package/dist/shared/ui/combobox.cjs +1 -0
- package/dist/shared/ui/combobox.d.ts +24 -0
- package/dist/shared/ui/combobox.esm +163 -0
- package/dist/shared/ui/command.cjs +1 -0
- package/dist/shared/ui/command.d.ts +18 -0
- package/dist/shared/ui/command.esm +87 -0
- package/dist/shared/ui/custom/dynamic-icon.cjs +1 -0
- package/dist/shared/ui/custom/dynamic-icon.d.ts +13 -0
- package/dist/shared/ui/custom/dynamic-icon.esm +15 -0
- package/dist/shared/ui/dialog.cjs +1 -0
- package/dist/shared/ui/dialog.d.ts +17 -0
- package/dist/shared/ui/dialog.esm +95 -0
- package/dist/shared/ui/field.cjs +1 -0
- package/dist/shared/ui/field.d.ts +24 -0
- package/dist/shared/ui/field.esm +107 -0
- package/dist/shared/ui/icon-button.cjs +1 -0
- package/dist/shared/ui/icon-button.d.ts +6 -0
- package/dist/shared/ui/icon-button.esm +14 -0
- package/dist/shared/ui/index.cjs +1 -0
- package/dist/shared/ui/index.d.ts +23 -0
- package/dist/shared/ui/index.esm +24 -0
- package/dist/shared/ui/input-group.cjs +1 -0
- package/dist/shared/ui/input-group.d.ts +16 -0
- package/dist/shared/ui/input-group.esm +77 -0
- package/dist/shared/ui/input.cjs +1 -0
- package/dist/shared/ui/input.d.ts +3 -0
- package/dist/shared/ui/input.esm +14 -0
- package/dist/shared/ui/label.cjs +1 -0
- package/dist/shared/ui/label.d.ts +4 -0
- package/dist/shared/ui/label.esm +14 -0
- package/dist/shared/ui/popover.cjs +1 -0
- package/dist/shared/ui/popover.d.ts +7 -0
- package/dist/shared/ui/popover.esm +35 -0
- package/dist/shared/ui/scroll-area.cjs +1 -0
- package/dist/shared/ui/scroll-area.d.ts +5 -0
- package/dist/shared/ui/scroll-area.esm +36 -0
- package/dist/shared/ui/select.cjs +1 -0
- package/dist/shared/ui/select.d.ts +15 -0
- package/dist/shared/ui/select.esm +99 -0
- package/dist/shared/ui/separator.cjs +1 -0
- package/dist/shared/ui/separator.d.ts +4 -0
- package/dist/shared/ui/separator.esm +16 -0
- package/dist/shared/ui/sheet.cjs +1 -0
- package/dist/shared/ui/sheet.d.ts +14 -0
- package/dist/shared/ui/sheet.esm +89 -0
- package/dist/shared/ui/sidebar.cjs +1 -0
- package/dist/shared/ui/sidebar.d.ts +69 -0
- package/dist/shared/ui/sidebar.esm +348 -0
- package/dist/shared/ui/skeleton.cjs +1 -0
- package/dist/shared/ui/skeleton.d.ts +2 -0
- package/dist/shared/ui/skeleton.esm +12 -0
- package/dist/shared/ui/sonner.cjs +1 -0
- package/dist/shared/ui/sonner.d.ts +3 -0
- package/dist/shared/ui/sonner.esm +29 -0
- package/dist/shared/ui/table.cjs +1 -0
- package/dist/shared/ui/table.d.ts +10 -0
- package/dist/shared/ui/table.esm +66 -0
- package/dist/shared/ui/tabs.cjs +1 -0
- package/dist/shared/ui/tabs.d.ts +11 -0
- package/dist/shared/ui/tabs.esm +45 -0
- package/dist/shared/ui/textarea.cjs +1 -0
- package/dist/shared/ui/textarea.d.ts +3 -0
- package/dist/shared/ui/textarea.esm +13 -0
- package/dist/shared/ui/tooltip.cjs +1 -0
- package/dist/shared/ui/tooltip.d.ts +7 -0
- package/dist/shared/ui/tooltip.esm +36 -0
- package/dist/sheet.d.ts +2 -0
- package/dist/sheets.connector.d.ts +2 -0
- package/dist/sheets.service.d.ts +2 -0
- package/dist/sidebar.d.ts +2 -0
- package/dist/skeleton.d.ts +2 -0
- package/dist/social-icons.d.ts +2 -0
- package/dist/sonner.d.ts +2 -0
- package/dist/sortable.d.ts +2 -0
- package/dist/sqlite.service.d.ts +6 -0
- package/dist/startable.d.ts +4 -0
- package/dist/storage.service.d.ts +4 -0
- package/dist/store.hook.d.ts +4 -0
- package/dist/store.service.d.ts +4 -0
- package/dist/table.d.ts +2 -0
- package/dist/tabs.d.ts +2 -0
- package/dist/tags.input.d.ts +4 -0
- package/dist/test.entity.d.ts +2 -0
- package/dist/test.repo.service.d.ts +6 -0
- package/dist/text-coder.service.d.ts +2 -0
- package/dist/text.input.d.ts +4 -0
- package/dist/textarea.d.ts +2 -0
- package/dist/textarea.input.d.ts +4 -0
- package/dist/theme-builder.d.ts +2 -0
- package/dist/theme-provider.d.ts +2 -0
- package/dist/theme-toggle.d.ts +2 -0
- package/dist/tooltip.d.ts +2 -0
- package/dist/tron-assets.service.d.ts +2 -0
- package/dist/tron-wallet.entity.d.ts +2 -0
- package/dist/tron-wallet.repo.d.ts +2 -0
- package/dist/tron.service.d.ts +2 -0
- package/dist/tron.types.d.ts +1 -0
- package/dist/types.d.ts +1 -0
- package/dist/typography.d.ts +2 -0
- package/dist/use-confirm.d.ts +2 -0
- package/dist/use-device.d.ts +2 -0
- package/dist/use-i18n.d.ts +2 -0
- package/dist/use-mobile.d.ts +2 -0
- package/dist/use-on-start.hook.d.ts +2 -0
- package/dist/utils.d.ts +2 -0
- package/dist/value.verifier.d.ts +4 -0
- package/package.json +155 -0
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { BaseEntity as e } from "../../../packages/sqlite/base/base.entity.esm";
|
|
2
|
+
import { Column as t, CreateDateColumn as n, Entity as r, UpdateDateColumn as i } from "typeorm/browser";
|
|
3
|
+
//#region src/modules/actions/entities/action.entity.ts
|
|
4
|
+
var a, o, s, c, l, u, d, f, p, m, h, g, _, v, y, b, x, S, C, w, T, E, D, O, k, A, j;
|
|
5
|
+
function M(e, t, n, r) {
|
|
6
|
+
n && Object.defineProperty(e, t, {
|
|
7
|
+
enumerable: n.enumerable,
|
|
8
|
+
configurable: n.configurable,
|
|
9
|
+
writable: n.writable,
|
|
10
|
+
value: n.initializer ? n.initializer.call(r) : void 0
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
function N(e, t, n, r, i) {
|
|
14
|
+
var a = {};
|
|
15
|
+
return Object.keys(r).forEach(function(e) {
|
|
16
|
+
a[e] = r[e];
|
|
17
|
+
}), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, ("value" in a || a.initializer) && (a.writable = !0), a = n.slice().reverse().reduce(function(n, r) {
|
|
18
|
+
return r(e, t, n) || n;
|
|
19
|
+
}, a), i && a.initializer !== void 0 && (a.value = a.initializer ? a.initializer.call(i) : void 0, a.initializer = void 0), a.initializer === void 0 ? (Object.defineProperty(e, t, a), null) : a;
|
|
20
|
+
}
|
|
21
|
+
var P = /* @__PURE__ */ function(e) {
|
|
22
|
+
return e.PENDING = "PENDING", e.SUCCESS = "SUCCESS", e.FAILED = "FAILED", e.AWAITING = "AWAITING", e;
|
|
23
|
+
}({}), F = /* @__PURE__ */ function(e) {
|
|
24
|
+
return e.ATOMIC = "ATOMIC", e.COMPOSABLE = "COMPOSABLE", e;
|
|
25
|
+
}({}), I = /* @__PURE__ */ function(e) {
|
|
26
|
+
return e.COMMAND = "COMMAND", e.QUERY = "QUERY", e;
|
|
27
|
+
}({}), L = (a = r("action_log"), o = t({
|
|
28
|
+
name: "nature",
|
|
29
|
+
type: "varchar",
|
|
30
|
+
length: 20,
|
|
31
|
+
default: I.COMMAND
|
|
32
|
+
}), s = t({
|
|
33
|
+
name: "name",
|
|
34
|
+
type: "varchar",
|
|
35
|
+
length: 150,
|
|
36
|
+
nullable: !1
|
|
37
|
+
}), c = t({
|
|
38
|
+
name: "type",
|
|
39
|
+
type: "varchar",
|
|
40
|
+
length: 100,
|
|
41
|
+
nullable: !1
|
|
42
|
+
}), l = t({
|
|
43
|
+
name: "payload",
|
|
44
|
+
type: "text",
|
|
45
|
+
nullable: !1
|
|
46
|
+
}), u = t({
|
|
47
|
+
name: "status",
|
|
48
|
+
type: "varchar",
|
|
49
|
+
length: 20,
|
|
50
|
+
default: P.PENDING
|
|
51
|
+
}), d = t({
|
|
52
|
+
name: "error_message",
|
|
53
|
+
type: "text",
|
|
54
|
+
nullable: !0
|
|
55
|
+
}), f = t({
|
|
56
|
+
name: "kind",
|
|
57
|
+
type: "varchar",
|
|
58
|
+
length: 20,
|
|
59
|
+
default: F.ATOMIC
|
|
60
|
+
}), p = t({
|
|
61
|
+
name: "pipeline_id",
|
|
62
|
+
type: "varchar",
|
|
63
|
+
length: 50,
|
|
64
|
+
nullable: !0
|
|
65
|
+
}), m = t({
|
|
66
|
+
name: "context",
|
|
67
|
+
type: "text",
|
|
68
|
+
nullable: !0
|
|
69
|
+
}), h = t({
|
|
70
|
+
name: "retries",
|
|
71
|
+
type: "integer",
|
|
72
|
+
default: 0
|
|
73
|
+
}), g = n({ name: "created_at" }), _ = i({ name: "updated_at" }), a(v = (y = class extends e {
|
|
74
|
+
constructor(...e) {
|
|
75
|
+
super(...e), M(this, "nature", b, this), M(this, "name", x, this), M(this, "type", S, this), M(this, "payload", C, this), M(this, "status", w, this), M(this, "error", T, this), M(this, "kind", E, this), M(this, "pipelineId", D, this), M(this, "context", O, this), M(this, "retries", k, this), M(this, "createdAt", A, this), M(this, "updatedAt", j, this);
|
|
76
|
+
}
|
|
77
|
+
}, b = N(y.prototype, "nature", [o], {
|
|
78
|
+
configurable: !0,
|
|
79
|
+
enumerable: !0,
|
|
80
|
+
writable: !0,
|
|
81
|
+
initializer: null
|
|
82
|
+
}), x = N(y.prototype, "name", [s], {
|
|
83
|
+
configurable: !0,
|
|
84
|
+
enumerable: !0,
|
|
85
|
+
writable: !0,
|
|
86
|
+
initializer: null
|
|
87
|
+
}), S = N(y.prototype, "type", [c], {
|
|
88
|
+
configurable: !0,
|
|
89
|
+
enumerable: !0,
|
|
90
|
+
writable: !0,
|
|
91
|
+
initializer: null
|
|
92
|
+
}), C = N(y.prototype, "payload", [l], {
|
|
93
|
+
configurable: !0,
|
|
94
|
+
enumerable: !0,
|
|
95
|
+
writable: !0,
|
|
96
|
+
initializer: null
|
|
97
|
+
}), w = N(y.prototype, "status", [u], {
|
|
98
|
+
configurable: !0,
|
|
99
|
+
enumerable: !0,
|
|
100
|
+
writable: !0,
|
|
101
|
+
initializer: null
|
|
102
|
+
}), T = N(y.prototype, "error", [d], {
|
|
103
|
+
configurable: !0,
|
|
104
|
+
enumerable: !0,
|
|
105
|
+
writable: !0,
|
|
106
|
+
initializer: null
|
|
107
|
+
}), E = N(y.prototype, "kind", [f], {
|
|
108
|
+
configurable: !0,
|
|
109
|
+
enumerable: !0,
|
|
110
|
+
writable: !0,
|
|
111
|
+
initializer: null
|
|
112
|
+
}), D = N(y.prototype, "pipelineId", [p], {
|
|
113
|
+
configurable: !0,
|
|
114
|
+
enumerable: !0,
|
|
115
|
+
writable: !0,
|
|
116
|
+
initializer: null
|
|
117
|
+
}), O = N(y.prototype, "context", [m], {
|
|
118
|
+
configurable: !0,
|
|
119
|
+
enumerable: !0,
|
|
120
|
+
writable: !0,
|
|
121
|
+
initializer: null
|
|
122
|
+
}), k = N(y.prototype, "retries", [h], {
|
|
123
|
+
configurable: !0,
|
|
124
|
+
enumerable: !0,
|
|
125
|
+
writable: !0,
|
|
126
|
+
initializer: null
|
|
127
|
+
}), A = N(y.prototype, "createdAt", [g], {
|
|
128
|
+
configurable: !0,
|
|
129
|
+
enumerable: !0,
|
|
130
|
+
writable: !0,
|
|
131
|
+
initializer: null
|
|
132
|
+
}), j = N(y.prototype, "updatedAt", [_], {
|
|
133
|
+
configurable: !0,
|
|
134
|
+
enumerable: !0,
|
|
135
|
+
writable: !0,
|
|
136
|
+
initializer: null
|
|
137
|
+
}), y)) || v);
|
|
138
|
+
//#endregion
|
|
139
|
+
export { L as ActionEntity, F as ActionKind };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`../../../_virtual/_rolldown/runtime.cjs`);const e=require(`../../../packages/sqlite/base/base.entity.cjs`),t=require(`../../users/entities/user.entity.cjs`),n=require(`../../tools/entities/tool.entity.cjs`);let r=require(`typeorm/browser`),i=require(`zod`);var a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C;function w(e,t,n,r){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})}function T(e,t,n,r,i){var a={};return Object.keys(r).forEach(function(e){a[e]=r[e]}),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,(`value`in a||a.initializer)&&(a.writable=!0),a=n.slice().reverse().reduce(function(n,r){return r(e,t,n)||n},a),i&&a.initializer!==void 0&&(a.value=a.initializer?a.initializer.call(i):void 0,a.initializer=void 0),a.initializer===void 0?(Object.defineProperty(e,t,a),null):a}var E=(a=(0,r.Entity)(`usage_artifacts`),o=(0,r.Column)({type:`varchar`,length:150}),s=(0,r.ManyToOne)(()=>n.ToolEntity,{nullable:!1,onDelete:`CASCADE`}),c=(0,r.JoinColumn)({name:`toolId`}),l=(0,r.Column)({type:`varchar`}),u=(0,r.ManyToOne)(()=>t.UserEntity,{nullable:!0,onDelete:`SET NULL`}),d=(0,r.JoinColumn)({name:`userId`}),f=(0,r.Column)({type:`varchar`,nullable:!0}),p=(0,r.CreateDateColumn)(),m=(0,r.UpdateDateColumn)(),a(h=(g=class extends e.BaseEntity{constructor(...e){super(...e),w(this,`reference`,_,this),w(this,`tool`,v,this),w(this,`toolId`,y,this),w(this,`user`,b,this),w(this,`userId`,x,this),w(this,`createdAt`,S,this),w(this,`updatedAt`,C,this)}},_=T(g.prototype,`reference`,[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=T(g.prototype,`tool`,[s,c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=T(g.prototype,`toolId`,[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=T(g.prototype,`user`,[u,d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x=T(g.prototype,`userId`,[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=T(g.prototype,`createdAt`,[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=T(g.prototype,`updatedAt`,[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g))||h);i.z.object({reference:i.z.string().min(1,`La referencia es requerida`).max(150),toolId:i.z.string().uuid(`Herramienta inválida`),userId:i.z.string().uuid().nullable().optional().or(i.z.literal(``))}),exports.ArtifactEntity=E;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { BaseEntity as e } from "../../../packages/sqlite/base/base.entity.esm";
|
|
2
|
+
import { UserEntity as t } from "../../users/entities/user.entity.esm";
|
|
3
|
+
import { ToolEntity as n } from "../../tools/entities/tool.entity.esm";
|
|
4
|
+
import { Column as r, CreateDateColumn as i, Entity as a, JoinColumn as o, ManyToOne as s, UpdateDateColumn as c } from "typeorm/browser";
|
|
5
|
+
import { z as l } from "zod";
|
|
6
|
+
//#region src/modules/artifacts/entities/artifact.entity.ts
|
|
7
|
+
var u, d, f, p, m, h, g, _, v, y, b, x, S, C, w, T, E, D, O;
|
|
8
|
+
function k(e, t, n, r) {
|
|
9
|
+
n && Object.defineProperty(e, t, {
|
|
10
|
+
enumerable: n.enumerable,
|
|
11
|
+
configurable: n.configurable,
|
|
12
|
+
writable: n.writable,
|
|
13
|
+
value: n.initializer ? n.initializer.call(r) : void 0
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
function A(e, t, n, r, i) {
|
|
17
|
+
var a = {};
|
|
18
|
+
return Object.keys(r).forEach(function(e) {
|
|
19
|
+
a[e] = r[e];
|
|
20
|
+
}), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, ("value" in a || a.initializer) && (a.writable = !0), a = n.slice().reverse().reduce(function(n, r) {
|
|
21
|
+
return r(e, t, n) || n;
|
|
22
|
+
}, a), i && a.initializer !== void 0 && (a.value = a.initializer ? a.initializer.call(i) : void 0, a.initializer = void 0), a.initializer === void 0 ? (Object.defineProperty(e, t, a), null) : a;
|
|
23
|
+
}
|
|
24
|
+
var j = (u = a("usage_artifacts"), d = r({
|
|
25
|
+
type: "varchar",
|
|
26
|
+
length: 150
|
|
27
|
+
}), f = s(() => n, {
|
|
28
|
+
nullable: !1,
|
|
29
|
+
onDelete: "CASCADE"
|
|
30
|
+
}), p = o({ name: "toolId" }), m = r({ type: "varchar" }), h = s(() => t, {
|
|
31
|
+
nullable: !0,
|
|
32
|
+
onDelete: "SET NULL"
|
|
33
|
+
}), g = o({ name: "userId" }), _ = r({
|
|
34
|
+
type: "varchar",
|
|
35
|
+
nullable: !0
|
|
36
|
+
}), v = i(), y = c(), u(b = (x = class extends e {
|
|
37
|
+
constructor(...e) {
|
|
38
|
+
super(...e), k(this, "reference", S, this), k(this, "tool", C, this), k(this, "toolId", w, this), k(this, "user", T, this), k(this, "userId", E, this), k(this, "createdAt", D, this), k(this, "updatedAt", O, this);
|
|
39
|
+
}
|
|
40
|
+
}, S = A(x.prototype, "reference", [d], {
|
|
41
|
+
configurable: !0,
|
|
42
|
+
enumerable: !0,
|
|
43
|
+
writable: !0,
|
|
44
|
+
initializer: null
|
|
45
|
+
}), C = A(x.prototype, "tool", [f, p], {
|
|
46
|
+
configurable: !0,
|
|
47
|
+
enumerable: !0,
|
|
48
|
+
writable: !0,
|
|
49
|
+
initializer: null
|
|
50
|
+
}), w = A(x.prototype, "toolId", [m], {
|
|
51
|
+
configurable: !0,
|
|
52
|
+
enumerable: !0,
|
|
53
|
+
writable: !0,
|
|
54
|
+
initializer: null
|
|
55
|
+
}), T = A(x.prototype, "user", [h, g], {
|
|
56
|
+
configurable: !0,
|
|
57
|
+
enumerable: !0,
|
|
58
|
+
writable: !0,
|
|
59
|
+
initializer: null
|
|
60
|
+
}), E = A(x.prototype, "userId", [_], {
|
|
61
|
+
configurable: !0,
|
|
62
|
+
enumerable: !0,
|
|
63
|
+
writable: !0,
|
|
64
|
+
initializer: null
|
|
65
|
+
}), D = A(x.prototype, "createdAt", [v], {
|
|
66
|
+
configurable: !0,
|
|
67
|
+
enumerable: !0,
|
|
68
|
+
writable: !0,
|
|
69
|
+
initializer: null
|
|
70
|
+
}), O = A(x.prototype, "updatedAt", [y], {
|
|
71
|
+
configurable: !0,
|
|
72
|
+
enumerable: !0,
|
|
73
|
+
writable: !0,
|
|
74
|
+
initializer: null
|
|
75
|
+
}), x)) || b);
|
|
76
|
+
l.object({
|
|
77
|
+
reference: l.string().min(1, "La referencia es requerida").max(150),
|
|
78
|
+
toolId: l.string().uuid("Herramienta inválida"),
|
|
79
|
+
userId: l.string().uuid().nullable().optional().or(l.literal(""))
|
|
80
|
+
});
|
|
81
|
+
//#endregion
|
|
82
|
+
export { j as ArtifactEntity };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`../../../_virtual/_rolldown/runtime.cjs`);const e=require(`../../../packages/sqlite/base/base.entity.cjs`),t=require(`../../users/entities/user.entity.cjs`);let n=require(`typeorm/browser`),r=require(`zod`);var i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y;function b(e,t,n,r){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})}function x(e,t,n,r,i){var a={};return Object.keys(r).forEach(function(e){a[e]=r[e]}),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,(`value`in a||a.initializer)&&(a.writable=!0),a=n.slice().reverse().reduce(function(n,r){return r(e,t,n)||n},a),i&&a.initializer!==void 0&&(a.value=a.initializer?a.initializer.call(i):void 0,a.initializer=void 0),a.initializer===void 0?(Object.defineProperty(e,t,a),null):a}var S=(i=(0,n.Entity)(`integrations`),a=(0,n.Column)({type:`varchar`,length:150}),o=(0,n.Column)({type:`varchar`,length:100,unique:!0}),s=(0,n.ManyToOne)(()=>t.UserEntity,{nullable:!1}),c=(0,n.JoinColumn)({name:`creatorId`}),l=(0,n.Column)({type:`varchar`}),u=(0,n.CreateDateColumn)(),d=(0,n.Column)({type:`simple-json`,nullable:!0}),i(f=(p=class extends e.BaseEntity{constructor(...e){super(...e),b(this,`name`,m,this),b(this,`key`,h,this),b(this,`creator`,g,this),b(this,`creatorId`,_,this),b(this,`createdAt`,v,this),b(this,`tags`,y,this)}},m=x(p.prototype,`name`,[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=x(p.prototype,`key`,[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=x(p.prototype,`creator`,[s,c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=x(p.prototype,`creatorId`,[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=x(p.prototype,`createdAt`,[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=x(p.prototype,`tags`,[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p))||f);r.z.object({name:r.z.string().min(1,`Nombre requerido`).max(150),key:r.z.string().min(1,`Clave requerida`).max(100),creatorId:r.z.string().uuid(`Usuario creador inválido`),tags:r.z.array(r.z.string()).optional().default([])}),exports.IntegrationEntity=S;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { BaseEntity as e } from "../../../packages/sqlite/base/base.entity.esm";
|
|
2
|
+
import { UserEntity as t } from "../../users/entities/user.entity.esm";
|
|
3
|
+
import { Column as n, CreateDateColumn as r, Entity as i, JoinColumn as a, ManyToOne as o } from "typeorm/browser";
|
|
4
|
+
import { z as s } from "zod";
|
|
5
|
+
//#region src/modules/integrations/entities/integration.entity.ts
|
|
6
|
+
var c, l, u, d, f, p, m, h, g, _, v, y, b, x, S, C;
|
|
7
|
+
function w(e, t, n, r) {
|
|
8
|
+
n && Object.defineProperty(e, t, {
|
|
9
|
+
enumerable: n.enumerable,
|
|
10
|
+
configurable: n.configurable,
|
|
11
|
+
writable: n.writable,
|
|
12
|
+
value: n.initializer ? n.initializer.call(r) : void 0
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
function T(e, t, n, r, i) {
|
|
16
|
+
var a = {};
|
|
17
|
+
return Object.keys(r).forEach(function(e) {
|
|
18
|
+
a[e] = r[e];
|
|
19
|
+
}), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, ("value" in a || a.initializer) && (a.writable = !0), a = n.slice().reverse().reduce(function(n, r) {
|
|
20
|
+
return r(e, t, n) || n;
|
|
21
|
+
}, a), i && a.initializer !== void 0 && (a.value = a.initializer ? a.initializer.call(i) : void 0, a.initializer = void 0), a.initializer === void 0 ? (Object.defineProperty(e, t, a), null) : a;
|
|
22
|
+
}
|
|
23
|
+
var E = (c = i("integrations"), l = n({
|
|
24
|
+
type: "varchar",
|
|
25
|
+
length: 150
|
|
26
|
+
}), u = n({
|
|
27
|
+
type: "varchar",
|
|
28
|
+
length: 100,
|
|
29
|
+
unique: !0
|
|
30
|
+
}), d = o(() => t, { nullable: !1 }), f = a({ name: "creatorId" }), p = n({ type: "varchar" }), m = r(), h = n({
|
|
31
|
+
type: "simple-json",
|
|
32
|
+
nullable: !0
|
|
33
|
+
}), c(g = (_ = class extends e {
|
|
34
|
+
constructor(...e) {
|
|
35
|
+
super(...e), w(this, "name", v, this), w(this, "key", y, this), w(this, "creator", b, this), w(this, "creatorId", x, this), w(this, "createdAt", S, this), w(this, "tags", C, this);
|
|
36
|
+
}
|
|
37
|
+
}, v = T(_.prototype, "name", [l], {
|
|
38
|
+
configurable: !0,
|
|
39
|
+
enumerable: !0,
|
|
40
|
+
writable: !0,
|
|
41
|
+
initializer: null
|
|
42
|
+
}), y = T(_.prototype, "key", [u], {
|
|
43
|
+
configurable: !0,
|
|
44
|
+
enumerable: !0,
|
|
45
|
+
writable: !0,
|
|
46
|
+
initializer: null
|
|
47
|
+
}), b = T(_.prototype, "creator", [d, f], {
|
|
48
|
+
configurable: !0,
|
|
49
|
+
enumerable: !0,
|
|
50
|
+
writable: !0,
|
|
51
|
+
initializer: null
|
|
52
|
+
}), x = T(_.prototype, "creatorId", [p], {
|
|
53
|
+
configurable: !0,
|
|
54
|
+
enumerable: !0,
|
|
55
|
+
writable: !0,
|
|
56
|
+
initializer: null
|
|
57
|
+
}), S = T(_.prototype, "createdAt", [m], {
|
|
58
|
+
configurable: !0,
|
|
59
|
+
enumerable: !0,
|
|
60
|
+
writable: !0,
|
|
61
|
+
initializer: null
|
|
62
|
+
}), C = T(_.prototype, "tags", [h], {
|
|
63
|
+
configurable: !0,
|
|
64
|
+
enumerable: !0,
|
|
65
|
+
writable: !0,
|
|
66
|
+
initializer: null
|
|
67
|
+
}), _)) || g);
|
|
68
|
+
s.object({
|
|
69
|
+
name: s.string().min(1, "Nombre requerido").max(150),
|
|
70
|
+
key: s.string().min(1, "Clave requerida").max(100),
|
|
71
|
+
creatorId: s.string().uuid("Usuario creador inválido"),
|
|
72
|
+
tags: s.array(s.string()).optional().default([])
|
|
73
|
+
});
|
|
74
|
+
//#endregion
|
|
75
|
+
export { E as IntegrationEntity };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`../../../_virtual/_rolldown/runtime.cjs`);const e=require(`../../../packages/sqlite/base/base.entity.cjs`);let t=require(`typeorm/browser`),n=require(`zod`);var r,i,a,o,s,c,l;function u(e,t,n,r){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})}function d(e,t,n,r,i){var a={};return Object.keys(r).forEach(function(e){a[e]=r[e]}),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,(`value`in a||a.initializer)&&(a.writable=!0),a=n.slice().reverse().reduce(function(n,r){return r(e,t,n)||n},a),i&&a.initializer!==void 0&&(a.value=a.initializer?a.initializer.call(i):void 0,a.initializer=void 0),a.initializer===void 0?(Object.defineProperty(e,t,a),null):a}var f=(r=(0,t.Entity)(),i=(0,t.Column)({type:`varchar`,length:100,unique:!0}),a=(0,t.Column)({type:`varchar`,length:7,default:`#6366f1`}),r(o=(s=class extends e.BaseEntity{constructor(...e){super(...e),u(this,`name`,c,this),u(this,`color`,l,this)}},c=d(s.prototype,`name`,[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=d(s.prototype,`color`,[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s))||o);n.z.object({name:n.z.string().min(1,`Nombre requerido`).max(100),color:n.z.string().regex(/^#[0-9a-fA-F]{6}$/,`Color hexadecimal inválido`).default(`#6366f1`)}),exports.CategoryEntity=f;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { BaseEntity as e } from "../../../packages/sqlite/base/base.entity.esm";
|
|
2
|
+
import { Column as t, Entity as n } from "typeorm/browser";
|
|
3
|
+
import { z as r } from "zod";
|
|
4
|
+
//#region src/modules/inventory/entities/category.entity.ts
|
|
5
|
+
var i, a, o, s, c, l, u;
|
|
6
|
+
function d(e, t, n, r) {
|
|
7
|
+
n && Object.defineProperty(e, t, {
|
|
8
|
+
enumerable: n.enumerable,
|
|
9
|
+
configurable: n.configurable,
|
|
10
|
+
writable: n.writable,
|
|
11
|
+
value: n.initializer ? n.initializer.call(r) : void 0
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
function f(e, t, n, r, i) {
|
|
15
|
+
var a = {};
|
|
16
|
+
return Object.keys(r).forEach(function(e) {
|
|
17
|
+
a[e] = r[e];
|
|
18
|
+
}), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, ("value" in a || a.initializer) && (a.writable = !0), a = n.slice().reverse().reduce(function(n, r) {
|
|
19
|
+
return r(e, t, n) || n;
|
|
20
|
+
}, a), i && a.initializer !== void 0 && (a.value = a.initializer ? a.initializer.call(i) : void 0, a.initializer = void 0), a.initializer === void 0 ? (Object.defineProperty(e, t, a), null) : a;
|
|
21
|
+
}
|
|
22
|
+
var p = (i = n(), a = t({
|
|
23
|
+
type: "varchar",
|
|
24
|
+
length: 100,
|
|
25
|
+
unique: !0
|
|
26
|
+
}), o = t({
|
|
27
|
+
type: "varchar",
|
|
28
|
+
length: 7,
|
|
29
|
+
default: "#6366f1"
|
|
30
|
+
}), i(s = (c = class extends e {
|
|
31
|
+
constructor(...e) {
|
|
32
|
+
super(...e), d(this, "name", l, this), d(this, "color", u, this);
|
|
33
|
+
}
|
|
34
|
+
}, l = f(c.prototype, "name", [a], {
|
|
35
|
+
configurable: !0,
|
|
36
|
+
enumerable: !0,
|
|
37
|
+
writable: !0,
|
|
38
|
+
initializer: null
|
|
39
|
+
}), u = f(c.prototype, "color", [o], {
|
|
40
|
+
configurable: !0,
|
|
41
|
+
enumerable: !0,
|
|
42
|
+
writable: !0,
|
|
43
|
+
initializer: null
|
|
44
|
+
}), c)) || s);
|
|
45
|
+
r.object({
|
|
46
|
+
name: r.string().min(1, "Nombre requerido").max(100),
|
|
47
|
+
color: r.string().regex(/^#[0-9a-fA-F]{6}$/, "Color hexadecimal inválido").default("#6366f1")
|
|
48
|
+
});
|
|
49
|
+
//#endregion
|
|
50
|
+
export { p as CategoryEntity };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`../../../_virtual/_rolldown/runtime.cjs`);const e=require(`../../../packages/sqlite/base/base.entity.cjs`);let t=require(`typeorm/browser`),n=require(`zod`);var r,i,a,o,s,c,l,u,d,f,p;function m(e,t,n,r){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})}function h(e,t,n,r,i){var a={};return Object.keys(r).forEach(function(e){a[e]=r[e]}),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,(`value`in a||a.initializer)&&(a.writable=!0),a=n.slice().reverse().reduce(function(n,r){return r(e,t,n)||n},a),i&&a.initializer!==void 0&&(a.value=a.initializer?a.initializer.call(i):void 0,a.initializer=void 0),a.initializer===void 0?(Object.defineProperty(e,t,a),null):a}var g=(r=(0,t.Entity)(),i=(0,t.Column)({name:`product_id`,type:`varchar`}),a=(0,t.Column)({type:`int`,default:0}),o=(0,t.Column)({name:`min_stock`,type:`int`,default:5}),s=(0,t.Column)({name:`zone_id`,type:`varchar`,nullable:!0}),r(c=(l=class extends e.BaseEntity{constructor(...e){super(...e),m(this,`productId`,u,this),m(this,`stock`,d,this),m(this,`minStock`,f,this),m(this,`zoneId`,p,this)}},u=h(l.prototype,`productId`,[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=h(l.prototype,`stock`,[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=h(l.prototype,`minStock`,[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=h(l.prototype,`zoneId`,[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l))||c);n.z.object({productId:n.z.string().min(1,`Producto requerido`),stock:n.z.coerce.number().int().min(0,`Stock no puede ser negativo`),minStock:n.z.coerce.number().int().min(0,`Stock mínimo no puede ser negativo`),zoneId:n.z.string().nullable().default(null)}),exports.InventoryItemEntity=g;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { BaseEntity as e } from "../../../packages/sqlite/base/base.entity.esm";
|
|
2
|
+
import { Column as t, Entity as n } from "typeorm/browser";
|
|
3
|
+
import { z as r } from "zod";
|
|
4
|
+
//#region src/modules/inventory/entities/inventory-item.entity.ts
|
|
5
|
+
var i, a, o, s, c, l, u, d, f, p, m;
|
|
6
|
+
function h(e, t, n, r) {
|
|
7
|
+
n && Object.defineProperty(e, t, {
|
|
8
|
+
enumerable: n.enumerable,
|
|
9
|
+
configurable: n.configurable,
|
|
10
|
+
writable: n.writable,
|
|
11
|
+
value: n.initializer ? n.initializer.call(r) : void 0
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
function g(e, t, n, r, i) {
|
|
15
|
+
var a = {};
|
|
16
|
+
return Object.keys(r).forEach(function(e) {
|
|
17
|
+
a[e] = r[e];
|
|
18
|
+
}), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, ("value" in a || a.initializer) && (a.writable = !0), a = n.slice().reverse().reduce(function(n, r) {
|
|
19
|
+
return r(e, t, n) || n;
|
|
20
|
+
}, a), i && a.initializer !== void 0 && (a.value = a.initializer ? a.initializer.call(i) : void 0, a.initializer = void 0), a.initializer === void 0 ? (Object.defineProperty(e, t, a), null) : a;
|
|
21
|
+
}
|
|
22
|
+
var _ = (i = n(), a = t({
|
|
23
|
+
name: "product_id",
|
|
24
|
+
type: "varchar"
|
|
25
|
+
}), o = t({
|
|
26
|
+
type: "int",
|
|
27
|
+
default: 0
|
|
28
|
+
}), s = t({
|
|
29
|
+
name: "min_stock",
|
|
30
|
+
type: "int",
|
|
31
|
+
default: 5
|
|
32
|
+
}), c = t({
|
|
33
|
+
name: "zone_id",
|
|
34
|
+
type: "varchar",
|
|
35
|
+
nullable: !0
|
|
36
|
+
}), i(l = (u = class extends e {
|
|
37
|
+
constructor(...e) {
|
|
38
|
+
super(...e), h(this, "productId", d, this), h(this, "stock", f, this), h(this, "minStock", p, this), h(this, "zoneId", m, this);
|
|
39
|
+
}
|
|
40
|
+
}, d = g(u.prototype, "productId", [a], {
|
|
41
|
+
configurable: !0,
|
|
42
|
+
enumerable: !0,
|
|
43
|
+
writable: !0,
|
|
44
|
+
initializer: null
|
|
45
|
+
}), f = g(u.prototype, "stock", [o], {
|
|
46
|
+
configurable: !0,
|
|
47
|
+
enumerable: !0,
|
|
48
|
+
writable: !0,
|
|
49
|
+
initializer: null
|
|
50
|
+
}), p = g(u.prototype, "minStock", [s], {
|
|
51
|
+
configurable: !0,
|
|
52
|
+
enumerable: !0,
|
|
53
|
+
writable: !0,
|
|
54
|
+
initializer: null
|
|
55
|
+
}), m = g(u.prototype, "zoneId", [c], {
|
|
56
|
+
configurable: !0,
|
|
57
|
+
enumerable: !0,
|
|
58
|
+
writable: !0,
|
|
59
|
+
initializer: null
|
|
60
|
+
}), u)) || l);
|
|
61
|
+
r.object({
|
|
62
|
+
productId: r.string().min(1, "Producto requerido"),
|
|
63
|
+
stock: r.coerce.number().int().min(0, "Stock no puede ser negativo"),
|
|
64
|
+
minStock: r.coerce.number().int().min(0, "Stock mínimo no puede ser negativo"),
|
|
65
|
+
zoneId: r.string().nullable().default(null)
|
|
66
|
+
});
|
|
67
|
+
//#endregion
|
|
68
|
+
export { _ as InventoryItemEntity };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`../../../_virtual/_rolldown/runtime.cjs`);const e=require(`../../../packages/sqlite/base/base.entity.cjs`);let t=require(`typeorm/browser`),n=require(`zod`);var r,i,a,o,s,c,l,u,d,f,p;function m(e,t,n,r){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})}function h(e,t,n,r,i){var a={};return Object.keys(r).forEach(function(e){a[e]=r[e]}),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,(`value`in a||a.initializer)&&(a.writable=!0),a=n.slice().reverse().reduce(function(n,r){return r(e,t,n)||n},a),i&&a.initializer!==void 0&&(a.value=a.initializer?a.initializer.call(i):void 0,a.initializer=void 0),a.initializer===void 0?(Object.defineProperty(e,t,a),null):a}var g=(r=(0,t.Entity)(),i=(0,t.Column)({type:`varchar`,length:150}),a=(0,t.Column)({type:`varchar`,length:255,nullable:!0}),o=(0,t.Column)({type:`varchar`,length:50,default:`unidades`}),s=(0,t.Column)({name:`category_id`,type:`varchar`,nullable:!0}),r(c=(l=class extends e.BaseEntity{constructor(...e){super(...e),m(this,`name`,u,this),m(this,`description`,d,this),m(this,`unit`,f,this),m(this,`categoryId`,p,this)}},u=h(l.prototype,`name`,[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=h(l.prototype,`description`,[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=h(l.prototype,`unit`,[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=h(l.prototype,`categoryId`,[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l))||c);n.z.object({name:n.z.string().min(1,`Nombre requerido`).max(150),description:n.z.string().max(255).default(``),unit:n.z.string().min(1).max(50).default(`unidades`),categoryId:n.z.string().nullable().default(null)}),exports.ProductItemEntity=g;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { BaseEntity as e } from "../../../packages/sqlite/base/base.entity.esm";
|
|
2
|
+
import { Column as t, Entity as n } from "typeorm/browser";
|
|
3
|
+
import { z as r } from "zod";
|
|
4
|
+
//#region src/modules/inventory/entities/product-item.entity.ts
|
|
5
|
+
var i, a, o, s, c, l, u, d, f, p, m;
|
|
6
|
+
function h(e, t, n, r) {
|
|
7
|
+
n && Object.defineProperty(e, t, {
|
|
8
|
+
enumerable: n.enumerable,
|
|
9
|
+
configurable: n.configurable,
|
|
10
|
+
writable: n.writable,
|
|
11
|
+
value: n.initializer ? n.initializer.call(r) : void 0
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
function g(e, t, n, r, i) {
|
|
15
|
+
var a = {};
|
|
16
|
+
return Object.keys(r).forEach(function(e) {
|
|
17
|
+
a[e] = r[e];
|
|
18
|
+
}), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, ("value" in a || a.initializer) && (a.writable = !0), a = n.slice().reverse().reduce(function(n, r) {
|
|
19
|
+
return r(e, t, n) || n;
|
|
20
|
+
}, a), i && a.initializer !== void 0 && (a.value = a.initializer ? a.initializer.call(i) : void 0, a.initializer = void 0), a.initializer === void 0 ? (Object.defineProperty(e, t, a), null) : a;
|
|
21
|
+
}
|
|
22
|
+
var _ = (i = n(), a = t({
|
|
23
|
+
type: "varchar",
|
|
24
|
+
length: 150
|
|
25
|
+
}), o = t({
|
|
26
|
+
type: "varchar",
|
|
27
|
+
length: 255,
|
|
28
|
+
nullable: !0
|
|
29
|
+
}), s = t({
|
|
30
|
+
type: "varchar",
|
|
31
|
+
length: 50,
|
|
32
|
+
default: "unidades"
|
|
33
|
+
}), c = t({
|
|
34
|
+
name: "category_id",
|
|
35
|
+
type: "varchar",
|
|
36
|
+
nullable: !0
|
|
37
|
+
}), i(l = (u = class extends e {
|
|
38
|
+
constructor(...e) {
|
|
39
|
+
super(...e), h(this, "name", d, this), h(this, "description", f, this), h(this, "unit", p, this), h(this, "categoryId", m, this);
|
|
40
|
+
}
|
|
41
|
+
}, d = g(u.prototype, "name", [a], {
|
|
42
|
+
configurable: !0,
|
|
43
|
+
enumerable: !0,
|
|
44
|
+
writable: !0,
|
|
45
|
+
initializer: null
|
|
46
|
+
}), f = g(u.prototype, "description", [o], {
|
|
47
|
+
configurable: !0,
|
|
48
|
+
enumerable: !0,
|
|
49
|
+
writable: !0,
|
|
50
|
+
initializer: null
|
|
51
|
+
}), p = g(u.prototype, "unit", [s], {
|
|
52
|
+
configurable: !0,
|
|
53
|
+
enumerable: !0,
|
|
54
|
+
writable: !0,
|
|
55
|
+
initializer: null
|
|
56
|
+
}), m = g(u.prototype, "categoryId", [c], {
|
|
57
|
+
configurable: !0,
|
|
58
|
+
enumerable: !0,
|
|
59
|
+
writable: !0,
|
|
60
|
+
initializer: null
|
|
61
|
+
}), u)) || l);
|
|
62
|
+
r.object({
|
|
63
|
+
name: r.string().min(1, "Nombre requerido").max(150),
|
|
64
|
+
description: r.string().max(255).default(""),
|
|
65
|
+
unit: r.string().min(1).max(50).default("unidades"),
|
|
66
|
+
categoryId: r.string().nullable().default(null)
|
|
67
|
+
});
|
|
68
|
+
//#endregion
|
|
69
|
+
export { _ as ProductItemEntity };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`../../../_virtual/_rolldown/runtime.cjs`);const e=require(`../../../packages/sqlite/base/base.entity.cjs`);let t=require(`typeorm/browser`),n=require(`zod`);var r,i,a,o,s,c,l;function u(e,t,n,r){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})}function d(e,t,n,r,i){var a={};return Object.keys(r).forEach(function(e){a[e]=r[e]}),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,(`value`in a||a.initializer)&&(a.writable=!0),a=n.slice().reverse().reduce(function(n,r){return r(e,t,n)||n},a),i&&a.initializer!==void 0&&(a.value=a.initializer?a.initializer.call(i):void 0,a.initializer=void 0),a.initializer===void 0?(Object.defineProperty(e,t,a),null):a}var f=(r=(0,t.Entity)(),i=(0,t.Column)({type:`varchar`,length:100,unique:!0}),a=(0,t.Column)({type:`varchar`,length:255,nullable:!0}),r(o=(s=class extends e.BaseEntity{constructor(...e){super(...e),u(this,`name`,c,this),u(this,`description`,l,this)}},c=d(s.prototype,`name`,[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=d(s.prototype,`description`,[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s))||o);n.z.object({name:n.z.string().min(1,`Nombre requerido`).max(100),description:n.z.string().max(255).default(``)}),exports.ZoneEntity=f;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { BaseEntity as e } from "../../../packages/sqlite/base/base.entity.esm";
|
|
2
|
+
import { Column as t, Entity as n } from "typeorm/browser";
|
|
3
|
+
import { z as r } from "zod";
|
|
4
|
+
//#region src/modules/inventory/entities/zone.entity.ts
|
|
5
|
+
var i, a, o, s, c, l, u;
|
|
6
|
+
function d(e, t, n, r) {
|
|
7
|
+
n && Object.defineProperty(e, t, {
|
|
8
|
+
enumerable: n.enumerable,
|
|
9
|
+
configurable: n.configurable,
|
|
10
|
+
writable: n.writable,
|
|
11
|
+
value: n.initializer ? n.initializer.call(r) : void 0
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
function f(e, t, n, r, i) {
|
|
15
|
+
var a = {};
|
|
16
|
+
return Object.keys(r).forEach(function(e) {
|
|
17
|
+
a[e] = r[e];
|
|
18
|
+
}), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, ("value" in a || a.initializer) && (a.writable = !0), a = n.slice().reverse().reduce(function(n, r) {
|
|
19
|
+
return r(e, t, n) || n;
|
|
20
|
+
}, a), i && a.initializer !== void 0 && (a.value = a.initializer ? a.initializer.call(i) : void 0, a.initializer = void 0), a.initializer === void 0 ? (Object.defineProperty(e, t, a), null) : a;
|
|
21
|
+
}
|
|
22
|
+
var p = (i = n(), a = t({
|
|
23
|
+
type: "varchar",
|
|
24
|
+
length: 100,
|
|
25
|
+
unique: !0
|
|
26
|
+
}), o = t({
|
|
27
|
+
type: "varchar",
|
|
28
|
+
length: 255,
|
|
29
|
+
nullable: !0
|
|
30
|
+
}), i(s = (c = class extends e {
|
|
31
|
+
constructor(...e) {
|
|
32
|
+
super(...e), d(this, "name", l, this), d(this, "description", u, this);
|
|
33
|
+
}
|
|
34
|
+
}, l = f(c.prototype, "name", [a], {
|
|
35
|
+
configurable: !0,
|
|
36
|
+
enumerable: !0,
|
|
37
|
+
writable: !0,
|
|
38
|
+
initializer: null
|
|
39
|
+
}), u = f(c.prototype, "description", [o], {
|
|
40
|
+
configurable: !0,
|
|
41
|
+
enumerable: !0,
|
|
42
|
+
writable: !0,
|
|
43
|
+
initializer: null
|
|
44
|
+
}), c)) || s);
|
|
45
|
+
r.object({
|
|
46
|
+
name: r.string().min(1, "Nombre requerido").max(100),
|
|
47
|
+
description: r.string().max(255).default("")
|
|
48
|
+
});
|
|
49
|
+
//#endregion
|
|
50
|
+
export { p as ZoneEntity };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`../../../_virtual/_rolldown/runtime.cjs`);const e=require(`../../../packages/sqlite/base/base.entity.cjs`);let t=require(`typeorm/browser`),n=require(`zod`);var r,i,a,o,s,c,l,u,d,f;function p(e,t,n,r){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})}function m(e,t,n,r,i){var a={};return Object.keys(r).forEach(function(e){a[e]=r[e]}),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,(`value`in a||a.initializer)&&(a.writable=!0),a=n.slice().reverse().reduce(function(n,r){return r(e,t,n)||n},a),i&&a.initializer!==void 0&&(a.value=a.initializer?a.initializer.call(i):void 0,a.initializer=void 0),a.initializer===void 0?(Object.defineProperty(e,t,a),null):a}var h=function(e){return e.OWNER=`Owner`,e.PARTICIPANT=`Participant`,e.VISITOR=`Visitor`,e.NONE=`None`,e}({}),g=(r=(0,t.Entity)(`memberships`),i=(0,t.Index)([`userId`,`organizationId`],{unique:!0}),a=(0,t.Column)({type:`varchar`}),o=(0,t.Column)({type:`varchar`}),s=(0,t.Column)({type:`varchar`,default:h.NONE}),r(c=i(c=(l=class extends e.BaseEntity{constructor(...e){super(...e),p(this,`userId`,u,this),p(this,`organizationId`,d,this),p(this,`role`,f,this)}},u=m(l.prototype,`userId`,[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=m(l.prototype,`organizationId`,[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=m(l.prototype,`role`,[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l))||c)||c);n.z.object({userId:n.z.string().uuid(),organizationId:n.z.string().uuid(),role:n.z.nativeEnum(h)}),exports.MembershipEntity=g;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { BaseEntity as e } from "../../../packages/sqlite/base/base.entity.esm";
|
|
2
|
+
import { Column as t, Entity as n, Index as r } from "typeorm/browser";
|
|
3
|
+
import { z as i } from "zod";
|
|
4
|
+
//#region src/modules/memberships/entities/membership.entity.ts
|
|
5
|
+
var a, o, s, c, l, u, d, f, p, m;
|
|
6
|
+
function h(e, t, n, r) {
|
|
7
|
+
n && Object.defineProperty(e, t, {
|
|
8
|
+
enumerable: n.enumerable,
|
|
9
|
+
configurable: n.configurable,
|
|
10
|
+
writable: n.writable,
|
|
11
|
+
value: n.initializer ? n.initializer.call(r) : void 0
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
function g(e, t, n, r, i) {
|
|
15
|
+
var a = {};
|
|
16
|
+
return Object.keys(r).forEach(function(e) {
|
|
17
|
+
a[e] = r[e];
|
|
18
|
+
}), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, ("value" in a || a.initializer) && (a.writable = !0), a = n.slice().reverse().reduce(function(n, r) {
|
|
19
|
+
return r(e, t, n) || n;
|
|
20
|
+
}, a), i && a.initializer !== void 0 && (a.value = a.initializer ? a.initializer.call(i) : void 0, a.initializer = void 0), a.initializer === void 0 ? (Object.defineProperty(e, t, a), null) : a;
|
|
21
|
+
}
|
|
22
|
+
var _ = /* @__PURE__ */ function(e) {
|
|
23
|
+
return e.OWNER = "Owner", e.PARTICIPANT = "Participant", e.VISITOR = "Visitor", e.NONE = "None", e;
|
|
24
|
+
}({}), v = (a = n("memberships"), o = r(["userId", "organizationId"], { unique: !0 }), s = t({ type: "varchar" }), c = t({ type: "varchar" }), l = t({
|
|
25
|
+
type: "varchar",
|
|
26
|
+
default: _.NONE
|
|
27
|
+
}), a(u = o(u = (d = class extends e {
|
|
28
|
+
constructor(...e) {
|
|
29
|
+
super(...e), h(this, "userId", f, this), h(this, "organizationId", p, this), h(this, "role", m, this);
|
|
30
|
+
}
|
|
31
|
+
}, f = g(d.prototype, "userId", [s], {
|
|
32
|
+
configurable: !0,
|
|
33
|
+
enumerable: !0,
|
|
34
|
+
writable: !0,
|
|
35
|
+
initializer: null
|
|
36
|
+
}), p = g(d.prototype, "organizationId", [c], {
|
|
37
|
+
configurable: !0,
|
|
38
|
+
enumerable: !0,
|
|
39
|
+
writable: !0,
|
|
40
|
+
initializer: null
|
|
41
|
+
}), m = g(d.prototype, "role", [l], {
|
|
42
|
+
configurable: !0,
|
|
43
|
+
enumerable: !0,
|
|
44
|
+
writable: !0,
|
|
45
|
+
initializer: null
|
|
46
|
+
}), d)) || u) || u);
|
|
47
|
+
i.object({
|
|
48
|
+
userId: i.string().uuid(),
|
|
49
|
+
organizationId: i.string().uuid(),
|
|
50
|
+
role: i.nativeEnum(_)
|
|
51
|
+
});
|
|
52
|
+
//#endregion
|
|
53
|
+
export { v as MembershipEntity };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require(`../../../_virtual/_rolldown/runtime.cjs`);const e=require(`../../../packages/sqlite/base/base.entity.cjs`);let t=require(`typeorm/browser`),n=require(`zod`);var r,i,a,o,s,c,l,u,d,f,p,m,h,g;function _(e,t,n,r){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})}function v(e,t,n,r,i){var a={};return Object.keys(r).forEach(function(e){a[e]=r[e]}),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,(`value`in a||a.initializer)&&(a.writable=!0),a=n.slice().reverse().reduce(function(n,r){return r(e,t,n)||n},a),i&&a.initializer!==void 0&&(a.value=a.initializer?a.initializer.call(i):void 0,a.initializer=void 0),a.initializer===void 0?(Object.defineProperty(e,t,a),null):a}var y=(r=(0,t.Entity)(`organizations`),i=(0,t.Column)({type:`varchar`,length:150}),a=(0,t.Column)({type:`varchar`,length:150,nullable:!0}),o=(0,t.Column)({type:`text`,nullable:!0}),s=(0,t.ManyToOne)(()=>y,{nullable:!0,onDelete:`SET NULL`}),c=(0,t.JoinColumn)({name:`parentId`}),l=(0,t.Column)({type:`varchar`,nullable:!0}),r(u=(d=class extends e.BaseEntity{constructor(...e){super(...e),_(this,`name`,f,this),_(this,`contactEmail`,p,this),_(this,`description`,m,this),_(this,`parent`,h,this),_(this,`parentId`,g,this)}},f=v(d.prototype,`name`,[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=v(d.prototype,`contactEmail`,[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=v(d.prototype,`description`,[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=v(d.prototype,`parent`,[s,c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=v(d.prototype,`parentId`,[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d))||u);n.z.object({name:n.z.string().min(1,`El nombre es requerido`).max(150),contactEmail:n.z.string().email(`Correo electrónico inválido`).max(150).nullable().optional().or(n.z.literal(``)),description:n.z.string().max(1e3).nullable().optional(),parentId:n.z.string().uuid().nullable().optional()}),exports.OrganizationEntity=y;
|