@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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/@xxmachina/common/src/lib/domain/models/screen-item/index.ts"],"names":[],"mappings":";;;AAAA,wDAA8B"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export interface ScreenItem {
|
|
2
|
-
id: string;
|
|
3
|
-
name: string;
|
|
4
|
-
type: '入力(テキスト)' | '入力(数値)' | '入力(日時)' | '入力(単一選択)' | '入力(複数選択)' | '表示' | 'ボタン' | '不明';
|
|
5
|
-
valueType: 'string' | 'number' | 'date' | 'boolean' | 'any';
|
|
6
|
-
notionPropType: string;
|
|
7
|
-
formula: string;
|
|
8
|
-
dbName: string;
|
|
9
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"screen-item.js","sourceRoot":"","sources":["../../../../../../../packages/@xxmachina/common/src/lib/domain/models/screen-item/screen-item.ts"],"names":[],"mappings":""}
|
package/domain/models/spec.d.ts
DELETED
package/domain/models/spec.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"spec.js","sourceRoot":"","sources":["../../../../../../packages/@xxmachina/common/src/lib/domain/models/spec.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './invoice.resolver';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/@xxmachina/common/src/lib/domain/resolvers/index.ts"],"names":[],"mappings":";;;AAAA,6DAAmC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.InvoiceResolver = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const class_transformer_1 = require("class-transformer");
|
|
6
|
-
const models_1 = require("@xxmachina/common/domain/invoice/models");
|
|
7
|
-
const dayjs_1 = tslib_1.__importDefault(require("dayjs"));
|
|
8
|
-
function aggregate(items) {
|
|
9
|
-
return items.reduce((map, item) => {
|
|
10
|
-
const items = map.get(item.id) || [];
|
|
11
|
-
items.push(item);
|
|
12
|
-
map.set(item.id, items);
|
|
13
|
-
return map;
|
|
14
|
-
}, new Map());
|
|
15
|
-
}
|
|
16
|
-
class InvoiceResolver {
|
|
17
|
-
constructor({ orders = [], partners = [], } = {}) {
|
|
18
|
-
this.orderMap = new Map();
|
|
19
|
-
this.partnerMap = new Map();
|
|
20
|
-
this.orderMap = new Map(orders.map((order) => [order.id, order]));
|
|
21
|
-
this.partnerMap = new Map(partners.map((partner) => [partner.id, partner]));
|
|
22
|
-
}
|
|
23
|
-
resolve(invoice) {
|
|
24
|
-
return (0, class_transformer_1.plainToInstance)(models_1.Invoice, Object.assign(Object.assign({}, invoice), { dueDate: dayjs_1.default.isDayjs(invoice.dueDate) ? invoice.dueDate.toISOString() : invoice.dueDate, orders: invoice.orderIds.map((orderId) => this.orderMap.get(orderId)), customer: this.partnerMap.get(invoice.customerId), vendor: this.partnerMap.get(invoice.vendorId) }));
|
|
25
|
-
}
|
|
26
|
-
resolveMany(invoices) {
|
|
27
|
-
return invoices.map((invoice) => this.resolve(invoice));
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
exports.InvoiceResolver = InvoiceResolver;
|
|
31
|
-
//# sourceMappingURL=invoice.resolver.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invoice.resolver.js","sourceRoot":"","sources":["../../../../../../packages/@xxmachina/common/src/lib/domain/resolvers/invoice.resolver.ts"],"names":[],"mappings":";;;;AAAA,yDAAoD;AACpD,oEAAkF;AAClF,0DAA0B;AAG1B,SAAS,SAAS,CAAyB,KAAU;IACnD,OAAO,KAAK,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,EAAE;QAChC,MAAM,KAAK,GAAG,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC;QACrC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACjB,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;QACxB,OAAO,GAAG,CAAC;IACb,CAAC,EAAE,IAAI,GAAG,EAAE,CAAC,CAAC;AAChB,CAAC;AAED,MAAa,eAAe;IAI1B,YAAY,EACV,MAAM,GAAG,EAAE,EACX,QAAQ,GAAG,EAAE,MAIX,EAAE;QATN,aAAQ,GAAG,IAAI,GAAG,EAAiB,CAAC;QACpC,eAAU,GAAG,IAAI,GAAG,EAAmB,CAAC;QAStC,IAAI,CAAC,QAAQ,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;QAClE,IAAI,CAAC,UAAU,GAAG,IAAI,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;IAC9E,CAAC;IAED,OAAO,CAAC,OAAgB;QACtB,OAAO,IAAA,mCAAe,EAAC,gBAAO,kCACzB,OAAO,KACV,OAAO,EAAE,eAAK,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,EACzF,MAAM,EAAE,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,EACrE,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC,UAAU,CAAC,EACjD,MAAM,EAAE,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,IAC7C,CAAC;IACL,CAAC;IAED,WAAW,CAAC,QAAmB;QAC7B,OAAO,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC;IAC1D,CAAC;CACF;AA5BD,0CA4BC"}
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=bookmarklet.converter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bookmarklet.converter.js","sourceRoot":"","sources":["../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/converters/bookmarklet/bookmarklet.converter.ts"],"names":[],"mappings":""}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Google } from "@xxmachina/common/domain/models/links/google";
|
|
2
|
-
import { FirestoreAdapter } from "@nx-ddd/firestore/adapters/base";
|
|
3
|
-
import { IFirestoreConverter } from "@nx-ddd/firestore/converter";
|
|
4
|
-
export declare class GoogleConverter implements IFirestoreConverter<Google> {
|
|
5
|
-
private adapter;
|
|
6
|
-
constructor(adapter: FirestoreAdapter);
|
|
7
|
-
fromFirestore(doc: any): Google;
|
|
8
|
-
toFirestore(data: Google): Google;
|
|
9
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GoogleConverter = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const google_1 = require("@xxmachina/common/domain/models/links/google");
|
|
6
|
-
const core_1 = require("@angular/core");
|
|
7
|
-
const base_1 = require("@nx-ddd/firestore/adapters/base");
|
|
8
|
-
let GoogleConverter = class GoogleConverter {
|
|
9
|
-
constructor(adapter) {
|
|
10
|
-
this.adapter = adapter;
|
|
11
|
-
}
|
|
12
|
-
fromFirestore(doc) {
|
|
13
|
-
return this.adapter.fromFirestore(Object.assign({ id: doc.id }, doc.data()), google_1.Google);
|
|
14
|
-
}
|
|
15
|
-
toFirestore(data) {
|
|
16
|
-
return this.adapter.toFirestore({
|
|
17
|
-
id: data.id,
|
|
18
|
-
credential: data.credential,
|
|
19
|
-
}, google_1.Google);
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
exports.GoogleConverter = GoogleConverter;
|
|
23
|
-
exports.GoogleConverter = GoogleConverter = tslib_1.__decorate([
|
|
24
|
-
(0, core_1.Injectable)({ providedIn: 'root' }),
|
|
25
|
-
tslib_1.__metadata("design:paramtypes", [base_1.FirestoreAdapter])
|
|
26
|
-
], GoogleConverter);
|
|
27
|
-
//# sourceMappingURL=google.converter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"google.converter.js","sourceRoot":"","sources":["../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/converters/google/google.converter.ts"],"names":[],"mappings":";;;;AAAA,yEAAsE;AACtE,wCAA2C;AAC3C,0DAAmE;AAI5D,IAAM,eAAe,GAArB,MAAM,eAAe;IAC1B,YACU,OAAyB;QAAzB,YAAO,GAAP,OAAO,CAAkB;IAChC,CAAC;IAEJ,aAAa,CAAC,GAAG;QACf,OAAO,IAAI,CAAC,OAAO,CAAC,aAAa,iBAC/B,EAAE,EAAE,GAAG,CAAC,EAAE,IACP,GAAG,CAAC,IAAI,EAAE,GACZ,eAAM,CAAW,CAAC;IACvB,CAAC;IAED,WAAW,CAAC,IAAY;QACtB,OAAO,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC;YAC9B,EAAE,EAAE,IAAI,CAAC,EAAE;YACX,UAAU,EAAE,IAAI,CAAC,UAAU;SAC5B,EAAE,eAAM,CAAW,CAAC;IACvB,CAAC;CACF,CAAA;AAlBY,0CAAe;0BAAf,eAAe;IAD3B,IAAA,iBAAU,EAAC,EAAC,UAAU,EAAE,MAAM,EAAC,CAAC;6CAGZ,uBAAgB;GAFxB,eAAe,CAkB3B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './google.converter';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/converters/google/index.ts"],"names":[],"mappings":";;;AAAA,6DAAmC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
-
export interface DataConnectServiceConfig {
|
|
3
|
-
location: string;
|
|
4
|
-
serviceId: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const DATA_CONNECT_SERVICE_CONFIG: InjectionToken<DataConnectServiceConfig>;
|
|
7
|
-
export declare function provideDataConnectService(configFactory: () => DataConnectServiceConfig): Provider[];
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DATA_CONNECT_SERVICE_CONFIG = void 0;
|
|
4
|
-
exports.provideDataConnectService = provideDataConnectService;
|
|
5
|
-
const core_1 = require("@angular/core");
|
|
6
|
-
const data_connect_service_1 = require("./data-connect.service");
|
|
7
|
-
const data_connect_1 = require("firebase-admin/data-connect");
|
|
8
|
-
exports.DATA_CONNECT_SERVICE_CONFIG = new core_1.InjectionToken('DATA_CONNECT_SERVICE_CONFIG');
|
|
9
|
-
function provideDataConnectService(configFactory) {
|
|
10
|
-
return [
|
|
11
|
-
{ provide: exports.DATA_CONNECT_SERVICE_CONFIG, useFactory: configFactory },
|
|
12
|
-
{
|
|
13
|
-
provide: data_connect_service_1.DATA_CONNECT_SERVICE, useFactory: () => {
|
|
14
|
-
const config = (0, core_1.inject)(exports.DATA_CONNECT_SERVICE_CONFIG);
|
|
15
|
-
return (0, data_connect_1.getDataConnect)(config);
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
];
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=data-connect.service.impl.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"data-connect.service.impl.js","sourceRoot":"","sources":["../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/external/data-connect/data-connect.service.impl.ts"],"names":[],"mappings":";;;AAWA,8DAUC;AArBD,wCAA6E;AAC7E,iEAA8D;AAC9D,8DAA6D;AAOhD,QAAA,2BAA2B,GAAG,IAAI,qBAAc,CAA2B,6BAA6B,CAAC,CAAC;AAEvH,SAAgB,yBAAyB,CAAC,aAA6C;IACrF,OAAO;QACL,EAAE,OAAO,EAAE,mCAA2B,EAAE,UAAU,EAAE,aAAa,EAAE;QACnE;YACE,OAAO,EAAE,2CAAoB,EAAE,UAAU,EAAE,GAAG,EAAE;gBAC9C,MAAM,MAAM,GAAG,IAAA,aAAM,EAAC,mCAA2B,CAAC,CAAC;gBACnD,OAAO,IAAA,6BAAc,EAAC,MAAM,CAAC,CAAC;YAChC,CAAC;SACF;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DATA_CONNECT_SERVICE = void 0;
|
|
4
|
-
exports.injectDataConnectService = injectDataConnectService;
|
|
5
|
-
const core_1 = require("@angular/core");
|
|
6
|
-
exports.DATA_CONNECT_SERVICE = new core_1.InjectionToken('DATA_CONNECT_SERVICE');
|
|
7
|
-
function injectDataConnectService() {
|
|
8
|
-
var _a;
|
|
9
|
-
return (_a = (0, core_1.inject)(exports.DATA_CONNECT_SERVICE, { optional: true })) !== null && _a !== void 0 ? _a : {};
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=data-connect.service.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"data-connect.service.js","sourceRoot":"","sources":["../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/external/data-connect/data-connect.service.ts"],"names":[],"mappings":";;;AAKA,4DAEC;AAPD,wCAAuD;AAG1C,QAAA,oBAAoB,GAAG,IAAI,qBAAc,CAAc,sBAAsB,CAAC,CAAC;AAE5F,SAAgB,wBAAwB;;IACtC,OAAO,MAAA,IAAA,aAAM,EAAC,4BAAoB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,mCAAI,EAAiB,CAAC;AAC/E,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './data-connect.service';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/external/data-connect/index.ts"],"names":[],"mappings":";;;AAAA,iEAAuC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { GoogleConfig } from "@nx-ddd/google";
|
|
2
|
-
import { OpenAiConfig } from "@nx-ddd/common/infrastructure/externals/openai";
|
|
3
|
-
export interface ExternalConfig {
|
|
4
|
-
openAi: OpenAiConfig;
|
|
5
|
-
google: GoogleConfig;
|
|
6
|
-
}
|
|
7
|
-
export declare function provideExternalConfig(config: ExternalConfig): (import("@angular/core").EnvironmentProviders | import("@angular/core").Provider[])[];
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.provideExternalConfig = provideExternalConfig;
|
|
4
|
-
const core_1 = require("@angular/core");
|
|
5
|
-
const google_module_1 = require("@nx-ddd/google/google.module");
|
|
6
|
-
const openai_1 = require("@nx-ddd/common/infrastructure/externals/openai");
|
|
7
|
-
function provideExternalConfig(config) {
|
|
8
|
-
return [
|
|
9
|
-
(0, openai_1.provideOpenAiConfig)(() => config.openAi),
|
|
10
|
-
(0, core_1.importProvidersFrom)(google_module_1.GoogleModule.forRoot(config.google)),
|
|
11
|
-
];
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=external.config.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"external.config.js","sourceRoot":"","sources":["../../../../../../packages/@xxmachina/common/src/lib/infrastructure/external/external.config.ts"],"names":[],"mappings":";;AAUA,sDAOC;AAjBD,wCAAoD;AAEpD,gEAA4D;AAC5D,2EAAmG;AAOnG,SAAgB,qBAAqB,CAAC,MAAsB;IAC1D,OAAO;QACL,IAAA,4BAAmB,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC;QACxC,IAAA,0BAAmB,EACjB,4BAAY,CAAC,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,CACpC;KACF,CAAA;AACH,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AiConfig } from "@xxmachina/common/domain/models";
|
|
2
|
-
import { GoogleService } from "@nx-ddd/google";
|
|
3
|
-
export declare class ExternalService {
|
|
4
|
-
readonly openai: import("@nx-ddd/common/infrastructure/externals/openai/open-ai.service.impl").OpenAiServiceImpl;
|
|
5
|
-
readonly google: GoogleService;
|
|
6
|
-
readonly dataConnect: import("firebase-admin/data-connect").DataConnect;
|
|
7
|
-
getAiAdapter(aiConfig: AiConfig): any;
|
|
8
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ExternalService = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const core_1 = require("@angular/core");
|
|
6
|
-
const google_1 = require("@nx-ddd/google");
|
|
7
|
-
const openai_1 = require("@nx-ddd/common/infrastructure/externals/openai");
|
|
8
|
-
const data_connect_1 = require("./data-connect");
|
|
9
|
-
let ExternalService = class ExternalService {
|
|
10
|
-
constructor() {
|
|
11
|
-
this.openai = (0, openai_1.injectOpenAiService)();
|
|
12
|
-
this.google = (0, core_1.inject)(google_1.GoogleService);
|
|
13
|
-
this.dataConnect = (0, data_connect_1.injectDataConnectService)();
|
|
14
|
-
}
|
|
15
|
-
getAiAdapter(aiConfig) {
|
|
16
|
-
return {};
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
exports.ExternalService = ExternalService;
|
|
20
|
-
exports.ExternalService = ExternalService = tslib_1.__decorate([
|
|
21
|
-
(0, core_1.Injectable)({ providedIn: 'root' })
|
|
22
|
-
], ExternalService);
|
|
23
|
-
//# sourceMappingURL=external.service.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"external.service.js","sourceRoot":"","sources":["../../../../../../packages/@xxmachina/common/src/lib/infrastructure/external/external.service.ts"],"names":[],"mappings":";;;;AAAA,wCAAmD;AAEnD,2CAA+C;AAC/C,2EAAqF;AACrF,iDAA0D;AAGnD,IAAM,eAAe,GAArB,MAAM,eAAe;IAArB;QACI,WAAM,GAAG,IAAA,4BAAmB,GAAE,CAAC;QAC/B,WAAM,GAAG,IAAA,aAAM,EAAC,sBAAa,CAAC,CAAC;QAC/B,gBAAW,GAAG,IAAA,uCAAwB,GAAE,CAAC;IAKpD,CAAC;IAHC,YAAY,CAAC,QAAkB;QAC7B,OAAO,EAAS,CAAA;IAClB,CAAC;CACF,CAAA;AARY,0CAAe;0BAAf,eAAe;IAD3B,IAAA,iBAAU,EAAC,EAAC,UAAU,EAAE,MAAM,EAAC,CAAC;GACpB,eAAe,CAQ3B"}
|
|
@@ -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("./external.config"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./external.service"), exports);
|
|
6
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/@xxmachina/common/src/lib/infrastructure/external/index.ts"],"names":[],"mappings":";;;AAAA,4DAAkC;AAClC,6DAAmC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './quick-js.service';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/external/quick-js/index.ts"],"names":[],"mappings":";;;AAAA,6DAAmC"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.QuickJsServcie = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const core_1 = require("@angular/core");
|
|
6
|
-
let QuickJsServcie = class QuickJsServcie {
|
|
7
|
-
constructor() {
|
|
8
|
-
this.quickJs = (0, core_1.signal)(null);
|
|
9
|
-
}
|
|
10
|
-
init() {
|
|
11
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
12
|
-
const quickJS = yield Promise.resolve().then(() => tslib_1.__importStar(require('quickjs-emscripten'))).then(m => m.getQuickJS());
|
|
13
|
-
this.quickJs.set(quickJS);
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
eval(script) {
|
|
17
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
18
|
-
const vm = this.quickJs().newContext();
|
|
19
|
-
this.buildInput(vm);
|
|
20
|
-
const result = vm.evalCode(script);
|
|
21
|
-
if (result.error) {
|
|
22
|
-
result.error.dispose();
|
|
23
|
-
throw vm.dump(result.error);
|
|
24
|
-
}
|
|
25
|
-
else {
|
|
26
|
-
result.dispose();
|
|
27
|
-
}
|
|
28
|
-
vm.dispose();
|
|
29
|
-
return vm.dump(result.unwrap());
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
buildInput(vm) {
|
|
33
|
-
const input = vm.newObject();
|
|
34
|
-
vm.setProp(input, "name", vm.newString("Alice"));
|
|
35
|
-
vm.setProp(input, "age", vm.newNumber(30));
|
|
36
|
-
vm.setProp(vm.global, "input", input);
|
|
37
|
-
input.dispose();
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
exports.QuickJsServcie = QuickJsServcie;
|
|
41
|
-
exports.QuickJsServcie = QuickJsServcie = tslib_1.__decorate([
|
|
42
|
-
(0, core_1.Injectable)({ providedIn: 'root' })
|
|
43
|
-
], QuickJsServcie);
|
|
44
|
-
//# sourceMappingURL=quick-js.service.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"quick-js.service.js","sourceRoot":"","sources":["../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/external/quick-js/quick-js.service.ts"],"names":[],"mappings":";;;;AAAA,wCAAmD;AAI5C,IAAM,cAAc,GAApB,MAAM,cAAc;IAApB;QACY,YAAO,GAAG,IAAA,aAAM,EAAoB,IAAI,CAAC,CAAC;IAgC7D,CAAC;IA9BO,IAAI;;YACR,MAAM,OAAO,GAAG,MAAM,0DAAO,oBAAoB,IAAE,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EAAE,CAAC,CAAC;YAC7E,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QAC5B,CAAC;KAAA;IAEK,IAAI,CAAC,MAAc;;YACvB,MAAM,EAAE,GAAG,IAAI,CAAC,OAAO,EAAE,CAAC,UAAU,EAAE,CAAC;YACvC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC;YAEpB,MAAM,MAAM,GAAG,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;YAEnC,IAAI,MAAM,CAAC,KAAK,EAAE,CAAC;gBACjB,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvB,MAAM,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YAC9B,CAAC;iBAAM,CAAC;gBACN,MAAM,CAAC,OAAO,EAAE,CAAC;YACnB,CAAC;YAED,EAAE,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC;QAClC,CAAC;KAAA;IAES,UAAU,CAAC,EAAkB;QACrC,MAAM,KAAK,GAAG,EAAE,CAAC,SAAS,EAAE,CAAC;QAC7B,EAAE,CAAC,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC;QACjD,EAAE,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC,CAAC;QAC3C,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC;QACtC,KAAK,CAAC,OAAO,EAAE,CAAC;IAClB,CAAC;CAEF,CAAA;AAjCY,wCAAc;yBAAd,cAAc;IAD1B,IAAA,iBAAU,EAAC,EAAC,UAAU,EAAE,MAAM,EAAC,CAAC;GACpB,cAAc,CAiC1B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './resend.service';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/external/resend/index.ts"],"names":[],"mappings":";;;AAAA,2DAAiC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { ResendService } from "./resend.service.impl";
|
|
2
|
-
export declare const RESEND_SERVICE: {
|
|
3
|
-
token: import("@angular/core").InjectionToken<ResendService>;
|
|
4
|
-
inject: () => ResendService;
|
|
5
|
-
provide: (useFactory: () => ResendService) => {
|
|
6
|
-
provide: import("@angular/core").InjectionToken<ResendService>;
|
|
7
|
-
useFactory: () => ResendService;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { EnvironmentProviders } from "@angular/core";
|
|
2
|
-
import { Resend } from "resend";
|
|
3
|
-
export interface ResendConfig {
|
|
4
|
-
apiKey: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const RESEND_CONFIG: {
|
|
7
|
-
token: import("@angular/core").InjectionToken<ResendConfig>;
|
|
8
|
-
inject: () => ResendConfig;
|
|
9
|
-
provide: (useFactory: () => ResendConfig) => {
|
|
10
|
-
provide: import("@angular/core").InjectionToken<ResendConfig>;
|
|
11
|
-
useFactory: () => ResendConfig;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
export declare class ResendService extends Resend {
|
|
15
|
-
constructor(config?: ResendConfig);
|
|
16
|
-
}
|
|
17
|
-
export declare function provideResend(useFacotry: () => ResendConfig): EnvironmentProviders;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ResendService = exports.RESEND_CONFIG = void 0;
|
|
4
|
-
exports.provideResend = provideResend;
|
|
5
|
-
const tslib_1 = require("tslib");
|
|
6
|
-
const core_1 = require("@angular/core");
|
|
7
|
-
const core_2 = require("@nx-ddd/core");
|
|
8
|
-
const resend_1 = require("resend");
|
|
9
|
-
const resend_service_1 = require("./resend.service");
|
|
10
|
-
exports.RESEND_CONFIG = (0, core_2.makeDI)('[@xxmachina/resend] RESEND_CONFIG', { optional: false });
|
|
11
|
-
let ResendService = class ResendService extends resend_1.Resend {
|
|
12
|
-
constructor(config = exports.RESEND_CONFIG.inject()) {
|
|
13
|
-
super(config.apiKey);
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
exports.ResendService = ResendService;
|
|
17
|
-
exports.ResendService = ResendService = tslib_1.__decorate([
|
|
18
|
-
(0, core_1.Injectable)({ providedIn: 'root' }),
|
|
19
|
-
tslib_1.__metadata("design:paramtypes", [Object])
|
|
20
|
-
], ResendService);
|
|
21
|
-
function provideResend(useFacotry) {
|
|
22
|
-
return (0, core_1.makeEnvironmentProviders)([
|
|
23
|
-
exports.RESEND_CONFIG.provide(() => useFacotry()),
|
|
24
|
-
resend_service_1.RESEND_SERVICE.provide(() => new ResendService()),
|
|
25
|
-
]);
|
|
26
|
-
}
|
|
27
|
-
//# sourceMappingURL=resend.service.impl.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resend.service.impl.js","sourceRoot":"","sources":["../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/external/resend/resend.service.impl.ts"],"names":[],"mappings":";;;AAoBA,sCAKC;;AAzBD,wCAAmG;AACnG,uCAAsC;AACtC,mCAAgC;AAChC,qDAAkD;AAMrC,QAAA,aAAa,GAAG,IAAA,aAAM,EAAe,mCAAmC,EAAE,EAAC,QAAQ,EAAE,KAAK,EAAC,CAAC,CAAC;AAGnG,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,eAAM;IACvC,YACE,MAAM,GAAG,qBAAa,CAAC,MAAM,EAAE;QAE/B,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACvB,CAAC;CACF,CAAA;AANY,sCAAa;wBAAb,aAAa;IADzB,IAAA,iBAAU,EAAC,EAAC,UAAU,EAAE,MAAM,EAAC,CAAC;;GACpB,aAAa,CAMzB;AAED,SAAgB,aAAa,CAAC,UAA8B;IAC1D,OAAO,IAAA,+BAAwB,EAAC;QAC9B,qBAAa,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,UAAU,EAAE,CAAC;QACzC,+BAAc,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,IAAI,aAAa,EAAE,CAAC;KAClD,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RESEND_SERVICE = void 0;
|
|
4
|
-
const core_1 = require("@nx-ddd/core");
|
|
5
|
-
exports.RESEND_SERVICE = (0, core_1.makeDI)('[@xxmachina/resend] RESEND_SERVICE');
|
|
6
|
-
//# sourceMappingURL=resend.service.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resend.service.js","sourceRoot":"","sources":["../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/external/resend/resend.service.ts"],"names":[],"mappings":";;;AAAA,uCAAsC;AAGzB,QAAA,cAAc,GAAG,IAAA,aAAM,EAAgB,oCAAoC,CAAC,CAAC"}
|
package/infrastructure/index.js
DELETED
|
@@ -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("./infrastructure.config"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./infrastructure.service"), exports);
|
|
6
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../packages/@xxmachina/common/src/lib/infrastructure/index.ts"],"names":[],"mappings":";;;AAAA,kEAAwC;AACxC,mEAAyC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ExternalConfig } from "./external";
|
|
2
|
-
import { RepositoryConfig } from "./repository";
|
|
3
|
-
export interface InfrastructureConfig {
|
|
4
|
-
external: ExternalConfig;
|
|
5
|
-
repository: RepositoryConfig;
|
|
6
|
-
}
|
|
7
|
-
export declare function provideInfrastructureConfig(config: InfrastructureConfig): ((import("@angular/core").EnvironmentProviders | import("@angular/core").Provider[])[] | (({
|
|
8
|
-
provide: import("@angular/core").InjectionToken<import("./repository/notion/contract").ContractConfig>;
|
|
9
|
-
useValue: import("./repository/notion/contract").ContractConfig;
|
|
10
|
-
} | {
|
|
11
|
-
provide: import("@angular/core").InjectionToken<string>;
|
|
12
|
-
useValue: string;
|
|
13
|
-
})[] | {
|
|
14
|
-
provide: import("@angular/core").InjectionToken<import("../_shared/meta/redis").RedisConfig>;
|
|
15
|
-
useValue: import("../_shared/meta/redis").RedisConfig;
|
|
16
|
-
}[])[])[];
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.provideInfrastructureConfig = provideInfrastructureConfig;
|
|
4
|
-
const external_1 = require("./external");
|
|
5
|
-
const repository_1 = require("./repository");
|
|
6
|
-
function provideInfrastructureConfig(config) {
|
|
7
|
-
return [
|
|
8
|
-
(0, external_1.provideExternalConfig)(config.external),
|
|
9
|
-
(0, repository_1.provideRepositoryConfig)(config.repository),
|
|
10
|
-
];
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=infrastructure.config.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"infrastructure.config.js","sourceRoot":"","sources":["../../../../../packages/@xxmachina/common/src/lib/infrastructure/infrastructure.config.ts"],"names":[],"mappings":";;AAQA,kEAKC;AAbD,yCAAmE;AACnE,6CAAyE;AAOzE,SAAgB,2BAA2B,CAAC,MAA4B;IACtE,OAAO;QACL,IAAA,gCAAqB,EAAC,MAAM,CAAC,QAAQ,CAAC;QACtC,IAAA,oCAAuB,EAAC,MAAM,CAAC,UAAU,CAAC;KAC3C,CAAC;AACJ,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { RepositoriesService } from "./repository";
|
|
2
|
-
import { ExternalService } from "./external";
|
|
3
|
-
export declare class InfrastructureService {
|
|
4
|
-
external: ExternalService;
|
|
5
|
-
repo: RepositoriesService;
|
|
6
|
-
constructor(external: ExternalService, repo: RepositoriesService);
|
|
7
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.InfrastructureService = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const core_1 = require("@angular/core");
|
|
6
|
-
const repository_1 = require("./repository");
|
|
7
|
-
const external_1 = require("./external");
|
|
8
|
-
let InfrastructureService = class InfrastructureService {
|
|
9
|
-
constructor(external, repo) {
|
|
10
|
-
this.external = external;
|
|
11
|
-
this.repo = repo;
|
|
12
|
-
}
|
|
13
|
-
};
|
|
14
|
-
exports.InfrastructureService = InfrastructureService;
|
|
15
|
-
exports.InfrastructureService = InfrastructureService = tslib_1.__decorate([
|
|
16
|
-
(0, core_1.Injectable)({ providedIn: 'root' }),
|
|
17
|
-
tslib_1.__metadata("design:paramtypes", [external_1.ExternalService,
|
|
18
|
-
repository_1.RepositoriesService])
|
|
19
|
-
], InfrastructureService);
|
|
20
|
-
//# sourceMappingURL=infrastructure.service.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"infrastructure.service.js","sourceRoot":"","sources":["../../../../../packages/@xxmachina/common/src/lib/infrastructure/infrastructure.service.ts"],"names":[],"mappings":";;;;AAAA,wCAA2C;AAC3C,6CAAmD;AACnD,yCAA6C;AAGtC,IAAM,qBAAqB,GAA3B,MAAM,qBAAqB;IAChC,YACS,QAAyB,EACzB,IAAyB;QADzB,aAAQ,GAAR,QAAQ,CAAiB;QACzB,SAAI,GAAJ,IAAI,CAAqB;IAC9B,CAAC;CACN,CAAA;AALY,sDAAqB;gCAArB,qBAAqB;IADjC,IAAA,iBAAU,EAAC,EAAC,UAAU,EAAE,MAAM,EAAC,CAAC;6CAGZ,0BAAe;QACnB,gCAAmB;GAHvB,qBAAqB,CAKjC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './query.query';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/query/firestore/query/index.ts"],"names":[],"mappings":";;;AAAA,wDAA8B"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Query } from "@xxmachina/common/domain/models";
|
|
2
|
-
import { FirestoreQuery } from "@nx-ddd/firestore/query/v2";
|
|
3
|
-
export declare class QueryFirestoreQuery extends FirestoreQuery<Query> {
|
|
4
|
-
readonly collectionPath = "projects/:projectId/queries/:id";
|
|
5
|
-
protected converter: import("@nx-ddd/firestore").IFirestoreConverter<Query>;
|
|
6
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.QueryFirestoreQuery = 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 firestore_1 = require("@nx-ddd/firestore");
|
|
8
|
-
const v2_1 = require("@nx-ddd/firestore/query/v2");
|
|
9
|
-
let QueryFirestoreQuery = class QueryFirestoreQuery extends v2_1.FirestoreQuery {
|
|
10
|
-
constructor() {
|
|
11
|
-
super(...arguments);
|
|
12
|
-
this.collectionPath = 'projects/:projectId/queries/:id';
|
|
13
|
-
this.converter = (0, firestore_1.injectConverter)(models_1.Query);
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
exports.QueryFirestoreQuery = QueryFirestoreQuery;
|
|
17
|
-
exports.QueryFirestoreQuery = QueryFirestoreQuery = tslib_1.__decorate([
|
|
18
|
-
(0, core_1.Injectable)({ providedIn: 'root' })
|
|
19
|
-
], QueryFirestoreQuery);
|
|
20
|
-
//# sourceMappingURL=query.query.js.map
|