@xxmachina/common 19.0.0-preview.9 → 19.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_shared/auth/index.d.ts +8 -1
- package/_shared/auth/passports/anonymous/index.d.ts +8 -1
- package/_shared/auth/passports/firebase/index.d.ts +19 -2
- package/_shared/auth/passports/internal/index.d.ts +17 -1
- package/_shared/auth/passports/msal/index.d.ts +26 -2
- package/_shared/meta/index.d.ts +8 -0
- package/_shared/meta/redis/index.d.ts +39 -2
- package/auth/index.d.ts +16 -1
- package/azure-auth/index.d.ts +41 -2
- package/domain/builder/index.d.ts +81 -0
- package/domain/builder/screen-item/index.d.ts +7 -1
- package/domain/index.d.ts +2 -1
- package/domain/models/index.d.ts +377 -13
- package/fesm2022/xxmachina-common-_shared-auth-passports-anonymous.mjs +20 -0
- package/fesm2022/xxmachina-common-_shared-auth-passports-anonymous.mjs.map +1 -0
- package/fesm2022/xxmachina-common-_shared-auth-passports-firebase.mjs +41 -0
- package/fesm2022/xxmachina-common-_shared-auth-passports-firebase.mjs.map +1 -0
- package/fesm2022/xxmachina-common-_shared-auth-passports-internal.mjs +34 -0
- package/fesm2022/xxmachina-common-_shared-auth-passports-internal.mjs.map +1 -0
- package/fesm2022/xxmachina-common-_shared-auth-passports-msal.mjs +49 -0
- package/fesm2022/xxmachina-common-_shared-auth-passports-msal.mjs.map +1 -0
- package/fesm2022/xxmachina-common-_shared-auth.mjs +25 -0
- package/fesm2022/xxmachina-common-_shared-auth.mjs.map +1 -0
- package/fesm2022/xxmachina-common-_shared-meta-redis.mjs +99 -0
- package/fesm2022/xxmachina-common-_shared-meta-redis.mjs.map +1 -0
- package/fesm2022/xxmachina-common-_shared-meta.mjs +26 -0
- package/fesm2022/xxmachina-common-_shared-meta.mjs.map +1 -0
- package/fesm2022/xxmachina-common-auth.mjs +17 -0
- package/fesm2022/xxmachina-common-auth.mjs.map +1 -0
- package/fesm2022/xxmachina-common-azure-auth.mjs +160 -0
- package/fesm2022/xxmachina-common-azure-auth.mjs.map +1 -0
- package/{domain/builder/screen-item/screen-item.builder.js → fesm2022/xxmachina-common-domain-builder-screen-item.mjs} +10 -11
- package/fesm2022/xxmachina-common-domain-builder-screen-item.mjs.map +1 -0
- package/fesm2022/xxmachina-common-domain-builder.mjs +494 -0
- package/fesm2022/xxmachina-common-domain-builder.mjs.map +1 -0
- package/fesm2022/xxmachina-common-domain-models.mjs +842 -0
- package/fesm2022/xxmachina-common-domain-models.mjs.map +1 -0
- package/fesm2022/xxmachina-common-domain.mjs +7 -0
- package/fesm2022/xxmachina-common-domain.mjs.map +1 -0
- package/fesm2022/xxmachina-common-firebase-auth.mjs +36 -0
- package/fesm2022/xxmachina-common-firebase-auth.mjs.map +1 -0
- package/fesm2022/xxmachina-common-infra-converters-google.mjs +39 -0
- package/fesm2022/xxmachina-common-infra-converters-google.mjs.map +1 -0
- package/fesm2022/xxmachina-common-infra-external-data-connect.mjs +13 -0
- package/fesm2022/xxmachina-common-infra-external-data-connect.mjs.map +1 -0
- package/fesm2022/xxmachina-common-infra-external-quick-js.mjs +61 -0
- package/fesm2022/xxmachina-common-infra-external-quick-js.mjs.map +1 -0
- package/fesm2022/xxmachina-common-infra-external-resend.mjs +10 -0
- package/fesm2022/xxmachina-common-infra-external-resend.mjs.map +1 -0
- package/fesm2022/xxmachina-common-infra-external.mjs +36 -0
- package/fesm2022/xxmachina-common-infra-external.mjs.map +1 -0
- package/fesm2022/xxmachina-common-infra-query-firestore.mjs +34 -0
- package/fesm2022/xxmachina-common-infra-query-firestore.mjs.map +1 -0
- package/fesm2022/xxmachina-common-infra-query-hasura.mjs +20 -0
- package/fesm2022/xxmachina-common-infra-query-hasura.mjs.map +1 -0
- package/fesm2022/xxmachina-common-infra-repository-dataconnect.mjs +18 -0
- package/fesm2022/xxmachina-common-infra-repository-dataconnect.mjs.map +1 -0
- package/fesm2022/xxmachina-common-infra-repository-firestore.mjs +74 -0
- package/fesm2022/xxmachina-common-infra-repository-firestore.mjs.map +1 -0
- package/fesm2022/xxmachina-common-infra-repository-hasura.mjs +41 -0
- package/fesm2022/xxmachina-common-infra-repository-hasura.mjs.map +1 -0
- package/fesm2022/xxmachina-common-infra-repository-notion.mjs +113 -0
- package/fesm2022/xxmachina-common-infra-repository-notion.mjs.map +1 -0
- package/fesm2022/xxmachina-common-infra.mjs +378 -0
- package/fesm2022/xxmachina-common-infra.mjs.map +1 -0
- package/fesm2022/xxmachina-common-invoice-domain-builders.mjs +79 -0
- package/fesm2022/xxmachina-common-invoice-domain-builders.mjs.map +1 -0
- package/fesm2022/xxmachina-common-invoice-domain-models.mjs +428 -0
- package/fesm2022/xxmachina-common-invoice-domain-models.mjs.map +1 -0
- package/fesm2022/xxmachina-common-invoice-domain-resolvers.mjs +41 -0
- package/fesm2022/xxmachina-common-invoice-domain-resolvers.mjs.map +1 -0
- package/fesm2022/xxmachina-common-invoice-domain.mjs +8 -0
- package/fesm2022/xxmachina-common-invoice-domain.mjs.map +1 -0
- package/fesm2022/xxmachina-common-invoice-usecase-contract.mjs +27 -0
- package/fesm2022/xxmachina-common-invoice-usecase-contract.mjs.map +1 -0
- package/fesm2022/xxmachina-common-invoice-usecase-invoice.mjs +191 -0
- package/fesm2022/xxmachina-common-invoice-usecase-invoice.mjs.map +1 -0
- package/fesm2022/xxmachina-common-invoice-usecase-order.mjs +36 -0
- package/fesm2022/xxmachina-common-invoice-usecase-order.mjs.map +1 -0
- package/fesm2022/xxmachina-common-invoice-usecase-partner.mjs +36 -0
- package/fesm2022/xxmachina-common-invoice-usecase-partner.mjs.map +1 -0
- package/fesm2022/xxmachina-common-services-graphql.mjs +60 -0
- package/fesm2022/xxmachina-common-services-graphql.mjs.map +1 -0
- package/fesm2022/xxmachina-common-services-query-config.mjs +44 -0
- package/fesm2022/xxmachina-common-services-query-config.mjs.map +1 -0
- package/fesm2022/xxmachina-common-services-query.mjs +65 -0
- package/fesm2022/xxmachina-common-services-query.mjs.map +1 -0
- package/fesm2022/xxmachina-common-services-speech.mjs +178 -0
- package/fesm2022/xxmachina-common-services-speech.mjs.map +1 -0
- package/fesm2022/xxmachina-common-services-transformer.mjs +27 -0
- package/fesm2022/xxmachina-common-services-transformer.mjs.map +1 -0
- package/fesm2022/xxmachina-common-stores-firestore.mjs +33 -0
- package/fesm2022/xxmachina-common-stores-firestore.mjs.map +1 -0
- package/fesm2022/xxmachina-common-stores-hasura.mjs +32 -0
- package/fesm2022/xxmachina-common-stores-hasura.mjs.map +1 -0
- package/fesm2022/xxmachina-common-stores-inmemory.mjs +102 -0
- package/fesm2022/xxmachina-common-stores-inmemory.mjs.map +1 -0
- package/fesm2022/xxmachina-common-stores.mjs +16 -0
- package/fesm2022/xxmachina-common-stores.mjs.map +1 -0
- package/fesm2022/xxmachina-common-usecase-assistant.mjs +67 -0
- package/fesm2022/xxmachina-common-usecase-assistant.mjs.map +1 -0
- package/fesm2022/xxmachina-common-usecase-database.mjs +95 -0
- package/fesm2022/xxmachina-common-usecase-database.mjs.map +1 -0
- package/fesm2022/xxmachina-common-usecase-graphql.mjs +51 -0
- package/fesm2022/xxmachina-common-usecase-graphql.mjs.map +1 -0
- package/fesm2022/xxmachina-common-usecase-link.mjs +26 -0
- package/fesm2022/xxmachina-common-usecase-link.mjs.map +1 -0
- package/fesm2022/xxmachina-common-usecase-project.mjs +35 -0
- package/fesm2022/xxmachina-common-usecase-project.mjs.map +1 -0
- package/fesm2022/xxmachina-common-usecase-spec.mjs +45 -0
- package/fesm2022/xxmachina-common-usecase-spec.mjs.map +1 -0
- package/fesm2022/xxmachina-common-usecase.mjs +198 -0
- package/fesm2022/xxmachina-common-usecase.mjs.map +1 -0
- package/{utils/crypto.js → fesm2022/xxmachina-common-utils-crypto.mjs} +10 -12
- package/fesm2022/xxmachina-common-utils-crypto.mjs.map +1 -0
- package/{utils/extract-display-fields.js → fesm2022/xxmachina-common-utils.mjs} +7 -4
- package/fesm2022/xxmachina-common-utils.mjs.map +1 -0
- package/fesm2022/xxmachina-common.mjs +6 -0
- package/fesm2022/xxmachina-common.mjs.map +1 -0
- package/firebase-auth/index.d.ts +6 -0
- package/index.d.ts +1 -0
- package/infra/converters/google/index.d.ts +17 -0
- package/infra/external/data-connect/index.d.ts +7 -0
- package/infra/external/index.d.ts +24 -0
- package/infra/external/quick-js/index.d.ts +24 -0
- package/infra/external/resend/index.d.ts +16 -0
- package/infra/index.d.ts +218 -0
- package/infra/query/firestore/index.d.ts +20 -0
- package/infra/query/hasura/index.d.ts +9 -0
- package/infra/repository/dataconnect/index.d.ts +28 -0
- package/infra/repository/firestore/index.d.ts +42 -0
- package/infra/repository/hasura/index.d.ts +24 -0
- package/infra/repository/notion/index.d.ts +101 -0
- package/invoice/domain/builders/index.d.ts +31 -0
- package/invoice/domain/index.d.ts +3 -0
- package/invoice/domain/models/index.d.ts +78 -0
- package/{domain/resolvers/invoice.resolver.d.ts → invoice/domain/resolvers/index.d.ts} +6 -2
- package/invoice/usecase/contract/index.d.ts +14 -0
- package/invoice/usecase/invoice/index.d.ts +34 -0
- package/invoice/usecase/order/index.d.ts +16 -0
- package/invoice/usecase/partner/index.d.ts +16 -0
- package/package.json +238 -14
- package/services/graphql/index.d.ts +32 -0
- package/services/query/config/index.d.ts +18 -0
- package/services/query/index.d.ts +29 -0
- package/services/speech/index.d.ts +37 -0
- package/services/transformer/index.d.ts +14 -0
- package/stores/firestore/index.d.ts +17 -0
- package/stores/hasura/index.d.ts +17 -0
- package/stores/index.d.ts +22 -40
- package/stores/inmemory/index.d.ts +33 -0
- package/usecase/assistant/index.d.ts +18 -1
- package/usecase/database/index.d.ts +39 -1
- package/usecase/graphql/index.d.ts +17 -1
- package/usecase/index.d.ts +73 -1
- package/usecase/link/index.d.ts +13 -1
- package/usecase/project/index.d.ts +16 -1
- package/usecase/spec/index.d.ts +17 -1
- package/utils/crypto/index.d.ts +9 -0
- package/utils/index.d.ts +5 -1
- package/README.md +0 -11
- package/_shared/auth/auth.module.d.ts +0 -6
- package/_shared/auth/auth.module.js +0 -22
- package/_shared/auth/auth.module.js.map +0 -1
- package/_shared/auth/index.js +0 -5
- package/_shared/auth/index.js.map +0 -1
- package/_shared/auth/passports/anonymous/anonymous.strategy.d.ts +0 -6
- package/_shared/auth/passports/anonymous/anonymous.strategy.js +0 -19
- package/_shared/auth/passports/anonymous/anonymous.strategy.js.map +0 -1
- package/_shared/auth/passports/anonymous/index.js +0 -5
- package/_shared/auth/passports/anonymous/index.js.map +0 -1
- package/_shared/auth/passports/firebase/firebase.guard.d.ts +0 -6
- package/_shared/auth/passports/firebase/firebase.guard.js +0 -23
- package/_shared/auth/passports/firebase/firebase.guard.js.map +0 -1
- package/_shared/auth/passports/firebase/firebase.strategy.d.ts +0 -10
- package/_shared/auth/passports/firebase/firebase.strategy.js +0 -22
- package/_shared/auth/passports/firebase/firebase.strategy.js.map +0 -1
- package/_shared/auth/passports/firebase/index.js +0 -6
- package/_shared/auth/passports/firebase/index.js.map +0 -1
- package/_shared/auth/passports/internal/index.js +0 -5
- package/_shared/auth/passports/internal/index.js.map +0 -1
- package/_shared/auth/passports/internal/internal.strategy.d.ts +0 -14
- package/_shared/auth/passports/internal/internal.strategy.js +0 -33
- package/_shared/auth/passports/internal/internal.strategy.js.map +0 -1
- package/_shared/auth/passports/msal/index.js +0 -6
- package/_shared/auth/passports/msal/index.js.map +0 -1
- package/_shared/auth/passports/msal/msal.guard.d.ts +0 -4
- package/_shared/auth/passports/msal/msal.guard.js +0 -13
- package/_shared/auth/passports/msal/msal.guard.js.map +0 -1
- package/_shared/auth/passports/msal/msal.strategy.d.ts +0 -17
- package/_shared/auth/passports/msal/msal.strategy.js +0 -43
- package/_shared/auth/passports/msal/msal.strategy.js.map +0 -1
- package/_shared/meta/decorators.d.ts +0 -4
- package/_shared/meta/decorators.js +0 -25
- package/_shared/meta/decorators.js.map +0 -1
- package/_shared/meta/redis/index.js +0 -6
- package/_shared/meta/redis/index.js.map +0 -1
- package/_shared/meta/redis/redis.config.d.ts +0 -9
- package/_shared/meta/redis/redis.config.js +0 -10
- package/_shared/meta/redis/redis.config.js.map +0 -1
- package/_shared/meta/redis/redis.repository.d.ts +0 -23
- package/_shared/meta/redis/redis.repository.js +0 -108
- package/_shared/meta/redis/redis.repository.js.map +0 -1
- package/auth/auth.service.d.ts +0 -10
- package/auth/auth.service.js +0 -12
- package/auth/auth.service.js.map +0 -1
- package/auth/index.js +0 -5
- package/auth/index.js.map +0 -1
- package/azure-auth/auth.di.d.ts +0 -4
- package/azure-auth/auth.di.js +0 -56
- package/azure-auth/auth.di.js.map +0 -1
- package/azure-auth/auth.service.d.ts +0 -32
- package/azure-auth/auth.service.js +0 -115
- package/azure-auth/auth.service.js.map +0 -1
- package/azure-auth/index.js +0 -6
- package/azure-auth/index.js.map +0 -1
- package/domain/builder/command/command.builder.d.ts +0 -5
- package/domain/builder/command/command.builder.js +0 -30
- package/domain/builder/command/command.builder.js.map +0 -1
- package/domain/builder/command/index.d.ts +0 -1
- package/domain/builder/command/index.js +0 -5
- package/domain/builder/command/index.js.map +0 -1
- package/domain/builder/command-action/command-action.builder.d.ts +0 -40
- package/domain/builder/command-action/command-action.builder.js +0 -139
- package/domain/builder/command-action/command-action.builder.js.map +0 -1
- package/domain/builder/command-action/index.d.ts +0 -1
- package/domain/builder/command-action/index.js +0 -5
- package/domain/builder/command-action/index.js.map +0 -1
- package/domain/builder/er/er.builder.d.ts +0 -19
- package/domain/builder/er/er.builder.js +0 -112
- package/domain/builder/er/er.builder.js.map +0 -1
- package/domain/builder/er/index.d.ts +0 -1
- package/domain/builder/er/index.js +0 -5
- package/domain/builder/er/index.js.map +0 -1
- package/domain/builder/screen-item/index.js +0 -5
- package/domain/builder/screen-item/index.js.map +0 -1
- package/domain/builder/screen-item/screen-item.builder.d.ts +0 -5
- package/domain/builder/screen-item/screen-item.builder.js.map +0 -1
- package/domain/index.js +0 -5
- package/domain/index.js.map +0 -1
- package/domain/invoice/builders/email/email.builder.d.ts +0 -18
- package/domain/invoice/builders/email/email.builder.js +0 -29
- package/domain/invoice/builders/email/email.builder.js.map +0 -1
- package/domain/invoice/builders/email/index.d.ts +0 -1
- package/domain/invoice/builders/email/index.js +0 -5
- package/domain/invoice/builders/email/index.js.map +0 -1
- package/domain/invoice/builders/message/index.d.ts +0 -1
- package/domain/invoice/builders/message/index.js +0 -5
- package/domain/invoice/builders/message/index.js.map +0 -1
- package/domain/invoice/builders/message/message.builder.d.ts +0 -6
- package/domain/invoice/builders/message/message.builder.js +0 -43
- package/domain/invoice/builders/message/message.builder.js.map +0 -1
- package/domain/invoice/builders/title/index.d.ts +0 -1
- package/domain/invoice/builders/title/index.js +0 -5
- package/domain/invoice/builders/title/index.js.map +0 -1
- package/domain/invoice/builders/title/title.builder.d.ts +0 -4
- package/domain/invoice/builders/title/title.builder.js +0 -11
- package/domain/invoice/builders/title/title.builder.js.map +0 -1
- package/domain/invoice/models/backoffice/contract.d.ts +0 -10
- package/domain/invoice/models/backoffice/contract.js +0 -50
- package/domain/invoice/models/backoffice/contract.js.map +0 -1
- package/domain/invoice/models/backoffice/index.d.ts +0 -5
- package/domain/invoice/models/backoffice/index.js +0 -9
- package/domain/invoice/models/backoffice/index.js.map +0 -1
- package/domain/invoice/models/backoffice/invoice-mail.d.ts +0 -8
- package/domain/invoice/models/backoffice/invoice-mail.js +0 -7
- package/domain/invoice/models/backoffice/invoice-mail.js.map +0 -1
- package/domain/invoice/models/backoffice/invoice.d.ts +0 -19
- package/domain/invoice/models/backoffice/invoice.js +0 -91
- package/domain/invoice/models/backoffice/invoice.js.map +0 -1
- package/domain/invoice/models/backoffice/order.d.ts +0 -26
- package/domain/invoice/models/backoffice/order.js +0 -157
- package/domain/invoice/models/backoffice/order.js.map +0 -1
- package/domain/invoice/models/backoffice/partner.d.ts +0 -17
- package/domain/invoice/models/backoffice/partner.js +0 -96
- package/domain/invoice/models/backoffice/partner.js.map +0 -1
- package/domain/invoice/models/index.d.ts +0 -1
- package/domain/invoice/models/index.js +0 -5
- package/domain/invoice/models/index.js.map +0 -1
- package/domain/models/agent/assistant.d.ts +0 -9
- package/domain/models/agent/assistant.js +0 -31
- package/domain/models/agent/assistant.js.map +0 -1
- package/domain/models/agent/index.d.ts +0 -1
- package/domain/models/agent/index.js +0 -5
- package/domain/models/agent/index.js.map +0 -1
- package/domain/models/bookmarklet/bookmarklet.d.ts +0 -9
- package/domain/models/bookmarklet/bookmarklet.js +0 -34
- package/domain/models/bookmarklet/bookmarklet.js.map +0 -1
- package/domain/models/bookmarklet/index.d.ts +0 -1
- package/domain/models/bookmarklet/index.js +0 -5
- package/domain/models/bookmarklet/index.js.map +0 -1
- package/domain/models/calendar-utils.d.ts +0 -5
- package/domain/models/calendar-utils.js +0 -43
- package/domain/models/calendar-utils.js.map +0 -1
- package/domain/models/command/command.d.ts +0 -18
- package/domain/models/command/command.helper.d.ts +0 -4
- package/domain/models/command/command.helper.js +0 -14
- package/domain/models/command/command.helper.js.map +0 -1
- package/domain/models/command/command.js +0 -40
- package/domain/models/command/command.js.map +0 -1
- package/domain/models/command/index.d.ts +0 -2
- package/domain/models/command/index.js +0 -6
- package/domain/models/command/index.js.map +0 -1
- package/domain/models/database/database.d.ts +0 -4
- package/domain/models/database/database.js +0 -7
- package/domain/models/database/database.js.map +0 -1
- package/domain/models/database/index.d.ts +0 -1
- package/domain/models/database/index.js +0 -5
- package/domain/models/database/index.js.map +0 -1
- package/domain/models/endpoint/endpoint.helper.d.ts +0 -4
- package/domain/models/endpoint/endpoint.helper.js +0 -21
- package/domain/models/endpoint/endpoint.helper.js.map +0 -1
- package/domain/models/endpoint/index.d.ts +0 -1
- package/domain/models/endpoint/index.js +0 -5
- package/domain/models/endpoint/index.js.map +0 -1
- package/domain/models/index.js +0 -12
- package/domain/models/index.js.map +0 -1
- package/domain/models/links/google/google.d.ts +0 -12
- package/domain/models/links/google/google.js +0 -47
- package/domain/models/links/google/google.js.map +0 -1
- package/domain/models/links/google/index.d.ts +0 -1
- package/domain/models/links/google/index.js +0 -5
- package/domain/models/links/google/index.js.map +0 -1
- package/domain/models/openapi/index.d.ts +0 -2
- package/domain/models/openapi/index.js +0 -6
- package/domain/models/openapi/index.js.map +0 -1
- package/domain/models/openapi/openapi.d.ts +0 -32
- package/domain/models/openapi/openapi.js +0 -87
- package/domain/models/openapi/openapi.js.map +0 -1
- package/domain/models/openapi/openapi.schema.d.ts +0 -76
- package/domain/models/openapi/openapi.schema.js +0 -3
- package/domain/models/openapi/openapi.schema.js.map +0 -1
- package/domain/models/operators/assistancts/base.d.ts +0 -5
- package/domain/models/operators/assistancts/base.js +0 -13
- package/domain/models/operators/assistancts/base.js.map +0 -1
- package/domain/models/operators/assistancts/index.d.ts +0 -1
- package/domain/models/operators/assistancts/index.js +0 -5
- package/domain/models/operators/assistancts/index.js.map +0 -1
- package/domain/models/operators/base.d.ts +0 -13
- package/domain/models/operators/base.js +0 -10
- package/domain/models/operators/base.js.map +0 -1
- package/domain/models/operators/index.d.ts +0 -4
- package/domain/models/operators/index.js +0 -8
- package/domain/models/operators/index.js.map +0 -1
- package/domain/models/operators/systems/base.d.ts +0 -5
- package/domain/models/operators/systems/base.js +0 -3
- package/domain/models/operators/systems/base.js.map +0 -1
- package/domain/models/operators/systems/graphql.d.ts +0 -5
- package/domain/models/operators/systems/graphql.js +0 -3
- package/domain/models/operators/systems/graphql.js.map +0 -1
- package/domain/models/operators/systems/index.d.ts +0 -3
- package/domain/models/operators/systems/index.js +0 -7
- package/domain/models/operators/systems/index.js.map +0 -1
- package/domain/models/operators/systems/rest.d.ts +0 -6
- package/domain/models/operators/systems/rest.js +0 -3
- package/domain/models/operators/systems/rest.js.map +0 -1
- package/domain/models/operators/workflows/index.d.ts +0 -1
- package/domain/models/operators/workflows/index.js +0 -5
- package/domain/models/operators/workflows/index.js.map +0 -1
- package/domain/models/operators/workflows/workflow.d.ts +0 -9
- package/domain/models/operators/workflows/workflow.js +0 -3
- package/domain/models/operators/workflows/workflow.js.map +0 -1
- package/domain/models/project.d.ts +0 -22
- package/domain/models/project.js +0 -9
- package/domain/models/project.js.map +0 -1
- package/domain/models/query/index.d.ts +0 -2
- package/domain/models/query/index.js +0 -6
- package/domain/models/query/index.js.map +0 -1
- package/domain/models/query/query.d.ts +0 -27
- package/domain/models/query/query.helper.d.ts +0 -23
- package/domain/models/query/query.helper.js +0 -172
- package/domain/models/query/query.helper.js.map +0 -1
- package/domain/models/query/query.js +0 -122
- package/domain/models/query/query.js.map +0 -1
- package/domain/models/resource/index.d.ts +0 -2
- package/domain/models/resource/index.js +0 -6
- package/domain/models/resource/index.js.map +0 -1
- package/domain/models/resource/resource.d.ts +0 -15
- package/domain/models/resource/resource.helper.d.ts +0 -4
- package/domain/models/resource/resource.helper.js +0 -16
- package/domain/models/resource/resource.helper.js.map +0 -1
- package/domain/models/resource/resource.js +0 -73
- package/domain/models/resource/resource.js.map +0 -1
- package/domain/models/scheduler/index.d.ts +0 -1
- package/domain/models/scheduler/index.js +0 -5
- package/domain/models/scheduler/index.js.map +0 -1
- package/domain/models/scheduler/schedule.d.ts +0 -23
- package/domain/models/scheduler/schedule.js +0 -89
- package/domain/models/scheduler/schedule.js.map +0 -1
- package/domain/models/screen-item/index.d.ts +0 -1
- package/domain/models/screen-item/index.js +0 -5
- package/domain/models/screen-item/index.js.map +0 -1
- package/domain/models/screen-item/screen-item.d.ts +0 -9
- package/domain/models/screen-item/screen-item.js +0 -3
- package/domain/models/screen-item/screen-item.js.map +0 -1
- package/domain/models/spec.d.ts +0 -7
- package/domain/models/spec.js +0 -3
- package/domain/models/spec.js.map +0 -1
- package/domain/resolvers/index.d.ts +0 -1
- package/domain/resolvers/index.js +0 -5
- package/domain/resolvers/index.js.map +0 -1
- package/domain/resolvers/invoice.resolver.js +0 -31
- package/domain/resolvers/invoice.resolver.js.map +0 -1
- package/infrastructure/converters/bookmarklet/bookmarklet.converter.d.ts +0 -0
- package/infrastructure/converters/bookmarklet/bookmarklet.converter.js +0 -1
- package/infrastructure/converters/bookmarklet/bookmarklet.converter.js.map +0 -1
- package/infrastructure/converters/google/google.converter.d.ts +0 -9
- package/infrastructure/converters/google/google.converter.js +0 -27
- package/infrastructure/converters/google/google.converter.js.map +0 -1
- package/infrastructure/converters/google/index.d.ts +0 -1
- package/infrastructure/converters/google/index.js +0 -5
- package/infrastructure/converters/google/index.js.map +0 -1
- package/infrastructure/external/data-connect/data-connect.service.d.ts +0 -4
- package/infrastructure/external/data-connect/data-connect.service.impl.d.ts +0 -7
- package/infrastructure/external/data-connect/data-connect.service.impl.js +0 -20
- package/infrastructure/external/data-connect/data-connect.service.impl.js.map +0 -1
- package/infrastructure/external/data-connect/data-connect.service.js +0 -11
- package/infrastructure/external/data-connect/data-connect.service.js.map +0 -1
- package/infrastructure/external/data-connect/index.d.ts +0 -1
- package/infrastructure/external/data-connect/index.js +0 -5
- package/infrastructure/external/data-connect/index.js.map +0 -1
- package/infrastructure/external/external.config.d.ts +0 -7
- package/infrastructure/external/external.config.js +0 -13
- package/infrastructure/external/external.config.js.map +0 -1
- package/infrastructure/external/external.service.d.ts +0 -8
- package/infrastructure/external/external.service.js +0 -23
- package/infrastructure/external/external.service.js.map +0 -1
- package/infrastructure/external/index.d.ts +0 -2
- package/infrastructure/external/index.js +0 -6
- package/infrastructure/external/index.js.map +0 -1
- package/infrastructure/external/quick-js/index.d.ts +0 -1
- package/infrastructure/external/quick-js/index.js +0 -5
- package/infrastructure/external/quick-js/index.js.map +0 -1
- package/infrastructure/external/quick-js/quick-js.service.d.ts +0 -7
- package/infrastructure/external/quick-js/quick-js.service.js +0 -44
- package/infrastructure/external/quick-js/quick-js.service.js.map +0 -1
- package/infrastructure/external/resend/index.d.ts +0 -1
- package/infrastructure/external/resend/index.js +0 -5
- package/infrastructure/external/resend/index.js.map +0 -1
- package/infrastructure/external/resend/resend.service.d.ts +0 -9
- package/infrastructure/external/resend/resend.service.impl.d.ts +0 -17
- package/infrastructure/external/resend/resend.service.impl.js +0 -27
- package/infrastructure/external/resend/resend.service.impl.js.map +0 -1
- package/infrastructure/external/resend/resend.service.js +0 -6
- package/infrastructure/external/resend/resend.service.js.map +0 -1
- package/infrastructure/index.d.ts +0 -2
- package/infrastructure/index.js +0 -6
- package/infrastructure/index.js.map +0 -1
- package/infrastructure/infrastructure.config.d.ts +0 -16
- package/infrastructure/infrastructure.config.js +0 -12
- package/infrastructure/infrastructure.config.js.map +0 -1
- package/infrastructure/infrastructure.service.d.ts +0 -7
- package/infrastructure/infrastructure.service.js +0 -20
- package/infrastructure/infrastructure.service.js.map +0 -1
- package/infrastructure/query/firestore/query/index.d.ts +0 -1
- package/infrastructure/query/firestore/query/index.js +0 -5
- package/infrastructure/query/firestore/query/index.js.map +0 -1
- package/infrastructure/query/firestore/query/query.query.d.ts +0 -6
- package/infrastructure/query/firestore/query/query.query.js +0 -20
- package/infrastructure/query/firestore/query/query.query.js.map +0 -1
- package/infrastructure/query/firestore/resource/index.d.ts +0 -1
- package/infrastructure/query/firestore/resource/index.js +0 -5
- package/infrastructure/query/firestore/resource/index.js.map +0 -1
- package/infrastructure/query/firestore/resource/resource.query.d.ts +0 -6
- package/infrastructure/query/firestore/resource/resource.query.js +0 -20
- package/infrastructure/query/firestore/resource/resource.query.js.map +0 -1
- package/infrastructure/query/hasura/resource/index.d.ts +0 -1
- package/infrastructure/query/hasura/resource/index.js +0 -5
- package/infrastructure/query/hasura/resource/index.js.map +0 -1
- package/infrastructure/query/hasura/resource/resource.query.d.ts +0 -3
- package/infrastructure/query/hasura/resource/resource.query.js +0 -14
- package/infrastructure/query/hasura/resource/resource.query.js.map +0 -1
- package/infrastructure/repository/dataconnect/invoice/index.d.ts +0 -1
- package/infrastructure/repository/dataconnect/invoice/index.js +0 -5
- package/infrastructure/repository/dataconnect/invoice/index.js.map +0 -1
- package/infrastructure/repository/dataconnect/invoice/invoice.repository.d.ts +0 -4
- package/infrastructure/repository/dataconnect/invoice/invoice.repository.impl.d.ts +0 -10
- package/infrastructure/repository/dataconnect/invoice/invoice.repository.impl.js +0 -54
- package/infrastructure/repository/dataconnect/invoice/invoice.repository.impl.js.map +0 -1
- package/infrastructure/repository/dataconnect/invoice/invoice.repository.js +0 -11
- package/infrastructure/repository/dataconnect/invoice/invoice.repository.js.map +0 -1
- package/infrastructure/repository/dataconnect/order/index.d.ts +0 -1
- package/infrastructure/repository/dataconnect/order/index.js +0 -5
- package/infrastructure/repository/dataconnect/order/index.js.map +0 -1
- package/infrastructure/repository/dataconnect/order/order.repository.d.ts +0 -4
- package/infrastructure/repository/dataconnect/order/order.repository.impl.d.ts +0 -14
- package/infrastructure/repository/dataconnect/order/order.repository.impl.js +0 -74
- package/infrastructure/repository/dataconnect/order/order.repository.impl.js.map +0 -1
- package/infrastructure/repository/dataconnect/order/order.repository.js +0 -11
- package/infrastructure/repository/dataconnect/order/order.repository.js.map +0 -1
- package/infrastructure/repository/firestore/bookmarklet/bookmarklet.repository.d.ts +0 -6
- package/infrastructure/repository/firestore/bookmarklet/bookmarklet.repository.js +0 -20
- package/infrastructure/repository/firestore/bookmarklet/bookmarklet.repository.js.map +0 -1
- package/infrastructure/repository/firestore/bookmarklet/index.d.ts +0 -1
- package/infrastructure/repository/firestore/bookmarklet/index.js +0 -5
- package/infrastructure/repository/firestore/bookmarklet/index.js.map +0 -1
- package/infrastructure/repository/firestore/firestore.repository.d.ts +0 -7
- package/infrastructure/repository/firestore/firestore.repository.js +0 -20
- package/infrastructure/repository/firestore/firestore.repository.js.map +0 -1
- package/infrastructure/repository/firestore/index.d.ts +0 -1
- package/infrastructure/repository/firestore/index.js +0 -5
- package/infrastructure/repository/firestore/index.js.map +0 -1
- package/infrastructure/repository/firestore/link/google/google.repository.d.ts +0 -7
- package/infrastructure/repository/firestore/link/google/google.repository.js +0 -19
- package/infrastructure/repository/firestore/link/google/google.repository.js.map +0 -1
- package/infrastructure/repository/firestore/link/google/index.d.ts +0 -1
- package/infrastructure/repository/firestore/link/google/index.js +0 -5
- package/infrastructure/repository/firestore/link/google/index.js.map +0 -1
- package/infrastructure/repository/firestore/link/index.d.ts +0 -1
- package/infrastructure/repository/firestore/link/index.js +0 -5
- package/infrastructure/repository/firestore/link/index.js.map +0 -1
- package/infrastructure/repository/firestore/link/link.repository.d.ts +0 -5
- package/infrastructure/repository/firestore/link/link.repository.js +0 -17
- package/infrastructure/repository/firestore/link/link.repository.js.map +0 -1
- package/infrastructure/repository/firestore/query/index.d.ts +0 -1
- package/infrastructure/repository/firestore/query/index.js +0 -5
- package/infrastructure/repository/firestore/query/index.js.map +0 -1
- package/infrastructure/repository/firestore/query/query.repository.d.ts +0 -6
- package/infrastructure/repository/firestore/query/query.repository.js +0 -20
- package/infrastructure/repository/firestore/query/query.repository.js.map +0 -1
- package/infrastructure/repository/firestore/resource/index.d.ts +0 -1
- package/infrastructure/repository/firestore/resource/index.js +0 -5
- package/infrastructure/repository/firestore/resource/index.js.map +0 -1
- package/infrastructure/repository/firestore/resource/resource.repository.d.ts +0 -6
- package/infrastructure/repository/firestore/resource/resource.repository.js +0 -20
- package/infrastructure/repository/firestore/resource/resource.repository.js.map +0 -1
- package/infrastructure/repository/hasura/query/index.d.ts +0 -1
- package/infrastructure/repository/hasura/query/index.js +0 -5
- package/infrastructure/repository/hasura/query/index.js.map +0 -1
- package/infrastructure/repository/hasura/query/query.repository.d.ts +0 -8
- package/infrastructure/repository/hasura/query/query.repository.js +0 -23
- package/infrastructure/repository/hasura/query/query.repository.js.map +0 -1
- package/infrastructure/repository/hasura/resource/index.d.ts +0 -1
- package/infrastructure/repository/hasura/resource/index.js +0 -5
- package/infrastructure/repository/hasura/resource/index.js.map +0 -1
- package/infrastructure/repository/hasura/resource/resource.repository.d.ts +0 -8
- package/infrastructure/repository/hasura/resource/resource.repository.js +0 -23
- package/infrastructure/repository/hasura/resource/resource.repository.js.map +0 -1
- package/infrastructure/repository/index.d.ts +0 -2
- package/infrastructure/repository/index.js +0 -6
- package/infrastructure/repository/index.js.map +0 -1
- package/infrastructure/repository/notion/contract/contract.config.d.ts +0 -9
- package/infrastructure/repository/notion/contract/contract.config.js +0 -10
- package/infrastructure/repository/notion/contract/contract.config.js.map +0 -1
- package/infrastructure/repository/notion/contract/contract.repository.d.ts +0 -8
- package/infrastructure/repository/notion/contract/contract.repository.js +0 -22
- package/infrastructure/repository/notion/contract/contract.repository.js.map +0 -1
- package/infrastructure/repository/notion/contract/index.d.ts +0 -2
- package/infrastructure/repository/notion/contract/index.js +0 -6
- package/infrastructure/repository/notion/contract/index.js.map +0 -1
- package/infrastructure/repository/notion/index.d.ts +0 -2
- package/infrastructure/repository/notion/index.js +0 -6
- package/infrastructure/repository/notion/index.js.map +0 -1
- package/infrastructure/repository/notion/invoice/index.d.ts +0 -2
- package/infrastructure/repository/notion/invoice/index.js +0 -6
- package/infrastructure/repository/notion/invoice/index.js.map +0 -1
- package/infrastructure/repository/notion/invoice/invoice.config.d.ts +0 -9
- package/infrastructure/repository/notion/invoice/invoice.config.js +0 -10
- package/infrastructure/repository/notion/invoice/invoice.config.js.map +0 -1
- package/infrastructure/repository/notion/invoice/invoice.repository.d.ts +0 -8
- package/infrastructure/repository/notion/invoice/invoice.repository.js +0 -22
- package/infrastructure/repository/notion/invoice/invoice.repository.js.map +0 -1
- package/infrastructure/repository/notion/notion.config.d.ts +0 -17
- package/infrastructure/repository/notion/notion.config.js +0 -18
- package/infrastructure/repository/notion/notion.config.js.map +0 -1
- package/infrastructure/repository/notion/notion.repository.d.ts +0 -11
- package/infrastructure/repository/notion/notion.repository.js +0 -26
- package/infrastructure/repository/notion/notion.repository.js.map +0 -1
- package/infrastructure/repository/notion/order/index.d.ts +0 -1
- package/infrastructure/repository/notion/order/index.js +0 -5
- package/infrastructure/repository/notion/order/index.js.map +0 -1
- package/infrastructure/repository/notion/order/order.config.d.ts +0 -9
- package/infrastructure/repository/notion/order/order.config.js +0 -10
- package/infrastructure/repository/notion/order/order.config.js.map +0 -1
- package/infrastructure/repository/notion/order/order.repository.d.ts +0 -8
- package/infrastructure/repository/notion/order/order.repository.js +0 -22
- package/infrastructure/repository/notion/order/order.repository.js.map +0 -1
- package/infrastructure/repository/notion/partner/index.d.ts +0 -2
- package/infrastructure/repository/notion/partner/index.js +0 -6
- package/infrastructure/repository/notion/partner/index.js.map +0 -1
- package/infrastructure/repository/notion/partner/partner.config.d.ts +0 -9
- package/infrastructure/repository/notion/partner/partner.config.js +0 -10
- package/infrastructure/repository/notion/partner/partner.config.js.map +0 -1
- package/infrastructure/repository/notion/partner/partner.repository.d.ts +0 -8
- package/infrastructure/repository/notion/partner/partner.repository.js +0 -22
- package/infrastructure/repository/notion/partner/partner.repository.js.map +0 -1
- package/infrastructure/repository/redis/index.d.ts +0 -2
- package/infrastructure/repository/redis/index.js +0 -6
- package/infrastructure/repository/redis/index.js.map +0 -1
- package/infrastructure/repository/redis/operator/index.d.ts +0 -1
- package/infrastructure/repository/redis/operator/index.js +0 -5
- package/infrastructure/repository/redis/operator/index.js.map +0 -1
- package/infrastructure/repository/redis/operator/operator.repository.d.ts +0 -5
- package/infrastructure/repository/redis/operator/operator.repository.js +0 -17
- package/infrastructure/repository/redis/operator/operator.repository.js.map +0 -1
- package/infrastructure/repository/redis/project/index.d.ts +0 -1
- package/infrastructure/repository/redis/project/index.js +0 -5
- package/infrastructure/repository/redis/project/index.js.map +0 -1
- package/infrastructure/repository/redis/project/project.repository.d.ts +0 -19
- package/infrastructure/repository/redis/project/project.repository.js +0 -33
- package/infrastructure/repository/redis/project/project.repository.js.map +0 -1
- package/infrastructure/repository/redis/redis.config.d.ts +0 -8
- package/infrastructure/repository/redis/redis.config.js +0 -10
- package/infrastructure/repository/redis/redis.config.js.map +0 -1
- package/infrastructure/repository/redis/redis.service.d.ts +0 -10
- package/infrastructure/repository/redis/redis.service.js +0 -22
- package/infrastructure/repository/redis/redis.service.js.map +0 -1
- package/infrastructure/repository/redis/spec/index.d.ts +0 -1
- package/infrastructure/repository/redis/spec/index.js +0 -5
- package/infrastructure/repository/redis/spec/index.js.map +0 -1
- package/infrastructure/repository/redis/spec/spec.repository.d.ts +0 -17
- package/infrastructure/repository/redis/spec/spec.repository.js +0 -94
- package/infrastructure/repository/redis/spec/spec.repository.js.map +0 -1
- package/infrastructure/repository/redis/system/index.d.ts +0 -1
- package/infrastructure/repository/redis/system/index.js +0 -5
- package/infrastructure/repository/redis/system/index.js.map +0 -1
- package/infrastructure/repository/redis/system/system.repository.d.ts +0 -3
- package/infrastructure/repository/redis/system/system.repository.js +0 -15
- package/infrastructure/repository/redis/system/system.repository.js.map +0 -1
- package/infrastructure/repository/repository.config.d.ts +0 -16
- package/infrastructure/repository/repository.config.js +0 -12
- package/infrastructure/repository/repository.config.js.map +0 -1
- package/infrastructure/repository/repository.service.d.ts +0 -8
- package/infrastructure/repository/repository.service.js +0 -20
- package/infrastructure/repository/repository.service.js.map +0 -1
- package/stores/index.js +0 -66
- package/stores/index.js.map +0 -1
- package/usecase/assistant/assistant.service.d.ts +0 -12
- package/usecase/assistant/assistant.service.js +0 -72
- package/usecase/assistant/assistant.service.js.map +0 -1
- package/usecase/assistant/index.js +0 -5
- package/usecase/assistant/index.js.map +0 -1
- package/usecase/database/database.service.d.ts +0 -31
- package/usecase/database/database.service.js +0 -103
- package/usecase/database/database.service.js.map +0 -1
- package/usecase/database/index.js +0 -5
- package/usecase/database/index.js.map +0 -1
- package/usecase/graphql/graphql.service.d.ts +0 -9
- package/usecase/graphql/graphql.service.js +0 -49
- package/usecase/graphql/graphql.service.js.map +0 -1
- package/usecase/graphql/index.js +0 -5
- package/usecase/graphql/index.js.map +0 -1
- package/usecase/index.js +0 -5
- package/usecase/index.js.map +0 -1
- package/usecase/invoice/index.d.ts +0 -1
- package/usecase/invoice/index.js +0 -5
- package/usecase/invoice/index.js.map +0 -1
- package/usecase/invoice/invoice.service.d.ts +0 -27
- package/usecase/invoice/invoice.service.js +0 -69
- package/usecase/invoice/invoice.service.js.map +0 -1
- package/usecase/link/index.js +0 -5
- package/usecase/link/index.js.map +0 -1
- package/usecase/link/link.service.d.ts +0 -7
- package/usecase/link/link.service.js +0 -20
- package/usecase/link/link.service.js.map +0 -1
- package/usecase/order/index.d.ts +0 -1
- package/usecase/order/index.js +0 -5
- package/usecase/order/index.js.map +0 -1
- package/usecase/order/order.service.d.ts +0 -6
- package/usecase/order/order.service.js +0 -27
- package/usecase/order/order.service.js.map +0 -1
- package/usecase/project/index.js +0 -5
- package/usecase/project/index.js.map +0 -1
- package/usecase/project/project.service.d.ts +0 -10
- package/usecase/project/project.service.js +0 -37
- package/usecase/project/project.service.js.map +0 -1
- package/usecase/spec/index.js +0 -5
- package/usecase/spec/index.js.map +0 -1
- package/usecase/spec/spec.service.d.ts +0 -11
- package/usecase/spec/spec.service.js +0 -49
- package/usecase/spec/spec.service.js.map +0 -1
- package/usecase/usecase.service.d.ts +0 -12
- package/usecase/usecase.service.js +0 -24
- package/usecase/usecase.service.js.map +0 -1
- package/utils/crypto.d.ts +0 -7
- package/utils/crypto.js.map +0 -1
- package/utils/extract-display-fields.d.ts +0 -2
- package/utils/extract-display-fields.js.map +0 -1
- package/utils/index.js +0 -5
- package/utils/index.js.map +0 -1
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ResourceFirestoreRepository = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const core_1 = require("@angular/core");
|
|
6
|
-
const repository_1 = require("@nx-ddd/firestore/repository");
|
|
7
|
-
const resource_1 = require("@xxmachina/common/domain/models/resource");
|
|
8
|
-
const firestore_1 = require("@nx-ddd/firestore");
|
|
9
|
-
let ResourceFirestoreRepository = class ResourceFirestoreRepository extends repository_1.FirestoreRepository {
|
|
10
|
-
constructor() {
|
|
11
|
-
super(...arguments);
|
|
12
|
-
this.collectionPath = 'projects/:projectId/resources/:id';
|
|
13
|
-
this.converter = (0, firestore_1.injectConverter)(resource_1.Resource);
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
exports.ResourceFirestoreRepository = ResourceFirestoreRepository;
|
|
17
|
-
exports.ResourceFirestoreRepository = ResourceFirestoreRepository = tslib_1.__decorate([
|
|
18
|
-
(0, core_1.Injectable)({ providedIn: 'root' })
|
|
19
|
-
], ResourceFirestoreRepository);
|
|
20
|
-
//# sourceMappingURL=resource.repository.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resource.repository.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/firestore/resource/resource.repository.ts"],"names":[],"mappings":";;;;AAAA,wCAA2C;AAC3C,6DAAmE;AACnE,uEAAoE;AACpE,iDAAoD;AAG7C,IAAM,2BAA2B,GAAjC,MAAM,2BAA4B,SAAQ,gCAA6B;IAAvE;;QACI,mBAAc,GAAG,mCAAmC,CAAC;QACpD,cAAS,GAAG,IAAA,2BAAe,EAAC,mBAAQ,CAAC,CAAC;IAClD,CAAC;CAAA,CAAA;AAHY,kEAA2B;sCAA3B,2BAA2B;IADvC,IAAA,iBAAU,EAAC,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC;GACtB,2BAA2B,CAGvC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './query.repository';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/hasura/query/index.ts"],"names":[],"mappings":";;;AAAA,6DAAmC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Query } from '@xxmachina/common/domain/models';
|
|
2
|
-
import { HasuraRepository } from '@nx-ddd/hasura';
|
|
3
|
-
export declare class QueryHasuraRepository extends HasuraRepository<Query> {
|
|
4
|
-
readonly tableName = "meta_queries";
|
|
5
|
-
protected converter: import("@nx-ddd/hasura").HasuraConverter<Query>;
|
|
6
|
-
readonly updateColumns: string[];
|
|
7
|
-
get pkey(): string;
|
|
8
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.QueryHasuraRepository = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const core_1 = require("@angular/core");
|
|
6
|
-
const models_1 = require("@xxmachina/common/domain/models");
|
|
7
|
-
const hasura_1 = require("@nx-ddd/hasura");
|
|
8
|
-
let QueryHasuraRepository = class QueryHasuraRepository extends hasura_1.HasuraRepository {
|
|
9
|
-
constructor() {
|
|
10
|
-
super(...arguments);
|
|
11
|
-
this.tableName = 'meta_queries';
|
|
12
|
-
this.converter = (0, hasura_1.makeConverter)(models_1.Query);
|
|
13
|
-
this.updateColumns = (0, hasura_1.getFields)(models_1.Query, { case: 'snake' });
|
|
14
|
-
}
|
|
15
|
-
get pkey() {
|
|
16
|
-
return `queries_pkey`;
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
exports.QueryHasuraRepository = QueryHasuraRepository;
|
|
20
|
-
exports.QueryHasuraRepository = QueryHasuraRepository = tslib_1.__decorate([
|
|
21
|
-
(0, core_1.Injectable)({ providedIn: 'root' })
|
|
22
|
-
], QueryHasuraRepository);
|
|
23
|
-
//# sourceMappingURL=query.repository.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"query.repository.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/hasura/query/query.repository.ts"],"names":[],"mappings":";;;;AAAA,wCAA2C;AAC3C,4DAAwD;AACxD,2CAA4E;AAGrE,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,yBAAuB;IAA3D;;QACI,cAAS,GAAG,cAAc,CAAC;QAC1B,cAAS,GAAG,IAAA,sBAAa,EAAC,cAAK,CAAC,CAAC;QAClC,kBAAa,GAAG,IAAA,kBAAS,EAAC,cAAK,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC;IAK/D,CAAC;IAHC,IAAI,IAAI;QACN,OAAO,cAAc,CAAC;IACxB,CAAC;CACF,CAAA;AARY,sDAAqB;gCAArB,qBAAqB;IADjC,IAAA,iBAAU,EAAC,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC;GACtB,qBAAqB,CAQjC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './resource.repository';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/hasura/resource/index.ts"],"names":[],"mappings":";;;AAAA,gEAAsC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Resource } from '@xxmachina/common/domain/models';
|
|
2
|
-
import { HasuraRepository } from '@nx-ddd/hasura';
|
|
3
|
-
export declare class ResourceHasuraRepository extends HasuraRepository<Resource> {
|
|
4
|
-
readonly tableName = "meta_resources";
|
|
5
|
-
protected converter: import("@nx-ddd/hasura").HasuraConverter<Resource>;
|
|
6
|
-
readonly updateColumns: string[];
|
|
7
|
-
get pkey(): string;
|
|
8
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ResourceHasuraRepository = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const core_1 = require("@angular/core");
|
|
6
|
-
const models_1 = require("@xxmachina/common/domain/models");
|
|
7
|
-
const hasura_1 = require("@nx-ddd/hasura");
|
|
8
|
-
let ResourceHasuraRepository = class ResourceHasuraRepository extends hasura_1.HasuraRepository {
|
|
9
|
-
constructor() {
|
|
10
|
-
super(...arguments);
|
|
11
|
-
this.tableName = 'meta_resources';
|
|
12
|
-
this.converter = (0, hasura_1.makeConverter)(models_1.Resource);
|
|
13
|
-
this.updateColumns = (0, hasura_1.getFields)(models_1.Resource, { case: 'snake' });
|
|
14
|
-
}
|
|
15
|
-
get pkey() {
|
|
16
|
-
return `resources_pkey`;
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
exports.ResourceHasuraRepository = ResourceHasuraRepository;
|
|
20
|
-
exports.ResourceHasuraRepository = ResourceHasuraRepository = tslib_1.__decorate([
|
|
21
|
-
(0, core_1.Injectable)({ providedIn: 'root' })
|
|
22
|
-
], ResourceHasuraRepository);
|
|
23
|
-
//# sourceMappingURL=resource.repository.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resource.repository.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/hasura/resource/resource.repository.ts"],"names":[],"mappings":";;;;AAAA,wCAA2C;AAC3C,4DAA2D;AAC3D,2CAA4E;AAGrE,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,yBAA0B;IAAjE;;QACI,cAAS,GAAG,gBAAgB,CAAC;QAC5B,cAAS,GAAG,IAAA,sBAAa,EAAC,iBAAQ,CAAC,CAAC;QACrC,kBAAa,GAAG,IAAA,kBAAS,EAAC,iBAAQ,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC;IAKlE,CAAC;IAHC,IAAI,IAAI;QACN,OAAO,gBAAgB,CAAC;IAC1B,CAAC;CACF,CAAA;AARY,4DAAwB;mCAAxB,wBAAwB;IADpC,IAAA,iBAAU,EAAC,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC;GACtB,wBAAwB,CAQpC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./repository.config"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./repository.service"), exports);
|
|
6
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/index.ts"],"names":[],"mappings":";;;AAAA,8DAAoC;AACpC,+DAAqC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from "@angular/core";
|
|
2
|
-
export interface ContractConfig {
|
|
3
|
-
databaseId: string;
|
|
4
|
-
}
|
|
5
|
-
export declare const CONTRACT_CONFIG: InjectionToken<ContractConfig>;
|
|
6
|
-
export declare function provideContractConfig(config: ContractConfig): {
|
|
7
|
-
provide: InjectionToken<ContractConfig>;
|
|
8
|
-
useValue: ContractConfig;
|
|
9
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CONTRACT_CONFIG = void 0;
|
|
4
|
-
exports.provideContractConfig = provideContractConfig;
|
|
5
|
-
const core_1 = require("@angular/core");
|
|
6
|
-
exports.CONTRACT_CONFIG = new core_1.InjectionToken('CONTRACT_CONFIG');
|
|
7
|
-
function provideContractConfig(config) {
|
|
8
|
-
return { provide: exports.CONTRACT_CONFIG, useValue: config };
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=contract.config.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"contract.config.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/notion/contract/contract.config.ts"],"names":[],"mappings":";;;AAQA,sDAEC;AAVD,wCAA+C;AAMlC,QAAA,eAAe,GAAG,IAAI,qBAAc,CAAiB,iBAAiB,CAAC,CAAC;AAErF,SAAgB,qBAAqB,CAAC,MAAsB;IAC1D,OAAO,EAAE,OAAO,EAAE,uBAAe,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC;AACxD,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { NotionRepository } from "@nx-ddd/notion";
|
|
2
|
-
import { Contract } from "@xxmachina/common/domain/invoice/models";
|
|
3
|
-
export declare class ContractRepository extends NotionRepository<Contract> {
|
|
4
|
-
protected converter: import("@nx-ddd/notion").NotionConverter<any>;
|
|
5
|
-
protected config: import("./contract.config").ContractConfig;
|
|
6
|
-
protected accessToken: string;
|
|
7
|
-
protected databaseId: string;
|
|
8
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ContractRepository = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const core_1 = require("@angular/core");
|
|
6
|
-
const notion_1 = require("@nx-ddd/notion");
|
|
7
|
-
const models_1 = require("@xxmachina/common/domain/invoice/models");
|
|
8
|
-
const contract_config_1 = require("./contract.config");
|
|
9
|
-
let ContractRepository = class ContractRepository extends notion_1.NotionRepository {
|
|
10
|
-
constructor() {
|
|
11
|
-
super(...arguments);
|
|
12
|
-
this.converter = (0, notion_1.createConverter)(models_1.Contract);
|
|
13
|
-
this.config = (0, core_1.inject)(contract_config_1.CONTRACT_CONFIG);
|
|
14
|
-
this.accessToken = (0, core_1.inject)(notion_1.NOTION_ACCESS_TOKEN);
|
|
15
|
-
this.databaseId = this.config.databaseId;
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
exports.ContractRepository = ContractRepository;
|
|
19
|
-
exports.ContractRepository = ContractRepository = tslib_1.__decorate([
|
|
20
|
-
(0, core_1.Injectable)({ providedIn: 'root' })
|
|
21
|
-
], ContractRepository);
|
|
22
|
-
//# sourceMappingURL=contract.repository.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"contract.repository.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/notion/contract/contract.repository.ts"],"names":[],"mappings":";;;;AAAA,wCAAmD;AACnD,2CAAwF;AACxF,oEAAmE;AACnE,uDAAoD;AAG7C,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,yBAA0B;IAA3D;;QACK,cAAS,GAAG,IAAA,wBAAe,EAAC,iBAAQ,CAAC,CAAC;QACtC,WAAM,GAAG,IAAA,aAAM,EAAC,iCAAe,CAAC,CAAC;QACjC,gBAAW,GAAG,IAAA,aAAM,EAAC,4BAAmB,CAAC,CAAC;QAC1C,eAAU,GAAG,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC;IAChD,CAAC;CAAA,CAAA;AALY,gDAAkB;6BAAlB,kBAAkB;IAD9B,IAAA,iBAAU,EAAC,EAAC,UAAU,EAAE,MAAM,EAAC,CAAC;GACpB,kBAAkB,CAK9B"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./contract.config"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./contract.repository"), exports);
|
|
6
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/notion/contract/index.ts"],"names":[],"mappings":";;;AAAA,4DAAkC;AAClC,gEAAsC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./notion.config"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./notion.repository"), exports);
|
|
6
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/notion/index.ts"],"names":[],"mappings":";;;AAAA,0DAAgC;AAChC,8DAAoC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./invoice.config"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./invoice.repository"), exports);
|
|
6
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/notion/invoice/index.ts"],"names":[],"mappings":";;;AAAA,2DAAiC;AACjC,+DAAqC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from "@angular/core";
|
|
2
|
-
export interface InvoiceConfig {
|
|
3
|
-
databaseId: string;
|
|
4
|
-
}
|
|
5
|
-
export declare const INVOICE_CONFIG: InjectionToken<InvoiceConfig>;
|
|
6
|
-
export declare function provideInvoiceConfig(config: InvoiceConfig): {
|
|
7
|
-
provide: InjectionToken<InvoiceConfig>;
|
|
8
|
-
useValue: InvoiceConfig;
|
|
9
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.INVOICE_CONFIG = void 0;
|
|
4
|
-
exports.provideInvoiceConfig = provideInvoiceConfig;
|
|
5
|
-
const core_1 = require("@angular/core");
|
|
6
|
-
exports.INVOICE_CONFIG = new core_1.InjectionToken('Invoice Config');
|
|
7
|
-
function provideInvoiceConfig(config) {
|
|
8
|
-
return { provide: exports.INVOICE_CONFIG, useValue: config };
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=invoice.config.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invoice.config.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/notion/invoice/invoice.config.ts"],"names":[],"mappings":";;;AAQA,oDAEC;AAVD,wCAA+C;AAMlC,QAAA,cAAc,GAAG,IAAI,qBAAc,CAAgB,gBAAgB,CAAC,CAAC;AAElF,SAAgB,oBAAoB,CAAC,MAAqB;IACxD,OAAO,EAAE,OAAO,EAAE,sBAAc,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC;AACvD,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { NotionRepository } from "@nx-ddd/notion";
|
|
2
|
-
import { Invoice } from "@xxmachina/common/domain/invoice/models";
|
|
3
|
-
export declare class InvoiceRepository extends NotionRepository<Invoice> {
|
|
4
|
-
protected converter: import("@nx-ddd/notion").NotionConverter<any>;
|
|
5
|
-
protected config: import("./invoice.config").InvoiceConfig;
|
|
6
|
-
protected accessToken: string;
|
|
7
|
-
protected databaseId: string;
|
|
8
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.InvoiceRepository = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const core_1 = require("@angular/core");
|
|
6
|
-
const notion_1 = require("@nx-ddd/notion");
|
|
7
|
-
const models_1 = require("@xxmachina/common/domain/invoice/models");
|
|
8
|
-
const invoice_config_1 = require("./invoice.config");
|
|
9
|
-
let InvoiceRepository = class InvoiceRepository extends notion_1.NotionRepository {
|
|
10
|
-
constructor() {
|
|
11
|
-
super(...arguments);
|
|
12
|
-
this.converter = (0, notion_1.createConverter)(models_1.Invoice);
|
|
13
|
-
this.config = (0, core_1.inject)(invoice_config_1.INVOICE_CONFIG);
|
|
14
|
-
this.accessToken = (0, core_1.inject)(notion_1.NOTION_ACCESS_TOKEN);
|
|
15
|
-
this.databaseId = this.config.databaseId;
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
exports.InvoiceRepository = InvoiceRepository;
|
|
19
|
-
exports.InvoiceRepository = InvoiceRepository = tslib_1.__decorate([
|
|
20
|
-
(0, core_1.Injectable)({ providedIn: 'root' })
|
|
21
|
-
], InvoiceRepository);
|
|
22
|
-
//# sourceMappingURL=invoice.repository.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invoice.repository.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/notion/invoice/invoice.repository.ts"],"names":[],"mappings":";;;;AAAA,wCAAmD;AACnD,2CAAwF;AACxF,oEAAkE;AAClE,qDAAkD;AAG3C,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,yBAAyB;IAAzD;;QACK,cAAS,GAAG,IAAA,wBAAe,EAAC,gBAAO,CAAC,CAAC;QACrC,WAAM,GAAG,IAAA,aAAM,EAAC,+BAAc,CAAC,CAAC;QAChC,gBAAW,GAAG,IAAA,aAAM,EAAC,4BAAmB,CAAC,CAAC;QAC1C,eAAU,GAAG,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC;IAChD,CAAC;CAAA,CAAA;AALY,8CAAiB;4BAAjB,iBAAiB;IAD7B,IAAA,iBAAU,EAAC,EAAC,UAAU,EAAE,MAAM,EAAC,CAAC;GACpB,iBAAiB,CAK7B"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ContractConfig } from "./contract";
|
|
2
|
-
import { InvoiceConfig } from "./invoice";
|
|
3
|
-
import { PartnerConfig } from "./partner";
|
|
4
|
-
export interface NotionConfig {
|
|
5
|
-
accessToken: string;
|
|
6
|
-
contract: ContractConfig;
|
|
7
|
-
invoice: InvoiceConfig;
|
|
8
|
-
order: any;
|
|
9
|
-
partner: PartnerConfig;
|
|
10
|
-
}
|
|
11
|
-
export declare function provideNotionConfig(config: NotionConfig): ({
|
|
12
|
-
provide: import("@angular/core").InjectionToken<ContractConfig>;
|
|
13
|
-
useValue: ContractConfig;
|
|
14
|
-
} | {
|
|
15
|
-
provide: import("@angular/core").InjectionToken<string>;
|
|
16
|
-
useValue: string;
|
|
17
|
-
})[];
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.provideNotionConfig = provideNotionConfig;
|
|
4
|
-
const contract_1 = require("./contract");
|
|
5
|
-
const invoice_1 = require("./invoice");
|
|
6
|
-
const order_config_1 = require("./order/order.config");
|
|
7
|
-
const partner_1 = require("./partner");
|
|
8
|
-
const notion_1 = require("@nx-ddd/notion");
|
|
9
|
-
function provideNotionConfig(config) {
|
|
10
|
-
return [
|
|
11
|
-
(0, contract_1.provideContractConfig)(config.contract),
|
|
12
|
-
(0, invoice_1.provideInvoiceConfig)(config.invoice),
|
|
13
|
-
(0, order_config_1.provideOrderConfig)(config.order),
|
|
14
|
-
(0, partner_1.providePartnerConfig)(config.partner),
|
|
15
|
-
(0, notion_1.provideNotionConfig)({ accessToken: config.accessToken }),
|
|
16
|
-
];
|
|
17
|
-
}
|
|
18
|
-
//# sourceMappingURL=notion.config.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notion.config.js","sourceRoot":"","sources":["../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/notion/notion.config.ts"],"names":[],"mappings":";;AAcA,kDAQC;AAtBD,yCAAmE;AACnE,uCAAgE;AAChE,uDAA0D;AAC1D,uCAAgE;AAChE,2CAA6E;AAU7E,SAAgB,mBAAmB,CAAC,MAAoB;IACtD,OAAO;QACL,IAAA,gCAAqB,EAAC,MAAM,CAAC,QAAQ,CAAC;QACtC,IAAA,8BAAoB,EAAC,MAAM,CAAC,OAAO,CAAC;QACpC,IAAA,iCAAkB,EAAC,MAAM,CAAC,KAAK,CAAC;QAChC,IAAA,8BAAoB,EAAC,MAAM,CAAC,OAAO,CAAC;QACpC,IAAA,4BAAoB,EAAC,EAAC,WAAW,EAAE,MAAM,CAAC,WAAW,EAAE,CAAC;KACzD,CAAC;AACJ,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ContractRepository } from "./contract";
|
|
2
|
-
import { InvoiceRepository } from "./invoice";
|
|
3
|
-
import { OrderRepository } from "./order";
|
|
4
|
-
import { PartnerRepository } from "./partner";
|
|
5
|
-
export declare class NotionRepository {
|
|
6
|
-
contract: ContractRepository;
|
|
7
|
-
invoice: InvoiceRepository;
|
|
8
|
-
order: OrderRepository;
|
|
9
|
-
partner: PartnerRepository;
|
|
10
|
-
constructor(contract: ContractRepository, invoice: InvoiceRepository, order: OrderRepository, partner: PartnerRepository);
|
|
11
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.NotionRepository = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const core_1 = require("@angular/core");
|
|
6
|
-
const contract_1 = require("./contract");
|
|
7
|
-
const invoice_1 = require("./invoice");
|
|
8
|
-
const order_1 = require("./order");
|
|
9
|
-
const partner_1 = require("./partner");
|
|
10
|
-
let NotionRepository = class NotionRepository {
|
|
11
|
-
constructor(contract, invoice, order, partner) {
|
|
12
|
-
this.contract = contract;
|
|
13
|
-
this.invoice = invoice;
|
|
14
|
-
this.order = order;
|
|
15
|
-
this.partner = partner;
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
exports.NotionRepository = NotionRepository;
|
|
19
|
-
exports.NotionRepository = NotionRepository = tslib_1.__decorate([
|
|
20
|
-
(0, core_1.Injectable)({ providedIn: 'root' }),
|
|
21
|
-
tslib_1.__metadata("design:paramtypes", [contract_1.ContractRepository,
|
|
22
|
-
invoice_1.InvoiceRepository,
|
|
23
|
-
order_1.OrderRepository,
|
|
24
|
-
partner_1.PartnerRepository])
|
|
25
|
-
], NotionRepository);
|
|
26
|
-
//# sourceMappingURL=notion.repository.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notion.repository.js","sourceRoot":"","sources":["../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/notion/notion.repository.ts"],"names":[],"mappings":";;;;AAAA,wCAA2C;AAC3C,yCAAgD;AAChD,uCAA8C;AAC9C,mCAA0C;AAC1C,uCAA8C;AAGvC,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;IAC3B,YACS,QAA4B,EAC5B,OAA0B,EAC1B,KAAsB,EACtB,OAA0B;QAH1B,aAAQ,GAAR,QAAQ,CAAoB;QAC5B,YAAO,GAAP,OAAO,CAAmB;QAC1B,UAAK,GAAL,KAAK,CAAiB;QACtB,YAAO,GAAP,OAAO,CAAmB;IAChC,CAAC;CACL,CAAA;AAPY,4CAAgB;2BAAhB,gBAAgB;IAD5B,IAAA,iBAAU,EAAC,EAAC,UAAU,EAAE,MAAM,EAAC,CAAC;6CAGZ,6BAAkB;QACnB,2BAAiB;QACnB,uBAAe;QACb,2BAAiB;GALxB,gBAAgB,CAO5B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './order.repository';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/notion/order/index.ts"],"names":[],"mappings":";;;AAAA,6DAAmC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from "@angular/core";
|
|
2
|
-
export interface OrderConfig {
|
|
3
|
-
databaseId: string;
|
|
4
|
-
}
|
|
5
|
-
export declare const ORDER_CONFIG: InjectionToken<OrderConfig>;
|
|
6
|
-
export declare function provideOrderConfig(config: OrderConfig): {
|
|
7
|
-
provide: InjectionToken<OrderConfig>;
|
|
8
|
-
useValue: OrderConfig;
|
|
9
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ORDER_CONFIG = void 0;
|
|
4
|
-
exports.provideOrderConfig = provideOrderConfig;
|
|
5
|
-
const core_1 = require("@angular/core");
|
|
6
|
-
exports.ORDER_CONFIG = new core_1.InjectionToken('ORDER_CONFIG');
|
|
7
|
-
function provideOrderConfig(config) {
|
|
8
|
-
return { provide: exports.ORDER_CONFIG, useValue: config };
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=order.config.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"order.config.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/notion/order/order.config.ts"],"names":[],"mappings":";;;AAQA,gDAEC;AAVD,wCAA+C;AAMlC,QAAA,YAAY,GAAG,IAAI,qBAAc,CAAc,cAAc,CAAC,CAAC;AAE5E,SAAgB,kBAAkB,CAAC,MAAmB;IACpD,OAAO,EAAE,OAAO,EAAE,oBAAY,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC;AACrD,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { NotionRepository } from "@nx-ddd/notion";
|
|
2
|
-
import { Order } from "@xxmachina/common/domain/invoice/models";
|
|
3
|
-
export declare class OrderRepository extends NotionRepository<Order> {
|
|
4
|
-
protected converter: import("@nx-ddd/notion").NotionConverter<any>;
|
|
5
|
-
protected config: import("./order.config").OrderConfig;
|
|
6
|
-
protected accessToken: string;
|
|
7
|
-
protected databaseId: string;
|
|
8
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.OrderRepository = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const core_1 = require("@angular/core");
|
|
6
|
-
const notion_1 = require("@nx-ddd/notion");
|
|
7
|
-
const models_1 = require("@xxmachina/common/domain/invoice/models");
|
|
8
|
-
const order_config_1 = require("./order.config");
|
|
9
|
-
let OrderRepository = class OrderRepository extends notion_1.NotionRepository {
|
|
10
|
-
constructor() {
|
|
11
|
-
super(...arguments);
|
|
12
|
-
this.converter = (0, notion_1.createConverter)(models_1.Order);
|
|
13
|
-
this.config = (0, core_1.inject)(order_config_1.ORDER_CONFIG);
|
|
14
|
-
this.accessToken = (0, core_1.inject)(notion_1.NOTION_ACCESS_TOKEN);
|
|
15
|
-
this.databaseId = this.config.databaseId;
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
exports.OrderRepository = OrderRepository;
|
|
19
|
-
exports.OrderRepository = OrderRepository = tslib_1.__decorate([
|
|
20
|
-
(0, core_1.Injectable)({ providedIn: 'root' })
|
|
21
|
-
], OrderRepository);
|
|
22
|
-
//# sourceMappingURL=order.repository.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"order.repository.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/notion/order/order.repository.ts"],"names":[],"mappings":";;;;AAAA,wCAAmD;AACnD,2CAAwF;AACxF,oEAAgE;AAChE,iDAA8C;AAGvC,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,yBAAuB;IAArD;;QACK,cAAS,GAAG,IAAA,wBAAe,EAAC,cAAK,CAAC,CAAC;QACnC,WAAM,GAAG,IAAA,aAAM,EAAC,2BAAY,CAAC,CAAC;QAC9B,gBAAW,GAAG,IAAA,aAAM,EAAC,4BAAmB,CAAC,CAAC;QAC1C,eAAU,GAAG,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC;IAChD,CAAC;CAAA,CAAA;AALY,0CAAe;0BAAf,eAAe;IAD3B,IAAA,iBAAU,EAAC,EAAC,UAAU,EAAE,MAAM,EAAC,CAAC;GACpB,eAAe,CAK3B"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./partner.config"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./partner.repository"), exports);
|
|
6
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/notion/partner/index.ts"],"names":[],"mappings":";;;AAAA,2DAAiC;AACjC,+DAAqC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from "@angular/core";
|
|
2
|
-
export interface PartnerConfig {
|
|
3
|
-
databaseId: string;
|
|
4
|
-
}
|
|
5
|
-
export declare const PARTNER_CONFIG: InjectionToken<PartnerConfig>;
|
|
6
|
-
export declare function providePartnerConfig(config: PartnerConfig): {
|
|
7
|
-
provide: InjectionToken<PartnerConfig>;
|
|
8
|
-
useValue: PartnerConfig;
|
|
9
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PARTNER_CONFIG = void 0;
|
|
4
|
-
exports.providePartnerConfig = providePartnerConfig;
|
|
5
|
-
const core_1 = require("@angular/core");
|
|
6
|
-
exports.PARTNER_CONFIG = new core_1.InjectionToken('PARTNER_CONFIG');
|
|
7
|
-
function providePartnerConfig(config) {
|
|
8
|
-
return { provide: exports.PARTNER_CONFIG, useValue: config };
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=partner.config.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"partner.config.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/notion/partner/partner.config.ts"],"names":[],"mappings":";;;AAQA,oDAEC;AAVD,wCAA+C;AAMlC,QAAA,cAAc,GAAG,IAAI,qBAAc,CAAgB,gBAAgB,CAAC,CAAC;AAElF,SAAgB,oBAAoB,CAAC,MAAqB;IACxD,OAAO,EAAE,OAAO,EAAE,sBAAc,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC;AACvD,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { NotionRepository } from "@nx-ddd/notion";
|
|
2
|
-
import { Partner } from "@xxmachina/common/domain/invoice/models";
|
|
3
|
-
export declare class PartnerRepository extends NotionRepository<Partner> {
|
|
4
|
-
protected converter: import("@nx-ddd/notion").NotionConverter<any>;
|
|
5
|
-
protected config: import("./partner.config").PartnerConfig;
|
|
6
|
-
protected accessToken: string;
|
|
7
|
-
protected databaseId: string;
|
|
8
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PartnerRepository = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const core_1 = require("@angular/core");
|
|
6
|
-
const notion_1 = require("@nx-ddd/notion");
|
|
7
|
-
const models_1 = require("@xxmachina/common/domain/invoice/models");
|
|
8
|
-
const partner_config_1 = require("./partner.config");
|
|
9
|
-
let PartnerRepository = class PartnerRepository extends notion_1.NotionRepository {
|
|
10
|
-
constructor() {
|
|
11
|
-
super(...arguments);
|
|
12
|
-
this.converter = (0, notion_1.createConverter)(models_1.Partner);
|
|
13
|
-
this.config = (0, core_1.inject)(partner_config_1.PARTNER_CONFIG);
|
|
14
|
-
this.accessToken = (0, core_1.inject)(notion_1.NOTION_ACCESS_TOKEN);
|
|
15
|
-
this.databaseId = this.config.databaseId;
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
exports.PartnerRepository = PartnerRepository;
|
|
19
|
-
exports.PartnerRepository = PartnerRepository = tslib_1.__decorate([
|
|
20
|
-
(0, core_1.Injectable)({ providedIn: 'root' })
|
|
21
|
-
], PartnerRepository);
|
|
22
|
-
//# sourceMappingURL=partner.repository.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"partner.repository.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/notion/partner/partner.repository.ts"],"names":[],"mappings":";;;;AAAA,wCAAmD;AACnD,2CAAwF;AACxF,oEAAkE;AAClE,qDAAkD;AAG3C,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,yBAAyB;IAAzD;;QACK,cAAS,GAAG,IAAA,wBAAe,EAAC,gBAAO,CAAC,CAAC;QACrC,WAAM,GAAG,IAAA,aAAM,EAAC,+BAAc,CAAC,CAAC;QAChC,gBAAW,GAAG,IAAA,aAAM,EAAC,4BAAmB,CAAC,CAAC;QAC1C,eAAU,GAAG,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC;IAChD,CAAC;CAAA,CAAA;AALY,8CAAiB;4BAAjB,iBAAiB;IAD7B,IAAA,iBAAU,EAAC,EAAC,UAAU,EAAE,MAAM,EAAC,CAAC;GACpB,iBAAiB,CAK7B"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./redis.config"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./redis.service"), exports);
|
|
6
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/redis/index.ts"],"names":[],"mappings":";;;AAAA,yDAA+B;AAC/B,0DAAgC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './operator.repository';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/redis/operator/index.ts"],"names":[],"mappings":";;;AAAA,gEAAsC"}
|