@xxmachina/common 19.0.0-preview.9 → 19.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_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":"query.query.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/query/firestore/query/query.query.ts"],"names":[],"mappings":";;;;AAAA,wCAA2C;AAC3C,4DAAwD;AACxD,iDAAoD;AACpD,mDAA4D;AAGrD,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,mBAAqB;IAAvD;;QACI,mBAAc,GAAG,iCAAiC,CAAC;QAClD,cAAS,GAAG,IAAA,2BAAe,EAAC,cAAK,CAAC,CAAC;IAC/C,CAAC;CAAA,CAAA;AAHY,kDAAmB;8BAAnB,mBAAmB;IAD/B,IAAA,iBAAU,EAAC,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC;GACtB,mBAAmB,CAG/B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './resource.query';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/query/firestore/resource/index.ts"],"names":[],"mappings":";;;AAAA,2DAAiC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Resource } from "@xxmachina/common/domain/models";
|
|
2
|
-
import { FirestoreQuery } from "@nx-ddd/firestore/query/v2";
|
|
3
|
-
export declare class ResourceFirestoreQuery extends FirestoreQuery<Resource> {
|
|
4
|
-
readonly collectionPath = "projects/:projectId/resources/:id";
|
|
5
|
-
protected converter: import("@nx-ddd/firestore").IFirestoreConverter<Resource>;
|
|
6
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ResourceFirestoreQuery = 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 ResourceFirestoreQuery = class ResourceFirestoreQuery extends v2_1.FirestoreQuery {
|
|
10
|
-
constructor() {
|
|
11
|
-
super(...arguments);
|
|
12
|
-
this.collectionPath = 'projects/:projectId/resources/:id';
|
|
13
|
-
this.converter = (0, firestore_1.injectConverter)(models_1.Resource);
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
exports.ResourceFirestoreQuery = ResourceFirestoreQuery;
|
|
17
|
-
exports.ResourceFirestoreQuery = ResourceFirestoreQuery = tslib_1.__decorate([
|
|
18
|
-
(0, core_1.Injectable)({ providedIn: 'root' })
|
|
19
|
-
], ResourceFirestoreQuery);
|
|
20
|
-
//# sourceMappingURL=resource.query.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resource.query.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/query/firestore/resource/resource.query.ts"],"names":[],"mappings":";;;;AAAA,wCAA2C;AAC3C,4DAA2D;AAC3D,iDAAoD;AACpD,mDAA4D;AAGrD,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,mBAAwB;IAA7D;;QACI,mBAAc,GAAG,mCAAmC,CAAC;QACpD,cAAS,GAAG,IAAA,2BAAe,EAAC,iBAAQ,CAAC,CAAC;IAClD,CAAC;CAAA,CAAA;AAHY,wDAAsB;iCAAtB,sBAAsB;IADlC,IAAA,iBAAU,EAAC,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC;GACtB,sBAAsB,CAGlC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './resource.query';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/query/hasura/resource/index.ts"],"names":[],"mappings":";;;AAAA,2DAAiC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ResourceHasuraQuery = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const core_1 = require("@angular/core");
|
|
6
|
-
let ResourceHasuraQuery = class ResourceHasuraQuery {
|
|
7
|
-
listChanges() {
|
|
8
|
-
}
|
|
9
|
-
};
|
|
10
|
-
exports.ResourceHasuraQuery = ResourceHasuraQuery;
|
|
11
|
-
exports.ResourceHasuraQuery = ResourceHasuraQuery = tslib_1.__decorate([
|
|
12
|
-
(0, core_1.Injectable)({ providedIn: 'root' })
|
|
13
|
-
], ResourceHasuraQuery);
|
|
14
|
-
//# sourceMappingURL=resource.query.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resource.query.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/query/hasura/resource/resource.query.ts"],"names":[],"mappings":";;;;AAAA,wCAA2C;AAGpC,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IAC9B,WAAW;IAEX,CAAC;CACF,CAAA;AAJY,kDAAmB;8BAAnB,mBAAmB;IAD/B,IAAA,iBAAU,EAAC,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC;GACtB,mBAAmB,CAI/B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './invoice.repository';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/dataconnect/invoice/index.ts"],"names":[],"mappings":";;;AAAA,+DAAqC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Invoice } from '@xxmachina/common/domain/invoice/models';
|
|
2
|
-
export declare class InvoiceRepository {
|
|
3
|
-
protected db: import("firebase-admin/data-connect").DataConnect;
|
|
4
|
-
createMany(invoices: Invoice[]): Promise<void>;
|
|
5
|
-
deleteAll(): Promise<void>;
|
|
6
|
-
}
|
|
7
|
-
export declare function provideInvoiceRepository(): {
|
|
8
|
-
provide: import("@angular/core").InjectionToken<InvoiceRepository>;
|
|
9
|
-
useClass: typeof InvoiceRepository;
|
|
10
|
-
}[];
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.InvoiceRepository = void 0;
|
|
4
|
-
exports.provideInvoiceRepository = provideInvoiceRepository;
|
|
5
|
-
const tslib_1 = require("tslib");
|
|
6
|
-
const core_1 = require("@angular/core");
|
|
7
|
-
const invoice_repository_1 = require("./invoice.repository");
|
|
8
|
-
const data_connect_1 = require("@xxmachina/common/infrastructure/external/data-connect");
|
|
9
|
-
let InvoiceRepository = class InvoiceRepository {
|
|
10
|
-
constructor() {
|
|
11
|
-
this.db = (0, data_connect_1.injectDataConnectService)();
|
|
12
|
-
}
|
|
13
|
-
createMany(invoices) {
|
|
14
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
15
|
-
function buildMutationWithInlineData(data) {
|
|
16
|
-
const content = data.map(entry => `{
|
|
17
|
-
id: \"${entry.id}\"
|
|
18
|
-
title: \"${entry.title}\"
|
|
19
|
-
}`).join(', \n');
|
|
20
|
-
return `
|
|
21
|
-
mutation {
|
|
22
|
-
invoice_insertMany(data: [
|
|
23
|
-
${content}
|
|
24
|
-
])
|
|
25
|
-
}
|
|
26
|
-
`;
|
|
27
|
-
}
|
|
28
|
-
const query = buildMutationWithInlineData(invoices);
|
|
29
|
-
yield this.db.executeGraphql(query);
|
|
30
|
-
});
|
|
31
|
-
}
|
|
32
|
-
deleteAll() {
|
|
33
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
34
|
-
yield this.db.executeGraphql(`
|
|
35
|
-
mutation {
|
|
36
|
-
invoice_deleteMany(all: true)
|
|
37
|
-
}
|
|
38
|
-
`);
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
exports.InvoiceRepository = InvoiceRepository;
|
|
43
|
-
exports.InvoiceRepository = InvoiceRepository = tslib_1.__decorate([
|
|
44
|
-
(0, core_1.Injectable)({ providedIn: 'root' })
|
|
45
|
-
], InvoiceRepository);
|
|
46
|
-
function provideInvoiceRepository() {
|
|
47
|
-
return [
|
|
48
|
-
{
|
|
49
|
-
provide: invoice_repository_1.INVOICE_REPOSITORY_TOKEN,
|
|
50
|
-
useClass: InvoiceRepository,
|
|
51
|
-
},
|
|
52
|
-
];
|
|
53
|
-
}
|
|
54
|
-
//# sourceMappingURL=invoice.repository.impl.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invoice.repository.impl.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/dataconnect/invoice/invoice.repository.impl.ts"],"names":[],"mappings":";;;AAqCA,4DAOC;;AA5CD,wCAA2C;AAE3C,6DAAgE;AAChE,yFAAkG;AAG3F,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;IAAvB;QACK,OAAE,GAAG,IAAA,uCAAwB,GAAE,CAAC;IA4B5C,CAAC;IA1BO,UAAU,CAAC,QAAmB;;YAClC,SAAS,2BAA2B,CAAC,IAAe;gBAClD,MAAM,OAAO,GAAG,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC;gBACxB,KAAK,CAAC,EAAE;mBACL,KAAK,CAAC,KAAK;QACtB,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;gBAEjB,OAAO;;;cAGC,OAAO;;;OAGd,CAAC;YACJ,CAAC;YACD,MAAM,KAAK,GAAG,2BAA2B,CAAC,QAAQ,CAAC,CAAC;YACpD,MAAM,IAAI,CAAC,EAAE,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;QACtC,CAAC;KAAA;IAEK,SAAS;;YACb,MAAM,IAAI,CAAC,EAAE,CAAC,cAAc,CAAC;;;;KAI5B,CAAC,CAAC;QACL,CAAC;KAAA;CACF,CAAA;AA7BY,8CAAiB;4BAAjB,iBAAiB;IAD7B,IAAA,iBAAU,EAAC,EAAC,UAAU,EAAE,MAAM,EAAC,CAAC;GACpB,iBAAiB,CA6B7B;AAED,SAAgB,wBAAwB;IACtC,OAAO;QACL;YACE,OAAO,EAAE,6CAAwB;YACjC,QAAQ,EAAE,iBAAiB;SAC5B;KACF,CAAA;AACH,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.INVOICE_REPOSITORY_TOKEN = void 0;
|
|
4
|
-
exports.injectInvoiceRepository = injectInvoiceRepository;
|
|
5
|
-
const core_1 = require("@angular/core");
|
|
6
|
-
exports.INVOICE_REPOSITORY_TOKEN = new core_1.InjectionToken('[@xxmachina/common] InvoiceRepository');
|
|
7
|
-
function injectInvoiceRepository() {
|
|
8
|
-
var _a;
|
|
9
|
-
return (_a = (0, core_1.inject)(exports.INVOICE_REPOSITORY_TOKEN, { optional: true })) !== null && _a !== void 0 ? _a : null;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=invoice.repository.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invoice.repository.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/dataconnect/invoice/invoice.repository.ts"],"names":[],"mappings":";;;AAKA,0DAEC;AAPD,wCAAuD;AAG1C,QAAA,wBAAwB,GAAG,IAAI,qBAAc,CAAoB,uCAAuC,CAAC,CAAC;AAEvH,SAAgB,uBAAuB;;IACrC,OAAO,MAAA,IAAA,aAAM,EAAC,gCAAwB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,mCAAI,IAAI,CAAC;AACtE,CAAC"}
|
|
@@ -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/dataconnect/order/index.ts"],"names":[],"mappings":";;;AAAA,6DAAmC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Order } from '@xxmachina/common/domain/invoice/models';
|
|
2
|
-
import dayjs from 'dayjs';
|
|
3
|
-
export declare class DataConnectConverter {
|
|
4
|
-
static fromDayJs(date: dayjs.Dayjs | null): string;
|
|
5
|
-
}
|
|
6
|
-
export declare class OrderRepository {
|
|
7
|
-
protected db: import("firebase-admin/data-connect").DataConnect;
|
|
8
|
-
createMany(orders: Order[]): Promise<void>;
|
|
9
|
-
deleteAll(): Promise<void>;
|
|
10
|
-
}
|
|
11
|
-
export declare function provideOrderRepository(): {
|
|
12
|
-
provide: import("@angular/core").InjectionToken<OrderRepository>;
|
|
13
|
-
useClass: typeof OrderRepository;
|
|
14
|
-
}[];
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.OrderRepository = exports.DataConnectConverter = void 0;
|
|
4
|
-
exports.provideOrderRepository = provideOrderRepository;
|
|
5
|
-
const tslib_1 = require("tslib");
|
|
6
|
-
const core_1 = require("@angular/core");
|
|
7
|
-
const order_repository_1 = require("./order.repository");
|
|
8
|
-
const data_connect_1 = require("@xxmachina/common/infrastructure/external/data-connect");
|
|
9
|
-
class DataConnectConverter {
|
|
10
|
-
static fromDayJs(date) {
|
|
11
|
-
return date ? `\"${date.toISOString()}\"` : `null`;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
exports.DataConnectConverter = DataConnectConverter;
|
|
15
|
-
let OrderRepository = class OrderRepository {
|
|
16
|
-
constructor() {
|
|
17
|
-
this.db = (0, data_connect_1.injectDataConnectService)();
|
|
18
|
-
}
|
|
19
|
-
createMany(orders) {
|
|
20
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
21
|
-
function buildMutationWithInlineData(data) {
|
|
22
|
-
const content = data.map(entry => `{
|
|
23
|
-
id: \"${entry.id}\"
|
|
24
|
-
title: \"${entry.title}\"
|
|
25
|
-
eclId: \"${entry.eclId}\"
|
|
26
|
-
customerId: \"${entry.customerId}\"
|
|
27
|
-
vendorId: \"${entry.vendorId}\"
|
|
28
|
-
contractId: \"${entry.contractId}\"
|
|
29
|
-
invoiceId: ${(entry === null || entry === void 0 ? void 0 : entry.invoiceId) ? `\"${entry.invoiceId}\"` : null}
|
|
30
|
-
unitPrice: ${entry.unitPrice}
|
|
31
|
-
unit: \"${entry.unit}\"
|
|
32
|
-
quantity: ${entry.quantity}
|
|
33
|
-
amountInput: ${entry.amountInput}
|
|
34
|
-
amount: ${entry.amount}
|
|
35
|
-
statusIn: \"${entry.statusIn}\"
|
|
36
|
-
statusOut: \"${entry.statusOut}\"
|
|
37
|
-
startDate: ${DataConnectConverter.fromDayJs(entry.startDate)}
|
|
38
|
-
endDate: ${DataConnectConverter.fromDayJs(entry.endDate)}
|
|
39
|
-
}`).join(', \n');
|
|
40
|
-
return `
|
|
41
|
-
mutation {
|
|
42
|
-
order_insertMany(data: [
|
|
43
|
-
${content}
|
|
44
|
-
])
|
|
45
|
-
}
|
|
46
|
-
`;
|
|
47
|
-
}
|
|
48
|
-
const query = buildMutationWithInlineData(orders);
|
|
49
|
-
yield this.db.executeGraphql(query);
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
deleteAll() {
|
|
53
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
54
|
-
yield this.db.executeGraphql(`
|
|
55
|
-
mutation {
|
|
56
|
-
order_deleteMany(all: true)
|
|
57
|
-
}
|
|
58
|
-
`);
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
|
-
};
|
|
62
|
-
exports.OrderRepository = OrderRepository;
|
|
63
|
-
exports.OrderRepository = OrderRepository = tslib_1.__decorate([
|
|
64
|
-
(0, core_1.Injectable)({ providedIn: 'root' })
|
|
65
|
-
], OrderRepository);
|
|
66
|
-
function provideOrderRepository() {
|
|
67
|
-
return [
|
|
68
|
-
{
|
|
69
|
-
provide: order_repository_1.ORDER_REPOSITORY_TOKEN,
|
|
70
|
-
useClass: OrderRepository,
|
|
71
|
-
},
|
|
72
|
-
];
|
|
73
|
-
}
|
|
74
|
-
//# sourceMappingURL=order.repository.impl.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"order.repository.impl.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/dataconnect/order/order.repository.impl.ts"],"names":[],"mappings":";;;AA0DA,wDAOC;;AAjED,wCAA2C;AAG3C,yDAA4D;AAC5D,yFAAkG;AAElG,MAAa,oBAAoB;IAC/B,MAAM,CAAC,SAAS,CAAC,IAAwB;QACvC,OAAO,IAAI,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC;IACrD,CAAC;CACF;AAJD,oDAIC;AAGM,IAAM,eAAe,GAArB,MAAM,eAAe;IAArB;QACK,OAAE,GAAG,IAAA,uCAAwB,GAAE,CAAC;IA0C5C,CAAC;IAxCO,UAAU,CAAC,MAAe;;YAC9B,SAAS,2BAA2B,CAAC,IAAa;gBAChD,MAAM,OAAO,GAAG,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC;gBACxB,KAAK,CAAC,EAAE;mBACL,KAAK,CAAC,KAAK;mBACX,KAAK,CAAC,KAAK;wBACN,KAAK,CAAC,UAAU;sBAClB,KAAK,CAAC,QAAQ;wBACZ,KAAK,CAAC,UAAU;qBACnB,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,SAAS,EAAC,CAAC,CAAC,KAAK,KAAK,CAAC,SAAS,IAAI,CAAC,CAAC,CAAC,IAAI;qBAClD,KAAK,CAAC,SAAS;kBAClB,KAAK,CAAC,IAAI;oBACR,KAAK,CAAC,QAAQ;uBACX,KAAK,CAAC,WAAW;kBACtB,KAAK,CAAC,MAAM;sBACR,KAAK,CAAC,QAAQ;uBACb,KAAK,CAAC,SAAS;qBACjB,oBAAoB,CAAC,SAAS,CAAC,KAAK,CAAC,SAAS,CAAC;mBACjD,oBAAoB,CAAC,SAAS,CAAC,KAAK,CAAC,OAAO,CAAC;QACxD,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;gBAEjB,OAAO;;;cAGC,OAAO;;;OAGd,CAAC;YACJ,CAAC;YACD,MAAM,KAAK,GAAG,2BAA2B,CAAC,MAAM,CAAC,CAAC;YAClD,MAAM,IAAI,CAAC,EAAE,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;QACtC,CAAC;KAAA;IAEK,SAAS;;YACb,MAAM,IAAI,CAAC,EAAE,CAAC,cAAc,CAAC;;;;KAI5B,CAAC,CAAC;QACL,CAAC;KAAA;CACF,CAAA;AA3CY,0CAAe;0BAAf,eAAe;IAD3B,IAAA,iBAAU,EAAC,EAAC,UAAU,EAAE,MAAM,EAAC,CAAC;GACpB,eAAe,CA2C3B;AAED,SAAgB,sBAAsB;IACpC,OAAO;QACL;YACE,OAAO,EAAE,yCAAsB;YAC/B,QAAQ,EAAE,eAAe;SAC1B;KACF,CAAA;AACH,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ORDER_REPOSITORY_TOKEN = void 0;
|
|
4
|
-
exports.injectOrderRepository = injectOrderRepository;
|
|
5
|
-
const core_1 = require("@angular/core");
|
|
6
|
-
exports.ORDER_REPOSITORY_TOKEN = new core_1.InjectionToken('[@xxmachina/common] OrderRepository');
|
|
7
|
-
function injectOrderRepository() {
|
|
8
|
-
var _a;
|
|
9
|
-
return (_a = (0, core_1.inject)(exports.ORDER_REPOSITORY_TOKEN, { optional: true })) !== null && _a !== void 0 ? _a : null;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=order.repository.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"order.repository.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/dataconnect/order/order.repository.ts"],"names":[],"mappings":";;;AAKA,sDAEC;AAPD,wCAAuD;AAG1C,QAAA,sBAAsB,GAAG,IAAI,qBAAc,CAAkB,qCAAqC,CAAC,CAAC;AAEjH,SAAgB,qBAAqB;;IACnC,OAAO,MAAA,IAAA,aAAM,EAAC,8BAAsB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,mCAAI,IAAI,CAAC;AACpE,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Bookmarklet } from "@xxmachina/common/domain/models/bookmarklet";
|
|
2
|
-
import { FirestoreRepository } from "@nx-ddd/firestore/repository";
|
|
3
|
-
export declare class BookmarkletRepository extends FirestoreRepository<Bookmarklet> {
|
|
4
|
-
readonly collectionPath = "users/:userId/bookmarklets/:id";
|
|
5
|
-
protected converter: import("@nx-ddd/firestore").IFirestoreConverter<Bookmarklet>;
|
|
6
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BookmarkletRepository = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const bookmarklet_1 = require("@xxmachina/common/domain/models/bookmarklet");
|
|
6
|
-
const core_1 = require("@angular/core");
|
|
7
|
-
const repository_1 = require("@nx-ddd/firestore/repository");
|
|
8
|
-
const firestore_1 = require("@nx-ddd/firestore");
|
|
9
|
-
let BookmarkletRepository = class BookmarkletRepository extends repository_1.FirestoreRepository {
|
|
10
|
-
constructor() {
|
|
11
|
-
super(...arguments);
|
|
12
|
-
this.collectionPath = 'users/:userId/bookmarklets/:id';
|
|
13
|
-
this.converter = (0, firestore_1.injectConverter)(bookmarklet_1.Bookmarklet);
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
exports.BookmarkletRepository = BookmarkletRepository;
|
|
17
|
-
exports.BookmarkletRepository = BookmarkletRepository = tslib_1.__decorate([
|
|
18
|
-
(0, core_1.Injectable)({ providedIn: 'root' })
|
|
19
|
-
], BookmarkletRepository);
|
|
20
|
-
//# sourceMappingURL=bookmarklet.repository.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bookmarklet.repository.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/firestore/bookmarklet/bookmarklet.repository.ts"],"names":[],"mappings":";;;;AAAA,6EAA0E;AAC1E,wCAA2C;AAC3C,6DAAmE;AACnE,iDAAoD;AAG7C,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,gCAAgC;IAApE;;QACI,mBAAc,GAAG,gCAAgC,CAAC;QACjD,cAAS,GAAG,IAAA,2BAAe,EAAC,yBAAW,CAAC,CAAC;IACrD,CAAC;CAAA,CAAA;AAHY,sDAAqB;gCAArB,qBAAqB;IADjC,IAAA,iBAAU,EAAC,EAAC,UAAU,EAAE,MAAM,EAAC,CAAC;GACpB,qBAAqB,CAGjC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './bookmarklet.repository';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/firestore/bookmarklet/index.ts"],"names":[],"mappings":";;;AAAA,mEAAyC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { BookmarkletRepository } from "./bookmarklet";
|
|
2
|
-
import { LinkRepository } from "./link";
|
|
3
|
-
export declare class FirestoreRepository {
|
|
4
|
-
bookmarklet: BookmarkletRepository;
|
|
5
|
-
link: LinkRepository;
|
|
6
|
-
constructor(bookmarklet: BookmarkletRepository, link: LinkRepository);
|
|
7
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FirestoreRepository = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const core_1 = require("@angular/core");
|
|
6
|
-
const bookmarklet_1 = require("./bookmarklet");
|
|
7
|
-
const link_1 = require("./link");
|
|
8
|
-
let FirestoreRepository = class FirestoreRepository {
|
|
9
|
-
constructor(bookmarklet, link) {
|
|
10
|
-
this.bookmarklet = bookmarklet;
|
|
11
|
-
this.link = link;
|
|
12
|
-
}
|
|
13
|
-
};
|
|
14
|
-
exports.FirestoreRepository = FirestoreRepository;
|
|
15
|
-
exports.FirestoreRepository = FirestoreRepository = tslib_1.__decorate([
|
|
16
|
-
(0, core_1.Injectable)({ providedIn: 'root' }),
|
|
17
|
-
tslib_1.__metadata("design:paramtypes", [bookmarklet_1.BookmarkletRepository,
|
|
18
|
-
link_1.LinkRepository])
|
|
19
|
-
], FirestoreRepository);
|
|
20
|
-
//# sourceMappingURL=firestore.repository.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"firestore.repository.js","sourceRoot":"","sources":["../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/firestore/firestore.repository.ts"],"names":[],"mappings":";;;;AAAA,wCAA2C;AAC3C,+CAAsD;AACtD,iCAAwC;AAGjC,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IAC9B,YACS,WAAkC,EAClC,IAAoB;QADpB,gBAAW,GAAX,WAAW,CAAuB;QAClC,SAAI,GAAJ,IAAI,CAAgB;IAC1B,CAAC;CACL,CAAA;AALY,kDAAmB;8BAAnB,mBAAmB;IAD/B,IAAA,iBAAU,EAAC,EAAC,UAAU,EAAE,MAAM,EAAC,CAAC;6CAGT,mCAAqB;QAC5B,qBAAc;GAHlB,mBAAmB,CAK/B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './firestore.repository';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/firestore/index.ts"],"names":[],"mappings":";;;AAAA,iEAAuC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Google } from "@xxmachina/common/domain/models/links/google";
|
|
2
|
-
import { GoogleConverter } from "@xxmachina/common/infrastructure/converters/google";
|
|
3
|
-
import { FirestoreRepository } from "@nx-ddd/firestore/repository";
|
|
4
|
-
export declare class GoogleRepository extends FirestoreRepository<Google> {
|
|
5
|
-
readonly collectionPath = "users/:userId/links/:id";
|
|
6
|
-
protected converter: GoogleConverter;
|
|
7
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GoogleRepository = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const google_1 = require("@xxmachina/common/infrastructure/converters/google");
|
|
6
|
-
const core_1 = require("@angular/core");
|
|
7
|
-
const repository_1 = require("@nx-ddd/firestore/repository");
|
|
8
|
-
let GoogleRepository = class GoogleRepository extends repository_1.FirestoreRepository {
|
|
9
|
-
constructor() {
|
|
10
|
-
super(...arguments);
|
|
11
|
-
this.collectionPath = 'users/:userId/links/:id';
|
|
12
|
-
this.converter = (0, core_1.inject)(google_1.GoogleConverter);
|
|
13
|
-
}
|
|
14
|
-
};
|
|
15
|
-
exports.GoogleRepository = GoogleRepository;
|
|
16
|
-
exports.GoogleRepository = GoogleRepository = tslib_1.__decorate([
|
|
17
|
-
(0, core_1.Injectable)({ providedIn: 'root' })
|
|
18
|
-
], GoogleRepository);
|
|
19
|
-
//# sourceMappingURL=google.repository.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"google.repository.js","sourceRoot":"","sources":["../../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/firestore/link/google/google.repository.ts"],"names":[],"mappings":";;;;AACA,+EAAqF;AACrF,wCAAmD;AACnD,6DAAmE;AAG5D,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,gCAA2B;IAA1D;;QACI,mBAAc,GAAG,yBAAyB,CAAC;QAC1C,cAAS,GAAG,IAAA,aAAM,EAAC,wBAAe,CAAC,CAAC;IAChD,CAAC;CAAA,CAAA;AAHY,4CAAgB;2BAAhB,gBAAgB;IAD5B,IAAA,iBAAU,EAAC,EAAC,UAAU,EAAE,MAAM,EAAC,CAAC;GACpB,gBAAgB,CAG5B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './google.repository';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/firestore/link/google/index.ts"],"names":[],"mappings":";;;AAAA,8DAAoC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './link.repository';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/firestore/link/index.ts"],"names":[],"mappings":";;;AAAA,4DAAkC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LinkRepository = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const core_1 = require("@angular/core");
|
|
6
|
-
const google_1 = require("./google");
|
|
7
|
-
let LinkRepository = class LinkRepository {
|
|
8
|
-
constructor(google) {
|
|
9
|
-
this.google = google;
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
exports.LinkRepository = LinkRepository;
|
|
13
|
-
exports.LinkRepository = LinkRepository = tslib_1.__decorate([
|
|
14
|
-
(0, core_1.Injectable)({ providedIn: 'root' }),
|
|
15
|
-
tslib_1.__metadata("design:paramtypes", [google_1.GoogleRepository])
|
|
16
|
-
], LinkRepository);
|
|
17
|
-
//# sourceMappingURL=link.repository.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"link.repository.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/firestore/link/link.repository.ts"],"names":[],"mappings":";;;;AAAA,wCAA2C;AAC3C,qCAA4C;AAGrC,IAAM,cAAc,GAApB,MAAM,cAAc;IACzB,YACS,MAAwB;QAAxB,WAAM,GAAN,MAAM,CAAkB;IAC7B,CAAC;CACN,CAAA;AAJY,wCAAc;yBAAd,cAAc;IAD1B,IAAA,iBAAU,EAAC,EAAC,UAAU,EAAE,MAAM,EAAC,CAAC;6CAGd,yBAAgB;GAFtB,cAAc,CAI1B"}
|
|
@@ -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/firestore/query/index.ts"],"names":[],"mappings":";;;AAAA,6DAAmC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Query } from "@xxmachina/common/domain/models/query";
|
|
2
|
-
import { FirestoreRepository } from "@nx-ddd/firestore/repository";
|
|
3
|
-
export declare class QueryFirestoreRepository extends FirestoreRepository<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.QueryFirestoreRepository = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
const core_1 = require("@angular/core");
|
|
6
|
-
const query_1 = require("@xxmachina/common/domain/models/query");
|
|
7
|
-
const repository_1 = require("@nx-ddd/firestore/repository");
|
|
8
|
-
const firestore_1 = require("@nx-ddd/firestore");
|
|
9
|
-
let QueryFirestoreRepository = class QueryFirestoreRepository extends repository_1.FirestoreRepository {
|
|
10
|
-
constructor() {
|
|
11
|
-
super(...arguments);
|
|
12
|
-
this.collectionPath = 'projects/:projectId/queries/:id';
|
|
13
|
-
this.converter = (0, firestore_1.injectConverter)(query_1.Query);
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
exports.QueryFirestoreRepository = QueryFirestoreRepository;
|
|
17
|
-
exports.QueryFirestoreRepository = QueryFirestoreRepository = tslib_1.__decorate([
|
|
18
|
-
(0, core_1.Injectable)({ providedIn: 'root' })
|
|
19
|
-
], QueryFirestoreRepository);
|
|
20
|
-
//# sourceMappingURL=query.repository.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"query.repository.js","sourceRoot":"","sources":["../../../../../../../../packages/@xxmachina/common/src/lib/infrastructure/repository/firestore/query/query.repository.ts"],"names":[],"mappings":";;;;AAAA,wCAA2C;AAC3C,iEAA8D;AAC9D,6DAAmE;AACnE,iDAAoD;AAG7C,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,gCAA0B;IAAjE;;QACI,mBAAc,GAAG,iCAAiC,CAAC;QAClD,cAAS,GAAG,IAAA,2BAAe,EAAC,aAAK,CAAC,CAAC;IAC/C,CAAC;CAAA,CAAA;AAHY,4DAAwB;mCAAxB,wBAAwB;IADpC,IAAA,iBAAU,EAAC,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC;GACtB,wBAAwB,CAGpC"}
|
|
@@ -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/firestore/resource/index.ts"],"names":[],"mappings":";;;AAAA,gEAAsC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { FirestoreRepository } from "@nx-ddd/firestore/repository";
|
|
2
|
-
import { Resource } from "@xxmachina/common/domain/models/resource";
|
|
3
|
-
export declare class ResourceFirestoreRepository extends FirestoreRepository<Resource> {
|
|
4
|
-
readonly collectionPath = "projects/:projectId/resources/:id";
|
|
5
|
-
protected converter: import("@nx-ddd/firestore").IFirestoreConverter<Resource>;
|
|
6
|
-
}
|