@endge/core 11.1.0 → 12.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/dist/core.js +110130 -93373
- package/dist/features/core/kernel/config/kernel.config.d.ts +1 -1
- package/dist/features/core/kernel/config/modules.config.d.ts +6 -1
- package/dist/features/core/kernel/endge.d.ts +10 -1
- package/dist/features/core/kernel/services/EndgeBundleCodec_Service.d.ts +14 -0
- package/dist/features/core/kernel/tools/bundle-json.d.ts +9 -0
- package/dist/features/core/kernel/types/endge-bundle.types.d.ts +13 -0
- package/dist/features/core/modules/bridge/configurator/EndgeBridgeConfigurator_Module.d.ts +1 -1
- package/dist/features/core/modules/bridge/debug/EndgeBridgeDebug_Module.d.ts +12 -27
- package/dist/features/core/modules/bridge/domain/bridge.type.d.ts +4 -0
- package/dist/features/core/modules/compiler/EndgeCompiler_Module.d.ts +2 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-expression-ir.d.ts +4 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-expression.d.ts +3 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-interactions.d.ts +2 -2
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-ports.d.ts +2 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-script.d.ts +2 -0
- package/dist/features/core/modules/compiler/tools/compiled-program-catalog.d.ts +5 -0
- package/dist/features/core/modules/context/EndgeContext_Module.d.ts +4 -0
- package/dist/features/core/modules/context/persistence/context-state.d.ts +2 -0
- package/dist/features/core/modules/domain/types/component/sfc/ast.types.d.ts +8 -1
- package/dist/features/core/modules/domain/types/component/sfc/expression-ir.types.d.ts +52 -0
- package/dist/features/core/modules/domain/types/component/sfc/ir.types.d.ts +4 -1
- package/dist/features/core/modules/domain/types/computation/computation-program.types.d.ts +2 -0
- package/dist/features/core/modules/domain-repository/EndgeDomainRepository_Module.d.ts +3 -0
- package/dist/features/core/modules/inspection/EndgeInspection_Module.d.ts +75 -0
- package/dist/features/core/modules/inspection/services/InspectionCapture_Service.d.ts +36 -0
- package/dist/features/core/modules/inspection/tools/inspection-recording.d.ts +15 -0
- package/dist/features/core/modules/inspection/types/inspection.types.d.ts +73 -0
- package/dist/features/core/modules/program/EndgeProgram_Module.d.ts +18 -0
- package/dist/features/core/modules/program/domain/types/action-program.types.d.ts +2 -0
- package/dist/features/core/modules/program/domain/types/execution-bundle.types.d.ts +75 -0
- package/dist/features/core/modules/program/domain/types/program.types.d.ts +5 -1
- package/dist/features/core/modules/program/tools/execution-bundle.d.ts +6 -0
- package/dist/features/core/modules/program/tools/portable-program-payload.d.ts +3 -0
- package/dist/features/core/modules/program/tools/restore-program-source.d.ts +3 -0
- package/dist/features/core/modules/runtime/EndgeRuntime_Module.d.ts +2 -0
- package/dist/features/core/modules/runtime/services/component-sfc-expression-evaluate.d.ts +14 -0
- package/dist/features/core/modules/source/domain/types/composition-source.types.d.ts +2 -0
- package/dist/features/core/modules/source/domain/types/configuration-source.types.d.ts +4 -0
- package/dist/features/core/modules/source/domain/types/filter-source.types.d.ts +2 -0
- package/dist/features/core/modules/source/domain/types/simulation-source.types.d.ts +2 -0
- package/dist/features/core/modules/source/domain/types/store-source.types.d.ts +2 -0
- package/dist/features/core/modules/source/domain/types/stream-source.types.d.ts +2 -0
- package/dist/features/core/modules/source/domain/types/type-source.types.d.ts +2 -0
- package/dist/features/core/modules/source/domain/types/update-source.types.d.ts +2 -0
- package/dist/main.d.ts +8 -0
- package/package.json +5 -2
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { BundleJsonValue } from '../../../kernel/types/endge-bundle.types';
|
|
2
|
+
import { EndgeContextSnapshot } from '../../context/domain/context-persistence.types';
|
|
3
|
+
import { RuntimeInspectionSnapshot } from '../../runtime/domain/runtime-inspection.types';
|
|
4
|
+
export interface InspectionState {
|
|
5
|
+
context: EndgeContextSnapshot & {
|
|
6
|
+
dataMode?: 'live' | 'mock';
|
|
7
|
+
};
|
|
8
|
+
runtime: RuntimeInspectionSnapshot;
|
|
9
|
+
data: BundleJsonValue | null;
|
|
10
|
+
dataAvailable: boolean;
|
|
11
|
+
}
|
|
12
|
+
export type InspectionChange = {
|
|
13
|
+
op: 'set';
|
|
14
|
+
path: string[];
|
|
15
|
+
value: BundleJsonValue;
|
|
16
|
+
} | {
|
|
17
|
+
op: 'remove';
|
|
18
|
+
path: string[];
|
|
19
|
+
};
|
|
20
|
+
interface InspectionRecordHeader {
|
|
21
|
+
sequence: number;
|
|
22
|
+
at: number;
|
|
23
|
+
}
|
|
24
|
+
export type InspectionRecord = InspectionRecordHeader & ({
|
|
25
|
+
kind: 'snapshot';
|
|
26
|
+
scope: 'inspection';
|
|
27
|
+
revision: number;
|
|
28
|
+
reason: 'initial' | 'manual' | 'resync' | 'checkpoint';
|
|
29
|
+
value: InspectionState;
|
|
30
|
+
} | {
|
|
31
|
+
kind: 'snapshot';
|
|
32
|
+
scope: 'data';
|
|
33
|
+
revision: number;
|
|
34
|
+
reason: 'manual' | 'checkpoint';
|
|
35
|
+
value: {
|
|
36
|
+
data: BundleJsonValue | null;
|
|
37
|
+
render?: BundleJsonValue;
|
|
38
|
+
dataAvailable: boolean;
|
|
39
|
+
};
|
|
40
|
+
} | {
|
|
41
|
+
kind: 'delta';
|
|
42
|
+
baseRevision: number;
|
|
43
|
+
revision: number;
|
|
44
|
+
changes: InspectionChange[];
|
|
45
|
+
} | {
|
|
46
|
+
kind: 'event';
|
|
47
|
+
name: string;
|
|
48
|
+
payload: BundleJsonValue;
|
|
49
|
+
} | {
|
|
50
|
+
kind: 'marker';
|
|
51
|
+
name: 'data-enabled' | 'data-disabled' | 'gap' | 'error' | 'stopped';
|
|
52
|
+
message: string;
|
|
53
|
+
});
|
|
54
|
+
export interface InspectionChunk {
|
|
55
|
+
firstSequence: number;
|
|
56
|
+
lastSequence: number;
|
|
57
|
+
records: InspectionRecord[];
|
|
58
|
+
}
|
|
59
|
+
export interface InspectionRecording {
|
|
60
|
+
version: 1;
|
|
61
|
+
programId: string;
|
|
62
|
+
runId: string;
|
|
63
|
+
recordingId: string;
|
|
64
|
+
chunks: InspectionChunk[];
|
|
65
|
+
}
|
|
66
|
+
/** Transport consumer leases own independent capture policies and sequence. */
|
|
67
|
+
export interface InspectionCapture {
|
|
68
|
+
readonly recording: InspectionRecording;
|
|
69
|
+
setIncludeData: (value: boolean) => void;
|
|
70
|
+
snapshot: (reason?: 'manual' | 'resync') => void;
|
|
71
|
+
stop: () => void;
|
|
72
|
+
}
|
|
73
|
+
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CompiledContextDescriptor, CompiledProgramCatalog, ExecutionBundle, PreparedProgramInstall, ProgramHostActionRequirement } from './domain/types/execution-bundle.types';
|
|
1
2
|
import { ActionProgramPayload, ComponentSFCTagRegistryEntry, ComputationProgramPayload, DataViewProgramPayload, EndgeProgramSnapshot, EndgeStyleProgramPayload, ProgramArtifact, ProgramArtifactRef, ProgramArtifactStatus, ProgramDiagnostic, ProgramEntityType, QueryProgramPayload } from './domain/types/program.types';
|
|
2
3
|
import { CompositionProgramPayload } from '../source/domain/types/composition-source.types';
|
|
3
4
|
import { FilterProgramPayload } from '../source/domain/types/filter-source.types';
|
|
@@ -19,6 +20,23 @@ export declare class EndgeProgram_Module extends EndgeModule {
|
|
|
19
20
|
private _componentIdentityByTag;
|
|
20
21
|
private _status;
|
|
21
22
|
private _compilerVersion;
|
|
23
|
+
private _programId;
|
|
24
|
+
private _createdAt;
|
|
25
|
+
private _hostActions;
|
|
26
|
+
private _catalog;
|
|
27
|
+
private _compiledContext;
|
|
28
|
+
private _catalogIsCurrent;
|
|
29
|
+
get programId(): string | null;
|
|
30
|
+
get catalog(): Readonly<CompiledProgramCatalog>;
|
|
31
|
+
/** Публикует завершённый compile snapshot; incremental builds не создают новую экспортируемую сборку. */
|
|
32
|
+
completeCompile(catalog: CompiledProgramCatalog, context: CompiledContextDescriptor, isCurrent?: () => boolean, hostActions?: ProgramHostActionRequirement[]): void;
|
|
33
|
+
/** Упаковывает проверенную текущую программу без второго постоянного владельца artifacts. */
|
|
34
|
+
exportBundle(options?: {
|
|
35
|
+
includeAst?: boolean;
|
|
36
|
+
}): ExecutionBundle;
|
|
37
|
+
prepareInstall(value: unknown): PreparedProgramInstall;
|
|
38
|
+
/** Строит все индексы до замены, не публикуя промежуточную очищенную программу. */
|
|
39
|
+
installBundle(prepared: PreparedProgramInstall): void;
|
|
22
40
|
/**
|
|
23
41
|
* Возвращает общий статус текущей compiled program.
|
|
24
42
|
*/
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { ActionTargetSelector } from '../../../actions/domain/action.types';
|
|
2
2
|
import { ActionSourceDocument } from '../../../source/domain/types/action-source.types';
|
|
3
3
|
export interface ActionProgramPayload {
|
|
4
|
+
/** Optional parser tree retained for inspection; runtime does not require it. */
|
|
5
|
+
ast?: unknown;
|
|
4
6
|
type: 'action';
|
|
5
7
|
sourceVersion: number;
|
|
6
8
|
sourceDocument: ActionSourceDocument | null;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { ComponentSFCTagRegistryEntry, ProgramArtifact, ProgramArtifactKey } from './program.types';
|
|
2
|
+
import { BundleJsonValue } from '../../../../kernel/types/endge-bundle.types';
|
|
3
|
+
import { EndgeConfiguration } from '../../../configuration/domain/types/configuration.type';
|
|
4
|
+
import { EndgeContextSnapshot } from '../../../context/domain/context-persistence.types';
|
|
5
|
+
export interface CompiledFolderDescriptor {
|
|
6
|
+
id: string;
|
|
7
|
+
identity: string;
|
|
8
|
+
displayName: string;
|
|
9
|
+
parentId: string | null;
|
|
10
|
+
scope: 'workspace' | 'collection';
|
|
11
|
+
entityType: string | null;
|
|
12
|
+
position: number;
|
|
13
|
+
icon?: string;
|
|
14
|
+
color?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface CompiledDocumentDescriptor {
|
|
17
|
+
id: string;
|
|
18
|
+
identity: string;
|
|
19
|
+
entityType: string;
|
|
20
|
+
displayName: string;
|
|
21
|
+
folderId: string | null;
|
|
22
|
+
workspaceFolderId: string | null;
|
|
23
|
+
position: number;
|
|
24
|
+
/** Необязательные навигационные сведения; не заменяют Source или IR. */
|
|
25
|
+
documentType?: string;
|
|
26
|
+
facetIdentity?: string;
|
|
27
|
+
kind?: string;
|
|
28
|
+
kindIdentity?: string;
|
|
29
|
+
storeIdentity?: string;
|
|
30
|
+
icon?: string;
|
|
31
|
+
color?: string;
|
|
32
|
+
artifactKeys: ProgramArtifactKey[];
|
|
33
|
+
status: 'compiled' | 'not-compiled';
|
|
34
|
+
}
|
|
35
|
+
export interface CompiledWorkspaceDescriptor {
|
|
36
|
+
identity: string;
|
|
37
|
+
displayName: string;
|
|
38
|
+
startupCompositionIdentity: string | null;
|
|
39
|
+
documentStructure?: 'frontend' | 'custom';
|
|
40
|
+
}
|
|
41
|
+
export interface CompiledProgramCatalog {
|
|
42
|
+
workspace?: CompiledWorkspaceDescriptor;
|
|
43
|
+
folders: Record<string, CompiledFolderDescriptor>;
|
|
44
|
+
documents: Record<string, CompiledDocumentDescriptor>;
|
|
45
|
+
}
|
|
46
|
+
export type PortableProgramArtifact = ProgramArtifact<BundleJsonValue>;
|
|
47
|
+
/** Данные одной завершённой сборки; runtime capabilities описываются отдельно от формата файла. */
|
|
48
|
+
export interface CompiledContextDescriptor extends EndgeContextSnapshot {
|
|
49
|
+
configuration: EndgeConfiguration;
|
|
50
|
+
}
|
|
51
|
+
/** Действие предоставляет host; исполняемый callback не входит в переносимый контракт. */
|
|
52
|
+
export interface ProgramHostActionRequirement {
|
|
53
|
+
identity: string;
|
|
54
|
+
owner: string;
|
|
55
|
+
providerKey: string;
|
|
56
|
+
}
|
|
57
|
+
export interface ProgramRequirements {
|
|
58
|
+
hostActions?: ProgramHostActionRequirement[];
|
|
59
|
+
artifactTypes: string[];
|
|
60
|
+
componentTags: ComponentSFCTagRegistryEntry[];
|
|
61
|
+
}
|
|
62
|
+
export interface ExecutionBundle {
|
|
63
|
+
version: 1;
|
|
64
|
+
programId: string;
|
|
65
|
+
compilerVersion: string;
|
|
66
|
+
createdAt: string;
|
|
67
|
+
context: CompiledContextDescriptor;
|
|
68
|
+
requirements: ProgramRequirements;
|
|
69
|
+
catalog: CompiledProgramCatalog;
|
|
70
|
+
artifacts: Record<ProgramArtifactKey, PortableProgramArtifact>;
|
|
71
|
+
}
|
|
72
|
+
/** Подготовленные изолированные данные; install повторно проверяет их перед заменой. */
|
|
73
|
+
export interface PreparedProgramInstall {
|
|
74
|
+
readonly bundle: ExecutionBundle;
|
|
75
|
+
}
|
|
@@ -154,6 +154,8 @@ export interface QueryProgramPayload {
|
|
|
154
154
|
export type { VocabProgramPayload };
|
|
155
155
|
/** Payload artifact для DataView: executable read-model без persisted runtime state. */
|
|
156
156
|
export interface DataViewProgramPayload {
|
|
157
|
+
/** Optional parser tree retained for inspection; runtime does not require it. */
|
|
158
|
+
ast?: unknown;
|
|
157
159
|
/** Тип artifact для diagnostics/debug UI. */
|
|
158
160
|
type: 'data-view';
|
|
159
161
|
/** Режим выполнения source: manual transform, pipeline, object projection или root expression. */
|
|
@@ -194,12 +196,14 @@ export interface ComponentSFCProgramPayload {
|
|
|
194
196
|
/** Runtime-параметры только для preview: заполнение локального store, запуск queries/actions и прочее. */
|
|
195
197
|
previewOptions: ComponentSFCPreviewOptions | null;
|
|
196
198
|
/** Parser-level AST SFC source, нужен для diagnostics и debug UI. */
|
|
197
|
-
ast
|
|
199
|
+
ast?: RComponentSFC_AST | null;
|
|
198
200
|
/** Target-neutral semantic IR, который renderer-слои используют для DOM/Nova. */
|
|
199
201
|
ir: RComponentSFC_IR | null;
|
|
200
202
|
}
|
|
201
203
|
/** Source-first документ стилей в payload runtime. */
|
|
202
204
|
export interface EndgeStyleProgramPayload {
|
|
205
|
+
/** Optional parser tree retained for inspection; runtime does not require it. */
|
|
206
|
+
ast?: unknown;
|
|
203
207
|
/** Скомпилированная таблица стилей, нейтральная к renderer. */
|
|
204
208
|
stylesheet: EndgeStyleSheetArtifact;
|
|
205
209
|
/** ID тем, предоставляемые этим документом. */
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ExecutionBundle, PortableProgramArtifact } from '../domain/types/execution-bundle.types';
|
|
2
|
+
import { ProgramArtifact } from '../domain/types/program.types';
|
|
3
|
+
/** AST имеет отдельную boundary; executable payload сохраняется без compiler instances. */
|
|
4
|
+
export declare function packProgramArtifact(artifact: ProgramArtifact, includeAst: boolean): PortableProgramArtifact;
|
|
5
|
+
/** Проверяет весь transport до изменения Program. Индексы строятся из validated refs. */
|
|
6
|
+
export declare function readExecutionBundle(input: unknown): ExecutionBundle;
|
|
@@ -130,6 +130,8 @@ export declare class EndgeRuntime_Module extends EndgeModule<EndgeBootContext> {
|
|
|
130
130
|
captureInspection(includeData?: boolean): RuntimeInspectionSnapshot;
|
|
131
131
|
/** Прямой импорт факта: не создаёт hosts, не пишет Raph и не выполняет Commands. */
|
|
132
132
|
applyInspectionSnapshot(value: unknown): void;
|
|
133
|
+
/** Полная замена состояния выбранного момента; отсутствие data не наследует более поздние значения. */
|
|
134
|
+
replaceInspectionSnapshot(value: unknown): void;
|
|
133
135
|
/** Событие обновляет только известный экземпляр; новую структуру приносит следующий snapshot. */
|
|
134
136
|
applyInspectionEvent(change: RuntimeStatusChange): void;
|
|
135
137
|
/** Данные остаются снимком для чтения, даже когда локальный Raph уже существует. */
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ComponentSFCExpressionIR as Expression } from '../../domain/types/component/sfc/expression-ir.types';
|
|
2
|
+
import { ComponentSFCRenderPort } from '../domain/component-sfc-render-port.types';
|
|
3
|
+
export interface SFCExpressionEvaluationContext {
|
|
4
|
+
props: Record<string, unknown>;
|
|
5
|
+
locals: Record<string, unknown>;
|
|
6
|
+
context: object;
|
|
7
|
+
host: Pick<ComponentSFCRenderPort, 'translate' | 'resolveVocabOptions' | 'readDataMeta'> | null;
|
|
8
|
+
dataScope: {
|
|
9
|
+
boundaryId: string;
|
|
10
|
+
rowKey: unknown;
|
|
11
|
+
} | null;
|
|
12
|
+
}
|
|
13
|
+
/** Исполняет только готовый IR. Не читает source и не вызывает parser/compiler. */
|
|
14
|
+
export declare function evaluateComponentSFCExpression(expression: Expression, context: SFCExpressionEvaluationContext): unknown;
|
|
@@ -369,6 +369,8 @@ export interface CompositionRuntimeGraph {
|
|
|
369
369
|
}
|
|
370
370
|
/** Payload Composition artifact без runtime state. */
|
|
371
371
|
export interface CompositionProgramPayload extends CompositionSourceDocument {
|
|
372
|
+
/** Optional parser tree retained for inspection; runtime does not require it. */
|
|
373
|
+
ast?: unknown;
|
|
372
374
|
type: 'composition';
|
|
373
375
|
sourceVersion: number;
|
|
374
376
|
/** Снимки словарей, которые runtime читает без обращения к Domain. */
|
|
@@ -23,6 +23,8 @@ export interface ConfigurationSourceDocument {
|
|
|
23
23
|
}
|
|
24
24
|
/** Ранний артефакт Configuration для компилятора. */
|
|
25
25
|
export interface ConfigurationProgramPayload {
|
|
26
|
+
/** Optional parser tree retained for inspection; runtime does not require it. */
|
|
27
|
+
ast?: unknown;
|
|
26
28
|
type: 'configuration';
|
|
27
29
|
identity: string;
|
|
28
30
|
displayName: string;
|
|
@@ -38,6 +40,8 @@ export interface ConfigurationSourceCompileResult {
|
|
|
38
40
|
diagnostics: Omit<ProgramDiagnostic, 'entityRef'>[];
|
|
39
41
|
}
|
|
40
42
|
export interface EndgeConfigurationSchemaEntry {
|
|
43
|
+
/** Optional parser tree retained for inspection; runtime does not require it. */
|
|
44
|
+
ast?: unknown;
|
|
41
45
|
id: string | number;
|
|
42
46
|
identity: string;
|
|
43
47
|
displayName: string;
|
|
@@ -70,6 +70,8 @@ export interface FilterProgramPredicateOutput {
|
|
|
70
70
|
export type FilterProgramOutput = FilterProgramJsonOutput | FilterProgramPredicateOutput;
|
|
71
71
|
/** Payload Filter artifact без persisted source и diagnostics envelope. */
|
|
72
72
|
export interface FilterProgramPayload {
|
|
73
|
+
/** Optional parser tree retained for inspection; runtime does not require it. */
|
|
74
|
+
ast?: unknown;
|
|
73
75
|
type: 'filter';
|
|
74
76
|
sourceVersion: number;
|
|
75
77
|
fields: SourceFieldDefinition[];
|
|
@@ -40,6 +40,8 @@ export interface SimulationSourceDocument {
|
|
|
40
40
|
runtimes: SimulationRuntimeOverride[];
|
|
41
41
|
}
|
|
42
42
|
export interface SimulationSourceArtifact extends SimulationSourceDocument {
|
|
43
|
+
/** Optional parser tree retained for inspection; runtime does not require it. */
|
|
44
|
+
ast?: unknown;
|
|
43
45
|
type: 'simulation';
|
|
44
46
|
sourceVersion: number;
|
|
45
47
|
}
|
|
@@ -32,6 +32,8 @@ export interface StoreUpdateHandlerDescriptor {
|
|
|
32
32
|
}
|
|
33
33
|
/** Готовый для runtime артефакт source Store v1. */
|
|
34
34
|
export interface StoreSourceArtifact extends StoreSourceDocument {
|
|
35
|
+
/** Optional parser tree retained for inspection; runtime does not require it. */
|
|
36
|
+
ast?: unknown;
|
|
35
37
|
type: 'store';
|
|
36
38
|
sourceVersion: number;
|
|
37
39
|
updateHandlers: StoreUpdateHandlerDescriptor[];
|
|
@@ -32,6 +32,8 @@ export interface StreamSourceDocument {
|
|
|
32
32
|
}
|
|
33
33
|
/** Готовый для runtime артефакт Stream. */
|
|
34
34
|
export interface StreamSourceArtifact extends StreamSourceDocument {
|
|
35
|
+
/** Optional parser tree retained for inspection; runtime does not require it. */
|
|
36
|
+
ast?: unknown;
|
|
35
37
|
type: 'stream';
|
|
36
38
|
sourceVersion: number;
|
|
37
39
|
}
|
|
@@ -47,6 +47,8 @@ export interface TypeSourceDocument {
|
|
|
47
47
|
}
|
|
48
48
|
/** Compiler payload Type Source. Runtime пока не потребляет этот artifact. */
|
|
49
49
|
export interface TypeProgramPayload {
|
|
50
|
+
/** Optional parser tree retained for inspection; runtime does not require it. */
|
|
51
|
+
ast?: unknown;
|
|
50
52
|
type: 'type';
|
|
51
53
|
sourceVersion: number;
|
|
52
54
|
/** Стабильная identity скомпилированного типа. Артефакты только parser могут её не содержать. */
|
|
@@ -20,6 +20,8 @@ export interface UpdateSourceDocument {
|
|
|
20
20
|
}
|
|
21
21
|
/** Готовый для runtime артефакт Update, всегда ограниченный своим владельцем Store. */
|
|
22
22
|
export interface UpdateSourceArtifact extends UpdateSourceDocument {
|
|
23
|
+
/** Optional parser tree retained for inspection; runtime does not require it. */
|
|
24
|
+
ast?: unknown;
|
|
23
25
|
type: 'update';
|
|
24
26
|
sourceVersion: number;
|
|
25
27
|
storeIdentity: string;
|
package/dist/main.d.ts
CHANGED
|
@@ -6,6 +6,12 @@ export * from './features/federation/types/endge-modules.types';
|
|
|
6
6
|
export * from './features/federation/constants/federation.constants';
|
|
7
7
|
export * from './features/federation/types/federation.types';
|
|
8
8
|
export * from './features/core/kernel/endge';
|
|
9
|
+
export * from './features/core/kernel/types/endge-bundle.types';
|
|
10
|
+
export * from './features/core/kernel/services/EndgeBundleCodec_Service';
|
|
11
|
+
export * from './features/core/modules/program/domain/types/execution-bundle.types';
|
|
12
|
+
export { restoreProgramArtifactSource } from './features/core/modules/program/tools/restore-program-source';
|
|
13
|
+
export * from './features/core/modules/inspection/EndgeInspection_Module';
|
|
14
|
+
export * from './features/core/modules/inspection/types/inspection.types';
|
|
9
15
|
export * from './features/core/modules/commands/EndgeCommands_Module';
|
|
10
16
|
export * from './features/core/modules/bridge/EndgeBridge_Module';
|
|
11
17
|
export * from './features/core/modules/bridge/domain/bridge.type';
|
|
@@ -278,3 +284,5 @@ export { EndgeDebuggerReadOnlyError } from './features/core/kernel/errors/EndgeD
|
|
|
278
284
|
export { readOnlyDocument } from './features/core/kernel/tools/read-only-document';
|
|
279
285
|
export { resolveRuntimeTranslation } from './features/core/modules/i18n/tools/resolve-runtime-translation';
|
|
280
286
|
export { resolveRuntimeVocabOptions } from './features/core/modules/runtime/tools/runtime-render-values';
|
|
287
|
+
export * from './features/core/modules/domain/types/component/sfc/expression-ir.types';
|
|
288
|
+
export * from './features/core/modules/runtime/services/component-sfc-expression-evaluate';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@endge/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "12.0.0",
|
|
5
5
|
"private": false,
|
|
6
6
|
"packageManager": "pnpm@8.8.0",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"reflect-metadata": "^0.2.2"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
+
"@babel/generator": "^7.29.7",
|
|
39
40
|
"@babel/parser": "^7.27.2",
|
|
40
41
|
"@babel/types": "^7.27.1",
|
|
41
42
|
"@endge/utils": "^0.27.0",
|
|
@@ -43,6 +44,7 @@
|
|
|
43
44
|
"@vue/compiler-sfc": "^3.5.24",
|
|
44
45
|
"axios": "^1.13.2",
|
|
45
46
|
"date-fns": "^4.1.0",
|
|
47
|
+
"fflate": "^0.8.3",
|
|
46
48
|
"graphql": "^16.12.0",
|
|
47
49
|
"lodash": "^4.17.21",
|
|
48
50
|
"mitt": "^3.0.1",
|
|
@@ -56,6 +58,7 @@
|
|
|
56
58
|
},
|
|
57
59
|
"devDependencies": {
|
|
58
60
|
"@antfu/eslint-config": "9.3.0",
|
|
61
|
+
"@types/babel__generator": "^7.27.0",
|
|
59
62
|
"@types/lodash": "^4.14.202",
|
|
60
63
|
"@vue/language-core": "^3.3.11",
|
|
61
64
|
"eslint": "10.9.1",
|
|
@@ -65,5 +68,5 @@
|
|
|
65
68
|
"vite": "^6.1.0",
|
|
66
69
|
"vitest": "^2.1.9"
|
|
67
70
|
},
|
|
68
|
-
"version_updated": "
|
|
71
|
+
"version_updated": "14.09.2026"
|
|
69
72
|
}
|