@elyx-code/project-logic-tree 0.0.6866 → 0.0.6867

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 CHANGED
@@ -305,7 +305,9 @@ Same occurs with interpolated values.
305
305
  Only 'input-map' values belonging to the same parent 'search' entity can be used inside the query. Like so: {{::inputMapId}}.
306
306
  If any of the referenced input-maps aren't found in the parent 'search' entity, they will be ignored and SAFELY removed from the query, no errors are shown.
307
307
  A query (and therefore a 'search' entity) can only reference tables in a single database, if two 'definition-entities' that implement the "persisted" 'built-in-base-entity' belong to two different parent databases, the table selected first will determine what database is being queried, and the other table won't be available for this query.
308
- If any of the referenced entities changes, the project will auto-update the query to reflect the changes.`,Z$=`Persisted entities are an ORM-like system that allows the users to define SQL tables using 'definition-entities' that implement the "persisted" 'built-in-base-entity' (id: '${ne["built-in-base-entity"].BUILT_IN_PERSISTED_ENTITY_ENTITY.id}').
308
+ If any of the referenced entities changes, the project will auto-update the query to reflect the changes.
309
+
310
+ Unfortunately no SQL functions are yet supported, so you can't do \`COALESCE()\`, \`ROUND()\`, \`NOW()\`, \`COUNT()\` or any other function.`,Z$=`Persisted entities are an ORM-like system that allows the users to define SQL tables using 'definition-entities' that implement the "persisted" 'built-in-base-entity' (id: '${ne["built-in-base-entity"].BUILT_IN_PERSISTED_ENTITY_ENTITY.id}').
309
311
  If they are correctly linked to a database entity, these tables will then come with methods and built-in under the hood functionality to behave like SQL tables and when the project is published, they will generate in-code SQL migrations to generate or recover the corresponding tables in the given database.`,H$=`To attach a persisted entity to a database, you need to set the 'valueAsTypeSingle' field of the 'defaultValue' of the static property that implements the built-in 'property' entity with the id '${ne["built-in-base-entity"].BUILT_IN_PERSISTED_ENTITY_ENTITY.properties.database.id}'.
310
312
  Definition entities have a list of child properties under the 'properties' field. If they implement said built-in 'property' it designates them as a column.`;var Zi=(l=>(l.PassThroughCallableEntities="pass-through-callable-entities-explanation",l.EntryPointEntities="entry-point-entities-explanation",l.CallerEntities="caller-entities-explanation",l.CallableEntities="callable-entities-explanation",l.CallsUpdate="calls-update-explanation",l.BreakAndContinueStatements="break-and-continue-statements-explanation",l.ReturnStatement="return-statement-explanation",l.VariableDataTypeInferrance="variable-data-type-inferrance-explanation",l.NonInteractiveBaseEntities="non-interactive-base-entities-explanation",l.ValueReadingEntities="value-reading-entities-explanation",l.ValueWritingEntities="value-writing-entities-explanation",l.PropertyNotValueReaderWriter="property-not-value-reader-writer-explanation",l.EntitiesWithValues="entities-with-values-explanation",l.AIValueConnectionGenerationAction="ai-value-connection-generation-action-explanation",l.ParentAutoCalculationFromCaller="parent-auto-calculation-from-caller-explanation",l.DataTypeEntityField="data-type-entity-field-explanation",l.DataTypeEntityFieldOptions="data-type-entity-field-options-explanation",l.PropertyParentField="property-parent-field-explanation",l.PropertyParentFieldOptions="property-parent-field-options-explanation",l.MethodParentFieldOptions="method-parent-field-options-explanation",l.AllAvailableValueReaderEntities="all-available-value-reader-entities-explanation",l.AllAvailableValueWriterEntities="all-available-value-writer-entities-explanation",l.AvailableValueReadersForGivenWriter="available-value-readers-for-given-writer-explanation",l.AvailableValueWritersForGivenReader="available-value-writers-for-given-reader-explanation",l.AllAvailableCallableEntities="all-available-callable-entities-explanation",l.AllAvailableEntryPointEntities="all-available-entry-point-entities-explanation",l.AllAvailablePassThroughCallableEntities="all-available-pass-through-callable-entities-explanation",l.AllAvailableCallerEntities="all-available-caller-entities-explanation",l.AllAvailableTerminationEntities="all-available-termination-entities-explanation",l.AllAvailableCallerEntitiesForGivenCallee="all-available-caller-entities-for-given-callee-explanation",l.AllAvailableCalleeEntitiesForGivenCaller="all-available-callee-entities-for-given-caller-explanation",l.AllAvailableGlobalFunctionDeclarationsForFunctionCall="all-available-global-function-declarations-for-function-call-explanation",l.AllNoneInteractiveBaseEntities="all-non-interactive-base-entities-explanation",l.AllOperationActionDescriptors="all-operation-action-descriptors-explanation",l.AllConditionActionDescriptors="all-condition-action-descriptors-explanation",l.AllLoopActionDescriptors="all-loop-action-descriptors-explanation",l.AllGlobalEventsActionDescriptors="all-global-events-action-descriptors-explanation",l.DefinitionEntities="definition-entities-explanation",l.PropertyImplementationAndExtensionAutoEnrichment="property-implementation-and-extension-auto-enrichment-explanation",l.MethodImplementationAndExtensionAutoEnrichment="method-implementation-and-extension-auto-enrichment-explanation",l.ActualOwnersOfMisplacedProperties="actual-owners-of-misplaced-properties-explanation",l.EditingProperties="editing-properties-explanation",l.MutableMetaProperties="mutable-meta-properties-explanation",l.InmutableMetaProperties="inmutable-meta-properties-explanation",l.InmutableUpstreamProperties="inmutable-upstream-properties-explanation",l.DownstreamProperties="downstream-properties-explanation",l.FullEditingProperties="full-editing-properties-explanation",l.OutputMapsAutogeneration="output-maps-autogeneration-explanation",l.AvailableOutputMapsForGivenParentCallableEntity="available-output-maps-for-given-parent-callable-entity-explanation",l.InputMapsAutogeneration="input-maps-autogeneration-explanation",l.InternalCallsAutogeneration="internal-calls-autogeneration-explanation",l.AvailableInputMapsForGivenParentCallableEntity="available-input-maps-for-given-parent-callable-entity-explanation",l.AvailableInternalCallsForGivenVariablesDataTypeEntity="available-internal-calls-for-given-variables-data-type-entity-explanation",l.NonAvailableInternalCallsWithSameDeclarationInExistingInstanciatedVariables="non-available-internal-calls-with-same-declaration-in-existing-instanciated-variables-explanation",l.AvailableInternalCallsWithSameDeclarationInExistingInstanciatedVariables="available-internal-calls-with-same-declaration-in-existing-instanciated-variables-explanation",l.AvailableInternalCallsOfAnyDeclarationInAllInstanciatedVariablesDataTypeEntities="available-internal-calls-of-any-declaration-in-all-instanciated-variables-data-type-entities-explanation",l.AllAvailableMethodsThatCanBeCalledAsInternalCalls="all-available-methods-that-can-be-called-as-internal-calls",l.InternalCalls="internal-calls-explanation",l.ReasonsForMethodsNotAvailableAsInternalCalls="reasons-for-methods-not-available-as-internal-calls-explanation",l.AllNonInteractiveDefinitionEntities="all-non-interactive-definition-entities-explanation",l.AllStaticAndAbstractDefinitionEntities="all-static-and-abstract-definition-entities-explanation",l.AllStaticNonAbstractDefinitionEntities="all-static-non-abstract-definition-entities-explanation",l.AllAbstractNonStaticDefinitionEntities="all-abstract-non-static-definition-entities-explanation",l.AllInstanciatableDefinitionEntities="all-instantiatable-definition-entities-explanation",l.AutoReplacedExistingValueWriterForNewGiven="auto-replaced-existing-value-writer-for-new-given-explanation",l.AutoResolvedCalledByBasedOnValueWriter="auto-resolved-calledBy-based-on-value-writer-explanation",l.AllAvailableColumnNamesForSQLEnrichmentInCurrentQuery="all-available-column-names-for-sql-enrichment-in-current-query-explanation",l.AllPropertiesThatCouldBeSelectedAsColumnsInSQLQuery="all-properties-that-could-be-selected-as-columns-in-sql-query-explanation",l.AllTableNamesForSQLEnrichmentForGivenDatabase="all-table-names-for-sql-enrichment-for-given-database-explanation",l.AllTableNamesForSQLEnrichment="all-table-names-for-sql-enrichment-explanation",l.SearchStatementHydration="search-statement-hydration-explanation",l.PersistedEntities="persisted-entities-explanation",l.AttachingPersistedEntitiesToDatabases="attaching-persisted-entities-to-databases-explanation",l.FullSQLSelectableBreakdown="full-sql-selectable-breakdown-explanation",l.CurrentlyUnattachedPersistedEntities="currently-unattached-persisted-entities-explanation",l.ReferencedInputDeclarationReplacedWithInputMapInQuery="referenced-input-declaration-replaced-with-input-map-in-query-explanation",l))(Zi||{});function ep(l){return`\`\`\`json
311
313
  ${typeof l=="string"?l:JSON.stringify(l,null,2)}
package/dist/index.d.ts CHANGED
@@ -31792,7 +31792,7 @@ export declare enum BaseValueDescriptorIds {
31792
31792
  SameBothGlobal = "same-both-global"
31793
31793
  }
31794
31794
 
31795
- export declare const SEARCH_STATEMENT_HYDRATION_EXPLANATION = "The 'query' field of 'search' entities gets stored naivly as pure text, but when we interact with it, it gets just-in-time hydration against the existing project state to become a fully typed SQL AST.\nThis means that you can write any raw SQL query in the 'query' field, and the project checks that any column and table references are actually found in the project.\nSpecifically the names of the 'properties' of any 'definition-entity' that implements the \"persisted\" 'built-in-base-entity' are matched against any columns and tables, respectively, found in the query.\nDefinition entity names are turned into table names by converting them to pascal case. For example \"My new Entity\" turns into \"MyNewEntity\".\nProperty names are turned into column names by converting them to camel case. For example \"My new property\" turns into \"myNewProperty\".\nIf any of the referenced tables or columns aren't found in the project, an error is shown and the referenced is SAFELY removed from the query.\nSame occurs with interpolated values.\nOnly 'input-map' values belonging to the same parent 'search' entity can be used inside the query. Like so: {{::inputMapId}}.\nIf any of the referenced input-maps aren't found in the parent 'search' entity, they will be ignored and SAFELY removed from the query, no errors are shown.\nA query (and therefore a 'search' entity) can only reference tables in a single database, if two 'definition-entities' that implement the \"persisted\" 'built-in-base-entity' belong to two different parent databases, the table selected first will determine what database is being queried, and the other table won't be available for this query.\nIf any of the referenced entities changes, the project will auto-update the query to reflect the changes.";
31795
+ export declare const SEARCH_STATEMENT_HYDRATION_EXPLANATION = "The 'query' field of 'search' entities gets stored naivly as pure text, but when we interact with it, it gets just-in-time hydration against the existing project state to become a fully typed SQL AST.\nThis means that you can write any raw SQL query in the 'query' field, and the project checks that any column and table references are actually found in the project.\nSpecifically the names of the 'properties' of any 'definition-entity' that implements the \"persisted\" 'built-in-base-entity' are matched against any columns and tables, respectively, found in the query.\nDefinition entity names are turned into table names by converting them to pascal case. For example \"My new Entity\" turns into \"MyNewEntity\".\nProperty names are turned into column names by converting them to camel case. For example \"My new property\" turns into \"myNewProperty\".\nIf any of the referenced tables or columns aren't found in the project, an error is shown and the referenced is SAFELY removed from the query.\nSame occurs with interpolated values.\nOnly 'input-map' values belonging to the same parent 'search' entity can be used inside the query. Like so: {{::inputMapId}}.\nIf any of the referenced input-maps aren't found in the parent 'search' entity, they will be ignored and SAFELY removed from the query, no errors are shown.\nA query (and therefore a 'search' entity) can only reference tables in a single database, if two 'definition-entities' that implement the \"persisted\" 'built-in-base-entity' belong to two different parent databases, the table selected first will determine what database is being queried, and the other table won't be available for this query.\nIf any of the referenced entities changes, the project will auto-update the query to reflect the changes.\n\nUnfortunately no SQL functions are yet supported, so you can't do `COALESCE()`, `ROUND()`, `NOW()`, `COUNT()` or any other function.";
31796
31796
 
31797
31797
  export declare enum SearchDependencyField {
31798
31798
  Parent = "search-parent-field",
package/dist/index.js CHANGED
@@ -174617,7 +174617,9 @@ Same occurs with interpolated values.
174617
174617
  Only 'input-map' values belonging to the same parent 'search' entity can be used inside the query. Like so: {{::inputMapId}}.
174618
174618
  If any of the referenced input-maps aren't found in the parent 'search' entity, they will be ignored and SAFELY removed from the query, no errors are shown.
174619
174619
  A query (and therefore a 'search' entity) can only reference tables in a single database, if two 'definition-entities' that implement the "persisted" 'built-in-base-entity' belong to two different parent databases, the table selected first will determine what database is being queried, and the other table won't be available for this query.
174620
- If any of the referenced entities changes, the project will auto-update the query to reflect the changes.`, f6 = `Persisted entities are an ORM-like system that allows the users to define SQL tables using 'definition-entities' that implement the "persisted" 'built-in-base-entity' (id: '${re["built-in-base-entity"].BUILT_IN_PERSISTED_ENTITY_ENTITY.id}').
174620
+ If any of the referenced entities changes, the project will auto-update the query to reflect the changes.
174621
+
174622
+ Unfortunately no SQL functions are yet supported, so you can't do \`COALESCE()\`, \`ROUND()\`, \`NOW()\`, \`COUNT()\` or any other function.`, f6 = `Persisted entities are an ORM-like system that allows the users to define SQL tables using 'definition-entities' that implement the "persisted" 'built-in-base-entity' (id: '${re["built-in-base-entity"].BUILT_IN_PERSISTED_ENTITY_ENTITY.id}').
174621
174623
  If they are correctly linked to a database entity, these tables will then come with methods and built-in under the hood functionality to behave like SQL tables and when the project is published, they will generate in-code SQL migrations to generate or recover the corresponding tables in the given database.`, y6 = `To attach a persisted entity to a database, you need to set the 'valueAsTypeSingle' field of the 'defaultValue' of the static property that implements the built-in 'property' entity with the id '${re["built-in-base-entity"].BUILT_IN_PERSISTED_ENTITY_ENTITY.properties.database.id}'.
174622
174624
  Definition entities have a list of child properties under the 'properties' field. If they implement said built-in 'property' it designates them as a column.`;
174623
174625
  var Si = /* @__PURE__ */ ((l) => (l.PassThroughCallableEntities = "pass-through-callable-entities-explanation", l.EntryPointEntities = "entry-point-entities-explanation", l.CallerEntities = "caller-entities-explanation", l.CallableEntities = "callable-entities-explanation", l.CallsUpdate = "calls-update-explanation", l.BreakAndContinueStatements = "break-and-continue-statements-explanation", l.ReturnStatement = "return-statement-explanation", l.VariableDataTypeInferrance = "variable-data-type-inferrance-explanation", l.NonInteractiveBaseEntities = "non-interactive-base-entities-explanation", l.ValueReadingEntities = "value-reading-entities-explanation", l.ValueWritingEntities = "value-writing-entities-explanation", l.PropertyNotValueReaderWriter = "property-not-value-reader-writer-explanation", l.EntitiesWithValues = "entities-with-values-explanation", l.AIValueConnectionGenerationAction = "ai-value-connection-generation-action-explanation", l.ParentAutoCalculationFromCaller = "parent-auto-calculation-from-caller-explanation", l.DataTypeEntityField = "data-type-entity-field-explanation", l.DataTypeEntityFieldOptions = "data-type-entity-field-options-explanation", l.PropertyParentField = "property-parent-field-explanation", l.PropertyParentFieldOptions = "property-parent-field-options-explanation", l.MethodParentFieldOptions = "method-parent-field-options-explanation", l.AllAvailableValueReaderEntities = "all-available-value-reader-entities-explanation", l.AllAvailableValueWriterEntities = "all-available-value-writer-entities-explanation", l.AvailableValueReadersForGivenWriter = "available-value-readers-for-given-writer-explanation", l.AvailableValueWritersForGivenReader = "available-value-writers-for-given-reader-explanation", l.AllAvailableCallableEntities = "all-available-callable-entities-explanation", l.AllAvailableEntryPointEntities = "all-available-entry-point-entities-explanation", l.AllAvailablePassThroughCallableEntities = "all-available-pass-through-callable-entities-explanation", l.AllAvailableCallerEntities = "all-available-caller-entities-explanation", l.AllAvailableTerminationEntities = "all-available-termination-entities-explanation", l.AllAvailableCallerEntitiesForGivenCallee = "all-available-caller-entities-for-given-callee-explanation", l.AllAvailableCalleeEntitiesForGivenCaller = "all-available-callee-entities-for-given-caller-explanation", l.AllAvailableGlobalFunctionDeclarationsForFunctionCall = "all-available-global-function-declarations-for-function-call-explanation", l.AllNoneInteractiveBaseEntities = "all-non-interactive-base-entities-explanation", l.AllOperationActionDescriptors = "all-operation-action-descriptors-explanation", l.AllConditionActionDescriptors = "all-condition-action-descriptors-explanation", l.AllLoopActionDescriptors = "all-loop-action-descriptors-explanation", l.AllGlobalEventsActionDescriptors = "all-global-events-action-descriptors-explanation", l.DefinitionEntities = "definition-entities-explanation", l.PropertyImplementationAndExtensionAutoEnrichment = "property-implementation-and-extension-auto-enrichment-explanation", l.MethodImplementationAndExtensionAutoEnrichment = "method-implementation-and-extension-auto-enrichment-explanation", l.ActualOwnersOfMisplacedProperties = "actual-owners-of-misplaced-properties-explanation", l.EditingProperties = "editing-properties-explanation", l.MutableMetaProperties = "mutable-meta-properties-explanation", l.InmutableMetaProperties = "inmutable-meta-properties-explanation", l.InmutableUpstreamProperties = "inmutable-upstream-properties-explanation", l.DownstreamProperties = "downstream-properties-explanation", l.FullEditingProperties = "full-editing-properties-explanation", l.OutputMapsAutogeneration = "output-maps-autogeneration-explanation", l.AvailableOutputMapsForGivenParentCallableEntity = "available-output-maps-for-given-parent-callable-entity-explanation", l.InputMapsAutogeneration = "input-maps-autogeneration-explanation", l.InternalCallsAutogeneration = "internal-calls-autogeneration-explanation", l.AvailableInputMapsForGivenParentCallableEntity = "available-input-maps-for-given-parent-callable-entity-explanation", l.AvailableInternalCallsForGivenVariablesDataTypeEntity = "available-internal-calls-for-given-variables-data-type-entity-explanation", l.NonAvailableInternalCallsWithSameDeclarationInExistingInstanciatedVariables = "non-available-internal-calls-with-same-declaration-in-existing-instanciated-variables-explanation", l.AvailableInternalCallsWithSameDeclarationInExistingInstanciatedVariables = "available-internal-calls-with-same-declaration-in-existing-instanciated-variables-explanation", l.AvailableInternalCallsOfAnyDeclarationInAllInstanciatedVariablesDataTypeEntities = "available-internal-calls-of-any-declaration-in-all-instanciated-variables-data-type-entities-explanation", l.AllAvailableMethodsThatCanBeCalledAsInternalCalls = "all-available-methods-that-can-be-called-as-internal-calls", l.InternalCalls = "internal-calls-explanation", l.ReasonsForMethodsNotAvailableAsInternalCalls = "reasons-for-methods-not-available-as-internal-calls-explanation", l.AllNonInteractiveDefinitionEntities = "all-non-interactive-definition-entities-explanation", l.AllStaticAndAbstractDefinitionEntities = "all-static-and-abstract-definition-entities-explanation", l.AllStaticNonAbstractDefinitionEntities = "all-static-non-abstract-definition-entities-explanation", l.AllAbstractNonStaticDefinitionEntities = "all-abstract-non-static-definition-entities-explanation", l.AllInstanciatableDefinitionEntities = "all-instantiatable-definition-entities-explanation", l.AutoReplacedExistingValueWriterForNewGiven = "auto-replaced-existing-value-writer-for-new-given-explanation", l.AutoResolvedCalledByBasedOnValueWriter = "auto-resolved-calledBy-based-on-value-writer-explanation", l.AllAvailableColumnNamesForSQLEnrichmentInCurrentQuery = "all-available-column-names-for-sql-enrichment-in-current-query-explanation", l.AllPropertiesThatCouldBeSelectedAsColumnsInSQLQuery = "all-properties-that-could-be-selected-as-columns-in-sql-query-explanation", l.AllTableNamesForSQLEnrichmentForGivenDatabase = "all-table-names-for-sql-enrichment-for-given-database-explanation", l.AllTableNamesForSQLEnrichment = "all-table-names-for-sql-enrichment-explanation", l.SearchStatementHydration = "search-statement-hydration-explanation", l.PersistedEntities = "persisted-entities-explanation", l.AttachingPersistedEntitiesToDatabases = "attaching-persisted-entities-to-databases-explanation", l.FullSQLSelectableBreakdown = "full-sql-selectable-breakdown-explanation", l.CurrentlyUnattachedPersistedEntities = "currently-unattached-persisted-entities-explanation", l.ReferencedInputDeclarationReplacedWithInputMapInQuery = "referenced-input-declaration-replaced-with-input-map-in-query-explanation", l))(Si || {});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elyx-code/project-logic-tree",
3
- "version": "0.0.6866",
3
+ "version": "0.0.6867",
4
4
  "author": "Sergio Herrero",
5
5
  "license": "UNLICENSED",
6
6
  "description": "An installable module which contains the type definitions and ephemeral state management for a projects' logic tree data structure",