@coopenomics/extension-kit 2026.11.12 → 2026.11.20

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 CHANGED
@@ -1738,6 +1738,89 @@ declare class ProcessViewDTO {
1738
1738
  documents: ProcessDocumentDTO[];
1739
1739
  }
1740
1740
 
1741
+ /**
1742
+ * Содержание процесса для стола бухгалтера: о чём процесс словами предметной
1743
+ * области — имущество, стороны, суммы, состояние. Проводки, кошельки и
1744
+ * документы процесса стол показывает сам; содержание отвечает на вопрос
1745
+ * «что это за процесс», которого нет в учёте.
1746
+ *
1747
+ * Устройство как у стола совета: каждое приложение регистрирует поставщика
1748
+ * содержания на свои типы процессов (`processContentRegistry.register`), стол
1749
+ * рисует ответ одной общей карточкой. Тип процесса без поставщика содержания
1750
+ * не получает — стол показывает учёт без карточки.
1751
+ */
1752
+ /** Строка «подпись — значение» в карточке содержания. */
1753
+ declare class ProcessContentFactDTO {
1754
+ label: string;
1755
+ value: string;
1756
+ }
1757
+ /** Переход на страницу сущности процесса в приложении. */
1758
+ declare class ProcessContentLinkDTO {
1759
+ label: string;
1760
+ path: string;
1761
+ }
1762
+ /** Строка состава процесса: операция, чья она и сумма. */
1763
+ declare class ProcessContentLineDTO {
1764
+ label: string;
1765
+ subject?: string | null;
1766
+ amount?: string | null;
1767
+ }
1768
+ declare class ProcessContentDTO {
1769
+ title: string;
1770
+ subtitle?: string | null;
1771
+ image_url?: string | null;
1772
+ amount?: string | null;
1773
+ amount_label?: string | null;
1774
+ status?: string | null;
1775
+ facts: ProcessContentFactDTO[];
1776
+ links: ProcessContentLinkDTO[];
1777
+ lines?: ProcessContentLineDTO[] | null;
1778
+ }
1779
+ /** Поставщик содержания одного или нескольких типов процессов. */
1780
+ interface ProcessContentProvider {
1781
+ /**
1782
+ * Содержание процесса по хэшу. `null` — сущности нет (стёрта, не дошла до
1783
+ * узла): стол показывает учёт без карточки.
1784
+ */
1785
+ content(processHash: string, coopname: string, processType: string): Promise<ProcessContentDTO | null>;
1786
+ }
1787
+ /**
1788
+ * Реестр поставщиков содержания по типу процесса (`p.mkt.supply`, …).
1789
+ * Один на процесс узла: приложения регистрируются при старте модуля, запрос
1790
+ * `processContent` читает. Повторная регистрация типа заменяет поставщика —
1791
+ * так перезапуск модуля в тестах не копит записи.
1792
+ */
1793
+ declare class ProcessContentRegistry {
1794
+ private readonly providers;
1795
+ private fallback;
1796
+ /**
1797
+ * Общее содержание для процесса без описания приложения либо без записи
1798
+ * сущности (стёрта по завершении): ядро собирает его из сводки процесса —
1799
+ * чей процесс, сумма, назначение, даты.
1800
+ */
1801
+ registerFallback(provider: ProcessContentProvider): void;
1802
+ /** Содержание процесса: описание приложения, иначе общее из сводки. */
1803
+ describe(processHash: string, coopname: string, processType: string): Promise<ProcessContentDTO | null>;
1804
+ register(processTypes: string | string[], provider: ProcessContentProvider): void;
1805
+ get(processType: string): ProcessContentProvider | undefined;
1806
+ registeredTypes(): string[];
1807
+ }
1808
+ declare const processContentRegistry: ProcessContentRegistry;
1809
+ /** Строка сведений, если значение есть: пустые строки карточка не показывает. */
1810
+ declare function contentFact(label: string, value: string | number | null | undefined): ProcessContentFactDTO[];
1811
+ /** Дата словами: «17.11.2026», московское время, как в документах кооператива. */
1812
+ declare function contentDay(date: Date | string | number | null | undefined): string;
1813
+ /**
1814
+ * Сумма словами для строки сведений: «100,00 RUB». Принимает актив цепи
1815
+ * («100.0000 RUB») и число строкой («100.0000») — тогда символ задаёт вызов.
1816
+ */
1817
+ declare function contentMoney(amount: string | number | null | undefined, symbol?: string): string;
1818
+ /**
1819
+ * Главная сумма карточки активом «10000.0000 RUB»: стол форматирует актив сам.
1820
+ * Актив цепи проходит как есть, к числу строкой дописываются точность и символ.
1821
+ */
1822
+ declare function contentAsset(amount: string | number | null | undefined, symbol: string, decimals?: number): string | null;
1823
+
1741
1824
  /**
1742
1825
  * Часть полей `T` обязательна, остальные — нет.
1743
1826
  *
@@ -2499,5 +2582,5 @@ declare function chainRefusalOf(error: unknown): DomainError | null;
2499
2582
  */
2500
2583
  declare function rethrowChainError(error: unknown): never;
2501
2584
 
2502
- export { APP_RIGHTS, ActiveUserStatusGuard, AmountFormatterUtils, AssetUtils, BaseExtensionModule, BucketRegistry, CandidateFilterInputDTO, CandidateOutputDTO, CandidateStatus, CouncilField, CurrencyValidationUtil, CurrentUser, DEFAULT_DOCUMENT_VERSION, DOCUMENT_GENERATION_THROTTLE, DateUtils, DocumentAggregateDTO, DomainError, DomainToBlockchainUtils, EMPTY_HASH, EXPENSE_PLAN_RECURRENCE_MONTHS, EXTENSION_APP_TERMINATE_EVENT, EXTENSION_REPOSITORY, EXTENSION_SECRET_SET, EXTENSION_SECRET_UNSET, ExpenseProposalStatementGenerateDocumentInputDTO, ExpenseProposalStatementSignedDocumentInputDTO, ExpenseProposalStatementSignedMetaDocumentInputDTO, ExtensionAvailability, ExtensionConfigSuppliedBy, ExtensionDomainEntity, GRANTED_SCOPE_KEY, GenerateDocumentInputDTO, GenerateDocumentOptionsInputDTO, GenerateMetaDocumentInputDTO, GeneratedDocumentDTO, GetLedger2HistoryInputDTO, GetLedger2PostingsInputDTO, GqlJwtAuthGuard, GrantedScope, HttpApiError, HttpJwtAuthGuard, IPNProvider, InjectBucket, KYSELY, LOG_EXTENSION_REPOSITORY, LangType, Ledger2AccountDTO, Ledger2HistoryResponseDTO, Ledger2OperationDTO, Ledger2PostingDTO, Ledger2PostingsResponseDTO, Ledger2WalletDTO, LogExtensionDomainEntity, MAIN_DATABASE, MetaDocumentInputDTO, ONBOARDING_EXPIRY_DAYS, ONBOARDING_EXPIRY_MS, OptionalCurrentUser, OptionalGqlJwtAuthGuard, PaginatedProcessSummary, PaginationInputDTO, PaginationResult, PaginationUtils, PaymentProvider, PollingProvider, ProcessActionDTO, ProcessDeltaDTO, ProcessDocumentDTO, ProcessDocumentSourceDTO, ProcessSummaryDTO, ProcessViewDTO, ProcessesFilterInput, QuantityUtils, RIGHT_METADATA_KEY, RequireRight, RightsGuard, SCOPE_DENIALS, SELF, SORT_FIELD_PATTERN, SafeMarkup, SignatureInfoDTO, SignatureInfoInputDTO, SignedDigitalDocumentDTO, SignedDigitalDocumentInputDTO, TableStore, TransactionDTO, UseBucket, affectedCount, attachOne, bankSafeText, bucketProvidersFor, bucketTokenFor, buildPaginationResult, camelRow, chainErrorCode, chainRefusalOf, chainTextDigest, checkPaymentAmount, checkPaymentSymbol, checkRight, checkRightScope, computeOnboardingExpiresAt, configureExtensionAuth, configureLocalChangePublisher, configurePlatformSettings, councilRolesOf, createPaginationResult, describeConfigField, describeStandTime, desktopGrants, desktopGrantsOf, domainErrorMessage, expandRights, expensePlanRecurrenceMonths, expensePlanReserveMonths, expensePlanReserveShare, expensePlanScheduleDates, extensionDatabaseMigrations, generateHashFromString, generateRandomHash, generateUniqueHash, getAmountPlusFee, getAppliedBlockNum, hasServerSecret, inTransaction, isChainTextDigest, isChainTextOf, isExtensionAvailable, isStandTimeCompressed, isStandTimeConfigured, isStandWorkerTurn, memberRolesOf, mergeSecretConfig, nextExpensePlanDate, nextLocalMidnight, paginationInputToOffset, parseChainAssert, pendingLocalChanges, pickDefined, platformSettings, providerSuppliedPaths, rawQuery, redactSecretConfig, registerExtensionDatabaseMigrations, resetExtensionDatabaseMigrations, resolveChainText, rethrowChainError, rightConditions, rightGrants, rightMatches, rightsByRole, rightsHeld, sanitizeUserText, scopeConditions, scopeOfRight, scopesMatched, snakeRow, sortColumn, sortDirection, standDaySeconds, standMonthSeconds, standNextPeriodStart, standPeriodKey, standWorkerPaceSeconds, timeZoneOffsetMs, validationMessage, verifySignedDocumentAgainstStoredDraft, waitForEvent };
2503
- export type { AppRights, AssignableRole, AttachedRole, BucketSource, BucketSpec, CouncilRole, DeserializedDescriptionOfExtension, DesktopGrantsRequest, DomainErrorParams, EventSource, EventWait, ExcludeCommonProps, ExpensePlanRecurrenceKey, ExtensionAppTerminatePayload, ExtensionAuthOptions, ExtensionConfigFieldPolicy, ExtensionConfigPolicy, ExtensionDatabaseMigrationClass, ExtensionDomainInterface, ExtensionDomainRepository, ExtensionSchemaMigrationAfterContext, GeneratedDocumentDomainInterface, GeneratedDocumentDraft, GrantedAction, IDesktopConfig, IExtensionSchemaMigration, IGrantedScope, IRegistryExtension, IResolvedRegistryExtension, IRightRequirement, LoadGeneratedDocumentByDocHash, LogExtensionDomainInterface, LogExtensionDomainRepository, LogExtensionFilter, LogExtensionPaginationOptions, LogExtensionPaginationResult, MainDatabase, MemberRole, NarrowRightScope, PaymentDetails, PendingLocalChange, PlatformBlockchainSettings, PlatformSettings, RegisteredBucket, RequireFields, RightActor, RightFacts, RightGrant, RightOutcome, RightScope, RightSource, RightsCaller, RightsGroup, RightsTable, RolePermission, SchemaMigration, SchemaMigrationClass, SchemaQueryRunner, ScopeCheckInput, ScopeCheckResult, SignedDocumentMetaCompareMode, SignedDocumentMetaVerification, SignedDocumentToVerify, TransactResultWithResponse };
2585
+ export { APP_RIGHTS, ActiveUserStatusGuard, AmountFormatterUtils, AssetUtils, BaseExtensionModule, BucketRegistry, CandidateFilterInputDTO, CandidateOutputDTO, CandidateStatus, CouncilField, CurrencyValidationUtil, CurrentUser, DEFAULT_DOCUMENT_VERSION, DOCUMENT_GENERATION_THROTTLE, DateUtils, DocumentAggregateDTO, DomainError, DomainToBlockchainUtils, EMPTY_HASH, EXPENSE_PLAN_RECURRENCE_MONTHS, EXTENSION_APP_TERMINATE_EVENT, EXTENSION_REPOSITORY, EXTENSION_SECRET_SET, EXTENSION_SECRET_UNSET, ExpenseProposalStatementGenerateDocumentInputDTO, ExpenseProposalStatementSignedDocumentInputDTO, ExpenseProposalStatementSignedMetaDocumentInputDTO, ExtensionAvailability, ExtensionConfigSuppliedBy, ExtensionDomainEntity, GRANTED_SCOPE_KEY, GenerateDocumentInputDTO, GenerateDocumentOptionsInputDTO, GenerateMetaDocumentInputDTO, GeneratedDocumentDTO, GetLedger2HistoryInputDTO, GetLedger2PostingsInputDTO, GqlJwtAuthGuard, GrantedScope, HttpApiError, HttpJwtAuthGuard, IPNProvider, InjectBucket, KYSELY, LOG_EXTENSION_REPOSITORY, LangType, Ledger2AccountDTO, Ledger2HistoryResponseDTO, Ledger2OperationDTO, Ledger2PostingDTO, Ledger2PostingsResponseDTO, Ledger2WalletDTO, LogExtensionDomainEntity, MAIN_DATABASE, MetaDocumentInputDTO, ONBOARDING_EXPIRY_DAYS, ONBOARDING_EXPIRY_MS, OptionalCurrentUser, OptionalGqlJwtAuthGuard, PaginatedProcessSummary, PaginationInputDTO, PaginationResult, PaginationUtils, PaymentProvider, PollingProvider, ProcessActionDTO, ProcessContentDTO, ProcessContentFactDTO, ProcessContentLineDTO, ProcessContentLinkDTO, ProcessDeltaDTO, ProcessDocumentDTO, ProcessDocumentSourceDTO, ProcessSummaryDTO, ProcessViewDTO, ProcessesFilterInput, QuantityUtils, RIGHT_METADATA_KEY, RequireRight, RightsGuard, SCOPE_DENIALS, SELF, SORT_FIELD_PATTERN, SafeMarkup, SignatureInfoDTO, SignatureInfoInputDTO, SignedDigitalDocumentDTO, SignedDigitalDocumentInputDTO, TableStore, TransactionDTO, UseBucket, affectedCount, attachOne, bankSafeText, bucketProvidersFor, bucketTokenFor, buildPaginationResult, camelRow, chainErrorCode, chainRefusalOf, chainTextDigest, checkPaymentAmount, checkPaymentSymbol, checkRight, checkRightScope, computeOnboardingExpiresAt, configureExtensionAuth, configureLocalChangePublisher, configurePlatformSettings, contentAsset, contentDay, contentFact, contentMoney, councilRolesOf, createPaginationResult, describeConfigField, describeStandTime, desktopGrants, desktopGrantsOf, domainErrorMessage, expandRights, expensePlanRecurrenceMonths, expensePlanReserveMonths, expensePlanReserveShare, expensePlanScheduleDates, extensionDatabaseMigrations, generateHashFromString, generateRandomHash, generateUniqueHash, getAmountPlusFee, getAppliedBlockNum, hasServerSecret, inTransaction, isChainTextDigest, isChainTextOf, isExtensionAvailable, isStandTimeCompressed, isStandTimeConfigured, isStandWorkerTurn, memberRolesOf, mergeSecretConfig, nextExpensePlanDate, nextLocalMidnight, paginationInputToOffset, parseChainAssert, pendingLocalChanges, pickDefined, platformSettings, processContentRegistry, providerSuppliedPaths, rawQuery, redactSecretConfig, registerExtensionDatabaseMigrations, resetExtensionDatabaseMigrations, resolveChainText, rethrowChainError, rightConditions, rightGrants, rightMatches, rightsByRole, rightsHeld, sanitizeUserText, scopeConditions, scopeOfRight, scopesMatched, snakeRow, sortColumn, sortDirection, standDaySeconds, standMonthSeconds, standNextPeriodStart, standPeriodKey, standWorkerPaceSeconds, timeZoneOffsetMs, validationMessage, verifySignedDocumentAgainstStoredDraft, waitForEvent };
2586
+ export type { AppRights, AssignableRole, AttachedRole, BucketSource, BucketSpec, CouncilRole, DeserializedDescriptionOfExtension, DesktopGrantsRequest, DomainErrorParams, EventSource, EventWait, ExcludeCommonProps, ExpensePlanRecurrenceKey, ExtensionAppTerminatePayload, ExtensionAuthOptions, ExtensionConfigFieldPolicy, ExtensionConfigPolicy, ExtensionDatabaseMigrationClass, ExtensionDomainInterface, ExtensionDomainRepository, ExtensionSchemaMigrationAfterContext, GeneratedDocumentDomainInterface, GeneratedDocumentDraft, GrantedAction, IDesktopConfig, IExtensionSchemaMigration, IGrantedScope, IRegistryExtension, IResolvedRegistryExtension, IRightRequirement, LoadGeneratedDocumentByDocHash, LogExtensionDomainInterface, LogExtensionDomainRepository, LogExtensionFilter, LogExtensionPaginationOptions, LogExtensionPaginationResult, MainDatabase, MemberRole, NarrowRightScope, PaymentDetails, PendingLocalChange, PlatformBlockchainSettings, PlatformSettings, ProcessContentProvider, RegisteredBucket, RequireFields, RightActor, RightFacts, RightGrant, RightOutcome, RightScope, RightSource, RightsCaller, RightsGroup, RightsTable, RolePermission, SchemaMigration, SchemaMigrationClass, SchemaQueryRunner, ScopeCheckInput, ScopeCheckResult, SignedDocumentMetaCompareMode, SignedDocumentMetaVerification, SignedDocumentToVerify, TransactResultWithResponse };
package/dist/index.d.mts CHANGED
@@ -1738,6 +1738,89 @@ declare class ProcessViewDTO {
1738
1738
  documents: ProcessDocumentDTO[];
1739
1739
  }
1740
1740
 
1741
+ /**
1742
+ * Содержание процесса для стола бухгалтера: о чём процесс словами предметной
1743
+ * области — имущество, стороны, суммы, состояние. Проводки, кошельки и
1744
+ * документы процесса стол показывает сам; содержание отвечает на вопрос
1745
+ * «что это за процесс», которого нет в учёте.
1746
+ *
1747
+ * Устройство как у стола совета: каждое приложение регистрирует поставщика
1748
+ * содержания на свои типы процессов (`processContentRegistry.register`), стол
1749
+ * рисует ответ одной общей карточкой. Тип процесса без поставщика содержания
1750
+ * не получает — стол показывает учёт без карточки.
1751
+ */
1752
+ /** Строка «подпись — значение» в карточке содержания. */
1753
+ declare class ProcessContentFactDTO {
1754
+ label: string;
1755
+ value: string;
1756
+ }
1757
+ /** Переход на страницу сущности процесса в приложении. */
1758
+ declare class ProcessContentLinkDTO {
1759
+ label: string;
1760
+ path: string;
1761
+ }
1762
+ /** Строка состава процесса: операция, чья она и сумма. */
1763
+ declare class ProcessContentLineDTO {
1764
+ label: string;
1765
+ subject?: string | null;
1766
+ amount?: string | null;
1767
+ }
1768
+ declare class ProcessContentDTO {
1769
+ title: string;
1770
+ subtitle?: string | null;
1771
+ image_url?: string | null;
1772
+ amount?: string | null;
1773
+ amount_label?: string | null;
1774
+ status?: string | null;
1775
+ facts: ProcessContentFactDTO[];
1776
+ links: ProcessContentLinkDTO[];
1777
+ lines?: ProcessContentLineDTO[] | null;
1778
+ }
1779
+ /** Поставщик содержания одного или нескольких типов процессов. */
1780
+ interface ProcessContentProvider {
1781
+ /**
1782
+ * Содержание процесса по хэшу. `null` — сущности нет (стёрта, не дошла до
1783
+ * узла): стол показывает учёт без карточки.
1784
+ */
1785
+ content(processHash: string, coopname: string, processType: string): Promise<ProcessContentDTO | null>;
1786
+ }
1787
+ /**
1788
+ * Реестр поставщиков содержания по типу процесса (`p.mkt.supply`, …).
1789
+ * Один на процесс узла: приложения регистрируются при старте модуля, запрос
1790
+ * `processContent` читает. Повторная регистрация типа заменяет поставщика —
1791
+ * так перезапуск модуля в тестах не копит записи.
1792
+ */
1793
+ declare class ProcessContentRegistry {
1794
+ private readonly providers;
1795
+ private fallback;
1796
+ /**
1797
+ * Общее содержание для процесса без описания приложения либо без записи
1798
+ * сущности (стёрта по завершении): ядро собирает его из сводки процесса —
1799
+ * чей процесс, сумма, назначение, даты.
1800
+ */
1801
+ registerFallback(provider: ProcessContentProvider): void;
1802
+ /** Содержание процесса: описание приложения, иначе общее из сводки. */
1803
+ describe(processHash: string, coopname: string, processType: string): Promise<ProcessContentDTO | null>;
1804
+ register(processTypes: string | string[], provider: ProcessContentProvider): void;
1805
+ get(processType: string): ProcessContentProvider | undefined;
1806
+ registeredTypes(): string[];
1807
+ }
1808
+ declare const processContentRegistry: ProcessContentRegistry;
1809
+ /** Строка сведений, если значение есть: пустые строки карточка не показывает. */
1810
+ declare function contentFact(label: string, value: string | number | null | undefined): ProcessContentFactDTO[];
1811
+ /** Дата словами: «17.11.2026», московское время, как в документах кооператива. */
1812
+ declare function contentDay(date: Date | string | number | null | undefined): string;
1813
+ /**
1814
+ * Сумма словами для строки сведений: «100,00 RUB». Принимает актив цепи
1815
+ * («100.0000 RUB») и число строкой («100.0000») — тогда символ задаёт вызов.
1816
+ */
1817
+ declare function contentMoney(amount: string | number | null | undefined, symbol?: string): string;
1818
+ /**
1819
+ * Главная сумма карточки активом «10000.0000 RUB»: стол форматирует актив сам.
1820
+ * Актив цепи проходит как есть, к числу строкой дописываются точность и символ.
1821
+ */
1822
+ declare function contentAsset(amount: string | number | null | undefined, symbol: string, decimals?: number): string | null;
1823
+
1741
1824
  /**
1742
1825
  * Часть полей `T` обязательна, остальные — нет.
1743
1826
  *
@@ -2499,5 +2582,5 @@ declare function chainRefusalOf(error: unknown): DomainError | null;
2499
2582
  */
2500
2583
  declare function rethrowChainError(error: unknown): never;
2501
2584
 
2502
- export { APP_RIGHTS, ActiveUserStatusGuard, AmountFormatterUtils, AssetUtils, BaseExtensionModule, BucketRegistry, CandidateFilterInputDTO, CandidateOutputDTO, CandidateStatus, CouncilField, CurrencyValidationUtil, CurrentUser, DEFAULT_DOCUMENT_VERSION, DOCUMENT_GENERATION_THROTTLE, DateUtils, DocumentAggregateDTO, DomainError, DomainToBlockchainUtils, EMPTY_HASH, EXPENSE_PLAN_RECURRENCE_MONTHS, EXTENSION_APP_TERMINATE_EVENT, EXTENSION_REPOSITORY, EXTENSION_SECRET_SET, EXTENSION_SECRET_UNSET, ExpenseProposalStatementGenerateDocumentInputDTO, ExpenseProposalStatementSignedDocumentInputDTO, ExpenseProposalStatementSignedMetaDocumentInputDTO, ExtensionAvailability, ExtensionConfigSuppliedBy, ExtensionDomainEntity, GRANTED_SCOPE_KEY, GenerateDocumentInputDTO, GenerateDocumentOptionsInputDTO, GenerateMetaDocumentInputDTO, GeneratedDocumentDTO, GetLedger2HistoryInputDTO, GetLedger2PostingsInputDTO, GqlJwtAuthGuard, GrantedScope, HttpApiError, HttpJwtAuthGuard, IPNProvider, InjectBucket, KYSELY, LOG_EXTENSION_REPOSITORY, LangType, Ledger2AccountDTO, Ledger2HistoryResponseDTO, Ledger2OperationDTO, Ledger2PostingDTO, Ledger2PostingsResponseDTO, Ledger2WalletDTO, LogExtensionDomainEntity, MAIN_DATABASE, MetaDocumentInputDTO, ONBOARDING_EXPIRY_DAYS, ONBOARDING_EXPIRY_MS, OptionalCurrentUser, OptionalGqlJwtAuthGuard, PaginatedProcessSummary, PaginationInputDTO, PaginationResult, PaginationUtils, PaymentProvider, PollingProvider, ProcessActionDTO, ProcessDeltaDTO, ProcessDocumentDTO, ProcessDocumentSourceDTO, ProcessSummaryDTO, ProcessViewDTO, ProcessesFilterInput, QuantityUtils, RIGHT_METADATA_KEY, RequireRight, RightsGuard, SCOPE_DENIALS, SELF, SORT_FIELD_PATTERN, SafeMarkup, SignatureInfoDTO, SignatureInfoInputDTO, SignedDigitalDocumentDTO, SignedDigitalDocumentInputDTO, TableStore, TransactionDTO, UseBucket, affectedCount, attachOne, bankSafeText, bucketProvidersFor, bucketTokenFor, buildPaginationResult, camelRow, chainErrorCode, chainRefusalOf, chainTextDigest, checkPaymentAmount, checkPaymentSymbol, checkRight, checkRightScope, computeOnboardingExpiresAt, configureExtensionAuth, configureLocalChangePublisher, configurePlatformSettings, councilRolesOf, createPaginationResult, describeConfigField, describeStandTime, desktopGrants, desktopGrantsOf, domainErrorMessage, expandRights, expensePlanRecurrenceMonths, expensePlanReserveMonths, expensePlanReserveShare, expensePlanScheduleDates, extensionDatabaseMigrations, generateHashFromString, generateRandomHash, generateUniqueHash, getAmountPlusFee, getAppliedBlockNum, hasServerSecret, inTransaction, isChainTextDigest, isChainTextOf, isExtensionAvailable, isStandTimeCompressed, isStandTimeConfigured, isStandWorkerTurn, memberRolesOf, mergeSecretConfig, nextExpensePlanDate, nextLocalMidnight, paginationInputToOffset, parseChainAssert, pendingLocalChanges, pickDefined, platformSettings, providerSuppliedPaths, rawQuery, redactSecretConfig, registerExtensionDatabaseMigrations, resetExtensionDatabaseMigrations, resolveChainText, rethrowChainError, rightConditions, rightGrants, rightMatches, rightsByRole, rightsHeld, sanitizeUserText, scopeConditions, scopeOfRight, scopesMatched, snakeRow, sortColumn, sortDirection, standDaySeconds, standMonthSeconds, standNextPeriodStart, standPeriodKey, standWorkerPaceSeconds, timeZoneOffsetMs, validationMessage, verifySignedDocumentAgainstStoredDraft, waitForEvent };
2503
- export type { AppRights, AssignableRole, AttachedRole, BucketSource, BucketSpec, CouncilRole, DeserializedDescriptionOfExtension, DesktopGrantsRequest, DomainErrorParams, EventSource, EventWait, ExcludeCommonProps, ExpensePlanRecurrenceKey, ExtensionAppTerminatePayload, ExtensionAuthOptions, ExtensionConfigFieldPolicy, ExtensionConfigPolicy, ExtensionDatabaseMigrationClass, ExtensionDomainInterface, ExtensionDomainRepository, ExtensionSchemaMigrationAfterContext, GeneratedDocumentDomainInterface, GeneratedDocumentDraft, GrantedAction, IDesktopConfig, IExtensionSchemaMigration, IGrantedScope, IRegistryExtension, IResolvedRegistryExtension, IRightRequirement, LoadGeneratedDocumentByDocHash, LogExtensionDomainInterface, LogExtensionDomainRepository, LogExtensionFilter, LogExtensionPaginationOptions, LogExtensionPaginationResult, MainDatabase, MemberRole, NarrowRightScope, PaymentDetails, PendingLocalChange, PlatformBlockchainSettings, PlatformSettings, RegisteredBucket, RequireFields, RightActor, RightFacts, RightGrant, RightOutcome, RightScope, RightSource, RightsCaller, RightsGroup, RightsTable, RolePermission, SchemaMigration, SchemaMigrationClass, SchemaQueryRunner, ScopeCheckInput, ScopeCheckResult, SignedDocumentMetaCompareMode, SignedDocumentMetaVerification, SignedDocumentToVerify, TransactResultWithResponse };
2585
+ export { APP_RIGHTS, ActiveUserStatusGuard, AmountFormatterUtils, AssetUtils, BaseExtensionModule, BucketRegistry, CandidateFilterInputDTO, CandidateOutputDTO, CandidateStatus, CouncilField, CurrencyValidationUtil, CurrentUser, DEFAULT_DOCUMENT_VERSION, DOCUMENT_GENERATION_THROTTLE, DateUtils, DocumentAggregateDTO, DomainError, DomainToBlockchainUtils, EMPTY_HASH, EXPENSE_PLAN_RECURRENCE_MONTHS, EXTENSION_APP_TERMINATE_EVENT, EXTENSION_REPOSITORY, EXTENSION_SECRET_SET, EXTENSION_SECRET_UNSET, ExpenseProposalStatementGenerateDocumentInputDTO, ExpenseProposalStatementSignedDocumentInputDTO, ExpenseProposalStatementSignedMetaDocumentInputDTO, ExtensionAvailability, ExtensionConfigSuppliedBy, ExtensionDomainEntity, GRANTED_SCOPE_KEY, GenerateDocumentInputDTO, GenerateDocumentOptionsInputDTO, GenerateMetaDocumentInputDTO, GeneratedDocumentDTO, GetLedger2HistoryInputDTO, GetLedger2PostingsInputDTO, GqlJwtAuthGuard, GrantedScope, HttpApiError, HttpJwtAuthGuard, IPNProvider, InjectBucket, KYSELY, LOG_EXTENSION_REPOSITORY, LangType, Ledger2AccountDTO, Ledger2HistoryResponseDTO, Ledger2OperationDTO, Ledger2PostingDTO, Ledger2PostingsResponseDTO, Ledger2WalletDTO, LogExtensionDomainEntity, MAIN_DATABASE, MetaDocumentInputDTO, ONBOARDING_EXPIRY_DAYS, ONBOARDING_EXPIRY_MS, OptionalCurrentUser, OptionalGqlJwtAuthGuard, PaginatedProcessSummary, PaginationInputDTO, PaginationResult, PaginationUtils, PaymentProvider, PollingProvider, ProcessActionDTO, ProcessContentDTO, ProcessContentFactDTO, ProcessContentLineDTO, ProcessContentLinkDTO, ProcessDeltaDTO, ProcessDocumentDTO, ProcessDocumentSourceDTO, ProcessSummaryDTO, ProcessViewDTO, ProcessesFilterInput, QuantityUtils, RIGHT_METADATA_KEY, RequireRight, RightsGuard, SCOPE_DENIALS, SELF, SORT_FIELD_PATTERN, SafeMarkup, SignatureInfoDTO, SignatureInfoInputDTO, SignedDigitalDocumentDTO, SignedDigitalDocumentInputDTO, TableStore, TransactionDTO, UseBucket, affectedCount, attachOne, bankSafeText, bucketProvidersFor, bucketTokenFor, buildPaginationResult, camelRow, chainErrorCode, chainRefusalOf, chainTextDigest, checkPaymentAmount, checkPaymentSymbol, checkRight, checkRightScope, computeOnboardingExpiresAt, configureExtensionAuth, configureLocalChangePublisher, configurePlatformSettings, contentAsset, contentDay, contentFact, contentMoney, councilRolesOf, createPaginationResult, describeConfigField, describeStandTime, desktopGrants, desktopGrantsOf, domainErrorMessage, expandRights, expensePlanRecurrenceMonths, expensePlanReserveMonths, expensePlanReserveShare, expensePlanScheduleDates, extensionDatabaseMigrations, generateHashFromString, generateRandomHash, generateUniqueHash, getAmountPlusFee, getAppliedBlockNum, hasServerSecret, inTransaction, isChainTextDigest, isChainTextOf, isExtensionAvailable, isStandTimeCompressed, isStandTimeConfigured, isStandWorkerTurn, memberRolesOf, mergeSecretConfig, nextExpensePlanDate, nextLocalMidnight, paginationInputToOffset, parseChainAssert, pendingLocalChanges, pickDefined, platformSettings, processContentRegistry, providerSuppliedPaths, rawQuery, redactSecretConfig, registerExtensionDatabaseMigrations, resetExtensionDatabaseMigrations, resolveChainText, rethrowChainError, rightConditions, rightGrants, rightMatches, rightsByRole, rightsHeld, sanitizeUserText, scopeConditions, scopeOfRight, scopesMatched, snakeRow, sortColumn, sortDirection, standDaySeconds, standMonthSeconds, standNextPeriodStart, standPeriodKey, standWorkerPaceSeconds, timeZoneOffsetMs, validationMessage, verifySignedDocumentAgainstStoredDraft, waitForEvent };
2586
+ export type { AppRights, AssignableRole, AttachedRole, BucketSource, BucketSpec, CouncilRole, DeserializedDescriptionOfExtension, DesktopGrantsRequest, DomainErrorParams, EventSource, EventWait, ExcludeCommonProps, ExpensePlanRecurrenceKey, ExtensionAppTerminatePayload, ExtensionAuthOptions, ExtensionConfigFieldPolicy, ExtensionConfigPolicy, ExtensionDatabaseMigrationClass, ExtensionDomainInterface, ExtensionDomainRepository, ExtensionSchemaMigrationAfterContext, GeneratedDocumentDomainInterface, GeneratedDocumentDraft, GrantedAction, IDesktopConfig, IExtensionSchemaMigration, IGrantedScope, IRegistryExtension, IResolvedRegistryExtension, IRightRequirement, LoadGeneratedDocumentByDocHash, LogExtensionDomainInterface, LogExtensionDomainRepository, LogExtensionFilter, LogExtensionPaginationOptions, LogExtensionPaginationResult, MainDatabase, MemberRole, NarrowRightScope, PaymentDetails, PendingLocalChange, PlatformBlockchainSettings, PlatformSettings, ProcessContentProvider, RegisteredBucket, RequireFields, RightActor, RightFacts, RightGrant, RightOutcome, RightScope, RightSource, RightsCaller, RightsGroup, RightsTable, RolePermission, SchemaMigration, SchemaMigrationClass, SchemaQueryRunner, ScopeCheckInput, ScopeCheckResult, SignedDocumentMetaCompareMode, SignedDocumentMetaVerification, SignedDocumentToVerify, TransactResultWithResponse };
package/dist/index.d.ts CHANGED
@@ -1738,6 +1738,89 @@ declare class ProcessViewDTO {
1738
1738
  documents: ProcessDocumentDTO[];
1739
1739
  }
1740
1740
 
1741
+ /**
1742
+ * Содержание процесса для стола бухгалтера: о чём процесс словами предметной
1743
+ * области — имущество, стороны, суммы, состояние. Проводки, кошельки и
1744
+ * документы процесса стол показывает сам; содержание отвечает на вопрос
1745
+ * «что это за процесс», которого нет в учёте.
1746
+ *
1747
+ * Устройство как у стола совета: каждое приложение регистрирует поставщика
1748
+ * содержания на свои типы процессов (`processContentRegistry.register`), стол
1749
+ * рисует ответ одной общей карточкой. Тип процесса без поставщика содержания
1750
+ * не получает — стол показывает учёт без карточки.
1751
+ */
1752
+ /** Строка «подпись — значение» в карточке содержания. */
1753
+ declare class ProcessContentFactDTO {
1754
+ label: string;
1755
+ value: string;
1756
+ }
1757
+ /** Переход на страницу сущности процесса в приложении. */
1758
+ declare class ProcessContentLinkDTO {
1759
+ label: string;
1760
+ path: string;
1761
+ }
1762
+ /** Строка состава процесса: операция, чья она и сумма. */
1763
+ declare class ProcessContentLineDTO {
1764
+ label: string;
1765
+ subject?: string | null;
1766
+ amount?: string | null;
1767
+ }
1768
+ declare class ProcessContentDTO {
1769
+ title: string;
1770
+ subtitle?: string | null;
1771
+ image_url?: string | null;
1772
+ amount?: string | null;
1773
+ amount_label?: string | null;
1774
+ status?: string | null;
1775
+ facts: ProcessContentFactDTO[];
1776
+ links: ProcessContentLinkDTO[];
1777
+ lines?: ProcessContentLineDTO[] | null;
1778
+ }
1779
+ /** Поставщик содержания одного или нескольких типов процессов. */
1780
+ interface ProcessContentProvider {
1781
+ /**
1782
+ * Содержание процесса по хэшу. `null` — сущности нет (стёрта, не дошла до
1783
+ * узла): стол показывает учёт без карточки.
1784
+ */
1785
+ content(processHash: string, coopname: string, processType: string): Promise<ProcessContentDTO | null>;
1786
+ }
1787
+ /**
1788
+ * Реестр поставщиков содержания по типу процесса (`p.mkt.supply`, …).
1789
+ * Один на процесс узла: приложения регистрируются при старте модуля, запрос
1790
+ * `processContent` читает. Повторная регистрация типа заменяет поставщика —
1791
+ * так перезапуск модуля в тестах не копит записи.
1792
+ */
1793
+ declare class ProcessContentRegistry {
1794
+ private readonly providers;
1795
+ private fallback;
1796
+ /**
1797
+ * Общее содержание для процесса без описания приложения либо без записи
1798
+ * сущности (стёрта по завершении): ядро собирает его из сводки процесса —
1799
+ * чей процесс, сумма, назначение, даты.
1800
+ */
1801
+ registerFallback(provider: ProcessContentProvider): void;
1802
+ /** Содержание процесса: описание приложения, иначе общее из сводки. */
1803
+ describe(processHash: string, coopname: string, processType: string): Promise<ProcessContentDTO | null>;
1804
+ register(processTypes: string | string[], provider: ProcessContentProvider): void;
1805
+ get(processType: string): ProcessContentProvider | undefined;
1806
+ registeredTypes(): string[];
1807
+ }
1808
+ declare const processContentRegistry: ProcessContentRegistry;
1809
+ /** Строка сведений, если значение есть: пустые строки карточка не показывает. */
1810
+ declare function contentFact(label: string, value: string | number | null | undefined): ProcessContentFactDTO[];
1811
+ /** Дата словами: «17.11.2026», московское время, как в документах кооператива. */
1812
+ declare function contentDay(date: Date | string | number | null | undefined): string;
1813
+ /**
1814
+ * Сумма словами для строки сведений: «100,00 RUB». Принимает актив цепи
1815
+ * («100.0000 RUB») и число строкой («100.0000») — тогда символ задаёт вызов.
1816
+ */
1817
+ declare function contentMoney(amount: string | number | null | undefined, symbol?: string): string;
1818
+ /**
1819
+ * Главная сумма карточки активом «10000.0000 RUB»: стол форматирует актив сам.
1820
+ * Актив цепи проходит как есть, к числу строкой дописываются точность и символ.
1821
+ */
1822
+ declare function contentAsset(amount: string | number | null | undefined, symbol: string, decimals?: number): string | null;
1823
+
1741
1824
  /**
1742
1825
  * Часть полей `T` обязательна, остальные — нет.
1743
1826
  *
@@ -2499,5 +2582,5 @@ declare function chainRefusalOf(error: unknown): DomainError | null;
2499
2582
  */
2500
2583
  declare function rethrowChainError(error: unknown): never;
2501
2584
 
2502
- export { APP_RIGHTS, ActiveUserStatusGuard, AmountFormatterUtils, AssetUtils, BaseExtensionModule, BucketRegistry, CandidateFilterInputDTO, CandidateOutputDTO, CandidateStatus, CouncilField, CurrencyValidationUtil, CurrentUser, DEFAULT_DOCUMENT_VERSION, DOCUMENT_GENERATION_THROTTLE, DateUtils, DocumentAggregateDTO, DomainError, DomainToBlockchainUtils, EMPTY_HASH, EXPENSE_PLAN_RECURRENCE_MONTHS, EXTENSION_APP_TERMINATE_EVENT, EXTENSION_REPOSITORY, EXTENSION_SECRET_SET, EXTENSION_SECRET_UNSET, ExpenseProposalStatementGenerateDocumentInputDTO, ExpenseProposalStatementSignedDocumentInputDTO, ExpenseProposalStatementSignedMetaDocumentInputDTO, ExtensionAvailability, ExtensionConfigSuppliedBy, ExtensionDomainEntity, GRANTED_SCOPE_KEY, GenerateDocumentInputDTO, GenerateDocumentOptionsInputDTO, GenerateMetaDocumentInputDTO, GeneratedDocumentDTO, GetLedger2HistoryInputDTO, GetLedger2PostingsInputDTO, GqlJwtAuthGuard, GrantedScope, HttpApiError, HttpJwtAuthGuard, IPNProvider, InjectBucket, KYSELY, LOG_EXTENSION_REPOSITORY, LangType, Ledger2AccountDTO, Ledger2HistoryResponseDTO, Ledger2OperationDTO, Ledger2PostingDTO, Ledger2PostingsResponseDTO, Ledger2WalletDTO, LogExtensionDomainEntity, MAIN_DATABASE, MetaDocumentInputDTO, ONBOARDING_EXPIRY_DAYS, ONBOARDING_EXPIRY_MS, OptionalCurrentUser, OptionalGqlJwtAuthGuard, PaginatedProcessSummary, PaginationInputDTO, PaginationResult, PaginationUtils, PaymentProvider, PollingProvider, ProcessActionDTO, ProcessDeltaDTO, ProcessDocumentDTO, ProcessDocumentSourceDTO, ProcessSummaryDTO, ProcessViewDTO, ProcessesFilterInput, QuantityUtils, RIGHT_METADATA_KEY, RequireRight, RightsGuard, SCOPE_DENIALS, SELF, SORT_FIELD_PATTERN, SafeMarkup, SignatureInfoDTO, SignatureInfoInputDTO, SignedDigitalDocumentDTO, SignedDigitalDocumentInputDTO, TableStore, TransactionDTO, UseBucket, affectedCount, attachOne, bankSafeText, bucketProvidersFor, bucketTokenFor, buildPaginationResult, camelRow, chainErrorCode, chainRefusalOf, chainTextDigest, checkPaymentAmount, checkPaymentSymbol, checkRight, checkRightScope, computeOnboardingExpiresAt, configureExtensionAuth, configureLocalChangePublisher, configurePlatformSettings, councilRolesOf, createPaginationResult, describeConfigField, describeStandTime, desktopGrants, desktopGrantsOf, domainErrorMessage, expandRights, expensePlanRecurrenceMonths, expensePlanReserveMonths, expensePlanReserveShare, expensePlanScheduleDates, extensionDatabaseMigrations, generateHashFromString, generateRandomHash, generateUniqueHash, getAmountPlusFee, getAppliedBlockNum, hasServerSecret, inTransaction, isChainTextDigest, isChainTextOf, isExtensionAvailable, isStandTimeCompressed, isStandTimeConfigured, isStandWorkerTurn, memberRolesOf, mergeSecretConfig, nextExpensePlanDate, nextLocalMidnight, paginationInputToOffset, parseChainAssert, pendingLocalChanges, pickDefined, platformSettings, providerSuppliedPaths, rawQuery, redactSecretConfig, registerExtensionDatabaseMigrations, resetExtensionDatabaseMigrations, resolveChainText, rethrowChainError, rightConditions, rightGrants, rightMatches, rightsByRole, rightsHeld, sanitizeUserText, scopeConditions, scopeOfRight, scopesMatched, snakeRow, sortColumn, sortDirection, standDaySeconds, standMonthSeconds, standNextPeriodStart, standPeriodKey, standWorkerPaceSeconds, timeZoneOffsetMs, validationMessage, verifySignedDocumentAgainstStoredDraft, waitForEvent };
2503
- export type { AppRights, AssignableRole, AttachedRole, BucketSource, BucketSpec, CouncilRole, DeserializedDescriptionOfExtension, DesktopGrantsRequest, DomainErrorParams, EventSource, EventWait, ExcludeCommonProps, ExpensePlanRecurrenceKey, ExtensionAppTerminatePayload, ExtensionAuthOptions, ExtensionConfigFieldPolicy, ExtensionConfigPolicy, ExtensionDatabaseMigrationClass, ExtensionDomainInterface, ExtensionDomainRepository, ExtensionSchemaMigrationAfterContext, GeneratedDocumentDomainInterface, GeneratedDocumentDraft, GrantedAction, IDesktopConfig, IExtensionSchemaMigration, IGrantedScope, IRegistryExtension, IResolvedRegistryExtension, IRightRequirement, LoadGeneratedDocumentByDocHash, LogExtensionDomainInterface, LogExtensionDomainRepository, LogExtensionFilter, LogExtensionPaginationOptions, LogExtensionPaginationResult, MainDatabase, MemberRole, NarrowRightScope, PaymentDetails, PendingLocalChange, PlatformBlockchainSettings, PlatformSettings, RegisteredBucket, RequireFields, RightActor, RightFacts, RightGrant, RightOutcome, RightScope, RightSource, RightsCaller, RightsGroup, RightsTable, RolePermission, SchemaMigration, SchemaMigrationClass, SchemaQueryRunner, ScopeCheckInput, ScopeCheckResult, SignedDocumentMetaCompareMode, SignedDocumentMetaVerification, SignedDocumentToVerify, TransactResultWithResponse };
2585
+ export { APP_RIGHTS, ActiveUserStatusGuard, AmountFormatterUtils, AssetUtils, BaseExtensionModule, BucketRegistry, CandidateFilterInputDTO, CandidateOutputDTO, CandidateStatus, CouncilField, CurrencyValidationUtil, CurrentUser, DEFAULT_DOCUMENT_VERSION, DOCUMENT_GENERATION_THROTTLE, DateUtils, DocumentAggregateDTO, DomainError, DomainToBlockchainUtils, EMPTY_HASH, EXPENSE_PLAN_RECURRENCE_MONTHS, EXTENSION_APP_TERMINATE_EVENT, EXTENSION_REPOSITORY, EXTENSION_SECRET_SET, EXTENSION_SECRET_UNSET, ExpenseProposalStatementGenerateDocumentInputDTO, ExpenseProposalStatementSignedDocumentInputDTO, ExpenseProposalStatementSignedMetaDocumentInputDTO, ExtensionAvailability, ExtensionConfigSuppliedBy, ExtensionDomainEntity, GRANTED_SCOPE_KEY, GenerateDocumentInputDTO, GenerateDocumentOptionsInputDTO, GenerateMetaDocumentInputDTO, GeneratedDocumentDTO, GetLedger2HistoryInputDTO, GetLedger2PostingsInputDTO, GqlJwtAuthGuard, GrantedScope, HttpApiError, HttpJwtAuthGuard, IPNProvider, InjectBucket, KYSELY, LOG_EXTENSION_REPOSITORY, LangType, Ledger2AccountDTO, Ledger2HistoryResponseDTO, Ledger2OperationDTO, Ledger2PostingDTO, Ledger2PostingsResponseDTO, Ledger2WalletDTO, LogExtensionDomainEntity, MAIN_DATABASE, MetaDocumentInputDTO, ONBOARDING_EXPIRY_DAYS, ONBOARDING_EXPIRY_MS, OptionalCurrentUser, OptionalGqlJwtAuthGuard, PaginatedProcessSummary, PaginationInputDTO, PaginationResult, PaginationUtils, PaymentProvider, PollingProvider, ProcessActionDTO, ProcessContentDTO, ProcessContentFactDTO, ProcessContentLineDTO, ProcessContentLinkDTO, ProcessDeltaDTO, ProcessDocumentDTO, ProcessDocumentSourceDTO, ProcessSummaryDTO, ProcessViewDTO, ProcessesFilterInput, QuantityUtils, RIGHT_METADATA_KEY, RequireRight, RightsGuard, SCOPE_DENIALS, SELF, SORT_FIELD_PATTERN, SafeMarkup, SignatureInfoDTO, SignatureInfoInputDTO, SignedDigitalDocumentDTO, SignedDigitalDocumentInputDTO, TableStore, TransactionDTO, UseBucket, affectedCount, attachOne, bankSafeText, bucketProvidersFor, bucketTokenFor, buildPaginationResult, camelRow, chainErrorCode, chainRefusalOf, chainTextDigest, checkPaymentAmount, checkPaymentSymbol, checkRight, checkRightScope, computeOnboardingExpiresAt, configureExtensionAuth, configureLocalChangePublisher, configurePlatformSettings, contentAsset, contentDay, contentFact, contentMoney, councilRolesOf, createPaginationResult, describeConfigField, describeStandTime, desktopGrants, desktopGrantsOf, domainErrorMessage, expandRights, expensePlanRecurrenceMonths, expensePlanReserveMonths, expensePlanReserveShare, expensePlanScheduleDates, extensionDatabaseMigrations, generateHashFromString, generateRandomHash, generateUniqueHash, getAmountPlusFee, getAppliedBlockNum, hasServerSecret, inTransaction, isChainTextDigest, isChainTextOf, isExtensionAvailable, isStandTimeCompressed, isStandTimeConfigured, isStandWorkerTurn, memberRolesOf, mergeSecretConfig, nextExpensePlanDate, nextLocalMidnight, paginationInputToOffset, parseChainAssert, pendingLocalChanges, pickDefined, platformSettings, processContentRegistry, providerSuppliedPaths, rawQuery, redactSecretConfig, registerExtensionDatabaseMigrations, resetExtensionDatabaseMigrations, resolveChainText, rethrowChainError, rightConditions, rightGrants, rightMatches, rightsByRole, rightsHeld, sanitizeUserText, scopeConditions, scopeOfRight, scopesMatched, snakeRow, sortColumn, sortDirection, standDaySeconds, standMonthSeconds, standNextPeriodStart, standPeriodKey, standWorkerPaceSeconds, timeZoneOffsetMs, validationMessage, verifySignedDocumentAgainstStoredDraft, waitForEvent };
2586
+ export type { AppRights, AssignableRole, AttachedRole, BucketSource, BucketSpec, CouncilRole, DeserializedDescriptionOfExtension, DesktopGrantsRequest, DomainErrorParams, EventSource, EventWait, ExcludeCommonProps, ExpensePlanRecurrenceKey, ExtensionAppTerminatePayload, ExtensionAuthOptions, ExtensionConfigFieldPolicy, ExtensionConfigPolicy, ExtensionDatabaseMigrationClass, ExtensionDomainInterface, ExtensionDomainRepository, ExtensionSchemaMigrationAfterContext, GeneratedDocumentDomainInterface, GeneratedDocumentDraft, GrantedAction, IDesktopConfig, IExtensionSchemaMigration, IGrantedScope, IRegistryExtension, IResolvedRegistryExtension, IRightRequirement, LoadGeneratedDocumentByDocHash, LogExtensionDomainInterface, LogExtensionDomainRepository, LogExtensionFilter, LogExtensionPaginationOptions, LogExtensionPaginationResult, MainDatabase, MemberRole, NarrowRightScope, PaymentDetails, PendingLocalChange, PlatformBlockchainSettings, PlatformSettings, ProcessContentProvider, RegisteredBucket, RequireFields, RightActor, RightFacts, RightGrant, RightOutcome, RightScope, RightSource, RightsCaller, RightsGroup, RightsTable, RolePermission, SchemaMigration, SchemaMigrationClass, SchemaQueryRunner, ScopeCheckInput, ScopeCheckResult, SignedDocumentMetaCompareMode, SignedDocumentMetaVerification, SignedDocumentToVerify, TransactResultWithResponse };