@elyx-code/project-logic-tree 0.0.6286 → 0.0.6288

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
@@ -1310,6 +1310,8 @@ export declare function checkIsCallableEntityReachable(entity: CallableEntitySta
1310
1310
 
1311
1311
  export declare function checkIsCanvasEntity(entity: EntityState): boolean;
1312
1312
 
1313
+ export declare function checkIsDefEntityInlineDeclaredForSearchOutputType(entity: DefinitionEntityState | null): boolean;
1314
+
1313
1315
  export declare function checkIsDetachedBranch(entity: CanvasEntityState): boolean;
1314
1316
 
1315
1317
  export declare function checkIsDetachedBranchShallow(entity: CanvasEntityState): boolean;
@@ -3058,6 +3060,10 @@ export declare function fromChangeSetToRecordChangeSet<TSelf extends {
3058
3060
  type: EntityType;
3059
3061
  } = EntityState>(changeSet: IChangeSet<TSelf, TGeneric>): IRecordChangeSet<TSelf, TGeneric>;
3060
3062
 
3063
+ export declare function fromLiteralValueTypeToPrimitiveType(valueType: SearchLiteralValueType): PrimitiveTypes;
3064
+
3065
+ declare function fromNameToTableDescription(tableName: string, project: ProjectState): ITable | null;
3066
+
3061
3067
  declare function fromOrderByClauseToSortStatements(orderByClause: OrderByClause, _selectStatement: SelectStmt, _allColumns: IColumnMapping[], state: SearchStatementState): SortStatement[];
3062
3068
 
3063
3069
  declare function fromSelectClauseColumnsToColumnMappings(selectClause: SelectClause, objectName?: string): IShallowColumnMapping[];
@@ -4230,6 +4236,8 @@ export declare function getDeclarationOutputedError(entity: PassThroughCallableE
4230
4236
 
4231
4237
  export declare function getDeepestScope(scopeOwners: EntityWithLogicScopeState[]): EntityWithLogicScopeState | null;
4232
4238
 
4239
+ export declare function getDefaultRelationalDatabaseEntityOrFirst(project: ProjectState): DefinitionEntityState | null;
4240
+
4233
4241
  export declare function getDraggableCallableEntityReferenceSchema(): z_2.ZodUnion<[z_2.ZodUnion<[z_2.ZodObject<{
4234
4242
  id: z_2.ZodString;
4235
4243
  type: z_2.ZodLiteral<import("../../..").EntityType.GenericReference>;
@@ -11733,6 +11741,7 @@ export declare class PropertyState extends VersionedState implements IProperty,
11733
11741
  errors: EntityGenerationError[];
11734
11742
  modifiedData: Partial<IPropertyGenerationTarget>;
11735
11743
  };
11744
+ onProjectInitialized(_project: ProjectState, changeSet?: ChangeSet | null): PropertyState;
11736
11745
  subscribeDependents(dependencies: {
11737
11746
  entity: UserManagedEntityState;
11738
11747
  field: string;
@@ -11794,6 +11803,7 @@ export declare class PropertyState extends VersionedState implements IProperty,
11794
11803
  getDataType(changeSet?: ChangeSet | null): DataTypeState | null;
11795
11804
  getDefaultValue(): LiteralValueState | null;
11796
11805
  setDefaultValue(value: LiteralValueState): PropertyState;
11806
+ syncDataTypeWithImplementation(changeSet?: ChangeSet | null): IChangeSet<PropertyState>;
11797
11807
  }
11798
11808
 
11799
11809
  export declare function propertyToZodSchema(property: IProperty): z.ZodType<any>;
@@ -11906,6 +11916,8 @@ export declare function resolvePersistedDefinitionEntityDatabaseEntity(entity: D
11906
11916
 
11907
11917
  export declare function resolvePrimaryKeyProperty(entity: DefinitionEntityState): PropertyState | null;
11908
11918
 
11919
+ export declare function resolvePrimitiveEntityForSearchLiteralValueType(valueType: SearchLiteralValueType, project: ProjectState): PrimitiveEntityState;
11920
+
11909
11921
  export declare function resolvePrimitiveEntityName(primitiveEntity: {
11910
11922
  name: PrimitiveTypes;
11911
11923
  [key: string]: any;
@@ -12187,6 +12199,8 @@ declare namespace returnStatementValidation {
12187
12199
  }
12188
12200
  export { returnStatementValidation }
12189
12201
 
12202
+ declare function sanitizeSQLIdentifierText(text: string): string;
12203
+
12190
12204
  export declare type ScopeCompatibility = ICompatibleSameBothLocalScope | ICompatibleSameBothGlobalScope | ICompatibleAInBScope | ICompatibleBInAScope | IIncompatibleParallelInProjectScope | IIncompatibleParallelInCommonParentScope | IIncompatibleAIsGlobalBIsNotScope | IIncompatibleBIsGlobalAIsNotScope;
12191
12205
 
12192
12206
  export declare enum ScopeCompatibilityType {
@@ -12464,6 +12478,8 @@ export { searchStatementState }
12464
12478
 
12465
12479
  declare namespace searchStatementUtils {
12466
12480
  export {
12481
+ sanitizeSQLIdentifierText,
12482
+ fromNameToTableDescription,
12467
12483
  loadProjectDatasources,
12468
12484
  getSelectStatementFromProgram,
12469
12485
  getFromClauseFromSelectStatement,
@@ -12840,6 +12856,8 @@ export declare function suggestNewIdForEntity(generatedEntity: ElementGeneration
12840
12856
 
12841
12857
  declare type SupportedOperators = string | PostgresqlOperatorExpr | Keyword<'IS'> | [Keyword<'IS'>, Keyword<'NOT'>] | [Keyword<'IS'>, Keyword<'DISTINCT'>, Keyword<'FROM'>] | [Keyword<'IS'>, Keyword<'NOT'>, Keyword<'DISTINCT'>, Keyword<'FROM'>] | Keyword<'IN'> | [Keyword<'NOT'>, Keyword<'IN'>] | Keyword<'LIKE' | 'RLIKE' | 'ILIKE' | 'GLOB' | 'MATCH'> | [Keyword<'NOT'>, Keyword<'LIKE' | 'RLIKE' | 'ILIKE' | 'GLOB' | 'MATCH'>];
12842
12858
 
12859
+ export declare function syncSearchEntityOutput(entity: SearchState, statement: SearchStatementState, changeSet: ChangeSet | null): void;
12860
+
12843
12861
  export declare const TERMINATION_TYPES: EntityType[];
12844
12862
 
12845
12863
  export declare type TerminationEntity = IReturnStatement | IBreakStatement | IContinueStatement;