@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
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xxmachina/common",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.1.1",
|
|
4
|
+
"license": "MIT",
|
|
4
5
|
"main": "./index.js",
|
|
5
6
|
"types": "./index.d.ts",
|
|
6
7
|
"peerDependencies": {
|
|
@@ -12,17 +13,11 @@
|
|
|
12
13
|
"@nestjs/common": "10.2.8",
|
|
13
14
|
"@nestjs/graphql": "^11.0.0",
|
|
14
15
|
"@nestjs/passport": "^9.0.3",
|
|
15
|
-
"@ng-atomic/common": "19.
|
|
16
|
-
"@ng-atomic/components": "19.
|
|
17
|
-
"@ng-atomic/core": "19.
|
|
18
|
-
"@
|
|
19
|
-
"@nx-ddd/
|
|
20
|
-
"@nx-ddd/common": "19.0.0-preview.9",
|
|
21
|
-
"@nx-ddd/core": "19.0.0-preview.9",
|
|
22
|
-
"@nx-ddd/firestore": "19.0.0-preview.9",
|
|
23
|
-
"@nx-ddd/google": "19.0.0-preview.9",
|
|
24
|
-
"@nx-ddd/hasura": "19.0.0-preview.9",
|
|
25
|
-
"@nx-ddd/notion": "19.0.0-preview.9",
|
|
16
|
+
"@ng-atomic/common": "19.1.1",
|
|
17
|
+
"@ng-atomic/components": "19.1.1",
|
|
18
|
+
"@ng-atomic/core": "19.1.1",
|
|
19
|
+
"@nx-ddd/common": "19.1.1",
|
|
20
|
+
"@nx-ddd/core": "19.1.1",
|
|
26
21
|
"@tfarras/nestjs-firebase-auth": "^2.0.0",
|
|
27
22
|
"apollo-angular": "^7.0.2",
|
|
28
23
|
"class-transformer": "^0.5.1",
|
|
@@ -45,8 +40,237 @@
|
|
|
45
40
|
"redis": "^4.6.5",
|
|
46
41
|
"resend": "^4.0.1",
|
|
47
42
|
"rxjs": "^7.8.0",
|
|
48
|
-
"tslib": "^2.3.0",
|
|
49
43
|
"validate-azure-ad-token": "^2.2.0"
|
|
50
44
|
},
|
|
51
|
-
"
|
|
45
|
+
"optionalDependencies": {
|
|
46
|
+
"@nx-ddd/any-func": "19.1.1",
|
|
47
|
+
"@nx-ddd/firestore": "19.1.1",
|
|
48
|
+
"@nx-ddd/google": "19.1.1",
|
|
49
|
+
"@nx-ddd/hasura": "19.1.1",
|
|
50
|
+
"@nx-ddd/notion": "19.1.1",
|
|
51
|
+
"@notionhq/client": "^2.2.15"
|
|
52
|
+
},
|
|
53
|
+
"dependencies": {
|
|
54
|
+
"tslib": "^2.3.0"
|
|
55
|
+
},
|
|
56
|
+
"module": "fesm2022/xxmachina-common.mjs",
|
|
57
|
+
"typings": "index.d.ts",
|
|
58
|
+
"exports": {
|
|
59
|
+
"./package.json": {
|
|
60
|
+
"default": "./package.json"
|
|
61
|
+
},
|
|
62
|
+
".": {
|
|
63
|
+
"types": "./index.d.ts",
|
|
64
|
+
"default": "./fesm2022/xxmachina-common.mjs"
|
|
65
|
+
},
|
|
66
|
+
"./auth": {
|
|
67
|
+
"types": "./auth/index.d.ts",
|
|
68
|
+
"default": "./fesm2022/xxmachina-common-auth.mjs"
|
|
69
|
+
},
|
|
70
|
+
"./azure-auth": {
|
|
71
|
+
"types": "./azure-auth/index.d.ts",
|
|
72
|
+
"default": "./fesm2022/xxmachina-common-azure-auth.mjs"
|
|
73
|
+
},
|
|
74
|
+
"./domain": {
|
|
75
|
+
"types": "./domain/index.d.ts",
|
|
76
|
+
"default": "./fesm2022/xxmachina-common-domain.mjs"
|
|
77
|
+
},
|
|
78
|
+
"./firebase-auth": {
|
|
79
|
+
"types": "./firebase-auth/index.d.ts",
|
|
80
|
+
"default": "./fesm2022/xxmachina-common-firebase-auth.mjs"
|
|
81
|
+
},
|
|
82
|
+
"./infra": {
|
|
83
|
+
"types": "./infra/index.d.ts",
|
|
84
|
+
"default": "./fesm2022/xxmachina-common-infra.mjs"
|
|
85
|
+
},
|
|
86
|
+
"./stores": {
|
|
87
|
+
"types": "./stores/index.d.ts",
|
|
88
|
+
"default": "./fesm2022/xxmachina-common-stores.mjs"
|
|
89
|
+
},
|
|
90
|
+
"./usecase": {
|
|
91
|
+
"types": "./usecase/index.d.ts",
|
|
92
|
+
"default": "./fesm2022/xxmachina-common-usecase.mjs"
|
|
93
|
+
},
|
|
94
|
+
"./utils": {
|
|
95
|
+
"types": "./utils/index.d.ts",
|
|
96
|
+
"default": "./fesm2022/xxmachina-common-utils.mjs"
|
|
97
|
+
},
|
|
98
|
+
"./_shared/auth": {
|
|
99
|
+
"types": "./_shared/auth/index.d.ts",
|
|
100
|
+
"default": "./fesm2022/xxmachina-common-_shared-auth.mjs"
|
|
101
|
+
},
|
|
102
|
+
"./_shared/meta": {
|
|
103
|
+
"types": "./_shared/meta/index.d.ts",
|
|
104
|
+
"default": "./fesm2022/xxmachina-common-_shared-meta.mjs"
|
|
105
|
+
},
|
|
106
|
+
"./domain/builder": {
|
|
107
|
+
"types": "./domain/builder/index.d.ts",
|
|
108
|
+
"default": "./fesm2022/xxmachina-common-domain-builder.mjs"
|
|
109
|
+
},
|
|
110
|
+
"./domain/models": {
|
|
111
|
+
"types": "./domain/models/index.d.ts",
|
|
112
|
+
"default": "./fesm2022/xxmachina-common-domain-models.mjs"
|
|
113
|
+
},
|
|
114
|
+
"./infra/external": {
|
|
115
|
+
"types": "./infra/external/index.d.ts",
|
|
116
|
+
"default": "./fesm2022/xxmachina-common-infra-external.mjs"
|
|
117
|
+
},
|
|
118
|
+
"./invoice/domain": {
|
|
119
|
+
"types": "./invoice/domain/index.d.ts",
|
|
120
|
+
"default": "./fesm2022/xxmachina-common-invoice-domain.mjs"
|
|
121
|
+
},
|
|
122
|
+
"./services/graphql": {
|
|
123
|
+
"types": "./services/graphql/index.d.ts",
|
|
124
|
+
"default": "./fesm2022/xxmachina-common-services-graphql.mjs"
|
|
125
|
+
},
|
|
126
|
+
"./services/query": {
|
|
127
|
+
"types": "./services/query/index.d.ts",
|
|
128
|
+
"default": "./fesm2022/xxmachina-common-services-query.mjs"
|
|
129
|
+
},
|
|
130
|
+
"./services/speech": {
|
|
131
|
+
"types": "./services/speech/index.d.ts",
|
|
132
|
+
"default": "./fesm2022/xxmachina-common-services-speech.mjs"
|
|
133
|
+
},
|
|
134
|
+
"./services/transformer": {
|
|
135
|
+
"types": "./services/transformer/index.d.ts",
|
|
136
|
+
"default": "./fesm2022/xxmachina-common-services-transformer.mjs"
|
|
137
|
+
},
|
|
138
|
+
"./stores/firestore": {
|
|
139
|
+
"types": "./stores/firestore/index.d.ts",
|
|
140
|
+
"default": "./fesm2022/xxmachina-common-stores-firestore.mjs"
|
|
141
|
+
},
|
|
142
|
+
"./stores/hasura": {
|
|
143
|
+
"types": "./stores/hasura/index.d.ts",
|
|
144
|
+
"default": "./fesm2022/xxmachina-common-stores-hasura.mjs"
|
|
145
|
+
},
|
|
146
|
+
"./stores/inmemory": {
|
|
147
|
+
"types": "./stores/inmemory/index.d.ts",
|
|
148
|
+
"default": "./fesm2022/xxmachina-common-stores-inmemory.mjs"
|
|
149
|
+
},
|
|
150
|
+
"./usecase/assistant": {
|
|
151
|
+
"types": "./usecase/assistant/index.d.ts",
|
|
152
|
+
"default": "./fesm2022/xxmachina-common-usecase-assistant.mjs"
|
|
153
|
+
},
|
|
154
|
+
"./usecase/database": {
|
|
155
|
+
"types": "./usecase/database/index.d.ts",
|
|
156
|
+
"default": "./fesm2022/xxmachina-common-usecase-database.mjs"
|
|
157
|
+
},
|
|
158
|
+
"./usecase/graphql": {
|
|
159
|
+
"types": "./usecase/graphql/index.d.ts",
|
|
160
|
+
"default": "./fesm2022/xxmachina-common-usecase-graphql.mjs"
|
|
161
|
+
},
|
|
162
|
+
"./usecase/link": {
|
|
163
|
+
"types": "./usecase/link/index.d.ts",
|
|
164
|
+
"default": "./fesm2022/xxmachina-common-usecase-link.mjs"
|
|
165
|
+
},
|
|
166
|
+
"./usecase/project": {
|
|
167
|
+
"types": "./usecase/project/index.d.ts",
|
|
168
|
+
"default": "./fesm2022/xxmachina-common-usecase-project.mjs"
|
|
169
|
+
},
|
|
170
|
+
"./usecase/spec": {
|
|
171
|
+
"types": "./usecase/spec/index.d.ts",
|
|
172
|
+
"default": "./fesm2022/xxmachina-common-usecase-spec.mjs"
|
|
173
|
+
},
|
|
174
|
+
"./utils/crypto": {
|
|
175
|
+
"types": "./utils/crypto/index.d.ts",
|
|
176
|
+
"default": "./fesm2022/xxmachina-common-utils-crypto.mjs"
|
|
177
|
+
},
|
|
178
|
+
"./_shared/meta/redis": {
|
|
179
|
+
"types": "./_shared/meta/redis/index.d.ts",
|
|
180
|
+
"default": "./fesm2022/xxmachina-common-_shared-meta-redis.mjs"
|
|
181
|
+
},
|
|
182
|
+
"./domain/builder/screen-item": {
|
|
183
|
+
"types": "./domain/builder/screen-item/index.d.ts",
|
|
184
|
+
"default": "./fesm2022/xxmachina-common-domain-builder-screen-item.mjs"
|
|
185
|
+
},
|
|
186
|
+
"./infra/converters/google": {
|
|
187
|
+
"types": "./infra/converters/google/index.d.ts",
|
|
188
|
+
"default": "./fesm2022/xxmachina-common-infra-converters-google.mjs"
|
|
189
|
+
},
|
|
190
|
+
"./infra/external/data-connect": {
|
|
191
|
+
"types": "./infra/external/data-connect/index.d.ts",
|
|
192
|
+
"default": "./fesm2022/xxmachina-common-infra-external-data-connect.mjs"
|
|
193
|
+
},
|
|
194
|
+
"./infra/external/quick-js": {
|
|
195
|
+
"types": "./infra/external/quick-js/index.d.ts",
|
|
196
|
+
"default": "./fesm2022/xxmachina-common-infra-external-quick-js.mjs"
|
|
197
|
+
},
|
|
198
|
+
"./infra/external/resend": {
|
|
199
|
+
"types": "./infra/external/resend/index.d.ts",
|
|
200
|
+
"default": "./fesm2022/xxmachina-common-infra-external-resend.mjs"
|
|
201
|
+
},
|
|
202
|
+
"./infra/query/firestore": {
|
|
203
|
+
"types": "./infra/query/firestore/index.d.ts",
|
|
204
|
+
"default": "./fesm2022/xxmachina-common-infra-query-firestore.mjs"
|
|
205
|
+
},
|
|
206
|
+
"./infra/query/hasura": {
|
|
207
|
+
"types": "./infra/query/hasura/index.d.ts",
|
|
208
|
+
"default": "./fesm2022/xxmachina-common-infra-query-hasura.mjs"
|
|
209
|
+
},
|
|
210
|
+
"./infra/repository/dataconnect": {
|
|
211
|
+
"types": "./infra/repository/dataconnect/index.d.ts",
|
|
212
|
+
"default": "./fesm2022/xxmachina-common-infra-repository-dataconnect.mjs"
|
|
213
|
+
},
|
|
214
|
+
"./infra/repository/firestore": {
|
|
215
|
+
"types": "./infra/repository/firestore/index.d.ts",
|
|
216
|
+
"default": "./fesm2022/xxmachina-common-infra-repository-firestore.mjs"
|
|
217
|
+
},
|
|
218
|
+
"./infra/repository/hasura": {
|
|
219
|
+
"types": "./infra/repository/hasura/index.d.ts",
|
|
220
|
+
"default": "./fesm2022/xxmachina-common-infra-repository-hasura.mjs"
|
|
221
|
+
},
|
|
222
|
+
"./infra/repository/notion": {
|
|
223
|
+
"types": "./infra/repository/notion/index.d.ts",
|
|
224
|
+
"default": "./fesm2022/xxmachina-common-infra-repository-notion.mjs"
|
|
225
|
+
},
|
|
226
|
+
"./invoice/domain/builders": {
|
|
227
|
+
"types": "./invoice/domain/builders/index.d.ts",
|
|
228
|
+
"default": "./fesm2022/xxmachina-common-invoice-domain-builders.mjs"
|
|
229
|
+
},
|
|
230
|
+
"./invoice/domain/models": {
|
|
231
|
+
"types": "./invoice/domain/models/index.d.ts",
|
|
232
|
+
"default": "./fesm2022/xxmachina-common-invoice-domain-models.mjs"
|
|
233
|
+
},
|
|
234
|
+
"./invoice/domain/resolvers": {
|
|
235
|
+
"types": "./invoice/domain/resolvers/index.d.ts",
|
|
236
|
+
"default": "./fesm2022/xxmachina-common-invoice-domain-resolvers.mjs"
|
|
237
|
+
},
|
|
238
|
+
"./invoice/usecase/contract": {
|
|
239
|
+
"types": "./invoice/usecase/contract/index.d.ts",
|
|
240
|
+
"default": "./fesm2022/xxmachina-common-invoice-usecase-contract.mjs"
|
|
241
|
+
},
|
|
242
|
+
"./invoice/usecase/invoice": {
|
|
243
|
+
"types": "./invoice/usecase/invoice/index.d.ts",
|
|
244
|
+
"default": "./fesm2022/xxmachina-common-invoice-usecase-invoice.mjs"
|
|
245
|
+
},
|
|
246
|
+
"./invoice/usecase/order": {
|
|
247
|
+
"types": "./invoice/usecase/order/index.d.ts",
|
|
248
|
+
"default": "./fesm2022/xxmachina-common-invoice-usecase-order.mjs"
|
|
249
|
+
},
|
|
250
|
+
"./invoice/usecase/partner": {
|
|
251
|
+
"types": "./invoice/usecase/partner/index.d.ts",
|
|
252
|
+
"default": "./fesm2022/xxmachina-common-invoice-usecase-partner.mjs"
|
|
253
|
+
},
|
|
254
|
+
"./services/query/config": {
|
|
255
|
+
"types": "./services/query/config/index.d.ts",
|
|
256
|
+
"default": "./fesm2022/xxmachina-common-services-query-config.mjs"
|
|
257
|
+
},
|
|
258
|
+
"./_shared/auth/passports/anonymous": {
|
|
259
|
+
"types": "./_shared/auth/passports/anonymous/index.d.ts",
|
|
260
|
+
"default": "./fesm2022/xxmachina-common-_shared-auth-passports-anonymous.mjs"
|
|
261
|
+
},
|
|
262
|
+
"./_shared/auth/passports/firebase": {
|
|
263
|
+
"types": "./_shared/auth/passports/firebase/index.d.ts",
|
|
264
|
+
"default": "./fesm2022/xxmachina-common-_shared-auth-passports-firebase.mjs"
|
|
265
|
+
},
|
|
266
|
+
"./_shared/auth/passports/internal": {
|
|
267
|
+
"types": "./_shared/auth/passports/internal/index.d.ts",
|
|
268
|
+
"default": "./fesm2022/xxmachina-common-_shared-auth-passports-internal.mjs"
|
|
269
|
+
},
|
|
270
|
+
"./_shared/auth/passports/msal": {
|
|
271
|
+
"types": "./_shared/auth/passports/msal/index.d.ts",
|
|
272
|
+
"default": "./fesm2022/xxmachina-common-_shared-auth-passports-msal.mjs"
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
"sideEffects": false
|
|
52
276
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as _apollo_client from '@apollo/client';
|
|
2
|
+
import * as graphql from 'graphql';
|
|
3
|
+
import { DocumentNode } from 'graphql';
|
|
4
|
+
import { GetHeaders, ApolloClientManagerService } from '@nx-ddd/hasura';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
6
|
+
import * as i0 from '@angular/core';
|
|
7
|
+
|
|
8
|
+
interface ExecutableGraphql {
|
|
9
|
+
endpoint: string;
|
|
10
|
+
query: string | DocumentNode;
|
|
11
|
+
variables: object;
|
|
12
|
+
headers: Record<string, string> | GetHeaders;
|
|
13
|
+
}
|
|
14
|
+
type ExecutableGetSchemaGraphql = Pick<ExecutableGraphql, 'endpoint' | 'headers'>;
|
|
15
|
+
declare class GraphqlService {
|
|
16
|
+
readonly apolloClientManager: ApolloClientManagerService;
|
|
17
|
+
/**
|
|
18
|
+
* @TODO
|
|
19
|
+
* this.apolloMulti.getClientはendpoint単位でApolloClientを管理しているため、
|
|
20
|
+
* _query.graphql.headersに認証情報などが含まれていないリクエストが初めに来ると、
|
|
21
|
+
* {message: 'no subscriptions exist}のようなエラーが出る。
|
|
22
|
+
* Headersが更新されるたびに、ApolloClientを再生成するような処理も必要。
|
|
23
|
+
*/
|
|
24
|
+
subscribe(graphql: ExecutableGraphql): Observable<graphql.FormattedExecutionResult<Record<string, any>, Record<string, any>>>;
|
|
25
|
+
query(graphql: ExecutableGraphql): Observable<_apollo_client.ApolloQueryResult<Record<string, any>>>;
|
|
26
|
+
getSchema(graphql: ExecutableGetSchemaGraphql): Observable<any>;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GraphqlService, never>;
|
|
28
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GraphqlService>;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { GraphqlService };
|
|
32
|
+
export type { ExecutableGetSchemaGraphql, ExecutableGraphql };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { InjectionToken, EnvironmentProviders } from '@angular/core';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
|
|
5
|
+
type QueryConfig = Record<string, string>;
|
|
6
|
+
declare const QUERY_CONFIG: InjectionToken<Observable<QueryConfig>>;
|
|
7
|
+
declare function provideQueryConfig(useFactory: () => Observable<QueryConfig>): EnvironmentProviders;
|
|
8
|
+
declare class QueryConfigService {
|
|
9
|
+
readonly config$: Observable<QueryConfig>;
|
|
10
|
+
protected replaceText(text: string, config: QueryConfig): string;
|
|
11
|
+
protected replace<T extends Record<string, any> | string>(params: T, config: QueryConfig): T;
|
|
12
|
+
resolve<T extends object>(params: T): Observable<T>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QueryConfigService, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<QueryConfigService>;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export { QUERY_CONFIG, QueryConfigService, provideQueryConfig };
|
|
18
|
+
export type { QueryConfig };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { Query } from '@xxmachina/common/domain';
|
|
3
|
+
import { ExecutableGraphql, GraphqlService } from '@xxmachina/common/services/graphql';
|
|
4
|
+
import { QueryConfigService } from '@xxmachina/common/services/query/config';
|
|
5
|
+
import * as i0 from '@angular/core';
|
|
6
|
+
import { TransformerService } from '@xxmachina/common/services/transformer';
|
|
7
|
+
|
|
8
|
+
interface ExecutableQuery {
|
|
9
|
+
graphql: ExecutableGraphql;
|
|
10
|
+
}
|
|
11
|
+
declare class QueryResolverService {
|
|
12
|
+
readonly config: QueryConfigService;
|
|
13
|
+
resolve(query: Query): Observable<ExecutableQuery>;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QueryResolverService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<QueryResolverService>;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
declare class QueryService {
|
|
19
|
+
protected readonly resolver: QueryResolverService;
|
|
20
|
+
protected readonly graphql: GraphqlService;
|
|
21
|
+
protected readonly transformer: TransformerService;
|
|
22
|
+
subscribe<R extends object = any>(query: Query): Observable<R>;
|
|
23
|
+
query<R extends object = any>(query: Query): Observable<R>;
|
|
24
|
+
getSchema(query: Query): Observable<any>;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QueryService, never>;
|
|
26
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<QueryService>;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { QueryService };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as rxjs from 'rxjs';
|
|
2
|
+
import * as _angular_core from '@angular/core';
|
|
3
|
+
|
|
4
|
+
declare class SpeechService {
|
|
5
|
+
private static instanceCounter;
|
|
6
|
+
private readonly PAUSE_THRESHOLD;
|
|
7
|
+
private recognition;
|
|
8
|
+
private lastSpeechTime;
|
|
9
|
+
private ignoreResults;
|
|
10
|
+
readonly transcript: _angular_core.WritableSignal<{
|
|
11
|
+
finalized: string;
|
|
12
|
+
interim: string;
|
|
13
|
+
}>;
|
|
14
|
+
readonly transcript$: rxjs.Observable<{
|
|
15
|
+
finalized: string;
|
|
16
|
+
interim: string;
|
|
17
|
+
}>;
|
|
18
|
+
readonly isListening: _angular_core.WritableSignal<boolean>;
|
|
19
|
+
readonly activeComponentId: _angular_core.WritableSignal<string>;
|
|
20
|
+
readonly isSupported: boolean;
|
|
21
|
+
readonly finalized: _angular_core.Signal<string>;
|
|
22
|
+
readonly finalized$: rxjs.Observable<string>;
|
|
23
|
+
constructor();
|
|
24
|
+
generateComponentId(): string;
|
|
25
|
+
isActiveComponent(componentId: string): boolean;
|
|
26
|
+
start(componentId: string): void;
|
|
27
|
+
stop(): void;
|
|
28
|
+
toggle(componentId: string): void;
|
|
29
|
+
clear(): void;
|
|
30
|
+
private setupRecognition;
|
|
31
|
+
private startRecognition;
|
|
32
|
+
private stopRecognition;
|
|
33
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SpeechService, never>;
|
|
34
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<SpeechService>;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { SpeechService };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { QuickJsService } from '@xxmachina/common/infra/external/quick-js';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
|
|
4
|
+
declare class TransformerService {
|
|
5
|
+
readonly quickJs: QuickJsService;
|
|
6
|
+
transform({ transformerTs, transformer, }: {
|
|
7
|
+
transformerTs?: string;
|
|
8
|
+
transformer?: (result: any) => any;
|
|
9
|
+
}, input: any): any;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TransformerService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TransformerService>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export { TransformerService };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as rxjs from 'rxjs';
|
|
2
|
+
import * as _xxmachina_common_domain_models from '@xxmachina/common/domain/models';
|
|
3
|
+
|
|
4
|
+
declare function getFirestoreQueryStore(): {
|
|
5
|
+
list: () => rxjs.Observable<_xxmachina_common_domain_models.Query<any, any>[]>;
|
|
6
|
+
create: (item: any) => Promise<_xxmachina_common_domain_models.Query<any, any>>;
|
|
7
|
+
update: (item: any) => Promise<void>;
|
|
8
|
+
save: (item: any) => Promise<any>;
|
|
9
|
+
};
|
|
10
|
+
declare function getFirestoreResourceStore(): {
|
|
11
|
+
list: () => rxjs.Observable<_xxmachina_common_domain_models.Resource[]>;
|
|
12
|
+
create: (item: any) => Promise<_xxmachina_common_domain_models.Resource>;
|
|
13
|
+
update: (item: any) => Promise<void>;
|
|
14
|
+
save: (item: any) => Promise<any>;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export { getFirestoreQueryStore, getFirestoreResourceStore };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as _xxmachina_common_domain_models from '@xxmachina/common/domain/models';
|
|
2
|
+
import * as rxjs from 'rxjs';
|
|
3
|
+
|
|
4
|
+
declare function getHasuraQueryStore(): {
|
|
5
|
+
list: () => rxjs.Observable<any[]>;
|
|
6
|
+
create: (item: any) => Promise<_xxmachina_common_domain_models.Query<any, any>>;
|
|
7
|
+
update: (item: any) => Promise<void>;
|
|
8
|
+
save: (item: any) => Promise<any>;
|
|
9
|
+
};
|
|
10
|
+
declare function getHasuraResourceStore(): {
|
|
11
|
+
list: () => rxjs.Observable<any[]>;
|
|
12
|
+
create: (item: any) => Promise<_xxmachina_common_domain_models.Resource>;
|
|
13
|
+
update: (item: any) => Promise<void>;
|
|
14
|
+
save: (item: any) => Promise<any>;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export { getHasuraQueryStore, getHasuraResourceStore };
|
package/stores/index.d.ts
CHANGED
|
@@ -1,50 +1,32 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import * as _nx_ddd_common_domain from '@nx-ddd/common/domain';
|
|
3
|
+
import * as _ng_atomic_common_stores_entities from '@ng-atomic/common/stores/entities';
|
|
1
4
|
import { EntityStoreAdapter } from '@ng-atomic/common/stores/entities';
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
import { Query, Resource } from '@xxmachina/common/domain/models';
|
|
6
|
+
|
|
7
|
+
declare function provideQueryStore(useFactory: () => EntityStoreAdapter<Query>): {
|
|
8
|
+
provide: _angular_core.InjectionToken<{
|
|
9
|
+
entity: _nx_ddd_common_domain.Type<_ng_atomic_common_stores_entities.Entity>;
|
|
10
|
+
adapter: EntityStoreAdapter<_ng_atomic_common_stores_entities.Entity>;
|
|
7
11
|
}[]>;
|
|
8
12
|
multi: boolean;
|
|
9
|
-
useFactory: (injector:
|
|
10
|
-
entity:
|
|
11
|
-
adapter: EntityStoreAdapter<Query
|
|
13
|
+
useFactory: (injector: _angular_core.Injector) => {
|
|
14
|
+
entity: _nx_ddd_common_domain.Type<Query<any, any>>;
|
|
15
|
+
adapter: EntityStoreAdapter<Query<any, any>>;
|
|
12
16
|
};
|
|
13
|
-
deps: (typeof
|
|
17
|
+
deps: (typeof _angular_core.Injector)[];
|
|
14
18
|
};
|
|
15
|
-
|
|
16
|
-
provide:
|
|
17
|
-
entity:
|
|
18
|
-
adapter: EntityStoreAdapter<
|
|
19
|
+
declare function provideResourceStore(useFactory: () => EntityStoreAdapter<Resource>): {
|
|
20
|
+
provide: _angular_core.InjectionToken<{
|
|
21
|
+
entity: _nx_ddd_common_domain.Type<_ng_atomic_common_stores_entities.Entity>;
|
|
22
|
+
adapter: EntityStoreAdapter<_ng_atomic_common_stores_entities.Entity>;
|
|
19
23
|
}[]>;
|
|
20
24
|
multi: boolean;
|
|
21
|
-
useFactory: (injector:
|
|
22
|
-
entity:
|
|
25
|
+
useFactory: (injector: _angular_core.Injector) => {
|
|
26
|
+
entity: _nx_ddd_common_domain.Type<Resource>;
|
|
23
27
|
adapter: EntityStoreAdapter<Resource>;
|
|
24
28
|
};
|
|
25
|
-
deps: (typeof
|
|
26
|
-
};
|
|
27
|
-
export declare function getFirestoreQueryStore(): {
|
|
28
|
-
list: () => import("rxjs").Observable<Query[]>;
|
|
29
|
-
create: (item: any) => Promise<Query>;
|
|
30
|
-
update: (item: any) => Promise<void>;
|
|
31
|
-
save: (item: any) => Promise<any>;
|
|
32
|
-
};
|
|
33
|
-
export declare function getFirestoreResourceStore(): {
|
|
34
|
-
list: () => import("rxjs").Observable<Resource[]>;
|
|
35
|
-
create: (item: any) => Promise<Resource>;
|
|
36
|
-
update: (item: any) => Promise<void>;
|
|
37
|
-
save: (item: any) => Promise<any>;
|
|
38
|
-
};
|
|
39
|
-
export declare function getHasuraQueryStore(): {
|
|
40
|
-
list: () => import("rxjs").Observable<any[]>;
|
|
41
|
-
create: (item: any) => Promise<Query>;
|
|
42
|
-
update: (item: any) => Promise<void>;
|
|
43
|
-
save: (item: any) => Promise<any>;
|
|
44
|
-
};
|
|
45
|
-
export declare function getHasuraResourceStore(): {
|
|
46
|
-
list: () => import("rxjs").Observable<any[]>;
|
|
47
|
-
create: (item: any) => Promise<Resource>;
|
|
48
|
-
update: (item: any) => Promise<void>;
|
|
49
|
-
save: (item: any) => Promise<any>;
|
|
29
|
+
deps: (typeof _angular_core.Injector)[];
|
|
50
30
|
};
|
|
31
|
+
|
|
32
|
+
export { provideQueryStore, provideResourceStore };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { EntityStoreAdapter } from '@ng-atomic/common/stores/entities';
|
|
4
|
+
import { Resource } from '@xxmachina/common/domain/models';
|
|
5
|
+
|
|
6
|
+
interface InMemoryStoreOptions {
|
|
7
|
+
initialData?: Record<string, any>;
|
|
8
|
+
}
|
|
9
|
+
declare class InMemoryStore {
|
|
10
|
+
private readonly store$;
|
|
11
|
+
constructor(options?: InMemoryStoreOptions);
|
|
12
|
+
set<T>(key: string, value: T): void;
|
|
13
|
+
get<T>(key: string): T | undefined;
|
|
14
|
+
get$<T>(key: string): Observable<T | undefined>;
|
|
15
|
+
delete(key: string): void;
|
|
16
|
+
clear(): void;
|
|
17
|
+
has(key: string): boolean;
|
|
18
|
+
keys(): string[];
|
|
19
|
+
values(): any[];
|
|
20
|
+
entries(): [string, any][];
|
|
21
|
+
size(): number;
|
|
22
|
+
getAll(): Record<string, any>;
|
|
23
|
+
getAll$(): Observable<Record<string, any>>;
|
|
24
|
+
update<T>(key: string, updater: (value: T | undefined) => T): void;
|
|
25
|
+
merge(data: Record<string, any>): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InMemoryStore, never>;
|
|
27
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<InMemoryStore>;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
declare function getInmemoryResourceStore(initialResources?: Resource[]): EntityStoreAdapter<Resource>;
|
|
31
|
+
|
|
32
|
+
export { InMemoryStore, getInmemoryResourceStore };
|
|
33
|
+
export type { InMemoryStoreOptions };
|
|
@@ -1 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
import { InfrastructureService } from '@xxmachina/common/infra';
|
|
2
|
+
import { AssistantOperator } from '@xxmachina/common/domain/models';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
|
|
5
|
+
declare class AssistantService {
|
|
6
|
+
private infra;
|
|
7
|
+
constructor(infra: InfrastructureService);
|
|
8
|
+
list(): Promise<AssistantOperator[]>;
|
|
9
|
+
create(assistant: AssistantOperator): Promise<AssistantOperator>;
|
|
10
|
+
update(assistant: AssistantOperator): Promise<void>;
|
|
11
|
+
delete(assistantid: string): Promise<void>;
|
|
12
|
+
operate(assistantId: string, input: string): Promise<string>;
|
|
13
|
+
private scrape;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AssistantService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AssistantService>;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export { AssistantService };
|
|
@@ -1 +1,39 @@
|
|
|
1
|
-
|
|
1
|
+
import * as _notionhq_client_build_src_api_endpoints from '@notionhq/client/build/src/api-endpoints';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { InjectionToken } from '@angular/core';
|
|
4
|
+
|
|
5
|
+
interface DatabaseConfig {
|
|
6
|
+
notionApiKey: string;
|
|
7
|
+
databaseIdToName: {
|
|
8
|
+
[key: string]: string;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
declare function provideDatabaseConfig(useFactory: () => DatabaseConfig): {
|
|
12
|
+
provide: InjectionToken<DatabaseConfig>;
|
|
13
|
+
useFactory: () => DatabaseConfig;
|
|
14
|
+
};
|
|
15
|
+
declare class DatabaseService {
|
|
16
|
+
private config;
|
|
17
|
+
private notion;
|
|
18
|
+
get(databaseId: string): Promise<_notionhq_client_build_src_api_endpoints.GetDatabaseResponse>;
|
|
19
|
+
update(databaseId: string, body: any): Promise<_notionhq_client_build_src_api_endpoints.UpdateDatabaseResponse>;
|
|
20
|
+
listDatabases(): Promise<any[]>;
|
|
21
|
+
generateMermaidER(): Promise<string>;
|
|
22
|
+
getPageItems(dbId: string, name: string): Promise<any[]>;
|
|
23
|
+
getParent(parent: {
|
|
24
|
+
type: 'database_id';
|
|
25
|
+
database_id: string;
|
|
26
|
+
} | {
|
|
27
|
+
type: 'page_id';
|
|
28
|
+
page_id: string;
|
|
29
|
+
} | {
|
|
30
|
+
type: 'block_id';
|
|
31
|
+
block_id: string;
|
|
32
|
+
}): Promise<_notionhq_client_build_src_api_endpoints.PartialDatabaseObjectResponse | _notionhq_client_build_src_api_endpoints.PartialPageObjectResponse | _notionhq_client_build_src_api_endpoints.PartialBlockObjectResponse>;
|
|
33
|
+
getPath(obj: any): Promise<string>;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatabaseService, never>;
|
|
35
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DatabaseService>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export { DatabaseService, provideDatabaseConfig };
|
|
39
|
+
export type { DatabaseConfig };
|
|
@@ -1 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
import * as firebase_admin_data_connect from 'firebase-admin/data-connect';
|
|
2
|
+
import * as _nx_ddd_any_func from '@nx-ddd/any-func';
|
|
3
|
+
import { HttpClient } from '@angular/common/http';
|
|
4
|
+
import * as i0 from '@angular/core';
|
|
5
|
+
|
|
6
|
+
declare class GraphqlService {
|
|
7
|
+
protected http: HttpClient;
|
|
8
|
+
protected anyFunc: _nx_ddd_any_func.AnyFuncService;
|
|
9
|
+
protected dc: firebase_admin_data_connect.DataConnect;
|
|
10
|
+
constructor();
|
|
11
|
+
graphql(query: string): Promise<firebase_admin_data_connect.ExecuteGraphqlResponse<unknown>>;
|
|
12
|
+
makeQuery(instructions: string): Promise<string>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GraphqlService, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GraphqlService>;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export { GraphqlService };
|