@coopenomics/extension-kit 2026.10.29 → 2026.10.30-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/dist/index.d.cts +8 -7
- package/dist/index.d.mts +8 -7
- package/dist/index.d.ts +8 -7
- package/package.json +7 -5
package/dist/index.d.cts
CHANGED
|
@@ -5,6 +5,7 @@ import { Observable } from 'rxjs';
|
|
|
5
5
|
import { MongoQuery } from '@casl/ability';
|
|
6
6
|
import { Reflector } from '@nestjs/core';
|
|
7
7
|
import { ZodObject } from 'zod';
|
|
8
|
+
import { IMetaDocument, IGenerate, Registry, IGeneratedDocument, IGenerationOptions } from '@coopenomics/docs-templates';
|
|
8
9
|
import { Cooperative } from 'cooptypes';
|
|
9
10
|
import { Kysely } from 'kysely';
|
|
10
11
|
import { T as TableStore } from './shared/extension-kit.9c3dd9f1.cjs';
|
|
@@ -686,7 +687,7 @@ declare enum LangType {
|
|
|
686
687
|
ru = "ru"
|
|
687
688
|
}
|
|
688
689
|
|
|
689
|
-
declare class MetaDocumentInputDTO implements
|
|
690
|
+
declare class MetaDocumentInputDTO implements IMetaDocument {
|
|
690
691
|
title: string;
|
|
691
692
|
registry_id: number;
|
|
692
693
|
lang: LangType;
|
|
@@ -701,7 +702,7 @@ declare class MetaDocumentInputDTO implements Cooperative.Document.IMetaDocument
|
|
|
701
702
|
builder?: string;
|
|
702
703
|
}
|
|
703
704
|
|
|
704
|
-
declare class GenerateMetaDocumentInputDTO implements
|
|
705
|
+
declare class GenerateMetaDocumentInputDTO implements IGenerate {
|
|
705
706
|
title?: string;
|
|
706
707
|
registry_id: number;
|
|
707
708
|
coopname: string;
|
|
@@ -715,9 +716,9 @@ declare class GenerateMetaDocumentInputDTO implements Cooperative.Document.IGene
|
|
|
715
716
|
links?: string[];
|
|
716
717
|
}
|
|
717
718
|
|
|
718
|
-
type Action =
|
|
719
|
-
type ItemAction =
|
|
720
|
-
type HeaderAction =
|
|
719
|
+
type Action = Registry.ExpenseProposalStatement.Action;
|
|
720
|
+
type ItemAction = Registry.ExpenseProposalStatement.IExpenseItem;
|
|
721
|
+
type HeaderAction = Registry.ExpenseProposalStatement.IExpenseProposalHeader;
|
|
721
722
|
/**
|
|
722
723
|
* Позиция-вход генерации СЗ-документа. Приватные поля (имя/реквизиты/назначение)
|
|
723
724
|
* — это вход для фабрики: сервер сохраняет их off-chain в doc_data и публикует
|
|
@@ -1761,7 +1762,7 @@ declare function configurePlatformSettings(value: PlatformSettings): void;
|
|
|
1761
1762
|
*/
|
|
1762
1763
|
declare function platformSettings(): PlatformSettings;
|
|
1763
1764
|
|
|
1764
|
-
type GeneratedDocumentDomainInterface = Omit<
|
|
1765
|
+
type GeneratedDocumentDomainInterface = Omit<IGeneratedDocument, 'binary'> & {
|
|
1765
1766
|
binary: string;
|
|
1766
1767
|
};
|
|
1767
1768
|
|
|
@@ -1774,7 +1775,7 @@ declare class GeneratedDocumentDTO implements GeneratedDocumentDomainInterface {
|
|
|
1774
1775
|
constructor(data?: GeneratedDocumentDomainInterface);
|
|
1775
1776
|
}
|
|
1776
1777
|
|
|
1777
|
-
declare class GenerateDocumentOptionsInputDTO implements
|
|
1778
|
+
declare class GenerateDocumentOptionsInputDTO implements IGenerationOptions {
|
|
1778
1779
|
skip_save?: boolean;
|
|
1779
1780
|
lang?: string;
|
|
1780
1781
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -5,6 +5,7 @@ import { Observable } from 'rxjs';
|
|
|
5
5
|
import { MongoQuery } from '@casl/ability';
|
|
6
6
|
import { Reflector } from '@nestjs/core';
|
|
7
7
|
import { ZodObject } from 'zod';
|
|
8
|
+
import { IMetaDocument, IGenerate, Registry, IGeneratedDocument, IGenerationOptions } from '@coopenomics/docs-templates';
|
|
8
9
|
import { Cooperative } from 'cooptypes';
|
|
9
10
|
import { Kysely } from 'kysely';
|
|
10
11
|
import { T as TableStore } from './shared/extension-kit.9c3dd9f1.mjs';
|
|
@@ -686,7 +687,7 @@ declare enum LangType {
|
|
|
686
687
|
ru = "ru"
|
|
687
688
|
}
|
|
688
689
|
|
|
689
|
-
declare class MetaDocumentInputDTO implements
|
|
690
|
+
declare class MetaDocumentInputDTO implements IMetaDocument {
|
|
690
691
|
title: string;
|
|
691
692
|
registry_id: number;
|
|
692
693
|
lang: LangType;
|
|
@@ -701,7 +702,7 @@ declare class MetaDocumentInputDTO implements Cooperative.Document.IMetaDocument
|
|
|
701
702
|
builder?: string;
|
|
702
703
|
}
|
|
703
704
|
|
|
704
|
-
declare class GenerateMetaDocumentInputDTO implements
|
|
705
|
+
declare class GenerateMetaDocumentInputDTO implements IGenerate {
|
|
705
706
|
title?: string;
|
|
706
707
|
registry_id: number;
|
|
707
708
|
coopname: string;
|
|
@@ -715,9 +716,9 @@ declare class GenerateMetaDocumentInputDTO implements Cooperative.Document.IGene
|
|
|
715
716
|
links?: string[];
|
|
716
717
|
}
|
|
717
718
|
|
|
718
|
-
type Action =
|
|
719
|
-
type ItemAction =
|
|
720
|
-
type HeaderAction =
|
|
719
|
+
type Action = Registry.ExpenseProposalStatement.Action;
|
|
720
|
+
type ItemAction = Registry.ExpenseProposalStatement.IExpenseItem;
|
|
721
|
+
type HeaderAction = Registry.ExpenseProposalStatement.IExpenseProposalHeader;
|
|
721
722
|
/**
|
|
722
723
|
* Позиция-вход генерации СЗ-документа. Приватные поля (имя/реквизиты/назначение)
|
|
723
724
|
* — это вход для фабрики: сервер сохраняет их off-chain в doc_data и публикует
|
|
@@ -1761,7 +1762,7 @@ declare function configurePlatformSettings(value: PlatformSettings): void;
|
|
|
1761
1762
|
*/
|
|
1762
1763
|
declare function platformSettings(): PlatformSettings;
|
|
1763
1764
|
|
|
1764
|
-
type GeneratedDocumentDomainInterface = Omit<
|
|
1765
|
+
type GeneratedDocumentDomainInterface = Omit<IGeneratedDocument, 'binary'> & {
|
|
1765
1766
|
binary: string;
|
|
1766
1767
|
};
|
|
1767
1768
|
|
|
@@ -1774,7 +1775,7 @@ declare class GeneratedDocumentDTO implements GeneratedDocumentDomainInterface {
|
|
|
1774
1775
|
constructor(data?: GeneratedDocumentDomainInterface);
|
|
1775
1776
|
}
|
|
1776
1777
|
|
|
1777
|
-
declare class GenerateDocumentOptionsInputDTO implements
|
|
1778
|
+
declare class GenerateDocumentOptionsInputDTO implements IGenerationOptions {
|
|
1778
1779
|
skip_save?: boolean;
|
|
1779
1780
|
lang?: string;
|
|
1780
1781
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { Observable } from 'rxjs';
|
|
|
5
5
|
import { MongoQuery } from '@casl/ability';
|
|
6
6
|
import { Reflector } from '@nestjs/core';
|
|
7
7
|
import { ZodObject } from 'zod';
|
|
8
|
+
import { IMetaDocument, IGenerate, Registry, IGeneratedDocument, IGenerationOptions } from '@coopenomics/docs-templates';
|
|
8
9
|
import { Cooperative } from 'cooptypes';
|
|
9
10
|
import { Kysely } from 'kysely';
|
|
10
11
|
import { T as TableStore } from './shared/extension-kit.9c3dd9f1.js';
|
|
@@ -686,7 +687,7 @@ declare enum LangType {
|
|
|
686
687
|
ru = "ru"
|
|
687
688
|
}
|
|
688
689
|
|
|
689
|
-
declare class MetaDocumentInputDTO implements
|
|
690
|
+
declare class MetaDocumentInputDTO implements IMetaDocument {
|
|
690
691
|
title: string;
|
|
691
692
|
registry_id: number;
|
|
692
693
|
lang: LangType;
|
|
@@ -701,7 +702,7 @@ declare class MetaDocumentInputDTO implements Cooperative.Document.IMetaDocument
|
|
|
701
702
|
builder?: string;
|
|
702
703
|
}
|
|
703
704
|
|
|
704
|
-
declare class GenerateMetaDocumentInputDTO implements
|
|
705
|
+
declare class GenerateMetaDocumentInputDTO implements IGenerate {
|
|
705
706
|
title?: string;
|
|
706
707
|
registry_id: number;
|
|
707
708
|
coopname: string;
|
|
@@ -715,9 +716,9 @@ declare class GenerateMetaDocumentInputDTO implements Cooperative.Document.IGene
|
|
|
715
716
|
links?: string[];
|
|
716
717
|
}
|
|
717
718
|
|
|
718
|
-
type Action =
|
|
719
|
-
type ItemAction =
|
|
720
|
-
type HeaderAction =
|
|
719
|
+
type Action = Registry.ExpenseProposalStatement.Action;
|
|
720
|
+
type ItemAction = Registry.ExpenseProposalStatement.IExpenseItem;
|
|
721
|
+
type HeaderAction = Registry.ExpenseProposalStatement.IExpenseProposalHeader;
|
|
721
722
|
/**
|
|
722
723
|
* Позиция-вход генерации СЗ-документа. Приватные поля (имя/реквизиты/назначение)
|
|
723
724
|
* — это вход для фабрики: сервер сохраняет их off-chain в doc_data и публикует
|
|
@@ -1761,7 +1762,7 @@ declare function configurePlatformSettings(value: PlatformSettings): void;
|
|
|
1761
1762
|
*/
|
|
1762
1763
|
declare function platformSettings(): PlatformSettings;
|
|
1763
1764
|
|
|
1764
|
-
type GeneratedDocumentDomainInterface = Omit<
|
|
1765
|
+
type GeneratedDocumentDomainInterface = Omit<IGeneratedDocument, 'binary'> & {
|
|
1765
1766
|
binary: string;
|
|
1766
1767
|
};
|
|
1767
1768
|
|
|
@@ -1774,7 +1775,7 @@ declare class GeneratedDocumentDTO implements GeneratedDocumentDomainInterface {
|
|
|
1774
1775
|
constructor(data?: GeneratedDocumentDomainInterface);
|
|
1775
1776
|
}
|
|
1776
1777
|
|
|
1777
|
-
declare class GenerateDocumentOptionsInputDTO implements
|
|
1778
|
+
declare class GenerateDocumentOptionsInputDTO implements IGenerationOptions {
|
|
1778
1779
|
skip_save?: boolean;
|
|
1779
1780
|
lang?: string;
|
|
1780
1781
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coopenomics/extension-kit",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2026.10.
|
|
4
|
+
"version": "2026.10.30-1",
|
|
5
5
|
"description": "Служебный каркас расширения цифрового кооператива: базовый модуль, сущности и репозитории расширения, авторизация, каркас блокчейн-синхронизации, контракт миграций схемы, контракт реестра",
|
|
6
6
|
"author": "Alex Ant <dacom.dark.sun@gmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -39,8 +39,9 @@
|
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@casl/ability": "^7.0.0",
|
|
42
|
+
"@coopenomics/docs-templates": "1.3.0",
|
|
42
43
|
"@coopenomics/i18n": "workspace:*",
|
|
43
|
-
"@coopenomics/sdk": "2026.10.
|
|
44
|
+
"@coopenomics/sdk": "2026.10.30-1",
|
|
44
45
|
"@nestjs/common": "^10.0.0",
|
|
45
46
|
"@nestjs/core": "^10.0.0",
|
|
46
47
|
"@nestjs/graphql": "^12.2.1",
|
|
@@ -61,7 +62,8 @@
|
|
|
61
62
|
},
|
|
62
63
|
"devDependencies": {
|
|
63
64
|
"@casl/ability": "^7.0.0",
|
|
64
|
-
"@coopenomics/
|
|
65
|
+
"@coopenomics/docs-templates": "1.3.0",
|
|
66
|
+
"@coopenomics/i18n": "2026.10.30-1",
|
|
65
67
|
"@nestjs/common": "^10.0.0",
|
|
66
68
|
"@nestjs/core": "^10.0.0",
|
|
67
69
|
"@nestjs/graphql": "^12.2.1",
|
|
@@ -70,7 +72,7 @@
|
|
|
70
72
|
"@wharfkit/session": "^1.4.0",
|
|
71
73
|
"class-transformer": "^0.5.1",
|
|
72
74
|
"class-validator": "^0.14.1",
|
|
73
|
-
"cooptypes": "2026.10.
|
|
75
|
+
"cooptypes": "2026.10.30-1",
|
|
74
76
|
"graphql": "^16.9.0",
|
|
75
77
|
"graphql-type-json": "^0.3.2",
|
|
76
78
|
"kysely": "0.28.17",
|
|
@@ -82,5 +84,5 @@
|
|
|
82
84
|
"unbuild": "^2.0.0",
|
|
83
85
|
"zod": "^3.0.0"
|
|
84
86
|
},
|
|
85
|
-
"gitHead": "
|
|
87
|
+
"gitHead": "43ae8f5d452c64e41de2d6fb592ecccd373a873c"
|
|
86
88
|
}
|