@coopenomics/docs-templates 1.2.0 → 1.3.0

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 CHANGED
@@ -11,7 +11,15 @@ Registry.WalletAgreement.registry_id // 1
11
11
  type Model = Registry.WalletAgreement.Model
12
12
  ```
13
13
 
14
+ Рядом с реестром — модель документа (`IMetaDocument`, `IGenerate`,
15
+ `IGenerationOptions`, `IGeneratedDocument`), данные кооператива (`IVars`,
16
+ `ICooperativeData`, `UdataKey`), субъекты (`IIndividualData`,
17
+ `IOrganizationData`, `IEntrepreneurData`) и реквизиты (`IBankAccount`).
18
+ Данные цепи, которые входят в модель документа (кооператив, член совета,
19
+ собрание, вопрос), пакет описывает сам: модель шаблона заморожена вместе с ним.
20
+
21
+ Пакет самостоятельный: зависимостей нет, `cooptypes` ему не нужен. Типы цепи —
22
+ в `cooptypes`; подписанный документ в цепи берёт мету из этого пакета.
23
+
14
24
  Пакет живёт в репозитории `C9S/docs-factory` вторым пакетом и выходит одной
15
- версией с фабрикой `@coopenomics/docs-factory`. Типы модели документа,
16
- субъектов и реквизитов берутся из `cooptypes` (зависимость хозяина); в
17
- собранном коде `cooptypes` не подключается.
25
+ версией с фабрикой `@coopenomics/docs-factory`.
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const version = "1.2.0";
3
+ const version = "1.3.0";
4
4
 
5
5
  const registry_id$1r = 1;
6
6
  const title$1r = "\u0421\u043E\u0433\u043B\u0430\u0441\u0438\u0435 \u0441 \u0443\u0441\u043B\u043E\u0432\u0438\u044F\u043C\u0438 \u0426\u041F\u041F \xAB\u0426\u0418\u0424\u0420\u041E\u0412\u041E\u0419 \u041A\u041E\u0428\u0415\u041B\u0415\u041A\xBB";
@@ -10031,8 +10031,53 @@ function decisionTypeExtensions() {
10031
10031
  return [...new Set(names)];
10032
10032
  }
10033
10033
 
10034
+ var DocumentKind = /* @__PURE__ */ ((DocumentKind2) => {
10035
+ DocumentKind2["Agreement"] = "agreement";
10036
+ DocumentKind2["Provision"] = "provision";
10037
+ DocumentKind2["Form"] = "form";
10038
+ DocumentKind2["Service"] = "service";
10039
+ return DocumentKind2;
10040
+ })(DocumentKind || {});
10041
+ var DocumentApprovalRequirement = /* @__PURE__ */ ((DocumentApprovalRequirement2) => {
10042
+ DocumentApprovalRequirement2["Required"] = "required";
10043
+ DocumentApprovalRequirement2["None"] = "none";
10044
+ return DocumentApprovalRequirement2;
10045
+ })(DocumentApprovalRequirement || {});
10046
+ var DocumentApprovalState = /* @__PURE__ */ ((DocumentApprovalState2) => {
10047
+ DocumentApprovalState2["NotRequired"] = "not_required";
10048
+ DocumentApprovalState2["NotApproved"] = "not_approved";
10049
+ DocumentApprovalState2["Pending"] = "pending";
10050
+ DocumentApprovalState2["Approved"] = "approved";
10051
+ DocumentApprovalState2["Outdated"] = "outdated";
10052
+ return DocumentApprovalState2;
10053
+ })(DocumentApprovalState || {});
10054
+
10055
+ var UdataKey = /* @__PURE__ */ ((UdataKey2) => {
10056
+ UdataKey2["BLAGOROST_CONTRIBUTOR_CONTRACT_NUMBER"] = "blagorost_contributor_contract_number";
10057
+ UdataKey2["BLAGOROST_CONTRIBUTOR_CONTRACT_CREATED_AT"] = "blagorost_contributor_contract_created_at";
10058
+ UdataKey2["GENERATOR_AGREEMENT_NUMBER"] = "generator_agreement_number";
10059
+ UdataKey2["GENERATOR_AGREEMENT_CREATED_AT"] = "generator_agreement_created_at";
10060
+ UdataKey2["BLAGOROST_AGREEMENT_NUMBER"] = "blagorost_agreement_number";
10061
+ UdataKey2["BLAGOROST_AGREEMENT_CREATED_AT"] = "blagorost_agreement_created_at";
10062
+ UdataKey2["BLAGOROST_STORAGE_AGREEMENT_NUMBER"] = "blagorost_storage_agreement_number";
10063
+ UdataKey2["BLAGOROST_STORAGE_AGREEMENT_CREATED_AT"] = "blagorost_storage_agreement_created_at";
10064
+ UdataKey2["MARKETPLACE_AGREEMENT_NUMBER"] = "marketplace_agreement_number";
10065
+ UdataKey2["MARKETPLACE_AGREEMENT_CREATED_AT"] = "marketplace_agreement_created_at";
10066
+ UdataKey2["EDUCATION_PARENT_AGREEMENT_NUMBER"] = "education_parent_agreement_number";
10067
+ UdataKey2["EDUCATION_PARENT_AGREEMENT_CREATED_AT"] = "education_parent_agreement_created_at";
10068
+ UdataKey2["EDUCATION_TEACHER_AGREEMENT_NUMBER"] = "education_teacher_agreement_number";
10069
+ UdataKey2["EDUCATION_TEACHER_AGREEMENT_CREATED_AT"] = "education_teacher_agreement_created_at";
10070
+ UdataKey2["EDUCATION_CONTRACT_NUMBER"] = "education_contract_number";
10071
+ UdataKey2["EDUCATION_CONTRACT_CREATED_AT"] = "education_contract_created_at";
10072
+ return UdataKey2;
10073
+ })(UdataKey || {});
10074
+
10034
10075
  exports.DOCS_TEMPLATES_VERSION = version;
10076
+ exports.DocumentApprovalRequirement = DocumentApprovalRequirement;
10077
+ exports.DocumentApprovalState = DocumentApprovalState;
10078
+ exports.DocumentKind = DocumentKind;
10035
10079
  exports.Registry = index;
10080
+ exports.UdataKey = UdataKey;
10036
10081
  exports.decisionTypeExtensions = decisionTypeExtensions;
10037
10082
  exports.decisionTypesForExtensions = decisionTypesForExtensions;
10038
10083
  exports.decisionTypesRegistry = decisionTypesRegistry;