@coopenomics/extension-sdk 2026.12.1 → 2026.12.3-dev.2
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/README.md +29 -0
- package/dist/app/app-error.d.ts +31 -0
- package/dist/app/app-error.js +49 -0
- package/dist/app/app-logger.d.ts +29 -0
- package/dist/app/app-logger.js +54 -0
- package/dist/app/app-messages.d.ts +11 -0
- package/dist/app/app-messages.js +16 -0
- package/dist/app/app-platform.module.d.ts +19 -0
- package/dist/app/app-platform.module.js +35 -0
- package/dist/app/app-rights.d.ts +73 -0
- package/dist/app/app-rights.js +116 -0
- package/dist/config/extension-config.d.ts +14 -0
- package/dist/config/extension-config.js +5 -0
- package/dist/database/app-database.module.d.ts +39 -0
- package/dist/database/app-database.module.js +101 -0
- package/dist/database/index.d.ts +2 -0
- package/dist/database/index.js +11 -0
- package/dist/database/legacy-import.d.ts +61 -0
- package/dist/database/legacy-import.js +153 -0
- package/dist/database/live-changes.plugin.d.ts +50 -0
- package/dist/database/live-changes.plugin.js +119 -0
- package/dist/graphql/account-type.enum.d.ts +18 -0
- package/dist/graphql/account-type.enum.js +24 -0
- package/dist/graphql/certificates.dto.d.ts +70 -0
- package/dist/graphql/certificates.dto.js +200 -0
- package/dist/graphql/document-aggregate.dto.d.ts +16 -0
- package/dist/graphql/document-aggregate.dto.js +54 -0
- package/dist/graphql/generate-document-input.dto.d.ts +16 -0
- package/dist/graphql/generate-document-input.dto.js +34 -0
- package/dist/graphql/generate-document-options-input.dto.d.ts +5 -0
- package/dist/graphql/generate-document-options-input.dto.js +30 -0
- package/dist/graphql/generate-meta-document-input.dto.d.ts +14 -0
- package/dist/graphql/generate-meta-document-input.dto.js +100 -0
- package/dist/graphql/generated-document.dto.d.ts +21 -0
- package/dist/graphql/generated-document.dto.js +64 -0
- package/dist/graphql/index.d.ts +39 -0
- package/dist/graphql/index.js +70 -0
- package/dist/graphql/lang-type.enum.d.ts +4 -0
- package/dist/graphql/lang-type.enum.js +13 -0
- package/dist/graphql/meta-document-input.dto.d.ts +15 -0
- package/dist/graphql/meta-document-input.dto.js +103 -0
- package/dist/graphql/pagination.dto.d.ts +41 -0
- package/dist/graphql/pagination.dto.js +110 -0
- package/dist/graphql/print-subgraph.d.ts +14 -0
- package/dist/graphql/print-subgraph.js +65 -0
- package/dist/graphql/signed-digital-document-input.dto.d.ts +31 -0
- package/dist/graphql/signed-digital-document-input.dto.js +133 -0
- package/dist/graphql/signed-digital-document.dto.d.ts +34 -0
- package/dist/graphql/signed-digital-document.dto.js +136 -0
- package/dist/graphql/signer-certificate.resolver.d.ts +23 -0
- package/dist/graphql/signer-certificate.resolver.js +70 -0
- package/dist/graphql/subgraph-sdl.d.ts +54 -0
- package/dist/graphql/subgraph-sdl.js +125 -0
- package/dist/graphql/transaction.dto.d.ts +12 -0
- package/dist/graphql/transaction.dto.js +70 -0
- package/dist/graphql/user-certificate.union.d.ts +8 -0
- package/dist/graphql/user-certificate.union.js +25 -0
- package/dist/graphql/validation-message.d.ts +12 -0
- package/dist/graphql/validation-message.js +12 -0
- package/dist/index.d.ts +11 -1
- package/dist/index.js +50 -1
- package/dist/ports/app-ports.client.d.ts +64 -0
- package/dist/ports/app-ports.client.js +104 -0
- package/dist/ports/app-ports.provider.d.ts +57 -0
- package/dist/ports/app-ports.provider.js +124 -0
- package/dist/ports/core-ports.client.js +13 -1
- package/dist/ports/extension-ports.module.d.ts +67 -0
- package/dist/ports/extension-ports.module.js +133 -4
- package/dist/ports/integration-settings.d.ts +17 -0
- package/dist/ports/integration-settings.js +6 -0
- package/dist/secrets/app-credentials.d.ts +6 -0
- package/dist/secrets/app-credentials.js +38 -0
- package/dist/secrets/app-secrets.d.ts +17 -0
- package/dist/secrets/app-secrets.js +74 -0
- package/dist/secrets/index.d.ts +7 -0
- package/dist/secrets/index.js +15 -0
- package/dist/subgraph-rules/index.d.ts +35 -0
- package/dist/subgraph-rules/index.js +211 -0
- package/dist/sync/abstract-blockchain-delta.mapper.d.ts +18 -0
- package/dist/sync/abstract-blockchain-delta.mapper.js +25 -0
- package/dist/sync/abstract-entity-sync.service.d.ts +79 -0
- package/dist/sync/abstract-entity-sync.service.js +219 -0
- package/dist/sync/audit-logger.d.ts +5 -0
- package/dist/sync/audit-logger.js +32 -0
- package/dist/sync/base-chain.repository.d.ts +46 -0
- package/dist/sync/base-chain.repository.js +127 -0
- package/dist/sync/base-database.interface.d.ts +17 -0
- package/dist/sync/base-database.interface.js +2 -0
- package/dist/sync/base-domain.entity.d.ts +27 -0
- package/dist/sync/base-domain.entity.js +52 -0
- package/dist/sync/base-output.dto.d.ts +10 -0
- package/dist/sync/base-output.dto.js +60 -0
- package/dist/sync/blockchain-sync.interface.d.ts +84 -0
- package/dist/sync/blockchain-sync.interface.js +2 -0
- package/dist/sync/chain-record.d.ts +15 -0
- package/dist/sync/chain-record.js +19 -0
- package/dist/sync/chain-versioning.service.d.ts +47 -0
- package/dist/sync/chain-versioning.service.js +169 -0
- package/dist/sync/delta.d.ts +22 -0
- package/dist/sync/delta.js +2 -0
- package/dist/sync/errors/audit-unknown-status.d.ts +11 -0
- package/dist/sync/errors/audit-unknown-status.js +26 -0
- package/dist/sync/errors/unsupported-contract-version.error.d.ts +23 -0
- package/dist/sync/errors/unsupported-contract-version.error.js +22 -0
- package/dist/sync/fork/fork-aware-syncer.interface.d.ts +44 -0
- package/dist/sync/fork/fork-aware-syncer.interface.js +22 -0
- package/dist/sync/index.d.ts +36 -0
- package/dist/sync/index.js +56 -0
- package/dist/sync/sync-logger.d.ts +21 -0
- package/dist/sync/sync-logger.js +2 -0
- package/dist/sync/sync-policy.d.ts +27 -0
- package/dist/sync/sync-policy.js +16 -0
- package/package.json +55 -3
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.OrganizationCertificateDTO = exports.EntrepreneurCertificateDTO = exports.IndividualCertificateDTO = exports.RepresentedByCertificateDTO = void 0;
|
|
13
|
+
/**
|
|
14
|
+
* Сертификат подписанта — кто стоит за учётным именем под подписью: ФИО
|
|
15
|
+
* пайщика, ИНН предпринимателя, реквизиты организации и её представителя.
|
|
16
|
+
*
|
|
17
|
+
* Поле `type` конструктор задаёт сам по классу сертификата. Во входных
|
|
18
|
+
* полях `type` необязателен и любого перечисления: ядро передаёт доменный
|
|
19
|
+
* объект со своим `InnerAccountType`, приложение — данные из ядра как есть.
|
|
20
|
+
*/
|
|
21
|
+
const graphql_1 = require("@nestjs/graphql");
|
|
22
|
+
const account_type_enum_1 = require("./account-type.enum");
|
|
23
|
+
let RepresentedByCertificateDTO = class RepresentedByCertificateDTO {
|
|
24
|
+
first_name;
|
|
25
|
+
last_name;
|
|
26
|
+
middle_name;
|
|
27
|
+
position;
|
|
28
|
+
constructor(data) {
|
|
29
|
+
this.first_name = data.first_name;
|
|
30
|
+
this.last_name = data.last_name;
|
|
31
|
+
this.middle_name = data.middle_name;
|
|
32
|
+
this.position = data.position;
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
exports.RepresentedByCertificateDTO = RepresentedByCertificateDTO;
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, graphql_1.Field)(() => String, { description: 'Имя' }),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], RepresentedByCertificateDTO.prototype, "first_name", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, graphql_1.Field)(() => String, { description: 'Фамилия' }),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], RepresentedByCertificateDTO.prototype, "last_name", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, graphql_1.Field)(() => String, { description: 'Отчество' }),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], RepresentedByCertificateDTO.prototype, "middle_name", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, graphql_1.Field)(() => String, { description: 'Должность' }),
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], RepresentedByCertificateDTO.prototype, "position", void 0);
|
|
52
|
+
exports.RepresentedByCertificateDTO = RepresentedByCertificateDTO = __decorate([
|
|
53
|
+
(0, graphql_1.ObjectType)('RepresentedByCertificate'),
|
|
54
|
+
(0, graphql_1.Directive)('@shareable'),
|
|
55
|
+
__metadata("design:paramtypes", [Object])
|
|
56
|
+
], RepresentedByCertificateDTO);
|
|
57
|
+
let IndividualCertificateDTO = class IndividualCertificateDTO {
|
|
58
|
+
type;
|
|
59
|
+
username;
|
|
60
|
+
first_name;
|
|
61
|
+
last_name;
|
|
62
|
+
middle_name;
|
|
63
|
+
constructor(data) {
|
|
64
|
+
this.type = account_type_enum_1.AccountType.individual;
|
|
65
|
+
this.username = data.username;
|
|
66
|
+
this.first_name = data.first_name;
|
|
67
|
+
this.last_name = data.last_name;
|
|
68
|
+
this.middle_name = data.middle_name;
|
|
69
|
+
}
|
|
70
|
+
/** Признак члена объединения `UserCertificateUnion`: ФИО без ИНН и ОГРН. */
|
|
71
|
+
static isTypeOf(value) {
|
|
72
|
+
return value.username && value.first_name && value.last_name && !value.details && !value.ogrn && !value.inn;
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
exports.IndividualCertificateDTO = IndividualCertificateDTO;
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, graphql_1.Field)(() => account_type_enum_1.AccountType, { description: 'Тип аккаунта' }),
|
|
78
|
+
__metadata("design:type", String)
|
|
79
|
+
], IndividualCertificateDTO.prototype, "type", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, graphql_1.Field)(() => String, { description: 'Имя аккаунта' }),
|
|
82
|
+
__metadata("design:type", String)
|
|
83
|
+
], IndividualCertificateDTO.prototype, "username", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, graphql_1.Field)(() => String, { description: 'Имя' }),
|
|
86
|
+
__metadata("design:type", String)
|
|
87
|
+
], IndividualCertificateDTO.prototype, "first_name", void 0);
|
|
88
|
+
__decorate([
|
|
89
|
+
(0, graphql_1.Field)(() => String, { description: 'Фамилия' }),
|
|
90
|
+
__metadata("design:type", String)
|
|
91
|
+
], IndividualCertificateDTO.prototype, "last_name", void 0);
|
|
92
|
+
__decorate([
|
|
93
|
+
(0, graphql_1.Field)(() => String, { nullable: true, description: 'Отчество' }),
|
|
94
|
+
__metadata("design:type", String)
|
|
95
|
+
], IndividualCertificateDTO.prototype, "middle_name", void 0);
|
|
96
|
+
exports.IndividualCertificateDTO = IndividualCertificateDTO = __decorate([
|
|
97
|
+
(0, graphql_1.ObjectType)('IndividualCertificate'),
|
|
98
|
+
(0, graphql_1.Directive)('@shareable'),
|
|
99
|
+
__metadata("design:paramtypes", [Object])
|
|
100
|
+
], IndividualCertificateDTO);
|
|
101
|
+
let EntrepreneurCertificateDTO = class EntrepreneurCertificateDTO {
|
|
102
|
+
type;
|
|
103
|
+
username;
|
|
104
|
+
first_name;
|
|
105
|
+
last_name;
|
|
106
|
+
middle_name;
|
|
107
|
+
inn;
|
|
108
|
+
constructor(data) {
|
|
109
|
+
this.type = account_type_enum_1.AccountType.entrepreneur;
|
|
110
|
+
this.username = data.username;
|
|
111
|
+
this.first_name = data.first_name;
|
|
112
|
+
this.last_name = data.last_name;
|
|
113
|
+
this.middle_name = data.middle_name;
|
|
114
|
+
this.inn = data.inn;
|
|
115
|
+
}
|
|
116
|
+
/** Признак члена объединения: ФИО и ИНН без ОГРН. */
|
|
117
|
+
static isTypeOf(value) {
|
|
118
|
+
return value.username && value.first_name && value.last_name && value.inn && !value.ogrn;
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
exports.EntrepreneurCertificateDTO = EntrepreneurCertificateDTO;
|
|
122
|
+
__decorate([
|
|
123
|
+
(0, graphql_1.Field)(() => account_type_enum_1.AccountType, { description: 'Тип аккаунта' }),
|
|
124
|
+
__metadata("design:type", String)
|
|
125
|
+
], EntrepreneurCertificateDTO.prototype, "type", void 0);
|
|
126
|
+
__decorate([
|
|
127
|
+
(0, graphql_1.Field)(() => String, { description: 'Имя аккаунта' }),
|
|
128
|
+
__metadata("design:type", String)
|
|
129
|
+
], EntrepreneurCertificateDTO.prototype, "username", void 0);
|
|
130
|
+
__decorate([
|
|
131
|
+
(0, graphql_1.Field)(() => String, { description: 'Имя' }),
|
|
132
|
+
__metadata("design:type", String)
|
|
133
|
+
], EntrepreneurCertificateDTO.prototype, "first_name", void 0);
|
|
134
|
+
__decorate([
|
|
135
|
+
(0, graphql_1.Field)(() => String, { description: 'Фамилия' }),
|
|
136
|
+
__metadata("design:type", String)
|
|
137
|
+
], EntrepreneurCertificateDTO.prototype, "last_name", void 0);
|
|
138
|
+
__decorate([
|
|
139
|
+
(0, graphql_1.Field)(() => String, { nullable: true, description: 'Отчество' }),
|
|
140
|
+
__metadata("design:type", String)
|
|
141
|
+
], EntrepreneurCertificateDTO.prototype, "middle_name", void 0);
|
|
142
|
+
__decorate([
|
|
143
|
+
(0, graphql_1.Field)(() => String, { description: 'ИНН' }),
|
|
144
|
+
__metadata("design:type", String)
|
|
145
|
+
], EntrepreneurCertificateDTO.prototype, "inn", void 0);
|
|
146
|
+
exports.EntrepreneurCertificateDTO = EntrepreneurCertificateDTO = __decorate([
|
|
147
|
+
(0, graphql_1.ObjectType)('EntrepreneurCertificate'),
|
|
148
|
+
(0, graphql_1.Directive)('@shareable'),
|
|
149
|
+
__metadata("design:paramtypes", [Object])
|
|
150
|
+
], EntrepreneurCertificateDTO);
|
|
151
|
+
let OrganizationCertificateDTO = class OrganizationCertificateDTO {
|
|
152
|
+
type;
|
|
153
|
+
username;
|
|
154
|
+
short_name;
|
|
155
|
+
inn;
|
|
156
|
+
ogrn;
|
|
157
|
+
represented_by;
|
|
158
|
+
constructor(data) {
|
|
159
|
+
this.type = account_type_enum_1.AccountType.organization;
|
|
160
|
+
this.username = data.username;
|
|
161
|
+
this.short_name = data.short_name;
|
|
162
|
+
this.inn = data.inn;
|
|
163
|
+
this.ogrn = data.ogrn;
|
|
164
|
+
this.represented_by = new RepresentedByCertificateDTO(data.represented_by);
|
|
165
|
+
}
|
|
166
|
+
/** Признак члена объединения: ИНН и ОГРН. */
|
|
167
|
+
static isTypeOf(value) {
|
|
168
|
+
return value.username && value.inn && value.ogrn;
|
|
169
|
+
}
|
|
170
|
+
};
|
|
171
|
+
exports.OrganizationCertificateDTO = OrganizationCertificateDTO;
|
|
172
|
+
__decorate([
|
|
173
|
+
(0, graphql_1.Field)(() => account_type_enum_1.AccountType, { description: 'Тип аккаунта' }),
|
|
174
|
+
__metadata("design:type", String)
|
|
175
|
+
], OrganizationCertificateDTO.prototype, "type", void 0);
|
|
176
|
+
__decorate([
|
|
177
|
+
(0, graphql_1.Field)(() => String, { description: 'Имя аккаунта' }),
|
|
178
|
+
__metadata("design:type", String)
|
|
179
|
+
], OrganizationCertificateDTO.prototype, "username", void 0);
|
|
180
|
+
__decorate([
|
|
181
|
+
(0, graphql_1.Field)(() => String, { description: 'Короткое название организации' }),
|
|
182
|
+
__metadata("design:type", String)
|
|
183
|
+
], OrganizationCertificateDTO.prototype, "short_name", void 0);
|
|
184
|
+
__decorate([
|
|
185
|
+
(0, graphql_1.Field)(() => String, { description: 'ИНН' }),
|
|
186
|
+
__metadata("design:type", String)
|
|
187
|
+
], OrganizationCertificateDTO.prototype, "inn", void 0);
|
|
188
|
+
__decorate([
|
|
189
|
+
(0, graphql_1.Field)(() => String, { description: 'ОГРН' }),
|
|
190
|
+
__metadata("design:type", String)
|
|
191
|
+
], OrganizationCertificateDTO.prototype, "ogrn", void 0);
|
|
192
|
+
__decorate([
|
|
193
|
+
(0, graphql_1.Field)(() => RepresentedByCertificateDTO, { description: 'Данные представителя' }),
|
|
194
|
+
__metadata("design:type", RepresentedByCertificateDTO)
|
|
195
|
+
], OrganizationCertificateDTO.prototype, "represented_by", void 0);
|
|
196
|
+
exports.OrganizationCertificateDTO = OrganizationCertificateDTO = __decorate([
|
|
197
|
+
(0, graphql_1.ObjectType)('OrganizationCertificate'),
|
|
198
|
+
(0, graphql_1.Directive)('@shareable'),
|
|
199
|
+
__metadata("design:paramtypes", [Object])
|
|
200
|
+
], OrganizationCertificateDTO);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { GeneratedDocumentDTO } from './generated-document.dto';
|
|
2
|
+
import { SignedDigitalDocumentDTO } from './signed-digital-document.dto';
|
|
3
|
+
export declare class DocumentAggregateDTO {
|
|
4
|
+
hash: string;
|
|
5
|
+
document: SignedDigitalDocumentDTO;
|
|
6
|
+
rawDocument?: GeneratedDocumentDTO;
|
|
7
|
+
/**
|
|
8
|
+
* Принимает любой агрегат нужной формы: доменный из ядра, результат порта
|
|
9
|
+
* документов `buildAggregate` у приложения. Номинальной связи с ними нет.
|
|
10
|
+
*/
|
|
11
|
+
constructor(data?: {
|
|
12
|
+
hash: string;
|
|
13
|
+
document: any;
|
|
14
|
+
rawDocument?: any;
|
|
15
|
+
});
|
|
16
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.DocumentAggregateDTO = void 0;
|
|
13
|
+
/** Документ вместе с подписями и исходником — то, что резолвер отдаёт пайщику. */
|
|
14
|
+
const graphql_1 = require("@nestjs/graphql");
|
|
15
|
+
const class_validator_1 = require("class-validator");
|
|
16
|
+
const generated_document_dto_1 = require("./generated-document.dto");
|
|
17
|
+
const signed_digital_document_dto_1 = require("./signed-digital-document.dto");
|
|
18
|
+
let DocumentAggregateDTO = class DocumentAggregateDTO {
|
|
19
|
+
hash;
|
|
20
|
+
document;
|
|
21
|
+
rawDocument;
|
|
22
|
+
/**
|
|
23
|
+
* Принимает любой агрегат нужной формы: доменный из ядра, результат порта
|
|
24
|
+
* документов `buildAggregate` у приложения. Номинальной связи с ними нет.
|
|
25
|
+
*/
|
|
26
|
+
constructor(data) {
|
|
27
|
+
if (data) {
|
|
28
|
+
this.hash = data.hash;
|
|
29
|
+
this.document = new signed_digital_document_dto_1.SignedDigitalDocumentDTO(data.document);
|
|
30
|
+
if (data.rawDocument) {
|
|
31
|
+
this.rawDocument = new generated_document_dto_1.GeneratedDocumentDTO(data.rawDocument);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
exports.DocumentAggregateDTO = DocumentAggregateDTO;
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, graphql_1.Field)(() => String),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], DocumentAggregateDTO.prototype, "hash", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, graphql_1.Field)(() => signed_digital_document_dto_1.SignedDigitalDocumentDTO),
|
|
43
|
+
(0, class_validator_1.ValidateNested)(),
|
|
44
|
+
__metadata("design:type", signed_digital_document_dto_1.SignedDigitalDocumentDTO)
|
|
45
|
+
], DocumentAggregateDTO.prototype, "document", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, graphql_1.Field)(() => generated_document_dto_1.GeneratedDocumentDTO, { nullable: true }),
|
|
48
|
+
__metadata("design:type", generated_document_dto_1.GeneratedDocumentDTO)
|
|
49
|
+
], DocumentAggregateDTO.prototype, "rawDocument", void 0);
|
|
50
|
+
exports.DocumentAggregateDTO = DocumentAggregateDTO = __decorate([
|
|
51
|
+
(0, graphql_1.ObjectType)('DocumentAggregate'),
|
|
52
|
+
(0, graphql_1.Directive)('@shareable'),
|
|
53
|
+
__metadata("design:paramtypes", [Object])
|
|
54
|
+
], DocumentAggregateDTO);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { GenerateMetaDocumentInputDTO } from './generate-meta-document-input.dto';
|
|
2
|
+
declare const GenerateDocumentInputDTO_base: import("@nestjs/common").Type<Omit<GenerateMetaDocumentInputDTO, "registry_id">>;
|
|
3
|
+
/**
|
|
4
|
+
* То же, что `GenerateMetaDocumentInputDTO`, но реестр обязателен на уровне
|
|
5
|
+
* типов TypeScript.
|
|
6
|
+
*
|
|
7
|
+
* `registry_id` намеренно без `@Field`: в схеме у `GenerateDocumentInput` этого
|
|
8
|
+
* поля нет — реестр проставляет сервер по вызванной мутации, а не клиент.
|
|
9
|
+
* Поле `@Field` завело бы новое обязательное поле во входном типе и сломало
|
|
10
|
+
* бы всех клиентов.
|
|
11
|
+
*/
|
|
12
|
+
export declare class GenerateDocumentInputDTO extends GenerateDocumentInputDTO_base {
|
|
13
|
+
registry_id: number;
|
|
14
|
+
constructor();
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.GenerateDocumentInputDTO = void 0;
|
|
13
|
+
const graphql_1 = require("@nestjs/graphql");
|
|
14
|
+
const generate_meta_document_input_dto_1 = require("./generate-meta-document-input.dto");
|
|
15
|
+
/**
|
|
16
|
+
* То же, что `GenerateMetaDocumentInputDTO`, но реестр обязателен на уровне
|
|
17
|
+
* типов TypeScript.
|
|
18
|
+
*
|
|
19
|
+
* `registry_id` намеренно без `@Field`: в схеме у `GenerateDocumentInput` этого
|
|
20
|
+
* поля нет — реестр проставляет сервер по вызванной мутации, а не клиент.
|
|
21
|
+
* Поле `@Field` завело бы новое обязательное поле во входном типе и сломало
|
|
22
|
+
* бы всех клиентов.
|
|
23
|
+
*/
|
|
24
|
+
let GenerateDocumentInputDTO = class GenerateDocumentInputDTO extends (0, graphql_1.OmitType)(generate_meta_document_input_dto_1.GenerateMetaDocumentInputDTO, ['registry_id']) {
|
|
25
|
+
registry_id;
|
|
26
|
+
constructor() {
|
|
27
|
+
super();
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
exports.GenerateDocumentInputDTO = GenerateDocumentInputDTO;
|
|
31
|
+
exports.GenerateDocumentInputDTO = GenerateDocumentInputDTO = __decorate([
|
|
32
|
+
(0, graphql_1.InputType)('GenerateDocumentInput'),
|
|
33
|
+
__metadata("design:paramtypes", [])
|
|
34
|
+
], GenerateDocumentInputDTO);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.GenerateDocumentOptionsInputDTO = void 0;
|
|
13
|
+
const graphql_1 = require("@nestjs/graphql");
|
|
14
|
+
/** Параметры формирования документа. */
|
|
15
|
+
let GenerateDocumentOptionsInputDTO = class GenerateDocumentOptionsInputDTO {
|
|
16
|
+
skip_save;
|
|
17
|
+
lang;
|
|
18
|
+
};
|
|
19
|
+
exports.GenerateDocumentOptionsInputDTO = GenerateDocumentOptionsInputDTO;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, graphql_1.Field)(() => Boolean, { nullable: true, description: 'Пропустить сохранение' }),
|
|
22
|
+
__metadata("design:type", Boolean)
|
|
23
|
+
], GenerateDocumentOptionsInputDTO.prototype, "skip_save", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, graphql_1.Field)(() => String, { nullable: true, description: 'Язык документа' }),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], GenerateDocumentOptionsInputDTO.prototype, "lang", void 0);
|
|
28
|
+
exports.GenerateDocumentOptionsInputDTO = GenerateDocumentOptionsInputDTO = __decorate([
|
|
29
|
+
(0, graphql_1.InputType)('GenerateDocumentOptionsInput')
|
|
30
|
+
], GenerateDocumentOptionsInputDTO);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { LangType } from './lang-type.enum';
|
|
2
|
+
export declare class GenerateMetaDocumentInputDTO {
|
|
3
|
+
title?: string;
|
|
4
|
+
registry_id: number;
|
|
5
|
+
coopname: string;
|
|
6
|
+
username: string;
|
|
7
|
+
lang?: LangType;
|
|
8
|
+
generator?: string;
|
|
9
|
+
version?: string;
|
|
10
|
+
created_at?: string;
|
|
11
|
+
block_num?: number;
|
|
12
|
+
timezone?: string;
|
|
13
|
+
links?: string[];
|
|
14
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.GenerateMetaDocumentInputDTO = void 0;
|
|
13
|
+
/**
|
|
14
|
+
* Запрос на формирование документа: обязателен только реестр и от кого
|
|
15
|
+
* документ, остальное реестр проставит сам. Совпадение с `IGenerate` пакета
|
|
16
|
+
* `@coopenomics/docs-templates` сверяет `extension-kit`.
|
|
17
|
+
*/
|
|
18
|
+
const class_validator_1 = require("class-validator");
|
|
19
|
+
const graphql_1 = require("@nestjs/graphql");
|
|
20
|
+
const lang_type_enum_1 = require("./lang-type.enum");
|
|
21
|
+
let GenerateMetaDocumentInputDTO = class GenerateMetaDocumentInputDTO {
|
|
22
|
+
title;
|
|
23
|
+
registry_id;
|
|
24
|
+
coopname;
|
|
25
|
+
username;
|
|
26
|
+
lang;
|
|
27
|
+
generator;
|
|
28
|
+
version;
|
|
29
|
+
created_at;
|
|
30
|
+
block_num;
|
|
31
|
+
timezone;
|
|
32
|
+
links;
|
|
33
|
+
};
|
|
34
|
+
exports.GenerateMetaDocumentInputDTO = GenerateMetaDocumentInputDTO;
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, graphql_1.Field)(() => String, { description: 'Название документа', nullable: true }),
|
|
37
|
+
(0, class_validator_1.IsOptional)(),
|
|
38
|
+
(0, class_validator_1.IsString)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], GenerateMetaDocumentInputDTO.prototype, "title", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, graphql_1.Field)(() => graphql_1.Int, { description: 'ID документа в реестре' }),
|
|
43
|
+
(0, class_validator_1.IsNumber)(),
|
|
44
|
+
__metadata("design:type", Number)
|
|
45
|
+
], GenerateMetaDocumentInputDTO.prototype, "registry_id", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, graphql_1.Field)(() => String, { description: 'Название кооператива, связанное с документом' }),
|
|
48
|
+
(0, class_validator_1.IsString)(),
|
|
49
|
+
__metadata("design:type", String)
|
|
50
|
+
], GenerateMetaDocumentInputDTO.prototype, "coopname", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, graphql_1.Field)(() => String, { description: 'Имя пользователя, создавшего документ' }),
|
|
53
|
+
(0, class_validator_1.IsString)(),
|
|
54
|
+
__metadata("design:type", String)
|
|
55
|
+
], GenerateMetaDocumentInputDTO.prototype, "username", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, graphql_1.Field)(() => String, { description: 'Язык документа', nullable: true }),
|
|
58
|
+
(0, class_validator_1.IsOptional)(),
|
|
59
|
+
(0, class_validator_1.IsEnum)(lang_type_enum_1.LangType),
|
|
60
|
+
__metadata("design:type", String)
|
|
61
|
+
], GenerateMetaDocumentInputDTO.prototype, "lang", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, graphql_1.Field)(() => String, { description: 'Имя генератора, использованного для создания документа', nullable: true }),
|
|
64
|
+
(0, class_validator_1.IsOptional)(),
|
|
65
|
+
(0, class_validator_1.IsString)(),
|
|
66
|
+
__metadata("design:type", String)
|
|
67
|
+
], GenerateMetaDocumentInputDTO.prototype, "generator", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, graphql_1.Field)(() => String, { description: 'Версия генератора, использованного для создания документа', nullable: true }),
|
|
70
|
+
(0, class_validator_1.IsOptional)(),
|
|
71
|
+
(0, class_validator_1.IsString)(),
|
|
72
|
+
__metadata("design:type", String)
|
|
73
|
+
], GenerateMetaDocumentInputDTO.prototype, "version", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, graphql_1.Field)(() => String, { description: 'Дата и время создания документа', nullable: true }),
|
|
76
|
+
(0, class_validator_1.IsOptional)(),
|
|
77
|
+
__metadata("design:type", String)
|
|
78
|
+
], GenerateMetaDocumentInputDTO.prototype, "created_at", void 0);
|
|
79
|
+
__decorate([
|
|
80
|
+
(0, graphql_1.Field)(() => graphql_1.Int, { description: 'Номер блока, на котором был создан документ', nullable: true }),
|
|
81
|
+
(0, class_validator_1.IsOptional)(),
|
|
82
|
+
(0, class_validator_1.IsInt)(),
|
|
83
|
+
__metadata("design:type", Number)
|
|
84
|
+
], GenerateMetaDocumentInputDTO.prototype, "block_num", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, graphql_1.Field)(() => String, { description: 'Часовой пояс, в котором был создан документ', nullable: true }),
|
|
87
|
+
(0, class_validator_1.IsOptional)(),
|
|
88
|
+
(0, class_validator_1.IsString)(),
|
|
89
|
+
__metadata("design:type", String)
|
|
90
|
+
], GenerateMetaDocumentInputDTO.prototype, "timezone", void 0);
|
|
91
|
+
__decorate([
|
|
92
|
+
(0, graphql_1.Field)(() => [String], { description: 'Ссылки, связанные с документом', nullable: true }),
|
|
93
|
+
(0, class_validator_1.IsOptional)(),
|
|
94
|
+
(0, class_validator_1.IsArray)(),
|
|
95
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
96
|
+
__metadata("design:type", Array)
|
|
97
|
+
], GenerateMetaDocumentInputDTO.prototype, "links", void 0);
|
|
98
|
+
exports.GenerateMetaDocumentInputDTO = GenerateMetaDocumentInputDTO = __decorate([
|
|
99
|
+
(0, graphql_1.InputType)('GenerateMetaDocumentInput')
|
|
100
|
+
], GenerateMetaDocumentInputDTO);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Поля сгенерированного документа. Совпадают с `IGeneratedDocument` пакета
|
|
3
|
+
* `@coopenomics/docs-templates`, у которого `binary` передаётся строкой base64;
|
|
4
|
+
* совпадение сверяет `extension-kit` (`generated-document.contract.ts`).
|
|
5
|
+
*/
|
|
6
|
+
export interface GeneratedDocumentFields {
|
|
7
|
+
full_title: string;
|
|
8
|
+
html: string;
|
|
9
|
+
hash: string;
|
|
10
|
+
meta: any;
|
|
11
|
+
binary: string;
|
|
12
|
+
}
|
|
13
|
+
/** Сгенерированный документ: текст, хэш и метаданные до подписи. */
|
|
14
|
+
export declare class GeneratedDocumentDTO implements GeneratedDocumentFields {
|
|
15
|
+
full_title: string;
|
|
16
|
+
html: string;
|
|
17
|
+
hash: string;
|
|
18
|
+
meta: any;
|
|
19
|
+
binary: string;
|
|
20
|
+
constructor(data?: GeneratedDocumentFields);
|
|
21
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.GeneratedDocumentDTO = void 0;
|
|
13
|
+
// Типы полей GraphQL указаны явными thunk'ами: пакеты платформы собирают без
|
|
14
|
+
// `design:type`, и поле без thunk'а осталось бы без типа.
|
|
15
|
+
const graphql_1 = require("@nestjs/graphql");
|
|
16
|
+
const class_validator_1 = require("class-validator");
|
|
17
|
+
const graphql_type_json_1 = require("graphql-type-json");
|
|
18
|
+
/** Сгенерированный документ: текст, хэш и метаданные до подписи. */
|
|
19
|
+
let GeneratedDocumentDTO = class GeneratedDocumentDTO {
|
|
20
|
+
full_title;
|
|
21
|
+
html;
|
|
22
|
+
hash;
|
|
23
|
+
meta;
|
|
24
|
+
binary;
|
|
25
|
+
constructor(data) {
|
|
26
|
+
if (data) {
|
|
27
|
+
this.full_title = data.full_title;
|
|
28
|
+
this.html = data.html;
|
|
29
|
+
this.hash = data.hash;
|
|
30
|
+
this.meta = data.meta;
|
|
31
|
+
this.binary = data.binary;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
exports.GeneratedDocumentDTO = GeneratedDocumentDTO;
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, graphql_1.Field)(() => String, { description: 'Полное название документа' }),
|
|
38
|
+
(0, class_validator_1.IsString)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], GeneratedDocumentDTO.prototype, "full_title", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, graphql_1.Field)(() => String, { description: 'HTML содержимое документа' }),
|
|
43
|
+
(0, class_validator_1.IsString)(),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], GeneratedDocumentDTO.prototype, "html", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, graphql_1.Field)(() => String, { description: 'Хэш документа' }),
|
|
48
|
+
(0, class_validator_1.IsString)(),
|
|
49
|
+
__metadata("design:type", String)
|
|
50
|
+
], GeneratedDocumentDTO.prototype, "hash", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, graphql_1.Field)(() => graphql_type_json_1.GraphQLJSON, { description: 'Метаданные документа' }),
|
|
53
|
+
__metadata("design:type", Object)
|
|
54
|
+
], GeneratedDocumentDTO.prototype, "meta", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, graphql_1.Field)(() => String, { description: 'Бинарное содержимое документа (base64)' }),
|
|
57
|
+
(0, class_validator_1.IsObject)(),
|
|
58
|
+
__metadata("design:type", String)
|
|
59
|
+
], GeneratedDocumentDTO.prototype, "binary", void 0);
|
|
60
|
+
exports.GeneratedDocumentDTO = GeneratedDocumentDTO = __decorate([
|
|
61
|
+
(0, graphql_1.ObjectType)('GeneratedDocument'),
|
|
62
|
+
(0, graphql_1.Directive)('@shareable'),
|
|
63
|
+
__metadata("design:paramtypes", [Object])
|
|
64
|
+
], GeneratedDocumentDTO);
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Общие типы схемы платформы: документ, подпись, сертификат подписанта,
|
|
3
|
+
* транзакция, пагинация и перечисления к ним.
|
|
4
|
+
*
|
|
5
|
+
* Оркестратор сводит подграф ядра и подграфы приложений в одну схему
|
|
6
|
+
* (федерация Apollo 2). Одноимённый выходной тип в двух подграфах федерация
|
|
7
|
+
* сводит, только если оба подграфа пометили его `@shareable` и поля совпадают
|
|
8
|
+
* по типам. Иначе подграф приложения исключается из схемы, и каждый его
|
|
9
|
+
* запрос получает ошибку (03.12.2026, первая установка «Кооперативного
|
|
10
|
+
* участка»). Поэтому эти типы объявлены один раз — здесь: ядро получает их
|
|
11
|
+
* через `@coopenomics/extension-kit`, приложение — из этого подпути, и схема у
|
|
12
|
+
* обоих совпадает по построению.
|
|
13
|
+
*
|
|
14
|
+
* Входные типы федерация сводит пересечением полей: одноимённый вход
|
|
15
|
+
* приложения с другим набором полей срезал бы поля у входа ядра. Общие входы
|
|
16
|
+
* поэтому тоже объявлены здесь.
|
|
17
|
+
*
|
|
18
|
+
* Подпуть требует `class-validator`, `class-transformer` и `graphql-type-json`
|
|
19
|
+
* одним экземпляром с приложением (peer-зависимости): две копии
|
|
20
|
+
* `graphql-type-json` дали бы два скаляра `JSON`, две копии `class-validator`
|
|
21
|
+
* — проверку входа, которую ValidationPipe не видит.
|
|
22
|
+
*/
|
|
23
|
+
export { LangType } from './lang-type.enum';
|
|
24
|
+
export { AccountType } from './account-type.enum';
|
|
25
|
+
export { validationMessage, type ValidationMessageParams } from './validation-message';
|
|
26
|
+
export { GeneratedDocumentDTO, type GeneratedDocumentFields, } from './generated-document.dto';
|
|
27
|
+
export { SignatureInfoDTO, SignedDigitalDocumentDTO } from './signed-digital-document.dto';
|
|
28
|
+
export { DocumentAggregateDTO } from './document-aggregate.dto';
|
|
29
|
+
export { TransactionDTO } from './transaction.dto';
|
|
30
|
+
export { SignatureInfoInputDTO, SignedDigitalDocumentInputDTO, type ChainDocumentFields, } from './signed-digital-document-input.dto';
|
|
31
|
+
export { MetaDocumentInputDTO } from './meta-document-input.dto';
|
|
32
|
+
export { GenerateMetaDocumentInputDTO } from './generate-meta-document-input.dto';
|
|
33
|
+
export { GenerateDocumentInputDTO } from './generate-document-input.dto';
|
|
34
|
+
export { GenerateDocumentOptionsInputDTO } from './generate-document-options-input.dto';
|
|
35
|
+
export { PaginationInputDTO, PaginationResult, createPaginationResult, SORT_FIELD_PATTERN, SORT_ORDERS, } from './pagination.dto';
|
|
36
|
+
export { RepresentedByCertificateDTO, IndividualCertificateDTO, EntrepreneurCertificateDTO, OrganizationCertificateDTO, type RepresentedByCertificateFields, type IndividualCertificateFields, type EntrepreneurCertificateFields, type OrganizationCertificateFields, type CertificateFields, } from './certificates.dto';
|
|
37
|
+
export { UserCertificateUnion, type CertificateDTO } from './user-certificate.union';
|
|
38
|
+
export { SignerCertificateResolver } from './signer-certificate.resolver';
|
|
39
|
+
export { buildSubgraphSdl, collectResolvers, printSubgraphSdl } from './subgraph-sdl';
|