@xxmachina/common 0.0.0-PLACEHOLDER
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 -0
- package/_shared/auth/passports/anonymous/index.d.ts +8 -0
- package/_shared/auth/passports/firebase/index.d.ts +19 -0
- package/_shared/auth/passports/internal/index.d.ts +17 -0
- package/_shared/auth/passports/msal/index.d.ts +26 -0
- package/_shared/meta/index.d.ts +8 -0
- package/_shared/meta/redis/index.d.ts +39 -0
- package/auth/index.d.ts +16 -0
- package/azure-auth/index.d.ts +41 -0
- package/domain/builder/index.d.ts +81 -0
- package/domain/builder/screen-item/index.d.ts +7 -0
- package/domain/index.d.ts +2 -0
- package/domain/models/index.d.ts +517 -0
- 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/fesm2022/xxmachina-common-domain-builder-screen-item.mjs +201 -0
- 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 +841 -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 +35 -0
- package/fesm2022/xxmachina-common-infra-external.mjs.map +1 -0
- package/fesm2022/xxmachina-common-infra-query-firestore.mjs +33 -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 +73 -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 +105 -0
- package/fesm2022/xxmachina-common-infra-repository-notion.mjs.map +1 -0
- package/fesm2022/xxmachina-common-infra.mjs +368 -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 +432 -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 +323 -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/fesm2022/xxmachina-common-utils-crypto.mjs +30 -0
- package/fesm2022/xxmachina-common-utils-crypto.mjs.map +1 -0
- package/fesm2022/xxmachina-common-utils.mjs +53 -0
- 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 +15 -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 +206 -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 +89 -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/invoice/domain/resolvers/index.d.ts +15 -0
- 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 +276 -0
- package/services/graphql/index.d.ts +97 -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 +32 -0
- package/stores/inmemory/index.d.ts +33 -0
- package/usecase/assistant/index.d.ts +18 -0
- package/usecase/database/index.d.ts +39 -0
- package/usecase/graphql/index.d.ts +17 -0
- package/usecase/index.d.ts +73 -0
- package/usecase/link/index.d.ts +13 -0
- package/usecase/project/index.d.ts +16 -0
- package/usecase/spec/index.d.ts +17 -0
- package/utils/crypto/index.d.ts +9 -0
- package/utils/index.d.ts +5 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Google, Query, Resource } from '@xxmachina/common/domain/models';
|
|
2
|
+
import { GoogleConverter } from '@xxmachina/common/infra/converters/google';
|
|
3
|
+
import * as _nx_ddd_firestore from '@nx-ddd/firestore';
|
|
4
|
+
import { FirestoreRepository as FirestoreRepository$1 } from '@nx-ddd/firestore';
|
|
5
|
+
import * as i0 from '@angular/core';
|
|
6
|
+
|
|
7
|
+
declare class GoogleRepository extends FirestoreRepository$1<Google> {
|
|
8
|
+
readonly collectionPath = "users/:userId/links/:id";
|
|
9
|
+
protected converter: GoogleConverter;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GoogleRepository, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GoogleRepository>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
declare class LinkRepository {
|
|
15
|
+
google: GoogleRepository;
|
|
16
|
+
constructor(google: GoogleRepository);
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LinkRepository, never>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LinkRepository>;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
declare class FirestoreRepository {
|
|
22
|
+
link: LinkRepository;
|
|
23
|
+
constructor(link: LinkRepository);
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FirestoreRepository, never>;
|
|
25
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FirestoreRepository>;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
declare class QueryFirestoreRepository extends FirestoreRepository$1<Query> {
|
|
29
|
+
readonly collectionPath = "projects/:projectId/queries/:id";
|
|
30
|
+
protected converter: _nx_ddd_firestore.IFirestoreConverter<Query<any, any>>;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QueryFirestoreRepository, never>;
|
|
32
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<QueryFirestoreRepository>;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
declare class ResourceFirestoreRepository extends FirestoreRepository$1<Resource> {
|
|
36
|
+
readonly collectionPath = "projects/:projectId/resources/:id";
|
|
37
|
+
protected converter: _nx_ddd_firestore.IFirestoreConverter<Resource>;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceFirestoreRepository, never>;
|
|
39
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ResourceFirestoreRepository>;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export { FirestoreRepository, QueryFirestoreRepository, ResourceFirestoreRepository };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as _nx_ddd_hasura from '@nx-ddd/hasura';
|
|
2
|
+
import { HasuraRepository } from '@nx-ddd/hasura';
|
|
3
|
+
import { Query, Resource } from '@xxmachina/common/domain/models';
|
|
4
|
+
import * as i0 from '@angular/core';
|
|
5
|
+
|
|
6
|
+
declare class QueryHasuraRepository extends HasuraRepository<Query> {
|
|
7
|
+
readonly tableName = "meta_queries";
|
|
8
|
+
protected converter: _nx_ddd_hasura.HasuraConverter<Query<any, any>>;
|
|
9
|
+
readonly updateColumns: string[];
|
|
10
|
+
get pkey(): string;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QueryHasuraRepository, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<QueryHasuraRepository>;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
declare class ResourceHasuraRepository extends HasuraRepository<Resource> {
|
|
16
|
+
readonly tableName = "meta_resources";
|
|
17
|
+
protected converter: _nx_ddd_hasura.HasuraConverter<Resource>;
|
|
18
|
+
readonly updateColumns: string[];
|
|
19
|
+
get pkey(): string;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceHasuraRepository, never>;
|
|
21
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ResourceHasuraRepository>;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export { QueryHasuraRepository, ResourceHasuraRepository };
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
3
|
+
import * as _nx_ddd_notion from '@nx-ddd/notion';
|
|
4
|
+
import { NotionRepository as NotionRepository$1 } from '@nx-ddd/notion';
|
|
5
|
+
import { Contract, Invoice, Order } from '@xxmachina/common/invoice/domain';
|
|
6
|
+
import { Partner } from '@xxmachina/common/invoice/domain/models';
|
|
7
|
+
|
|
8
|
+
interface ContractConfig {
|
|
9
|
+
databaseId: string;
|
|
10
|
+
}
|
|
11
|
+
declare const CONTRACT_CONFIG: InjectionToken<ContractConfig>;
|
|
12
|
+
declare function provideContractConfig(config: ContractConfig): {
|
|
13
|
+
provide: InjectionToken<ContractConfig>;
|
|
14
|
+
useValue: ContractConfig;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
declare class ContractNotionRepository extends NotionRepository$1<Contract> {
|
|
18
|
+
protected converter: _nx_ddd_notion.NotionConverter<any>;
|
|
19
|
+
protected databaseId: string;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContractNotionRepository, never>;
|
|
21
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ContractNotionRepository>;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
interface InvoiceConfig {
|
|
25
|
+
databaseId: string;
|
|
26
|
+
}
|
|
27
|
+
declare const INVOICE_CONFIG: InjectionToken<InvoiceConfig>;
|
|
28
|
+
declare function provideInvoiceConfig(config: InvoiceConfig): {
|
|
29
|
+
provide: InjectionToken<InvoiceConfig>;
|
|
30
|
+
useValue: InvoiceConfig;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
declare class InvoiceNotionRepository extends NotionRepository$1<Invoice> {
|
|
34
|
+
protected converter: _nx_ddd_notion.NotionConverter<any>;
|
|
35
|
+
protected databaseId: string;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InvoiceNotionRepository, never>;
|
|
37
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<InvoiceNotionRepository>;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
declare class OrderNotionRepository extends NotionRepository$1<Order> {
|
|
41
|
+
protected converter: _nx_ddd_notion.NotionConverter<any>;
|
|
42
|
+
protected databaseId: string;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderNotionRepository, never>;
|
|
44
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<OrderNotionRepository>;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
interface PartnerConfig {
|
|
48
|
+
databaseId: string;
|
|
49
|
+
}
|
|
50
|
+
declare const PARTNER_CONFIG: InjectionToken<PartnerConfig>;
|
|
51
|
+
declare function providePartnerConfig(config: PartnerConfig): {
|
|
52
|
+
provide: InjectionToken<PartnerConfig>;
|
|
53
|
+
useValue: PartnerConfig;
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
declare class PartnerNotionRepository extends NotionRepository$1<Partner> {
|
|
57
|
+
protected converter: _nx_ddd_notion.NotionConverter<any>;
|
|
58
|
+
protected databaseId: string;
|
|
59
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PartnerNotionRepository, never>;
|
|
60
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PartnerNotionRepository>;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
interface NotionConfig {
|
|
64
|
+
accessToken: string;
|
|
65
|
+
contract: ContractConfig;
|
|
66
|
+
invoice: InvoiceConfig;
|
|
67
|
+
order: any;
|
|
68
|
+
partner: PartnerConfig;
|
|
69
|
+
}
|
|
70
|
+
declare function provideNotionConfig(config: NotionConfig): ({
|
|
71
|
+
provide: i0.InjectionToken<ContractConfig>;
|
|
72
|
+
useValue: ContractConfig;
|
|
73
|
+
} | {
|
|
74
|
+
provide: i0.InjectionToken<string>;
|
|
75
|
+
useValue: string;
|
|
76
|
+
})[];
|
|
77
|
+
|
|
78
|
+
declare class NotionRepository {
|
|
79
|
+
contract: ContractNotionRepository;
|
|
80
|
+
invoice: InvoiceNotionRepository;
|
|
81
|
+
order: OrderNotionRepository;
|
|
82
|
+
partner: PartnerNotionRepository;
|
|
83
|
+
constructor(contract: ContractNotionRepository, invoice: InvoiceNotionRepository, order: OrderNotionRepository, partner: PartnerNotionRepository);
|
|
84
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotionRepository, never>;
|
|
85
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NotionRepository>;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export { CONTRACT_CONFIG, ContractNotionRepository, INVOICE_CONFIG, InvoiceNotionRepository, NotionRepository, OrderNotionRepository, PARTNER_CONFIG, PartnerNotionRepository, provideContractConfig, provideInvoiceConfig, provideNotionConfig, providePartnerConfig };
|
|
89
|
+
export type { ContractConfig, InvoiceConfig, NotionConfig, PartnerConfig };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Invoice } from '@xxmachina/common/invoice/domain/models';
|
|
2
|
+
|
|
3
|
+
declare class MessageBuilder {
|
|
4
|
+
private getInvoiceRange;
|
|
5
|
+
private getInvoicePeriod;
|
|
6
|
+
buildMyName(invoice: Invoice): string;
|
|
7
|
+
build(invoice: Invoice): string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
declare class Email {
|
|
11
|
+
static EMPTY: {
|
|
12
|
+
to: string;
|
|
13
|
+
cc: string;
|
|
14
|
+
title: string;
|
|
15
|
+
body: string;
|
|
16
|
+
};
|
|
17
|
+
to: string;
|
|
18
|
+
cc: string;
|
|
19
|
+
title: string;
|
|
20
|
+
body: string;
|
|
21
|
+
}
|
|
22
|
+
declare class EmailBuilder {
|
|
23
|
+
protected readonly mesageBuilder: MessageBuilder;
|
|
24
|
+
build(invoice: Invoice): Email;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
declare class TitleBuilder {
|
|
28
|
+
build(invoice: Invoice): string;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { Email, EmailBuilder, MessageBuilder, TitleBuilder };
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { Entity } from '@nx-ddd/common/domain';
|
|
2
|
+
|
|
3
|
+
declare class Contract extends Entity {
|
|
4
|
+
id: string;
|
|
5
|
+
no: number;
|
|
6
|
+
title: string;
|
|
7
|
+
issueDate: Date;
|
|
8
|
+
orderIds: string[];
|
|
9
|
+
static from(params: Contract): Contract;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
declare class Partner extends Entity {
|
|
13
|
+
id: string;
|
|
14
|
+
no: number;
|
|
15
|
+
name: string;
|
|
16
|
+
type: string;
|
|
17
|
+
address: string;
|
|
18
|
+
postalCode: string;
|
|
19
|
+
email: string;
|
|
20
|
+
billingEmail: string;
|
|
21
|
+
billingContact: string;
|
|
22
|
+
phoneNumber: string;
|
|
23
|
+
contact: string;
|
|
24
|
+
suffix: string;
|
|
25
|
+
bankAccount: string;
|
|
26
|
+
invoiceNumber: string;
|
|
27
|
+
static from(params: Partner): Partner;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
declare class Order extends Entity {
|
|
31
|
+
id: string;
|
|
32
|
+
no: number;
|
|
33
|
+
title: string;
|
|
34
|
+
eclId: string;
|
|
35
|
+
customerId: string;
|
|
36
|
+
customer?: Partner;
|
|
37
|
+
vendorId: string;
|
|
38
|
+
vendor?: Partner;
|
|
39
|
+
contractId: string;
|
|
40
|
+
invoiceId: string;
|
|
41
|
+
startDate: Date;
|
|
42
|
+
endDate: Date;
|
|
43
|
+
unitPrice: number;
|
|
44
|
+
unit: string;
|
|
45
|
+
quantity: number;
|
|
46
|
+
amountInput: number;
|
|
47
|
+
amount: number;
|
|
48
|
+
statusIn: string;
|
|
49
|
+
statusOut: string;
|
|
50
|
+
static from(params: Order): Order;
|
|
51
|
+
static get EMPTY(): Order;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
declare class Invoice extends Entity {
|
|
55
|
+
id: string;
|
|
56
|
+
no: number;
|
|
57
|
+
title: string;
|
|
58
|
+
subject: string;
|
|
59
|
+
customerId: string;
|
|
60
|
+
customer?: Partner;
|
|
61
|
+
vendorId: string;
|
|
62
|
+
vendor?: Partner;
|
|
63
|
+
amount: number;
|
|
64
|
+
dueDate: Date;
|
|
65
|
+
orderIds: string[];
|
|
66
|
+
orders?: Order[];
|
|
67
|
+
static from(data: Partial<Invoice>): Invoice & Partial<Invoice>;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
declare class InvoiceMail {
|
|
71
|
+
from: string;
|
|
72
|
+
to: string;
|
|
73
|
+
subject: string;
|
|
74
|
+
content: string;
|
|
75
|
+
invoice: Invoice;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export { Contract, Invoice, InvoiceMail, Order, Partner };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Invoice, Order, Partner } from '@xxmachina/common/invoice/domain/models';
|
|
2
|
+
import { BaseResolver } from '@nx-ddd/common/domain';
|
|
3
|
+
|
|
4
|
+
declare class InvoiceResolver extends BaseResolver<Invoice> {
|
|
5
|
+
orderMap: Map<string, Order>;
|
|
6
|
+
partnerMap: Map<string, Partner>;
|
|
7
|
+
constructor({ orders, partners, }?: {
|
|
8
|
+
orders?: Order[];
|
|
9
|
+
partners?: Partner[];
|
|
10
|
+
});
|
|
11
|
+
resolve(invoice: Invoice): Invoice;
|
|
12
|
+
resolveMany(invoices: Invoice[]): Invoice[];
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export { InvoiceResolver };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as _nx_ddd_hasura from '@nx-ddd/hasura';
|
|
2
|
+
import { ContractNotionRepository } from '@xxmachina/common/infra/repository/notion';
|
|
3
|
+
import { Contract } from '@xxmachina/common/invoice/domain/models';
|
|
4
|
+
import * as i0 from '@angular/core';
|
|
5
|
+
|
|
6
|
+
declare class ContractUsecase {
|
|
7
|
+
protected notionRepo: ContractNotionRepository;
|
|
8
|
+
protected hasuraRepo: _nx_ddd_hasura._HasuraRepository<Contract>;
|
|
9
|
+
sync(): Promise<void>;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContractUsecase, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ContractUsecase>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export { ContractUsecase };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as _nx_ddd_core from '@nx-ddd/core';
|
|
2
|
+
import { Invoice, InvoiceMail } from '@xxmachina/common/invoice/domain/models';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
|
|
5
|
+
interface InvoiceConfig {
|
|
6
|
+
templateBaseUrl: string;
|
|
7
|
+
}
|
|
8
|
+
declare const INVOICE_CONFIG: _nx_ddd_core.DiToken<InvoiceConfig>;
|
|
9
|
+
declare class InvoiceUsecase {
|
|
10
|
+
private readonly notionRepo;
|
|
11
|
+
private readonly chromium;
|
|
12
|
+
private readonly config;
|
|
13
|
+
private readonly resend;
|
|
14
|
+
private readonly hasura;
|
|
15
|
+
private readonly hasuraService;
|
|
16
|
+
list(): Promise<Invoice[]>;
|
|
17
|
+
syncOne(id: string): Promise<void>;
|
|
18
|
+
sync(): Promise<{
|
|
19
|
+
synced: number;
|
|
20
|
+
}>;
|
|
21
|
+
makePdf(data: object): Promise<{
|
|
22
|
+
pdf: Buffer;
|
|
23
|
+
title: string;
|
|
24
|
+
name: string;
|
|
25
|
+
}>;
|
|
26
|
+
sendMail(mail: InvoiceMail): Promise<void>;
|
|
27
|
+
getLink(invoiceId: string): Promise<string>;
|
|
28
|
+
private transformInvoiceData;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InvoiceUsecase, never>;
|
|
30
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<InvoiceUsecase>;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { INVOICE_CONFIG, InvoiceUsecase };
|
|
34
|
+
export type { InvoiceConfig };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as _nx_ddd_hasura from '@nx-ddd/hasura';
|
|
2
|
+
import { OrderNotionRepository } from '@xxmachina/common/infra/repository/notion';
|
|
3
|
+
import { Order } from '@xxmachina/common/invoice/domain/models';
|
|
4
|
+
import * as i0 from '@angular/core';
|
|
5
|
+
|
|
6
|
+
declare class OrderUsecase {
|
|
7
|
+
protected notion: OrderNotionRepository;
|
|
8
|
+
protected hasuraRepo: _nx_ddd_hasura._HasuraRepository<Order>;
|
|
9
|
+
sync(): Promise<{
|
|
10
|
+
synced: number;
|
|
11
|
+
}>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrderUsecase, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<OrderUsecase>;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export { OrderUsecase };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as _nx_ddd_hasura from '@nx-ddd/hasura';
|
|
2
|
+
import { PartnerNotionRepository } from '@xxmachina/common/infra/repository/notion';
|
|
3
|
+
import { Partner } from '@xxmachina/common/invoice/domain/models';
|
|
4
|
+
import * as i0 from '@angular/core';
|
|
5
|
+
|
|
6
|
+
declare class PartnerUsecase {
|
|
7
|
+
protected notionRepo: PartnerNotionRepository;
|
|
8
|
+
protected hasuraRepo: _nx_ddd_hasura._HasuraRepository<Partner>;
|
|
9
|
+
sync(): Promise<{
|
|
10
|
+
synced: number;
|
|
11
|
+
}>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PartnerUsecase, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PartnerUsecase>;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export { PartnerUsecase };
|
package/package.json
ADDED
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@xxmachina/common",
|
|
3
|
+
"version": "0.0.0-PLACEHOLDER",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"main": "./index.js",
|
|
6
|
+
"types": "./index.d.ts",
|
|
7
|
+
"peerDependencies": {
|
|
8
|
+
"@angular/common": "19.1.4",
|
|
9
|
+
"@angular/core": "19.1.4",
|
|
10
|
+
"@angular/router": "19.1.4",
|
|
11
|
+
"@azure/msal-angular": "^3.1.0",
|
|
12
|
+
"@azure/msal-browser": "3.28.0",
|
|
13
|
+
"@nestjs/common": "10.2.8",
|
|
14
|
+
"@nestjs/graphql": "^11.0.0",
|
|
15
|
+
"@nestjs/passport": "^9.0.3",
|
|
16
|
+
"@ng-atomic/common": "0.0.0-PLACEHOLDER",
|
|
17
|
+
"@ng-atomic/components": "0.0.0-PLACEHOLDER",
|
|
18
|
+
"@ng-atomic/core": "0.0.0-PLACEHOLDER",
|
|
19
|
+
"@nx-ddd/common": "0.0.0-PLACEHOLDER",
|
|
20
|
+
"@nx-ddd/core": "0.0.0-PLACEHOLDER",
|
|
21
|
+
"@tfarras/nestjs-firebase-auth": "^2.0.0",
|
|
22
|
+
"apollo-angular": "^7.0.2",
|
|
23
|
+
"class-transformer": "^0.5.1",
|
|
24
|
+
"class-validator": "^0.14.0",
|
|
25
|
+
"class-validator-extended": "^3.2.0",
|
|
26
|
+
"dayjs": "1.11.13",
|
|
27
|
+
"express": "4.21.2",
|
|
28
|
+
"firebase-admin": "^12.6.0",
|
|
29
|
+
"flat": "^6.0.0",
|
|
30
|
+
"genson-js": "^0.0.8",
|
|
31
|
+
"graphql": "^16.8.1",
|
|
32
|
+
"json-schema-library": "^10.0.0-rc2",
|
|
33
|
+
"lodash-es": "^4.17.15",
|
|
34
|
+
"passport-custom": "^1.1.1",
|
|
35
|
+
"passport-http-bearer": "^1.0.1",
|
|
36
|
+
"passport-jwt": "^4.0.1",
|
|
37
|
+
"prettier": "2.7.1",
|
|
38
|
+
"qs": "6.13.1",
|
|
39
|
+
"quickjs-emscripten": "^0.31.0",
|
|
40
|
+
"redis": "^4.6.5",
|
|
41
|
+
"resend": "^4.0.1",
|
|
42
|
+
"rxjs": "^7.8.0",
|
|
43
|
+
"validate-azure-ad-token": "^2.2.0"
|
|
44
|
+
},
|
|
45
|
+
"optionalDependencies": {
|
|
46
|
+
"@nx-ddd/any-func": "0.0.0-PLACEHOLDER",
|
|
47
|
+
"@nx-ddd/firestore": "0.0.0-PLACEHOLDER",
|
|
48
|
+
"@nx-ddd/google": "0.0.0-PLACEHOLDER",
|
|
49
|
+
"@nx-ddd/hasura": "0.0.0-PLACEHOLDER",
|
|
50
|
+
"@nx-ddd/notion": "0.0.0-PLACEHOLDER",
|
|
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/models": {
|
|
227
|
+
"types": "./invoice/domain/models/index.d.ts",
|
|
228
|
+
"default": "./fesm2022/xxmachina-common-invoice-domain-models.mjs"
|
|
229
|
+
},
|
|
230
|
+
"./invoice/domain/builders": {
|
|
231
|
+
"types": "./invoice/domain/builders/index.d.ts",
|
|
232
|
+
"default": "./fesm2022/xxmachina-common-invoice-domain-builders.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
|
|
276
|
+
}
|