@elyx-code/project-logic-tree 0.0.6782 → 0.0.6783
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.cjs +95 -95
- package/dist/index.d.ts +66 -0
- package/dist/index.js +19207 -19133
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -11989,6 +11989,10 @@ export declare function deleteFirstNItems(list: unknown): any[];
|
|
|
11989
11989
|
|
|
11990
11990
|
export declare function deleteLastNItems(list: unknown): any[];
|
|
11991
11991
|
|
|
11992
|
+
export declare function deleteObjectKey(obj: unknown, key: unknown): Record<string, unknown>;
|
|
11993
|
+
|
|
11994
|
+
export declare function deleteObjectNestedKey(obj: unknown, path: unknown): Record<string, unknown>;
|
|
11995
|
+
|
|
11992
11996
|
export declare const deletePersistedEntityMethod: IActionDescriptorTransfer;
|
|
11993
11997
|
|
|
11994
11998
|
export declare const deletePersistedEntityMethodParentRef: IBuiltInBaseEntityReference;
|
|
@@ -15155,6 +15159,9 @@ export declare enum GenerationExplanationIds {
|
|
|
15155
15159
|
PropertyImplementationAndExtensionAutoEnrichment = "property-implementation-and-extension-auto-enrichment-explanation"
|
|
15156
15160
|
}
|
|
15157
15161
|
|
|
15162
|
+
/** lodash-like get(obj, path, defaultValue) with precise "missing" detection */
|
|
15163
|
+
export declare function get<T = any, D = any>(obj: any, path: PathInput, defaultValue?: D): T | D;
|
|
15164
|
+
|
|
15158
15165
|
export declare const GET_PROJECT_OPTIONS_DEFAULTS: IGetProjectOptions;
|
|
15159
15166
|
|
|
15160
15167
|
declare function getAggregationStatementsFromSelectStatementSync(selectStatement: SelectStmt, scopeColumns: ColumnRef[], state: SearchStatementState, project: ProjectState, helpers?: {
|
|
@@ -22998,6 +23005,8 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
22998
23005
|
|
|
22999
23006
|
export declare function isLeapYearFn(input: ISODateString): boolean;
|
|
23000
23007
|
|
|
23008
|
+
export declare function isObject(v: any): v is Record<string, unknown>;
|
|
23009
|
+
|
|
23001
23010
|
/** Dates are exchanged as ISO 8601 strings (e.g., "2025-10-17T12:34:56.789Z"). */
|
|
23002
23011
|
export declare type ISODateString = string;
|
|
23003
23012
|
|
|
@@ -25038,6 +25047,8 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
25038
25047
|
|
|
25039
25048
|
export declare function median(...numsRaw: unknown[]): number;
|
|
25040
25049
|
|
|
25050
|
+
export declare function mergeArraysOfStringsWithoutDuplicates(arr1: string[], arr2: string[]): string[];
|
|
25051
|
+
|
|
25041
25052
|
/**
|
|
25042
25053
|
* Merges two definition entities by aligning their properties.
|
|
25043
25054
|
* Always returns the first entity (self) with its properties modified to match the second entity (sourceDefinitionEntity).
|
|
@@ -25053,6 +25064,11 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
25053
25064
|
|
|
25054
25065
|
export declare function mergeListOfEntities(oldErrors: EntityState[], newErrors: EntityState[]): EntityState[];
|
|
25055
25066
|
|
|
25067
|
+
/**
|
|
25068
|
+
* MergeObjects: shallow, immutable merge with rightmost-precedence.
|
|
25069
|
+
*/
|
|
25070
|
+
export declare function mergeObjects(...objs: unknown[]): Record<string, unknown>;
|
|
25071
|
+
|
|
25056
25072
|
/**
|
|
25057
25073
|
* Merges two property entities by aligning their attributes.
|
|
25058
25074
|
* Always returns the first entity (self) with its attributes modified to match the second entity (sourceProperty).
|
|
@@ -25209,6 +25225,8 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
25209
25225
|
|
|
25210
25226
|
export declare const NESTED_PROPERTY_HEIGHT = 26;
|
|
25211
25227
|
|
|
25228
|
+
export declare function nestedObjectKeyValueEquals(obj: unknown, path: unknown, expected: unknown): boolean;
|
|
25229
|
+
|
|
25212
25230
|
declare class NestedSearchStatement implements ISearchNode {
|
|
25213
25231
|
owner: SearchStatementState;
|
|
25214
25232
|
statement: SearchStatementState | null;
|
|
@@ -25981,6 +25999,8 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
25981
25999
|
|
|
25982
26000
|
export declare const objectDeleteNestedKeyOperationResponseDT: IDataTypeTransfer;
|
|
25983
26001
|
|
|
26002
|
+
export declare function objectEntries(obj: unknown): [string, unknown][];
|
|
26003
|
+
|
|
25984
26004
|
export declare const objectEntriesOperation: IActionDescriptorTransfer;
|
|
25985
26005
|
|
|
25986
26006
|
export declare const objectEntriesOperationError: IValueDescriptorTransfer;
|
|
@@ -25991,6 +26011,8 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
25991
26011
|
|
|
25992
26012
|
export declare const objectEntriesOperationResultDT: IDataTypeTransfer;
|
|
25993
26013
|
|
|
26014
|
+
export declare function objectHasKey(obj: unknown, key: unknown): boolean;
|
|
26015
|
+
|
|
25994
26016
|
export declare const objectHasKeyOperation: IActionDescriptorTransfer;
|
|
25995
26017
|
|
|
25996
26018
|
export declare const objectHasKeyOperationError: IValueDescriptorTransfer;
|
|
@@ -26005,6 +26027,8 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
26005
26027
|
|
|
26006
26028
|
export declare const objectHasKeyOperationResultVoidDT: IDataTypeTransfer;
|
|
26007
26029
|
|
|
26030
|
+
export declare function objectHasNestedKey(obj: unknown, path: unknown): boolean;
|
|
26031
|
+
|
|
26008
26032
|
export declare const objectHasNestedKeyOperation: IActionDescriptorTransfer;
|
|
26009
26033
|
|
|
26010
26034
|
export declare const objectHasNestedKeyOperationError: IValueDescriptorTransfer;
|
|
@@ -26041,6 +26065,8 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
26041
26065
|
|
|
26042
26066
|
export declare const objectIsInstanceOfTypeOperationResultVoidDT: IDataTypeTransfer;
|
|
26043
26067
|
|
|
26068
|
+
export declare function objectKeys(obj: unknown): string[];
|
|
26069
|
+
|
|
26044
26070
|
export declare const objectKeysOperation: IActionDescriptorTransfer;
|
|
26045
26071
|
|
|
26046
26072
|
export declare const objectKeysOperationError: IValueDescriptorTransfer;
|
|
@@ -26051,6 +26077,8 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
26051
26077
|
|
|
26052
26078
|
export declare const objectKeysOperationResultDT: IDataTypeTransfer;
|
|
26053
26079
|
|
|
26080
|
+
export declare function objectKeyValueEquals(obj: unknown, key: unknown, expected: unknown): boolean;
|
|
26081
|
+
|
|
26054
26082
|
export declare const objectKeyValueEqualsOperation: IActionDescriptorTransfer;
|
|
26055
26083
|
|
|
26056
26084
|
export declare const objectKeyValueEqualsOperationError: IValueDescriptorTransfer;
|
|
@@ -26185,6 +26213,8 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
26185
26213
|
|
|
26186
26214
|
export declare const objectReadNestedKeyOperationResponseDT: IDataTypeTransfer;
|
|
26187
26215
|
|
|
26216
|
+
export declare function objectValues(obj: unknown): unknown[];
|
|
26217
|
+
|
|
26188
26218
|
export declare const objectValuesOperation: IActionDescriptorTransfer;
|
|
26189
26219
|
|
|
26190
26220
|
export declare const objectValuesOperationError: IValueDescriptorTransfer;
|
|
@@ -29514,6 +29544,10 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
29514
29544
|
|
|
29515
29545
|
export declare const passwordVerifyPBKDF2ResponseDT: IDataTypeTransfer;
|
|
29516
29546
|
|
|
29547
|
+
export declare type PathInput = string | Array<PathSegment>;
|
|
29548
|
+
|
|
29549
|
+
export declare type PathSegment = string | number;
|
|
29550
|
+
|
|
29517
29551
|
export declare interface PBKDF2Options {
|
|
29518
29552
|
iterations: number;
|
|
29519
29553
|
length: number;
|
|
@@ -30507,6 +30541,10 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
30507
30541
|
};
|
|
30508
30542
|
};
|
|
30509
30543
|
|
|
30544
|
+
export declare function readObjectKey(obj: unknown, key: unknown): unknown;
|
|
30545
|
+
|
|
30546
|
+
export declare function readObjectNestedKey(obj: unknown, path: unknown, defaultValue?: unknown): unknown;
|
|
30547
|
+
|
|
30510
30548
|
export declare function readValueFromWritter(entity: ValueReadingEntityState, context: IValueResolutionContext, onlyDefault?: boolean): IDynamicValue | null;
|
|
30511
30549
|
|
|
30512
30550
|
export declare function rebaseStack<T = any>(undoableStackValueIndex: number, history: T[], newItem: T): number;
|
|
@@ -31545,6 +31583,16 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
31545
31583
|
resolveDeterministicResourceId(): string;
|
|
31546
31584
|
}
|
|
31547
31585
|
|
|
31586
|
+
/**
|
|
31587
|
+
* lodash-like set(obj, path, value, options?)
|
|
31588
|
+
* - Mutates `obj` (like lodash), returns it.
|
|
31589
|
+
* - Creates arrays when next segment is numeric, otherwise objects (if createMissing=true).
|
|
31590
|
+
* - Blocks prototype-polluting keys.
|
|
31591
|
+
* - When createMissing=false, throws if any parent on the path is missing.
|
|
31592
|
+
* - When coerce=false, throws if an existing non-container blocks traversal.
|
|
31593
|
+
*/
|
|
31594
|
+
export declare function set<T extends object = any>(obj: T, path: PathInput, value: any, options?: SetOptions): T;
|
|
31595
|
+
|
|
31548
31596
|
export declare function setDate(input: ISODateString, date1to31: number): ISODateString;
|
|
31549
31597
|
|
|
31550
31598
|
export declare const setDateDateArg: IValueDescriptorTransfer;
|
|
@@ -31641,6 +31689,11 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
31641
31689
|
|
|
31642
31690
|
export declare const setMsValueDT: IDataTypeTransfer;
|
|
31643
31691
|
|
|
31692
|
+
declare interface SetOptions {
|
|
31693
|
+
createMissing?: boolean;
|
|
31694
|
+
coerce?: boolean;
|
|
31695
|
+
}
|
|
31696
|
+
|
|
31644
31697
|
export declare function setQuarter(input: ISODateString, q: 1 | 2 | 3 | 4): ISODateString;
|
|
31645
31698
|
|
|
31646
31699
|
export declare const setQuarterDateArg: IValueDescriptorTransfer;
|
|
@@ -35014,4 +35067,17 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
35014
35067
|
|
|
35015
35068
|
declare function whereStatementOperatorToSQL(operator: WhereStatementOperator): 'LIKE' | 'NOT LIKE' | 'IS NOT' | 'BETWEEN' | 'IN' | WhereStatementOperator.BiggerThan | WhereStatementOperator.SmallerThan | WhereStatementOperator.BiggerThanOrEqualTo | WhereStatementOperator.SmallerThanOrEqualTo;
|
|
35016
35069
|
|
|
35070
|
+
export declare function writeObjectKey(obj: unknown, key: unknown, value: unknown): Record<string, unknown>;
|
|
35071
|
+
|
|
35072
|
+
/**
|
|
35073
|
+
* Strict nested write (no auto-create).
|
|
35074
|
+
* Throws if parent chain is missing.
|
|
35075
|
+
*/
|
|
35076
|
+
export declare function writeObjectNestedKey(obj: unknown, path: unknown, value: unknown): Record<string, unknown>;
|
|
35077
|
+
|
|
35078
|
+
/**
|
|
35079
|
+
* Safe nested write (auto-create parents).
|
|
35080
|
+
*/
|
|
35081
|
+
export declare function writeSafeObjectNestedKeyRecursively(obj: unknown, path: unknown, value: unknown): Record<string, unknown>;
|
|
35082
|
+
|
|
35017
35083
|
export { }
|