@elyx-code/project-logic-tree 0.0.6783 → 0.0.6784

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.ts CHANGED
@@ -653,6 +653,17 @@ export declare function asGenerationActionExample(payload: Record<string, any> |
653
653
 
654
654
  export declare function assembleAndAddLiteralValueFromDataType(dataType: DataTypeState | null, valueOwner: EntityWithDefaultValueState, project: ProjectState, changeSet: ChangeSet | null): LiteralValueState;
655
655
 
656
+ export declare function assembleEntityPrintout(entityPrintout: {
657
+ lines: {
658
+ text: string;
659
+ indentLevel: number;
660
+ }[];
661
+ }, options?: {
662
+ singleLine?: boolean;
663
+ indentSize?: number;
664
+ singleLineSpacer?: string;
665
+ }): string;
666
+
656
667
  export declare function assembleStandaloneLiteralValueFromDataType(dataType: DataTypeState | null, valueOwner: EntityWithValueState | ValueDescriptorState | PropertyState, project: ProjectState): LiteralValueState | null;
657
668
 
658
669
  export declare const atlassianAuthExternalConnectionBuiltInBaseEntity: IBuiltInBaseEntityTransfer;
@@ -12544,6 +12555,20 @@ export declare enum EntityInstanceErrorCode {
12544
12555
 
12545
12556
  export declare type EntityPayloadUnion = BuiltInBaseEntityPayloadUnion | ProjectPayloadUnion | InstalledProjectPayloadUnion | DefinitionEntityPayloadUnion | FunctionDeclarationPayloadUnion | GlobalEventPayloadUnion | VariableDeclarationPayloadUnion | VariableInstancePayloadUnion | InputMapPayloadUnion | OutputMapPayloadUnion | ConditionPayloadUnion | OperationPayloadUnion | FunctionCallPayloadUnion | ArgumentDeclarationPayloadUnion | PrimitiveEntityPayloadUnion | DataTypePayloadUnion | PropertyPayloadUnion | ActionDescriptorPayloadUnion | ReturnStatementPayloadUnion | ContinueStatementPayloadUnion | BreakStatementPayloadUnion | LoopPayloadUnion | SearchPayloadUnion | ValueDescriptorPayloadUnion | InternalCallPayloadUnion | LiteralValuePayloadUnion;
12546
12557
 
12558
+ export declare enum EntityPrintingFields {
12559
+ All = "all",
12560
+ Callers = "callers",
12561
+ ValueReaders = "value-readers",
12562
+ Declaration = "declaration",
12563
+ Id = "id",
12564
+ Type = "type",
12565
+ Name = "name",
12566
+ Description = "description",
12567
+ Extends = "extends",
12568
+ Implements = "implements",
12569
+ CodeName = "code-name"
12570
+ }
12571
+
12547
12572
  export declare type EntityState = BuiltInBaseEntityState | ProjectState | InstalledProjectState | DefinitionEntityState | FunctionDeclarationState | GlobalEventState | VariableState | InputMapState | OutputMapState | ConditionState | OperationState | FunctionCallState | ArgumentDeclarationState | PrimitiveEntityState | DataTypeState | PropertyState | ActionDescriptorState | ReturnStatementState | ContinueStatementState | BreakStatementState | LoopState | SearchState | ValueDescriptorState | InternalCallState | LiteralValueState;
12548
12573
 
12549
12574
  export declare type EntityStateConstructor = UserManagedEntityStateConstructor | BuiltInSystemEntityStateConstructor;
@@ -29765,6 +29790,53 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
29765
29790
  Untyped = "untyped"
29766
29791
  }
29767
29792
 
29793
+ export declare function printDataType(dataType: DataTypeState | null, options?: {
29794
+ nested?: boolean;
29795
+ omitTopLevelType?: boolean;
29796
+ firstLabel?: 'name' | 'id';
29797
+ omitIdsFor?: EntityType[];
29798
+ omitTypesFor?: EntityType[];
29799
+ metadataIndent?: number;
29800
+ ownMetadataIndent?: number;
29801
+ omitFields?: EntityPrintingFields[];
29802
+ onlyFields?: EntityPrintingFields[];
29803
+ }): {
29804
+ lines: {
29805
+ text: string;
29806
+ indentLevel: number;
29807
+ }[];
29808
+ };
29809
+
29810
+ export declare function printEntity(entity: EntityState, options?: {
29811
+ nested?: boolean;
29812
+ omitTopLevelType?: boolean;
29813
+ firstLabel?: 'name' | 'id';
29814
+ omitIdsFor?: EntityType[];
29815
+ omitTypesFor?: EntityType[];
29816
+ metadataIndent?: number;
29817
+ ownMetadataIndent?: number;
29818
+ omitFields?: EntityPrintingFields[];
29819
+ onlyFields?: EntityPrintingFields[];
29820
+ }): {
29821
+ lines: {
29822
+ text: string;
29823
+ indentLevel: number;
29824
+ }[];
29825
+ };
29826
+
29827
+ export declare function printEntityList(entities: EntityState[], options?: {
29828
+ nested?: boolean;
29829
+ omitTopLevelType?: boolean;
29830
+ firstLabel?: 'name' | 'id';
29831
+ omitIdsFor?: EntityType[];
29832
+ omitTypesFor?: EntityType[];
29833
+ newLinesBetweenItems?: number;
29834
+ omitFields?: EntityPrintingFields[];
29835
+ onlyFields?: EntityPrintingFields[];
29836
+ }): string;
29837
+
29838
+ export declare function printGenerationTarget(entity: ElementGenerationTarget, project: ProjectState): string;
29839
+
29768
29840
  export declare type ProjectDomain = string;
29769
29841
 
29770
29842
  export declare type ProjectFetchResult = null | IProjectFetchResult;