@endge/core 3.2.1 → 5.0.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 +1 -1
- package/dist/core.cjs +488 -513
- package/dist/core.js +85221 -84928
- package/dist/domain/entities/endge/EndgeFederation.d.ts +8 -8
- package/dist/domain/entities/endge/EndgeFederationStorage.d.ts +5 -0
- package/dist/domain/entities/endge/EndgeModule.d.ts +1 -1
- package/dist/domain/entities/endge/EndgeSlotRegistry.d.ts +4 -4
- package/dist/domain/entities/endge/Subscribable.d.ts +20 -0
- package/dist/domain/entities/reflect/RAction.d.ts +1 -1
- package/dist/domain/entities/reflect/RAuthProfile.d.ts +1 -1
- package/dist/domain/entities/reflect/RComponent.d.ts +1 -1
- package/dist/domain/entities/reflect/RComponentBase.d.ts +2 -2
- package/dist/domain/entities/reflect/RComponentCore.d.ts +1 -1
- package/dist/domain/entities/reflect/RComponentSFC.d.ts +1 -1
- package/dist/domain/entities/reflect/RComponentTableColumn.d.ts +2 -2
- package/dist/domain/entities/reflect/RConverter.d.ts +1 -1
- package/dist/domain/entities/reflect/RFilter.d.ts +1 -1
- package/dist/domain/entities/reflect/RMock.d.ts +1 -1
- package/dist/domain/entities/reflect/RNavigation.d.ts +1 -1
- package/dist/domain/entities/reflect/RParameter.d.ts +1 -1
- package/dist/domain/entities/reflect/RQuery.d.ts +1 -1
- package/dist/domain/entities/runtime/ComponentSFCEventBoundary.d.ts +14 -14
- package/dist/domain/entities/runtime/RuntimeAppScope.d.ts +2 -2
- package/dist/domain/entities/runtime/RuntimeHostBase.d.ts +5 -5
- package/dist/domain/entities/runtime/RuntimeHostRegistry.d.ts +2 -2
- package/dist/domain/entities/runtime/RuntimeScopeRegistry.d.ts +1 -1
- package/dist/domain/entities/runtime/hosts/ComponentSFCRuntimeHost.d.ts +5 -5
- package/dist/domain/entities/runtime/hosts/CompositionRuntimeHost.d.ts +3 -3
- package/dist/domain/entities/runtime/hosts/FilterRuntimeHost.d.ts +1 -1
- package/dist/domain/entities/runtime/hosts/FilterViewRuntimeHost.d.ts +2 -2
- package/dist/domain/entities/runtime/hosts/StoreRuntimeHost.d.ts +1 -1
- package/dist/domain/types/auth/auth-profile.types.d.ts +5 -5
- package/dist/domain/types/component/sfc/ir.types.d.ts +2 -2
- package/dist/domain/types/component/sfc/metadata-visual.types.d.ts +1 -1
- package/dist/domain/types/component/sfc/ports-source.types.d.ts +2 -2
- package/dist/domain/types/component/sfc/ports.types.d.ts +1 -1
- package/dist/domain/types/component/sfc/props-visual.types.d.ts +1 -1
- package/dist/domain/types/component/sfc/tag-input-contract.types.d.ts +1 -1
- package/dist/domain/types/component/sfc/visual-projection.types.d.ts +3 -3
- package/dist/domain/types/computation/computation-program.types.d.ts +1 -1
- package/dist/domain/types/computation/computation-runtime.types.d.ts +9 -9
- package/dist/domain/types/computation/computation-source.types.d.ts +1 -1
- package/dist/domain/types/configuration/configuration.type.d.ts +1 -1
- package/dist/domain/types/diagnostics/diagnostics-adapter.type.d.ts +6 -6
- package/dist/domain/types/diagnostics/diagnostics.types.d.ts +11 -11
- package/dist/domain/types/document/document.types.d.ts +15 -15
- package/dist/domain/types/document/domain-export.type.d.ts +21 -21
- package/dist/domain/types/document/domain-provider.type.d.ts +8 -8
- package/dist/domain/types/document/workspace.types.d.ts +1 -1
- package/dist/domain/types/kernel/bootstrap.types.d.ts +2 -2
- package/dist/domain/types/kernel/endge-modules.types.d.ts +1 -1
- package/dist/domain/types/kernel/events.types.d.ts +4 -4
- package/dist/domain/types/kernel/federation.types.d.ts +1 -1
- package/dist/domain/types/kernel/forge.types.d.ts +5 -5
- package/dist/domain/types/program/action-program.types.d.ts +1 -1
- package/dist/domain/types/program/program.types.d.ts +5 -5
- package/dist/domain/types/runtime/context-persistence.types.d.ts +9 -9
- package/dist/domain/types/runtime/runtime-entity-map.types.d.ts +10 -10
- package/dist/domain/types/runtime/runtime-host.types.d.ts +11 -11
- package/dist/domain/types/runtime/runtime-project-session.types.d.ts +2 -2
- package/dist/domain/types/runtime/runtime-registry.types.d.ts +12 -12
- package/dist/domain/types/runtime/runtime.types.d.ts +4 -4
- package/dist/domain/types/runtime/table-binding.types.d.ts +2 -2
- package/dist/domain/types/source/composition-source.types.d.ts +12 -10
- package/dist/domain/types/source/data-view-source.types.d.ts +1 -1
- package/dist/domain/types/source/filter-source.types.d.ts +1 -1
- package/dist/domain/types/source/query-source.types.d.ts +2 -2
- package/dist/domain/types/source/store-source.types.d.ts +1 -1
- package/dist/domain/types/source/vocab-source.types.d.ts +1 -1
- package/dist/main.d.ts +11 -9
- package/dist/model/{services/auth/OidcBrowserSession_Service.d.ts → adapters/auth/OidcBrowserSession_Adapter.d.ts} +3 -1
- package/dist/{domain/entities/endge → model/adapters/http}/EndgeApi.d.ts +9 -3
- package/dist/model/{services/query/QueryExecutor.d.ts → adapters/query/QueryExecutor_Adapter.d.ts} +14 -3
- package/dist/model/config/ui-composition.config.d.ts +12 -12
- package/dist/model/helpers/raph-phases/endge-runtime-boundary.d.ts +1 -1
- package/dist/model/helpers/raph-phases/runtime-boundary-update-phase.d.ts +1 -1
- package/dist/model/kernel/endge.d.ts +22 -22
- package/dist/model/modules/context/endge-configuration-schema.d.ts +1 -1
- package/dist/model/modules/context/endge-context.d.ts +7 -13
- package/dist/model/modules/context/endge-vars.d.ts +6 -6
- package/dist/model/modules/context/endge-workspace.d.ts +1 -1
- package/dist/model/modules/context/persistence/RuntimeStateController.d.ts +2 -2
- package/dist/model/modules/context/persistence/adapters/LocalStorageContextAdapter.d.ts +2 -0
- package/dist/model/modules/diagnostics/endge-diagnostics.d.ts +36 -14
- package/dist/model/modules/diagnostics/endge-problems.d.ts +1 -1
- package/dist/model/modules/diagnostics/endge-telemetry.d.ts +3 -3
- package/dist/model/modules/domain/endge-domain-repository.d.ts +8 -8
- package/dist/model/modules/domain/endge-domain.d.ts +12 -12
- package/dist/model/modules/domain/endge-types.d.ts +3 -3
- package/dist/model/modules/domain/endge-vocabs.d.ts +29 -29
- package/dist/model/modules/events/endge-events.d.ts +1 -1
- package/dist/model/modules/program/endge-compiler.d.ts +17 -17
- package/dist/model/modules/program/endge-program.d.ts +4 -4
- package/dist/model/modules/program/endge-source.d.ts +1 -1
- package/dist/model/modules/runtime/core/endge-actions.d.ts +4 -4
- package/dist/model/modules/runtime/core/endge-runtime.d.ts +18 -18
- package/dist/model/modules/runtime/execution/action/action-program-executor.d.ts +8 -8
- package/dist/model/modules/runtime/execution/computation/ComputationGraphExecutor.d.ts +8 -8
- package/dist/model/modules/runtime/execution/computation/ComputationResource.d.ts +5 -5
- package/dist/model/modules/runtime/execution/computation/ComputationResourceRegistry.d.ts +3 -3
- package/dist/model/modules/runtime/execution/computation/EndgeComputation.d.ts +19 -19
- package/dist/model/modules/runtime/execution/endge-composition.d.ts +2 -2
- package/dist/model/modules/runtime/execution/endge-computation.d.ts +1 -1
- package/dist/model/modules/runtime/execution/endge-converters.d.ts +7 -7
- package/dist/model/modules/runtime/execution/endge-data-view.d.ts +2 -2
- package/dist/model/modules/runtime/execution/endge-query.d.ts +4 -7
- package/dist/model/modules/runtime/operation/endge-operations.d.ts +6 -6
- package/dist/model/modules/runtime/operation/operation-history.d.ts +10 -10
- package/dist/model/modules/security/endge-auth.d.ts +4 -4
- package/dist/model/modules/ui/endge-styles.d.ts +1 -1
- package/dist/model/modules/ui/endge-ui-registry.d.ts +2 -2
- package/dist/model/modules/ui/endge-ui.d.ts +11 -11
- package/dist/model/modules/ui/registry/UIAdapterRegistry.d.ts +1 -1
- package/dist/model/services/compiler/component-sfc/component-sfc-compile.d.ts +4 -4
- package/dist/model/services/compiler/component-sfc/component-sfc-dependencies.d.ts +1 -1
- package/dist/model/services/compiler/component-sfc/component-sfc-expression.d.ts +1 -1
- package/dist/model/services/compiler/component-sfc/component-sfc-forward.d.ts +1 -1
- package/dist/model/services/compiler/component-sfc/component-sfc-parse.d.ts +1 -1
- package/dist/model/services/compiler/component-sfc/component-sfc-ports.d.ts +2 -2
- package/dist/model/services/compiler/component-sfc/component-sfc-script.d.ts +1 -1
- package/dist/model/services/compiler/component-sfc/component-sfc-table-menu.d.ts +1 -1
- package/dist/model/services/compiler/component-sfc/component-sfc-table-visibility.d.ts +1 -1
- package/dist/model/services/compiler/component-sfc/component-sfc-template.d.ts +2 -2
- package/dist/model/services/compiler/type/type-program-validation.d.ts +1 -1
- package/dist/model/services/runtime/strategies/ActionRuntimeStrategy.d.ts +1 -1
- package/dist/model/services/runtime/strategies/ComponentSFCRuntimeStrategy.d.ts +1 -1
- package/dist/model/services/runtime/strategies/CompositionRuntimeStrategy.d.ts +1 -1
- package/dist/model/services/runtime/strategies/FilterRuntimeStrategy.d.ts +1 -1
- package/dist/model/services/runtime/strategies/PageRuntimeStrategy.d.ts +1 -1
- package/dist/model/services/runtime/strategies/ProjectRuntimeStrategy.d.ts +1 -1
- package/dist/model/services/runtime/strategies/QueryRuntimeStrategy.d.ts +1 -1
- package/dist/model/services/runtime/strategies/StoreRuntimeStrategy.d.ts +1 -1
- package/dist/model/services/runtime/strategies/StreamRuntimeStrategy.d.ts +1 -1
- package/dist/model/services/source-engine/compilers/source-field-compile.d.ts +1 -1
- package/dist/model/services/source-engine/compilers/type-source-compile.d.ts +1 -1
- package/dist/model/services/source-engine/component-sfc/component-sfc-props-source-patch.d.ts +1 -1
- package/dist/model/services/source-engine/strategies/VocabSourcePatchStrategy.d.ts +1 -1
- package/dist/model/services/source-engine/vocab-source-patch.d.ts +1 -1
- package/dist/model/services/tooltip/endge-tooltip-markdown.d.ts +1 -1
- package/dist/test/domain/entities/endge/subscribable.test.d.ts +1 -0
- package/dist/test/model/modules/diagnostics/endge-diagnostics-submodules.test.d.ts +1 -0
- package/dist/tools/component-sfc-edit-trigger.d.ts +1 -1
- package/package.json +20 -26
- /package/dist/domain/types/{ui → presentation}/context-menu.types.d.ts +0 -0
- /package/dist/domain/types/{ui → presentation}/filter-view.type.d.ts +0 -0
- /package/dist/domain/types/{ui → presentation}/jsx.types.d.ts +0 -0
- /package/dist/domain/types/{ui → presentation}/tooltip-markdown.types.d.ts +0 -0
- /package/dist/domain/types/{ui → presentation}/ui-composition.types.d.ts +0 -0
- /package/dist/domain/types/{ui → presentation}/ui-render-adapter.type.d.ts +0 -0
- /package/dist/domain/types/{ui → presentation}/ui.types.d.ts +0 -0
|
@@ -238,15 +238,15 @@ export interface DiagnosticsSpanHandle {
|
|
|
238
238
|
readonly parentSpanId?: string;
|
|
239
239
|
readonly isEnded: boolean;
|
|
240
240
|
/** Добавляет или переопределяет структурированные атрибуты активного span. */
|
|
241
|
-
setAttributes(attributes: DiagnosticsAttributes)
|
|
241
|
+
setAttributes: (attributes: DiagnosticsAttributes) => void;
|
|
242
242
|
/** Создаёт child span с унаследованными trace id и parent span id. */
|
|
243
|
-
startChild(name: string, options?: Omit<DiagnosticsSpanOptions, 'traceId' | 'parentSpanId'>)
|
|
243
|
+
startChild: (name: string, options?: Omit<DiagnosticsSpanOptions, 'traceId' | 'parentSpanId'>) => DiagnosticsSpanHandle;
|
|
244
244
|
/** Записывает log, автоматически связанный с текущим span. */
|
|
245
|
-
log(input: Omit<DiagnosticsLogInput, 'traceId' | 'spanId'>)
|
|
245
|
+
log: (input: Omit<DiagnosticsLogInput, 'traceId' | 'spanId'>) => DiagnosticsLogRecord | null;
|
|
246
246
|
/** Записывает exception log, автоматически связанный с текущим span. */
|
|
247
|
-
recordException(error: unknown, options?: DiagnosticsExceptionOptions)
|
|
247
|
+
recordException: (error: unknown, options?: DiagnosticsExceptionOptions) => DiagnosticsLogRecord | null;
|
|
248
248
|
/** Завершает span и сохраняет единственный итоговый span record. */
|
|
249
|
-
end(options?: DiagnosticsSpanEndOptions)
|
|
249
|
+
end: (options?: DiagnosticsSpanEndOptions) => DiagnosticsSpanRecord | null;
|
|
250
250
|
}
|
|
251
251
|
/** Счётчики текущей diagnostics session. */
|
|
252
252
|
export interface DiagnosticsCounters {
|
|
@@ -277,7 +277,7 @@ export interface DiagnosticsTelemetrySnapshot {
|
|
|
277
277
|
counters: DiagnosticsCounters;
|
|
278
278
|
records: readonly DiagnosticsRecord[];
|
|
279
279
|
}
|
|
280
|
-
/** JSON-safe snapshot текущего состояния diagnostics
|
|
280
|
+
/** JSON-safe snapshot текущего состояния diagnostics-модуля. */
|
|
281
281
|
export interface DiagnosticsSnapshot {
|
|
282
282
|
generatedAt: number;
|
|
283
283
|
trigger: 'manual' | 'automatic';
|
|
@@ -294,13 +294,13 @@ export interface DiagnosticsSubscribeOptions {
|
|
|
294
294
|
/** Внутренний port, через который span пишет records в модуль. */
|
|
295
295
|
export interface DiagnosticsSpanOwner {
|
|
296
296
|
/** Создаёт root или child span от имени handle. */
|
|
297
|
-
startSpan(name: string, options?: DiagnosticsSpanOptions)
|
|
297
|
+
startSpan: (name: string, options?: DiagnosticsSpanOptions) => DiagnosticsSpanHandle;
|
|
298
298
|
/** Записывает нормализованный log от имени handle. */
|
|
299
|
-
log(input: DiagnosticsLogInput)
|
|
299
|
+
log: (input: DiagnosticsLogInput) => DiagnosticsLogRecord | null;
|
|
300
300
|
/** Записывает нормализованное исключение от имени handle. */
|
|
301
|
-
recordException(error: unknown, options?: DiagnosticsExceptionOptions)
|
|
301
|
+
recordException: (error: unknown, options?: DiagnosticsExceptionOptions) => DiagnosticsLogRecord | null;
|
|
302
302
|
/** Финализирует активный span и создаёт итоговый record. */
|
|
303
|
-
finishSpan(input: {
|
|
303
|
+
finishSpan: (input: {
|
|
304
304
|
traceId: string;
|
|
305
305
|
spanId: string;
|
|
306
306
|
parentSpanId?: string;
|
|
@@ -311,5 +311,5 @@ export interface DiagnosticsSpanOwner {
|
|
|
311
311
|
startTimestamp: number;
|
|
312
312
|
attributes: DiagnosticsAttributes;
|
|
313
313
|
options?: DiagnosticsSpanEndOptions;
|
|
314
|
-
})
|
|
314
|
+
}) => DiagnosticsSpanRecord | null;
|
|
315
315
|
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { RAction } from '../../entities/reflect/RAction';
|
|
2
|
+
import { RAuthProfile } from '../../entities/reflect/RAuthProfile';
|
|
3
|
+
import { RComponentSFC } from '../../entities/reflect/RComponentSFC';
|
|
4
|
+
import { RComposition } from '../../entities/reflect/RComposition';
|
|
5
|
+
import { RComputation } from '../../entities/reflect/RComputation';
|
|
6
|
+
import { RConfiguration } from '../../entities/reflect/RConfiguration';
|
|
2
7
|
import { RConverter } from '../../entities/reflect/RConverter';
|
|
8
|
+
import { RDataView } from '../../entities/reflect/RDataView';
|
|
3
9
|
import { RFilter } from '../../entities/reflect/RFilter';
|
|
10
|
+
import { RI18nBundle } from '../../entities/reflect/RI18nBundle';
|
|
4
11
|
import { RIntegration } from '../../entities/reflect/RIntegration';
|
|
5
|
-
import {
|
|
6
|
-
import { RPageTemplate } from '../../entities/reflect/RPageTemplate';
|
|
7
|
-
import { RPage } from '../../entities/reflect/RPage';
|
|
12
|
+
import { RMock } from '../../entities/reflect/RMock';
|
|
8
13
|
import { RNavigation } from '../../entities/reflect/RNavigation';
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
14
|
+
import { RPage } from '../../entities/reflect/RPage';
|
|
15
|
+
import { RPageTemplate } from '../../entities/reflect/RPageTemplate';
|
|
16
|
+
import { RParameter } from '../../entities/reflect/RParameter';
|
|
11
17
|
import { RPolicy } from '../../entities/reflect/RPolicy';
|
|
18
|
+
import { RQuery } from '../../entities/reflect/RQuery';
|
|
19
|
+
import { RStore } from '../../entities/reflect/RStore';
|
|
20
|
+
import { RStream } from '../../entities/reflect/RStream';
|
|
12
21
|
import { RStyle } from '../../entities/reflect/RStyle';
|
|
13
22
|
import { RTenant } from '../../entities/reflect/RTenant';
|
|
14
23
|
import { RType } from '../../entities/reflect/RType';
|
|
24
|
+
import { RUpdate } from '../../entities/reflect/RUpdate';
|
|
15
25
|
import { RVocabs } from '../../entities/reflect/RVocabs';
|
|
16
|
-
import { RI18nBundle } from '../../entities/reflect/RI18nBundle';
|
|
17
|
-
import { RComponentSFC } from '../../entities/reflect/RComponentSFC';
|
|
18
|
-
import { RAuthProfile } from '../../entities/reflect/RAuthProfile';
|
|
19
26
|
import { RWorkspace } from '../../entities/reflect/RWorkspace';
|
|
20
27
|
import { RComponent } from '../component/component.types';
|
|
21
|
-
import { RComposition } from '../../entities/reflect/RComposition';
|
|
22
|
-
import { RStore } from '../../entities/reflect/RStore';
|
|
23
|
-
import { RStream } from '../../entities/reflect/RStream';
|
|
24
|
-
import { RUpdate } from '../../entities/reflect/RUpdate';
|
|
25
|
-
import { RMock } from '../../entities/reflect/RMock';
|
|
26
|
-
import { RComputation } from '../../entities/reflect/RComputation';
|
|
27
|
-
import { RConfiguration } from '../../entities/reflect/RConfiguration';
|
|
28
28
|
/**
|
|
29
29
|
* Разновидности типов компонентов
|
|
30
30
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EndgeWorkspaceDefinition } from './workspace.types';
|
|
2
1
|
import { DomainDocumentType, DomainSectionType } from './document.types';
|
|
2
|
+
import { EndgeWorkspaceDefinition } from './workspace.types';
|
|
3
3
|
/** Workspace-конфигурация не содержит credential material. */
|
|
4
4
|
export type EndgeWorkspaceExport = EndgeWorkspaceDefinition;
|
|
5
5
|
/** Persisted-срез домена, который можно восстановить через plain provider. */
|
|
@@ -36,29 +36,29 @@ export interface EndgeDomainPlain {
|
|
|
36
36
|
}
|
|
37
37
|
/** Коллекции документов канонического snapshot нового backend-сервиса. */
|
|
38
38
|
export interface EndgePortableDocuments {
|
|
39
|
-
projects: unknown[];
|
|
40
|
-
tenants: unknown[];
|
|
41
|
-
environments: unknown[];
|
|
42
|
-
folders: unknown[];
|
|
43
|
-
types: unknown[];
|
|
44
|
-
queries: unknown[];
|
|
39
|
+
'projects': unknown[];
|
|
40
|
+
'tenants': unknown[];
|
|
41
|
+
'environments': unknown[];
|
|
42
|
+
'folders': unknown[];
|
|
43
|
+
'types': unknown[];
|
|
44
|
+
'queries': unknown[];
|
|
45
45
|
'data-views': unknown[];
|
|
46
|
-
compositions: unknown[];
|
|
47
|
-
stores: unknown[];
|
|
48
|
-
streams: unknown[];
|
|
49
|
-
updates: unknown[];
|
|
50
|
-
mocks: unknown[];
|
|
51
|
-
components: unknown[];
|
|
52
|
-
actions: unknown[];
|
|
53
|
-
filters: unknown[];
|
|
54
|
-
converters: unknown[];
|
|
55
|
-
computations: unknown[];
|
|
56
|
-
vocabs: unknown[];
|
|
46
|
+
'compositions': unknown[];
|
|
47
|
+
'stores': unknown[];
|
|
48
|
+
'streams': unknown[];
|
|
49
|
+
'updates': unknown[];
|
|
50
|
+
'mocks': unknown[];
|
|
51
|
+
'components': unknown[];
|
|
52
|
+
'actions': unknown[];
|
|
53
|
+
'filters': unknown[];
|
|
54
|
+
'converters': unknown[];
|
|
55
|
+
'computations': unknown[];
|
|
56
|
+
'vocabs': unknown[];
|
|
57
57
|
'i18n-bundles': unknown[];
|
|
58
58
|
'auth-profiles': unknown[];
|
|
59
|
-
navigations: unknown[];
|
|
60
|
-
styles: unknown[];
|
|
61
|
-
configurations: unknown[];
|
|
59
|
+
'navigations': unknown[];
|
|
60
|
+
'styles': unknown[];
|
|
61
|
+
'configurations': unknown[];
|
|
62
62
|
}
|
|
63
63
|
export interface EndgeInstalledIntegrationExport {
|
|
64
64
|
identity: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EndgeLiveDomainDocument, EndgeLiveDomainSnapshot, EndgeWorkspaceServerState } from './domain-snapshot.type';
|
|
2
2
|
/** Канонические коллекции persisted-домена нового backend. */
|
|
3
3
|
export type EndgeDomainCollection = 'projects' | 'tenants' | 'environments' | 'folders' | 'types' | 'queries' | 'data-views' | 'compositions' | 'stores' | 'streams' | 'updates' | 'mocks' | 'components' | 'actions' | 'filters' | 'converters' | 'computations' | 'vocabs' | 'i18n-bundles' | 'auth-profiles' | 'navigations' | 'styles' | 'configurations';
|
|
4
4
|
/** Возможности выбранного источника домена. */
|
|
@@ -65,13 +65,13 @@ export interface EndgeDomainProvider {
|
|
|
65
65
|
readonly id: string;
|
|
66
66
|
readonly capabilities: EndgeDomainProviderCapabilities;
|
|
67
67
|
readonly etag: string | null;
|
|
68
|
-
loadWorkspace(request: EndgeDomainLoadRequest)
|
|
69
|
-
createDocument(request: EndgeDocumentMutationRequest)
|
|
70
|
-
updateDocument(request: EndgeDocumentMutationRequest)
|
|
71
|
-
softDeleteDocument(request: EndgeDocumentMutationRequest)
|
|
72
|
-
restoreDocument(request: EndgeDocumentMutationRequest)
|
|
73
|
-
moveDocuments
|
|
74
|
-
updateWorkspace(request: EndgeWorkspaceMutationRequest)
|
|
68
|
+
loadWorkspace: (request: EndgeDomainLoadRequest) => Promise<EndgeLiveDomainSnapshot>;
|
|
69
|
+
createDocument: (request: EndgeDocumentMutationRequest) => Promise<EndgeDocumentMutationResult>;
|
|
70
|
+
updateDocument: (request: EndgeDocumentMutationRequest) => Promise<EndgeDocumentMutationResult>;
|
|
71
|
+
softDeleteDocument: (request: EndgeDocumentMutationRequest) => Promise<EndgeDocumentMutationResult>;
|
|
72
|
+
restoreDocument: (request: EndgeDocumentMutationRequest) => Promise<EndgeDocumentMutationResult>;
|
|
73
|
+
moveDocuments?: (request: EndgeDocumentsMoveRequest) => Promise<EndgeDocumentsMoveResult>;
|
|
74
|
+
updateWorkspace: (request: EndgeWorkspaceMutationRequest) => Promise<EndgeWorkspaceMutationResult>;
|
|
75
75
|
}
|
|
76
76
|
export type EndgeDomainRepositoryProviderId = 'service-backend' | 'bundle' | 'plain';
|
|
77
77
|
/** Публичные возможности активного источника persisted domain. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EndgeConfiguration, EndgeLocaleDefinition, EndgeThemeDefinition, EndgeTimezoneDefinition, EndgeVariableDefinition } from '../configuration/configuration.type';
|
|
2
1
|
import { EntityManagement } from './entity-management.type';
|
|
2
|
+
import { EndgeConfiguration, EndgeLocaleDefinition, EndgeThemeDefinition, EndgeTimezoneDefinition, EndgeVariableDefinition } from '../configuration/configuration.type';
|
|
3
3
|
export type EndgeWorkspaceLocale = EndgeLocaleDefinition;
|
|
4
4
|
export type EndgeDataMode = 'live' | 'mock';
|
|
5
5
|
export type EndgeWorkspaceLocaleLabelMode = keyof Pick<EndgeWorkspaceLocale, 'displayName' | 'shortLabel'>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { EndgeExecutionContext } from '../runtime/execution-context.types';
|
|
2
1
|
import { EndgeAuthBootOptions } from '../auth/auth-profile.types';
|
|
3
|
-
import { EndgeDomainProvider } from '../document/domain-provider.type';
|
|
4
2
|
import { EndgeDomainBundle } from '../document/domain-export.type';
|
|
3
|
+
import { EndgeDomainProvider } from '../document/domain-provider.type';
|
|
4
|
+
import { EndgeExecutionContext } from '../runtime/execution-context.types';
|
|
5
5
|
/**
|
|
6
6
|
* Источник получения доменных данных
|
|
7
7
|
* default - работа с внешним сервисом backend
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Связка события и id Действия из домена
|
|
3
3
|
*/
|
|
4
|
-
export
|
|
4
|
+
export interface EndgeEventBinding {
|
|
5
5
|
event: string;
|
|
6
6
|
actionId: string | null;
|
|
7
|
-
}
|
|
7
|
+
}
|
|
8
8
|
export type AnyEventName = string;
|
|
9
9
|
export type AnyPayload = unknown;
|
|
10
|
-
export
|
|
10
|
+
export interface CachedEvent {
|
|
11
11
|
name: AnyEventName;
|
|
12
12
|
payload: AnyPayload;
|
|
13
13
|
at: number;
|
|
14
|
-
}
|
|
14
|
+
}
|
|
15
15
|
export interface EndgeCustomEventMap {
|
|
16
16
|
[event: string]: unknown;
|
|
17
17
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EndgeModule } from '../../entities/endge/EndgeModule';
|
|
2
|
-
import { EndgeModuleDescriptor, EndgePlugin } from './endge-modules.types';
|
|
3
2
|
import { EndgeBootContext } from './bootstrap.types';
|
|
3
|
+
import { EndgeModuleDescriptor, EndgePlugin } from './endge-modules.types';
|
|
4
4
|
export interface EndgeFederationHost {
|
|
5
5
|
isConfigured: boolean;
|
|
6
6
|
isConfiguring: boolean;
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface EndgeModule {
|
|
5
5
|
id: string;
|
|
6
|
-
setup()
|
|
7
|
-
destroy
|
|
8
|
-
toPlain
|
|
9
|
-
fromPlain
|
|
6
|
+
setup: () => void;
|
|
7
|
+
destroy?: () => void;
|
|
8
|
+
toPlain?: () => object;
|
|
9
|
+
fromPlain?: (data: object) => void;
|
|
10
10
|
}
|
|
11
11
|
export type EndgeEventMap = Record<string, any>;
|
|
12
12
|
/**
|
|
@@ -16,7 +16,7 @@ export type EndgeToken<T, E extends EndgeEventMap> = string & {
|
|
|
16
16
|
__t?: T;
|
|
17
17
|
__ev?: E;
|
|
18
18
|
};
|
|
19
|
-
export declare
|
|
19
|
+
export declare function endgeToken<T, E extends EndgeEventMap = object>(id: string): EndgeToken<T, E>;
|
|
20
20
|
export type EndgeModuleCtor = new () => EndgeModule;
|
|
21
21
|
export type EndgeModuleSpec = EndgeModule | EndgeModuleCtor;
|
|
22
22
|
export type EndgeModuleLoader = (() => Promise<EndgeModuleSpec> | EndgeModuleSpec) | EndgeModuleSpec;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ActionSourceDocument } from '../source/action-source.types';
|
|
2
1
|
import { ActionTargetSelector } from '../runtime/action.types';
|
|
2
|
+
import { ActionSourceDocument } from '../source/action-source.types';
|
|
3
3
|
export interface ActionProgramPayload {
|
|
4
4
|
type: 'action';
|
|
5
5
|
sourceVersion: number;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { RComponentContract, RComponentDependencies } from '../component/component-core.types';
|
|
2
|
-
import { DataViewManualTransform, DataViewPipelineStep, DataViewRef, DataViewSourceDocument } from '../source/data-view-source.types';
|
|
3
2
|
import { RComponentSFC_AST } from '../component/sfc/ast.types';
|
|
4
|
-
import { RComponentSFC_IR } from '../component/sfc/ir.types';
|
|
5
3
|
import { RComponentSFC_RuntimeDependencies } from '../component/sfc/dependencies.types';
|
|
4
|
+
import { RComponentSFC_IR } from '../component/sfc/ir.types';
|
|
6
5
|
import { RComponentSFCSource_Parts } from '../component/sfc/source.types';
|
|
7
|
-
import {
|
|
6
|
+
import { ComputationProgramPayload } from '../computation/computation-program.types';
|
|
7
|
+
import { ProgramMetadata } from './program-metadata.types';
|
|
8
|
+
import { DataViewManualTransform, DataViewPipelineStep, DataViewRef, DataViewSourceDocument } from '../source/data-view-source.types';
|
|
8
9
|
import { ResponseOutputTransform } from '../source/response-output.types';
|
|
10
|
+
import { QueryProgramProp, SourceExpressionIR, SourceFieldDefinition } from '../source/source-expression.types';
|
|
9
11
|
import { VocabProgramPayload } from '../source/vocab-source.types';
|
|
10
|
-
import { ProgramMetadata } from './program-metadata.types';
|
|
11
|
-
import { ComputationProgramPayload } from '../computation/computation-program.types';
|
|
12
12
|
import { EndgeStyleSheetArtifact } from '../style/style.types';
|
|
13
13
|
export type { ActionProgramPayload } from './action-program.types';
|
|
14
14
|
export type { ConfigurationProgramPayload } from '../source/configuration-source.types';
|
|
@@ -57,14 +57,14 @@ export interface EndgeSessionIdentity {
|
|
|
57
57
|
tenantId?: string | null;
|
|
58
58
|
}
|
|
59
59
|
export interface EndgeSessionIdentityProvider {
|
|
60
|
-
getCurrentIdentity()
|
|
60
|
+
getCurrentIdentity: () => EndgeSessionIdentity | null;
|
|
61
61
|
}
|
|
62
62
|
export interface EndgeStorageAdapter {
|
|
63
63
|
readonly id: EndgePersistenceDriver;
|
|
64
|
-
isAvailable()
|
|
65
|
-
read<T>(key: string)
|
|
66
|
-
write<T>(key: string, value: T)
|
|
67
|
-
remove(key: string)
|
|
64
|
+
isAvailable: () => boolean;
|
|
65
|
+
read: <T>(key: string) => T | undefined;
|
|
66
|
+
write: <T>(key: string, value: T) => void;
|
|
67
|
+
remove: (key: string) => void;
|
|
68
68
|
}
|
|
69
69
|
export interface RuntimeStateDocument {
|
|
70
70
|
version: 1;
|
|
@@ -77,8 +77,8 @@ export interface RuntimeStateControllerLike {
|
|
|
77
77
|
readonly storageId: string;
|
|
78
78
|
readonly storageKey: string;
|
|
79
79
|
readonly scope: EndgePersistenceScope;
|
|
80
|
-
get<T>(entityKey: string, section: string, fallback: T)
|
|
81
|
-
set<T>(entityKey: string, section: string, value: T)
|
|
82
|
-
remove(entityKey: string, section?: string)
|
|
83
|
-
clear()
|
|
80
|
+
get: <T>(entityKey: string, section: string, fallback: T) => T;
|
|
81
|
+
set: <T>(entityKey: string, section: string, value: T) => void;
|
|
82
|
+
remove: (entityKey: string, section?: string) => void;
|
|
83
|
+
clear: () => void;
|
|
84
84
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { RAction } from '../../entities/reflect/RAction';
|
|
2
2
|
import { RComponentSFC } from '../../entities/reflect/RComponentSFC';
|
|
3
|
+
import { RComposition } from '../../entities/reflect/RComposition';
|
|
4
|
+
import { RFilter } from '../../entities/reflect/RFilter';
|
|
3
5
|
import { RPage } from '../../entities/reflect/RPage';
|
|
4
6
|
import { RProject } from '../../entities/reflect/RProject';
|
|
5
7
|
import { RQuery } from '../../entities/reflect/RQuery';
|
|
6
|
-
import { RFilter } from '../../entities/reflect/RFilter';
|
|
7
|
-
import { RComposition } from '../../entities/reflect/RComposition';
|
|
8
8
|
import { RStore } from '../../entities/reflect/RStore';
|
|
9
9
|
import { RStream } from '../../entities/reflect/RStream';
|
|
10
10
|
/**
|
|
@@ -12,23 +12,23 @@ import { RStream } from '../../entities/reflect/RStream';
|
|
|
12
12
|
*/
|
|
13
13
|
export interface RuntimeEntityModelMap {
|
|
14
14
|
/** Доменная модель проекта. */
|
|
15
|
-
project: RProject;
|
|
15
|
+
'project': RProject;
|
|
16
16
|
/** Доменная модель страницы. */
|
|
17
|
-
page: RPage;
|
|
17
|
+
'page': RPage;
|
|
18
18
|
/** Доменная модель SFC-компонента нового API. */
|
|
19
19
|
'component-sfc': RComponentSFC;
|
|
20
20
|
/** Доменная модель запроса. */
|
|
21
|
-
query: RQuery;
|
|
21
|
+
'query': RQuery;
|
|
22
22
|
/** Source-first Filter runtime. */
|
|
23
|
-
filter: RFilter;
|
|
23
|
+
'filter': RFilter;
|
|
24
24
|
/** Runtime orchestration graph. */
|
|
25
|
-
composition: RComposition;
|
|
25
|
+
'composition': RComposition;
|
|
26
26
|
/** Source-first reactive Store runtime. */
|
|
27
|
-
store: RStore;
|
|
27
|
+
'store': RStore;
|
|
28
28
|
/** External or emulated normalized event stream. */
|
|
29
|
-
stream: RStream;
|
|
29
|
+
'stream': RStream;
|
|
30
30
|
/** Доменная модель action. */
|
|
31
|
-
action: RAction;
|
|
31
|
+
'action': RAction;
|
|
32
32
|
}
|
|
33
33
|
/** Дискриминатор типа runtime-сущности. */
|
|
34
34
|
export type RuntimeEntityType = keyof RuntimeEntityModelMap;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PhaseEvent, PhaseName, RaphFrameContext, RaphNode } from '../../../../../@endge-raph/dist/main.d.ts';
|
|
2
2
|
import { ProgramArtifact, ProgramEntityType } from '../program/program.types';
|
|
3
|
+
import { RuntimeStateControllerLike } from './context-persistence.types';
|
|
3
4
|
import { RuntimeEntityModelMap, RuntimeEntityType } from './runtime-entity-map.types';
|
|
4
5
|
import { RuntimeKind } from './runtime.types';
|
|
5
|
-
import { PhaseEvent, PhaseName, RaphFrameContext, RaphNode } from '../../../../../@endge-raph/dist/main.d.ts';
|
|
6
6
|
export type RuntimeHostStatus = 'created' | 'mounted' | 'running' | 'active' | 'pausing' | 'paused' | 'stopping' | 'stopped' | 'unmounted' | 'destroyed' | 'error';
|
|
7
7
|
/** Возможность, которую runtime-host предоставляет внешним consumers. */
|
|
8
8
|
export type RuntimeHostCapability = 'renderable';
|
|
@@ -80,15 +80,15 @@ export interface ProjectRuntimeHostContext extends RuntimeHostContextBase {
|
|
|
80
80
|
lastRefreshAt: string | null;
|
|
81
81
|
}
|
|
82
82
|
export interface RuntimeHostContextMap {
|
|
83
|
-
action: ActionRuntimeHostContext;
|
|
84
|
-
query: QueryRuntimeHostContext;
|
|
85
|
-
filter: FilterRuntimeHostContext;
|
|
86
|
-
composition: CompositionRuntimeHostContext;
|
|
87
|
-
store: StoreRuntimeHostContext;
|
|
88
|
-
stream: StreamRuntimeHostContext;
|
|
83
|
+
'action': ActionRuntimeHostContext;
|
|
84
|
+
'query': QueryRuntimeHostContext;
|
|
85
|
+
'filter': FilterRuntimeHostContext;
|
|
86
|
+
'composition': CompositionRuntimeHostContext;
|
|
87
|
+
'store': StoreRuntimeHostContext;
|
|
88
|
+
'stream': StreamRuntimeHostContext;
|
|
89
89
|
'component-sfc': ComponentSFCRuntimeHostContext;
|
|
90
|
-
page: PageRuntimeHostContext;
|
|
91
|
-
project: ProjectRuntimeHostContext;
|
|
90
|
+
'page': PageRuntimeHostContext;
|
|
91
|
+
'project': ProjectRuntimeHostContext;
|
|
92
92
|
}
|
|
93
93
|
export type RuntimeHostContext<TType extends RuntimeEntityType> = RuntimeHostContextMap[TType];
|
|
94
94
|
export interface RuntimeHostSnapshot {
|
|
@@ -144,7 +144,7 @@ export interface DestroyedRuntimeHostSnapshot {
|
|
|
144
144
|
channels: RuntimeHostChannel[];
|
|
145
145
|
}
|
|
146
146
|
export interface RuntimeInspectionLease {
|
|
147
|
-
release()
|
|
147
|
+
release: () => void;
|
|
148
148
|
}
|
|
149
149
|
export interface RuntimeHostLifecycle {
|
|
150
150
|
/** Compatibility entrypoint: mount + start. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { CompositionPublicOutputHandle, CompositionSession } from '../source/composition-source.types';
|
|
2
1
|
import { CompositionRuntimeHost } from '../../entities/runtime/hosts/CompositionRuntimeHost';
|
|
3
|
-
import { RuntimeScopeHandle } from './runtime-scope.types';
|
|
4
2
|
import { RuntimeArtifactReader } from './runtime-host.types';
|
|
3
|
+
import { RuntimeScopeHandle } from './runtime-scope.types';
|
|
4
|
+
import { CompositionPublicOutputHandle, CompositionSession } from '../source/composition-source.types';
|
|
5
5
|
export interface ProjectCompositionRegistry {
|
|
6
6
|
get: (identity: string) => ProjectCompositionHandle | null;
|
|
7
7
|
require: (identity: string) => ProjectCompositionHandle;
|
|
@@ -14,27 +14,27 @@ export interface RuntimeHostRegistrySnapshot {
|
|
|
14
14
|
}
|
|
15
15
|
export interface RuntimeHostRegistryLike {
|
|
16
16
|
/** Зарегистрировать host в registry и вернуть его же. */
|
|
17
|
-
register<T extends RuntimeHost<any, any>>(host: T)
|
|
17
|
+
register: <T extends RuntimeHost<any, any>>(host: T) => T;
|
|
18
18
|
/** Найти host по runtime-id. */
|
|
19
|
-
getById(id: string)
|
|
19
|
+
getById: (id: string) => RuntimeHost<any, any> | null;
|
|
20
20
|
/** Получить список всех host. */
|
|
21
|
-
getAll()
|
|
21
|
+
getAll: () => RuntimeHost<any, any>[];
|
|
22
22
|
/** Получить host для конкретной доменной сущности. */
|
|
23
|
-
getByEntity(entityType: RuntimeEntityType, entityIdentity: string)
|
|
23
|
+
getByEntity: (entityType: RuntimeEntityType, entityIdentity: string) => RuntimeHost<any, any>[];
|
|
24
24
|
/** Удалить host по runtime-id и вернуть удаленный экземпляр. */
|
|
25
|
-
removeById(id: string)
|
|
25
|
+
removeById: (id: string) => RuntimeHost<any, any> | null;
|
|
26
26
|
/** Очистить registry и разрушить все host. */
|
|
27
|
-
clear()
|
|
27
|
+
clear: () => void;
|
|
28
28
|
/** Сохранить snapshot удалённого host в debug-архив. */
|
|
29
|
-
rememberDeletedSnapshot(snapshot: DestroyedRuntimeHostSnapshot)
|
|
29
|
+
rememberDeletedSnapshot: (snapshot: DestroyedRuntimeHostSnapshot) => void;
|
|
30
30
|
/** Получить снимки удалённых host из debug-архива. */
|
|
31
|
-
getDeletedSnapshots()
|
|
31
|
+
getDeletedSnapshots: () => DestroyedRuntimeHostSnapshot[];
|
|
32
32
|
/** Удалить один snapshot из debug-архива по runtime-id. */
|
|
33
|
-
removeDeletedSnapshot(id: string)
|
|
33
|
+
removeDeletedSnapshot: (id: string) => DestroyedRuntimeHostSnapshot | null;
|
|
34
34
|
/** Apply the effective bounded inspection capacity immediately. */
|
|
35
|
-
setDeletedSnapshotLimit(limit: number)
|
|
35
|
+
setDeletedSnapshotLimit: (limit: number) => void;
|
|
36
36
|
/** Очистить debug-архив удалённых host. */
|
|
37
|
-
clearDeleted()
|
|
37
|
+
clearDeleted: () => void;
|
|
38
38
|
/** Получить сериализованный snapshot registry. */
|
|
39
|
-
snapshot()
|
|
39
|
+
snapshot: () => RuntimeHostRegistrySnapshot;
|
|
40
40
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { RFilter } from '../../entities/reflect/RFilter';
|
|
2
|
-
import { RComposition } from '../../entities/reflect/RComposition';
|
|
3
|
-
import { RStore } from '../../entities/reflect/RStore';
|
|
4
|
-
import { RStream } from '../../entities/reflect/RStream';
|
|
5
1
|
import { RAction } from '../../entities/reflect/RAction';
|
|
6
2
|
import { RComponentSFC } from '../../entities/reflect/RComponentSFC';
|
|
3
|
+
import { RComposition } from '../../entities/reflect/RComposition';
|
|
4
|
+
import { RFilter } from '../../entities/reflect/RFilter';
|
|
7
5
|
import { RPage } from '../../entities/reflect/RPage';
|
|
8
6
|
import { RProject } from '../../entities/reflect/RProject';
|
|
9
7
|
import { RQuery } from '../../entities/reflect/RQuery';
|
|
8
|
+
import { RStore } from '../../entities/reflect/RStore';
|
|
9
|
+
import { RStream } from '../../entities/reflect/RStream';
|
|
10
10
|
import { RuntimeHostRegistrySnapshot } from './runtime-registry.types';
|
|
11
11
|
/**
|
|
12
12
|
* Runtime kinds
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CompositionRuntimeHost } from '../../entities/runtime/hosts/CompositionRuntimeHost';
|
|
2
|
+
import { ComponentSFCInteractionTrigger } from '../component/sfc/ir.types';
|
|
3
|
+
import { ComponentSFCEventInputValue } from '../component/sfc/ports.types';
|
|
4
|
+
import { EndgeDataMode } from '../document/workspace.types';
|
|
5
|
+
import { I18nCompiledLocales } from '../i18n.types';
|
|
6
|
+
import { EndgeMockReference } from '../mock/mock-data.type';
|
|
7
|
+
import { FilterViewControlDefinition } from '../presentation/filter-view.type';
|
|
2
8
|
import { ProgramMetadataMap } from '../program/program-metadata.types';
|
|
9
|
+
import { ProgramDiagnostic } from '../program/program.types';
|
|
3
10
|
import { RuntimeHost } from '../runtime/runtime-host.types';
|
|
4
11
|
import { RuntimeScopeHandle } from '../runtime/runtime-scope.types';
|
|
5
12
|
import { VocabLoadPolicy } from '../runtime/vocab-cache.types';
|
|
6
|
-
import { CompositionRuntimeHost } from '../../entities/runtime/hosts/CompositionRuntimeHost';
|
|
7
13
|
import { SourceExpressionIR, SourceFieldDefinition } from './source-expression.types';
|
|
8
|
-
import { FilterViewControlDefinition } from '../ui/filter-view.type';
|
|
9
|
-
import { EndgeMockReference } from '../mock/mock-data.type';
|
|
10
|
-
import { I18nCompiledLocales } from '../i18n.types';
|
|
11
|
-
import { ComponentSFCEventInputValue } from '../component/sfc/ports.types';
|
|
12
14
|
import { UpdateMutationStrategy } from './update-source.types';
|
|
13
|
-
import { EndgeDataMode } from '../document/workspace.types';
|
|
14
|
-
import { ComponentSFCInteractionTrigger } from '../component/sfc/ir.types';
|
|
15
15
|
export type CompositionRuntimeKind = 'filter' | 'query' | 'component' | 'composition' | 'stream' | 'filter-view';
|
|
16
16
|
export type CompositionActivationMode = 'startup' | 'manual';
|
|
17
17
|
export interface CompositionActivationDescriptor {
|
|
@@ -23,10 +23,11 @@ interface CompositionResourceDescriptorBase {
|
|
|
23
23
|
scopePath: string;
|
|
24
24
|
sourceOrder: number;
|
|
25
25
|
}
|
|
26
|
-
|
|
26
|
+
type CompositionSourceAssetResourceDescriptor = CompositionResourceDescriptorBase & {
|
|
27
27
|
kind: 'style' | 'i18n';
|
|
28
28
|
identity: string;
|
|
29
|
-
}
|
|
29
|
+
};
|
|
30
|
+
type CompositionOperationHistoryResourceDescriptor = CompositionResourceDescriptorBase & {
|
|
30
31
|
kind: 'operation-history';
|
|
31
32
|
operationHistory: {
|
|
32
33
|
limit: number;
|
|
@@ -34,6 +35,7 @@ export type CompositionResourceDescriptor = CompositionResourceDescriptorBase &
|
|
|
34
35
|
shortcuts: OperationHistoryShortcutDescriptor[] | null;
|
|
35
36
|
};
|
|
36
37
|
};
|
|
38
|
+
export type CompositionResourceDescriptor = CompositionSourceAssetResourceDescriptor | CompositionOperationHistoryResourceDescriptor;
|
|
37
39
|
export interface OperationHistoryShortcutDescriptor {
|
|
38
40
|
command: 'undo' | 'redo';
|
|
39
41
|
triggerSet: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ProgramDiagnostic } from '../program/program.types';
|
|
2
1
|
import { ProgramMetadataMap } from '../program/program-metadata.types';
|
|
2
|
+
import { ProgramDiagnostic } from '../program/program.types';
|
|
3
3
|
import { SourceExpressionIR, SourceFieldDefinition } from './source-expression.types';
|
|
4
4
|
export type DataViewSourceMode = 'manual' | 'pipeline' | 'projection' | 'expression';
|
|
5
5
|
export type DataViewIncrementalRequest = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ProgramDiagnostic } from '../program/program.types';
|
|
2
1
|
import { ProgramMetadataMap } from '../program/program-metadata.types';
|
|
2
|
+
import { ProgramDiagnostic } from '../program/program.types';
|
|
3
3
|
import { SourceExpressionIR, SourceFieldDefinition } from './source-expression.types';
|
|
4
4
|
/** Source-описание Filter v1. */
|
|
5
5
|
export interface FilterSourceDocument {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { RQueryAuth } from '../document/query.types';
|
|
2
|
+
import { ProgramMetadataMap } from '../program/program-metadata.types';
|
|
2
3
|
import { ProgramDiagnostic, QueryProgramPayload } from '../program/program.types';
|
|
3
4
|
import { DataViewRef } from './data-view-source.types';
|
|
4
|
-
import { ProgramMetadataMap } from '../program/program-metadata.types';
|
|
5
|
-
import { QueryProgramProp, SourceExpressionIR, SourceFieldDefinition } from './source-expression.types';
|
|
6
5
|
import { ResponseOutputTransform } from './response-output.types';
|
|
6
|
+
import { QueryProgramProp, SourceExpressionIR, SourceFieldDefinition } from './source-expression.types';
|
|
7
7
|
/** Поддерживаемые transport-kind Query source. */
|
|
8
8
|
export type QuerySourceKind = 'rest' | 'graphql';
|
|
9
9
|
/** Политика GraphQL errors в HTTP 2xx response. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ProgramDiagnostic } from '../program/program.types';
|
|
2
1
|
import { EndgeMockReference } from '../mock/mock-data.type';
|
|
2
|
+
import { ProgramDiagnostic } from '../program/program.types';
|
|
3
3
|
import { DataViewRef } from './data-view-source.types';
|
|
4
4
|
import { SourceFieldDefinition } from './source-expression.types';
|
|
5
5
|
export type StoreDataDescriptor = StoreValueDescriptor | StoreDerivedDescriptor;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RQueryAuth } from '../document/query.types';
|
|
2
|
-
import { ProgramDiagnostic, QueryProgramOutput } from '../program/program.types';
|
|
3
2
|
import { ProgramMetadataMap } from '../program/program-metadata.types';
|
|
3
|
+
import { ProgramDiagnostic, QueryProgramOutput } from '../program/program.types';
|
|
4
4
|
export type VocabProviderBaseUrl = string | {
|
|
5
5
|
kind: 'env';
|
|
6
6
|
name: string;
|