@elyx-code/project-logic-tree 0.0.6703 → 0.0.6705
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 +22 -22
- package/dist/index.js +936 -905
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -39,7 +39,7 @@ const lM = {
|
|
|
39
39
|
},
|
|
40
40
|
fromUUID: (o) => o
|
|
41
41
|
};
|
|
42
|
-
var d = /* @__PURE__ */ ((o) => (o.DefinitionEntity = "definition-entity", o.BuiltInBaseEntity = "built-in-base-entity", o.Project = "project", o.InstalledProject = "installed-project", o.GlobalEvent = "global-event", o.DataType = "data-type", o.FunctionCall = "function-call", o.FunctionDeclaration = "function-declaration", o.ActionDescriptor = "action-descriptor", o.ValueDescriptor = "value-descriptor", o.ArgumentDeclaration = "argument-declaration", o.InputMap = "input-map", o.ReturnStatement = "return-statement", o.BreakStatement = "break-statement", o.ContinueStatement = "continue-statement", o.OutputMap = "output-map", o.PrimitiveEntity = "primitive-entity", o.LiteralValue = "literal-value", o.Property = "property", o.Operation = "operation", o.Condition = "condition", o.VariableDeclaration = "variable-declaration", o.VariableInstance = "variable-instance", o.Search = "search", o.Loop = "loop", o.InternalCall = "internal-call", o.GenericReference = "generic-reference", o))(d || {}), Re = /* @__PURE__ */ ((o) => (o.HTTP_ENDPOINT = "BUILT_IN_HTTP_ENDPOINT_ENTITY", o.RELATIONAL_DATABASE = "BUILT_IN_RELATIONAL_DATABASE_ENTITY", o.PERSISTED_ENTITY = "BUILT_IN_PERSISTED_ENTITY_ENTITY", o.CRON_JOB = "BUILT_IN_CRON_JOB_ENTITY", o.SQL_ROW_TRANSFORMER = "BUILT_IN_SQL_ROW_TRANSFORMER_ENTITY", o.EXTERNAL_INTEGRATION_CONNECTION = "BUILT_IN_EXTERNAL_INTEGRATION_CONNECTION_ENTITY", o.GOOGLE_AUTH_CONNECTION = "BUILT_IN_EXTERNAL_INTEGRATION_CONNECTION_GOOGLE_AUTH", o.GOOGLE_DRIVE_AUTH_CONNECTION = "BUILT_IN_EXTERNAL_INTEGRATION_CONNECTION_GOOGLE-DRIVE_AUTH", o.GOOGLE_MAIL_AUTH_CONNECTION = "BUILT_IN_EXTERNAL_INTEGRATION_CONNECTION_GOOGLE-MAIL_AUTH", o.GOOGLE_SHEET_AUTH_CONNECTION = "BUILT_IN_EXTERNAL_INTEGRATION_CONNECTION_GOOGLE-SHEET_AUTH", o.GOOGLE_SLIDES_AUTH_CONNECTION = "BUILT_IN_EXTERNAL_INTEGRATION_CONNECTION_GOOGLE-SLIDES_AUTH", o.GOOGLE_GEMINI_AUTH_CONNECTION = "BUILT_IN_EXTERNAL_INTEGRATION_CONNECTION_GOOGLE-GEMINI_AUTH", o.SLACK_AUTH_CONNECTION = "BUILT_IN_EXTERNAL_INTEGRATION_CONNECTION_SLACK_AUTH", o.AIRTABLE_AUTH_CONNECTION = "BUILT_IN_EXTERNAL_INTEGRATION_CONNECTION_AIRTABLE_AUTH", o.MICROSOFT_AUTH_CONNECTION = "BUILT_IN_EXTERNAL_INTEGRATION_CONNECTION_MICROSOFT_AUTH", o.OPENAI_AUTH_CONNECTION = "BUILT_IN_EXTERNAL_INTEGRATION_CONNECTION_OPENAI_AUTH", o.ATLASSIAN_AUTH_CONNECTION = "BUILT_IN_EXTERNAL_INTEGRATION_CONNECTION_ATLASSIAN_AUTH", o.JIRA_AUTH_CONNECTION = "BUILT_IN_EXTERNAL_INTEGRATION_CONNECTION_JIRA_AUTH", o))(Re || {}), Fr = /* @__PURE__ */ ((o) => (o.CurrentDateAndTime = "current-date-and-time", o.Unique = "unique", o.Random = "random", o))(Fr || {}), oe = /* @__PURE__ */ ((o) => (o.Bytes = "bytes", o.EntityTemplate = "entity-template", o.ActionDescriptor = "action-descriptor", o.String = "string", o.Number = "number", o.Void = "void", o.Boolean = "boolean", o.Null = "null", o.Enum = "enum", o.KeyValue = "key-value", o.Date = "date", o.UUID = "uuid", o.File = "file", o.Untyped = "untyped", o))(oe || {}), ee = /* @__PURE__ */ ((o) => (o.Addition = "op-number-addition", o.Subtraction = "op-number-subtraction", o.Multiplication = "op-number-multiplication", o.Division = "op-number-division", o.Remainder = "op-number-remainder", o.Exponentiation = "op-number-exponentiation", o.Negate = "op-number-negate", o.Absolute = "op-number-absolute", o.Sign = "op-number-sign", o.Round = "op-number-round", o.Floor = "op-number-floor", o.Ceil = "op-number-ceil", o.Trunc = "op-number-trunc", o.RoundToDecimals = "op-number-round-to-decimals", o.SnapToStep = "op-number-snap-to-step", o.Clamp = "op-number-clamp", o.MapRange = "op-number-map-range", o.Average = "op-number-average", o.Median = "op-number-median", o.MinOf = "op-number-min-of", o.MaxOf = "op-number-max-of", o.SquareRoot = "op-number-square-root", o.CubeRoot = "op-number-cube-root", o.NthRoot = "op-number-nth-root", o.Exp = "op-number-exp", o.LogNatural = "op-number-log", o.Log10 = "op-number-log10", o.Sin = "op-number-sin", o.Cos = "op-number-cos", o.Tan = "op-number-tan", o.Asin = "op-number-asin", o.Acos = "op-number-acos", o.Atan = "op-number-atan", o.Atan2 = "op-number-atan2", o.ToRadians = "op-number-to-radians", o.ToDegrees = "op-number-to-degrees", o.PercentOf = "op-number-percent-of", o.PercentageChange = "op-number-percentage-change", o.LessThan = "op-number-less-than", o.MoreThan = "op-number-more-than", o.LessThanOrEqual = "op-number-less-than-or-equal", o.MoreThanOrEqual = "op-number-more-than-or-equal", o))(ee || {}), tt = /* @__PURE__ */ ((o) => (o.GenerateRandomInteger = "op-generate-random-integer", o.GenerateRandomBytes = "op-generate-random-bytes", o.GenerateRandomFloat = "op-generate-random-float", o.GenerateRandomHexadecimal = "op-generate-random-hexadecimal", o.GenerateRandomBase62 = "op-generate-random-base62", o.GenerateRandomBase64 = "op-generate-random-base64", o.GenerateRandomAlphanumeric = "op-generate-random-alphanumeric", o.GenerateIdentifier = "op-generate-identifier", o.GenerateRandomUUIDv4 = "op-generate-random-uuidv4", o.GenerateShortIdentifier = "op-generate-short-identifier", o.GenerateHexadecimalToken = "op-generate-hexadecimal-token", o))(tt || {}), S = /* @__PURE__ */ ((o) => (o.GetLength = "op-string-get-length", o.Join = "op-string-join", o.SplitAtIndex = "op-string-split-at-index", o.SplitAtAllSeparators = "op-string-split-at-all-separators", o.SplitAtFirstSeparator = "op-string-split-at-first-separator", o.SplitAtLastSeparator = "op-string-split-at-last-separator", o.DeleteLastNChars = "op-string-delete-last-n-chars", o.DeleteFirstNChars = "op-string-delete-first-n-chars", o.DeleteAtIndex = "op-string-delete-at-index", o.AddAtIndex = "op-string-add-at-index", o.ReplaceFirstNChars = "op-string-replace-n-chars-first", o.ReplaceLastNChars = "op-string-replace-n-chars-last", o.ReplaceAtIndex = "op-string-replace-at-index", o.ReplaceFirstMatch = "op-string-replace-first-match", o.ReplaceLastMatch = "op-string-replace-last-match", o.ReplaceAllMatches = "op-string-replace-all-matches", o.GetIndexItem = "op-string-get-index-item", o.GetFirstNChars = "op-string-get-first-n-chars", o.GetLastNChars = "op-string-get-last-n-chars", o.GetIndexOf = "op-string-get-index-of", o.GetLastIndexOf = "op-string-get-last-index-of", o.Append = "op-string-append", o.Prepend = "op-string-prepend", o.Reverse = "op-string-reverse", o.ToLowerCase = "op-string-to-lower-case", o.ToUpperCase = "op-string-to-upper-case", o.Trim = "op-string-trim", o.TrimStart = "op-string-trim-start", o.TrimEnd = "op-string-trim-end", o.Substring = "op-string-substring", o.Slice = "op-string-slice", o.PadStart = "op-string-pad-start", o.PadEnd = "op-string-pad-end", o.Repeat = "op-string-repeat", o.MatchRegex = "op-string-match-regex", o.MatchAllRegex = "op-string-match-all-regex", o.SearchRegex = "op-string-search-regex", o.ReplaceRegex = "op-string-replace-regex", o.NormalizeUnicode = "op-string-normalize-unicode", o.RemoveDiacritics = "op-string-remove-diacritics", o.CountOccurrences = "op-string-count-occurrences", o.EnsurePrefix = "op-string-ensure-prefix", o.EnsureSuffix = "op-string-ensure-suffix", o.RemovePrefix = "op-string-remove-prefix", o.RemoveSuffix = "op-string-remove-suffix", o.StartsWith = "op-string-starts-with", o.EndsWith = "op-string-ends-with", o.Contains = "op-string-contains", o.MatchesRegex = "op-string-matches-regex", o))(S || {}), te = /* @__PURE__ */ ((o) => (o.GetLength = "op-list-get-length", o.Join = "op-list-join", o.Split = "op-list-split", o.DeleteLastNItems = "op-list-delete-last-n-items", o.DeleteFirstNItems = "op-list-delete-first-n-items", o.DeleteAtIndex = "op-list-delete-at-index", o.AddAtIndex = "op-list-add-at-index", o.ReplaceFirstNItems = "op-list-replace-n-items-first", o.ReplaceLastNItems = "op-list-replace-n-items-last", o.ReplaceAll = "op-list-replace-all", o.ReplaceAtIndex = "op-list-replace-at-index", o.GetIndexItem = "op-list-get-index-item", o.GetFirst = "op-list-get-first", o.GetLast = "op-list-get-last", o.GetFirstNItems = "op-list-get-first-n-items", o.GetLastNItems = "op-list-get-last-n-items", o.Append = "op-list-append", o.Prepend = "op-list-prepend", o.Reverse = "op-list-reverse", o.Slice = "op-list-slice", o.Concat = "op-list-concat", o.GetIndexOf = "op-list-get-index-of", o.GetLastIndexOf = "op-list-get-last-index-of", o.Unique = "op-list-unique", o.Flatten = "op-list-flatten", o.Sort = "op-list-sort", o.Shuffle = "op-list-shuffle", o.Chunk = "op-list-chunk", o.PadStart = "op-list-pad-start", o.PadEnd = "op-list-pad-end", o.Repeat = "op-list-repeat", o.Contains = "op-list-contains", o.ContainsAll = "op-list-contains-all", o.ContainsAny = "op-list-contains-any", o))(te || {}), j = /* @__PURE__ */ ((o) => (o.GetCurrentTimestamp = "op-date-get-current-timestamp", o.FormatDate = "op-date-format-date", o.ParseDate = "op-date-parse-date", o.AddToDate = "op-date-add-to-date", o.SubtractFromDate = "op-date-subtract-from-date", o.DifferenceBetweenDates = "op-date-difference-between-dates", o.ToDate = "op-date-to-date", o.ToUnix = "op-date-to-unix", o.FromUnix = "op-date-from-unix", o.ToISOString = "op-date-to-iso-string", o.GetYear = "op-date-get-year", o.GetMonth = "op-date-get-month", o.GetDate = "op-date-get-date", o.GetHour = "op-date-get-hour", o.GetMinute = "op-date-get-minute", o.GetSecond = "op-date-get-second", o.GetMillisecond = "op-date-get-millisecond", o.GetIsoWeekday = "op-date-get-iso-weekday", o.GetWeekOfYear = "op-date-get-week-of-year", o.GetQuarter = "op-date-get-quarter", o.GetDayOfYear = "op-date-get-day-of-year", o.GetDaysInMonth = "op-date-get-days-in-month", o.GetCurrentIanaTimeZone = "op-date-get-current-iana-timezone", o.SetYear = "op-date-set-year", o.SetMonth = "op-date-set-month", o.SetDate = "op-date-set-date", o.SetHour = "op-date-set-hour", o.SetMinute = "op-date-set-minute", o.SetSecond = "op-date-set-second", o.SetMillisecond = "op-date-set-millisecond", o.SetIsoWeekday = "op-date-set-iso-weekday", o.SetQuarter = "op-date-set-quarter", o.StartOf = "op-date-start-of", o.EndOf = "op-date-end-of", o.RoundTo = "op-date-round-to", o.ClampToRange = "op-date-clamp-to-range", o.MinOf = "op-date-min-of", o.MaxOf = "op-date-max-of", o.FromNow = "op-date-from-now", o.ToNow = "op-date-to-now", o.HumanizeDiff = "op-date-humanize-diff", o.AddBusinessDays = "op-date-add-business-days", o.NextWeekday = "op-date-next-weekday", o.PreviousWeekday = "op-date-previous-weekday", o.ToUTC = "op-date-to-utc", o.ConvertTimezone = "op-date-convert-timezone", o.GetTimezoneOffset = "op-date-get-timezone-offset", o.SetUTCOffset = "op-date-set-utc-offset", o.IsBefore = "op-date-is-before", o.IsAfter = "op-date-is-after", o.IsSame = "op-date-is-same", o.IsSameOrBefore = "op-date-is-same-or-before", o.IsSameOrAfter = "op-date-is-same-or-after", o.IsBetween = "op-date-is-between", o.IsValid = "op-date-is-valid", o.IsLeapYear = "op-date-is-leap-year", o))(j || {}), Ki = /* @__PURE__ */ ((o) => (o.Parallel = "op-execution-parallel", o.Sequential = "op-execution-sequential", o.Wait = "op-execution-wait", o))(Ki || {}), Oe = /* @__PURE__ */ ((o) => (o.Validate = "op-object-validate", o.ReadKey = "op-object-read-key", o.WriteKey = "op-object-write-key", o.DeleteKey = "op-object-delete-key", o.ReadNestedKey = "op-object-read-nested-key", o.WriteNestedKey = "op-object-write-nested-key", o.WriteSafeNestedKeyRecursively = "op-object-write-safe-nested-key-recursively", o.DeleteNestedKey = "op-object-delete-nested-key", o.HasKey = "op-object-has-key", o.KeyValueEquals = "op-object-key-value-equals", o.HasNestedKey = "op-object-has-nested-key", o.NestedKeyValueEquals = "op-object-nested-key-value-equals", o.IsInstanceOfType = "op-object-is-instance-of-type", o.Merge = "op-object-merge", o.Keys = "op-object-keys", o.Values = "op-object-values", o.Entries = "op-object-entries", o))(Oe || {}), ra = /* @__PURE__ */ ((o) => (o.HttpRequest = "op-base-http-request", o))(ra || {}), Je = /* @__PURE__ */ ((o) => (o.GetTypeOf = "op-data-type-get-type-of", o.ToString = "op-data-type-to-string", o.ToNumber = "op-data-type-to-number", o.ToBytes = "op-data-type-to-bytes", o.FromBytesToString = "op-data-type-from-bytes-to-string", o.EncodeBase64 = "op-data-type-encode-base64", o.DecodeBase64 = "op-data-type-decode-base64", o.EncodeBase64Url = "op-data-type-encode-base64url", o.DecodeBase64Url = "op-data-type-decode-base64url", o.EncodeHex = "op-data-type-encode-hex", o.DecodeHex = "op-data-type-decode-hex", o))(Je || {}), ln = /* @__PURE__ */ ((o) => (o.Parse = "op-json-parse", o.Stringify = "op-json-stringify", o))(ln || {}), Ai = /* @__PURE__ */ ((o) => (o.Hash = "op-crypto-hash", o.Hmac = "op-crypto-hmac", o.ConstantTimeEqual = "op-crypto-constant-time-equal", o.DeriveKeyPBKDF2 = "op-crypto-derive-key-pbkdf2", o))(Ai || {}), on = /* @__PURE__ */ ((o) => (o.HashPasswordPBKDF2 = "op-password-hash-pbkdf2", o.VerifyPasswordPBKDF2 = "op-password-verify-pbkdf2", o))(on || {}), er = /* @__PURE__ */ ((o) => (o.BuildJwtHmac = "op-jwt-build-hmac", o.VerifyJwtHmac = "op-jwt-verify-hmac", o.DecodeJwt = "op-jwt-decode", o))(er || {}), ii = /* @__PURE__ */ ((o) => (o.GoogleDriveSmartFetchDocument = "external-integration--google-drive--get--smart-fetch-document", o.GoogleDriveUploadFile = "external-integration--google-drive--post--upload-file", o.GoogleDriveFiles = "external-integration--google-drive--get--files", o.GoogleGeminiGenerateContent = "external-integration--google-gemini--post--generate-content", o.GoogleMailSendEmail = "external-integration--google-mail--post--send-email", o.GoogleMailEmails = "external-integration--google-mail--get--emails", o.SlackSendMessage = "external-integration--slack--post--send-message", o.SlackChannels = "external-integration--slack--get--channels", o.SlackMessages = "external-integration--slack--get--messages", o.SlackReplies = "external-integration--slack--get--replies", o))(ii || {}), Lt = /* @__PURE__ */ ((o) => (o.Empty = "op-comparison-empty", o.NotEmpty = "op-comparison-not-empty", o.PrimitiveEqual = "op-comparison-primitive-equal", o.PrimitiveNotEqual = "op-comparison-primitive-not-equal", o))(Lt || {}), dn = /* @__PURE__ */ ((o) => (o.BooleanIsTrue = "condition-boolean-is-true", o.BooleanIsFalse = "condition-boolean-is-false", o))(dn || {}), hr = /* @__PURE__ */ ((o) => (o.And = "condition-group-and", o.Or = "condition-group-or", o))(hr || {}), ut = /* @__PURE__ */ ((o) => (o.ManualFlow = "manual-flow-loop", o.Counted = "counted-loop", o.List = "list-loop", o.ObjectKeys = "object-keys-loop", o.ObjectValues = "object-values-loop", o.String = "string-loop", o))(ut || {}), M = /* @__PURE__ */ ((o) => (o.FixedArguments = "fixed-arguments", o.ReturnedError = "returned-error", o.OngoingProcessExecution = "ongoing-process-execution", o.DynamicArgument = "dynamic-argument-types", o))(M || {}), He = /* @__PURE__ */ ((o) => (o.OrDataTypeGroup = "or-data-type-group", o.AndDataTypeGroup = "and-data-type-group", o))(He || {}), bo = /* @__PURE__ */ ((o) => (o.PROJECT_PUBLICATION_COMPLETED = "GLOBAL_EVENT_PROJECT_PUBLICATION_COMPLETED", o))(bo || {}), Kr = /* @__PURE__ */ ((o) => (o.DeletePersistedEntity = "base-delete-persisted-entity", o.CreatePersistedEntity = "base-create-persisted-entity", o.UpdatePersistedEntity = "base-update-persisted-entity", o.UpSQLRowTransformer = "base-up-sql-row-transformer", o.DownSQLRowTransformer = "base-down-sql-row-transformer", o.AbortExecution = "base-abort-execution", o))(Kr || {}), Bf = /* @__PURE__ */ ((o) => (o.AllPropertiesImplementationTarget = "all-properties-implementation-target", o))(Bf || {}), du = /* @__PURE__ */ ((o) => (o.Error = "error", o))(du || {}), nu = /* @__PURE__ */ ((o) => (o.Error = "error", o.Task = "task", o.Return = "return", o))(nu || {});
|
|
42
|
+
var d = /* @__PURE__ */ ((o) => (o.DefinitionEntity = "definition-entity", o.BuiltInBaseEntity = "built-in-base-entity", o.Project = "project", o.InstalledProject = "installed-project", o.GlobalEvent = "global-event", o.DataType = "data-type", o.FunctionCall = "function-call", o.FunctionDeclaration = "function-declaration", o.ActionDescriptor = "action-descriptor", o.ValueDescriptor = "value-descriptor", o.ArgumentDeclaration = "argument-declaration", o.InputMap = "input-map", o.ReturnStatement = "return-statement", o.BreakStatement = "break-statement", o.ContinueStatement = "continue-statement", o.OutputMap = "output-map", o.PrimitiveEntity = "primitive-entity", o.LiteralValue = "literal-value", o.Property = "property", o.Operation = "operation", o.Condition = "condition", o.VariableDeclaration = "variable-declaration", o.VariableInstance = "variable-instance", o.Search = "search", o.Loop = "loop", o.InternalCall = "internal-call", o.GenericReference = "generic-reference", o))(d || {}), Re = /* @__PURE__ */ ((o) => (o.HTTP_ENDPOINT = "BUILT_IN_HTTP_ENDPOINT_ENTITY", o.RELATIONAL_DATABASE = "BUILT_IN_RELATIONAL_DATABASE_ENTITY", o.PERSISTED_ENTITY = "BUILT_IN_PERSISTED_ENTITY_ENTITY", o.CRON_JOB = "BUILT_IN_CRON_JOB_ENTITY", o.SQL_ROW_TRANSFORMER = "BUILT_IN_SQL_ROW_TRANSFORMER_ENTITY", o.EXTERNAL_INTEGRATION_CONNECTION = "BUILT_IN_EXTERNAL_INTEGRATION_CONNECTION_ENTITY", o.GOOGLE_AUTH_CONNECTION = "BUILT_IN_EXTERNAL_INTEGRATION_CONNECTION_GOOGLE_AUTH", o.GOOGLE_DRIVE_AUTH_CONNECTION = "BUILT_IN_EXTERNAL_INTEGRATION_CONNECTION_GOOGLE-DRIVE_AUTH", o.GOOGLE_MAIL_AUTH_CONNECTION = "BUILT_IN_EXTERNAL_INTEGRATION_CONNECTION_GOOGLE-MAIL_AUTH", o.GOOGLE_SHEET_AUTH_CONNECTION = "BUILT_IN_EXTERNAL_INTEGRATION_CONNECTION_GOOGLE-SHEET_AUTH", o.GOOGLE_SLIDES_AUTH_CONNECTION = "BUILT_IN_EXTERNAL_INTEGRATION_CONNECTION_GOOGLE-SLIDES_AUTH", o.GOOGLE_GEMINI_AUTH_CONNECTION = "BUILT_IN_EXTERNAL_INTEGRATION_CONNECTION_GOOGLE-GEMINI_AUTH", o.SLACK_AUTH_CONNECTION = "BUILT_IN_EXTERNAL_INTEGRATION_CONNECTION_SLACK_AUTH", o.AIRTABLE_AUTH_CONNECTION = "BUILT_IN_EXTERNAL_INTEGRATION_CONNECTION_AIRTABLE_AUTH", o.MICROSOFT_AUTH_CONNECTION = "BUILT_IN_EXTERNAL_INTEGRATION_CONNECTION_MICROSOFT_AUTH", o.OPENAI_AUTH_CONNECTION = "BUILT_IN_EXTERNAL_INTEGRATION_CONNECTION_OPENAI_AUTH", o.ATLASSIAN_AUTH_CONNECTION = "BUILT_IN_EXTERNAL_INTEGRATION_CONNECTION_ATLASSIAN_AUTH", o.JIRA_AUTH_CONNECTION = "BUILT_IN_EXTERNAL_INTEGRATION_CONNECTION_JIRA_AUTH", o))(Re || {}), Fr = /* @__PURE__ */ ((o) => (o.CurrentDateAndTime = "current-date-and-time", o.Unique = "unique", o.Random = "random", o))(Fr || {}), oe = /* @__PURE__ */ ((o) => (o.Bytes = "bytes", o.EntityTemplate = "entity-template", o.ActionDescriptor = "action-descriptor", o.String = "string", o.Number = "number", o.Void = "void", o.Boolean = "boolean", o.Null = "null", o.Enum = "enum", o.KeyValue = "key-value", o.Date = "date", o.UUID = "uuid", o.File = "file", o.Untyped = "untyped", o))(oe || {}), ee = /* @__PURE__ */ ((o) => (o.Addition = "op-number-addition", o.Subtraction = "op-number-subtraction", o.Multiplication = "op-number-multiplication", o.Division = "op-number-division", o.Remainder = "op-number-remainder", o.Exponentiation = "op-number-exponentiation", o.Negate = "op-number-negate", o.Absolute = "op-number-absolute", o.Sign = "op-number-sign", o.Round = "op-number-round", o.Floor = "op-number-floor", o.Ceil = "op-number-ceil", o.Trunc = "op-number-trunc", o.RoundToDecimals = "op-number-round-to-decimals", o.SnapToStep = "op-number-snap-to-step", o.Clamp = "op-number-clamp", o.MapRange = "op-number-map-range", o.Average = "op-number-average", o.Median = "op-number-median", o.MinOf = "op-number-min-of", o.MaxOf = "op-number-max-of", o.SquareRoot = "op-number-square-root", o.CubeRoot = "op-number-cube-root", o.NthRoot = "op-number-nth-root", o.Exp = "op-number-exp", o.LogNatural = "op-number-log", o.Log10 = "op-number-log10", o.Sin = "op-number-sin", o.Cos = "op-number-cos", o.Tan = "op-number-tan", o.Asin = "op-number-asin", o.Acos = "op-number-acos", o.Atan = "op-number-atan", o.Atan2 = "op-number-atan2", o.ToRadians = "op-number-to-radians", o.ToDegrees = "op-number-to-degrees", o.PercentOf = "op-number-percent-of", o.PercentageChange = "op-number-percentage-change", o.LessThan = "op-number-less-than", o.MoreThan = "op-number-more-than", o.LessThanOrEqual = "op-number-less-than-or-equal", o.MoreThanOrEqual = "op-number-more-than-or-equal", o))(ee || {}), tt = /* @__PURE__ */ ((o) => (o.GenerateRandomInteger = "op-generate-random-integer", o.GenerateRandomBytes = "op-generate-random-bytes", o.GenerateRandomFloat = "op-generate-random-float", o.GenerateRandomHexadecimal = "op-generate-random-hexadecimal", o.GenerateRandomBase62 = "op-generate-random-base62", o.GenerateRandomBase64 = "op-generate-random-base64", o.GenerateRandomAlphanumeric = "op-generate-random-alphanumeric", o.GenerateIdentifier = "op-generate-identifier", o.GenerateRandomUUIDv4 = "op-generate-random-uuidv4", o.GenerateShortIdentifier = "op-generate-short-identifier", o.GenerateHexadecimalToken = "op-generate-hexadecimal-token", o))(tt || {}), S = /* @__PURE__ */ ((o) => (o.GetLength = "op-string-get-length", o.Join = "op-string-join", o.SplitAtIndex = "op-string-split-at-index", o.SplitAtAllSeparators = "op-string-split-at-all-separators", o.SplitAtFirstSeparator = "op-string-split-at-first-separator", o.SplitAtLastSeparator = "op-string-split-at-last-separator", o.DeleteLastNChars = "op-string-delete-last-n-chars", o.DeleteFirstNChars = "op-string-delete-first-n-chars", o.DeleteAtIndex = "op-string-delete-at-index", o.AddAtIndex = "op-string-add-at-index", o.ReplaceFirstNChars = "op-string-replace-n-chars-first", o.ReplaceLastNChars = "op-string-replace-n-chars-last", o.ReplaceAtIndex = "op-string-replace-at-index", o.ReplaceFirstMatch = "op-string-replace-first-match", o.ReplaceLastMatch = "op-string-replace-last-match", o.ReplaceAllMatches = "op-string-replace-all-matches", o.GetIndexItem = "op-string-get-index-item", o.GetFirstNChars = "op-string-get-first-n-chars", o.GetLastNChars = "op-string-get-last-n-chars", o.GetIndexOf = "op-string-get-index-of", o.GetLastIndexOf = "op-string-get-last-index-of", o.Append = "op-string-append", o.Prepend = "op-string-prepend", o.Reverse = "op-string-reverse", o.ToLowerCase = "op-string-to-lower-case", o.ToUpperCase = "op-string-to-upper-case", o.Trim = "op-string-trim", o.TrimStart = "op-string-trim-start", o.TrimEnd = "op-string-trim-end", o.Substring = "op-string-substring", o.Slice = "op-string-slice", o.PadStart = "op-string-pad-start", o.PadEnd = "op-string-pad-end", o.Repeat = "op-string-repeat", o.MatchRegex = "op-string-match-regex", o.MatchAllRegex = "op-string-match-all-regex", o.SearchRegex = "op-string-search-regex", o.ReplaceRegex = "op-string-replace-regex", o.NormalizeUnicode = "op-string-normalize-unicode", o.RemoveDiacritics = "op-string-remove-diacritics", o.CountOccurrences = "op-string-count-occurrences", o.EnsurePrefix = "op-string-ensure-prefix", o.EnsureSuffix = "op-string-ensure-suffix", o.RemovePrefix = "op-string-remove-prefix", o.RemoveSuffix = "op-string-remove-suffix", o.StartsWith = "op-string-starts-with", o.EndsWith = "op-string-ends-with", o.Contains = "op-string-contains", o.MatchesRegex = "op-string-matches-regex", o))(S || {}), te = /* @__PURE__ */ ((o) => (o.GetLength = "op-list-get-length", o.Join = "op-list-join", o.Split = "op-list-split", o.DeleteLastNItems = "op-list-delete-last-n-items", o.DeleteFirstNItems = "op-list-delete-first-n-items", o.DeleteAtIndex = "op-list-delete-at-index", o.AddAtIndex = "op-list-add-at-index", o.ReplaceFirstNItems = "op-list-replace-n-items-first", o.ReplaceLastNItems = "op-list-replace-n-items-last", o.ReplaceAll = "op-list-replace-all", o.ReplaceAtIndex = "op-list-replace-at-index", o.GetIndexItem = "op-list-get-index-item", o.GetFirst = "op-list-get-first", o.GetLast = "op-list-get-last", o.GetFirstNItems = "op-list-get-first-n-items", o.GetLastNItems = "op-list-get-last-n-items", o.Append = "op-list-append", o.Prepend = "op-list-prepend", o.Reverse = "op-list-reverse", o.Slice = "op-list-slice", o.Concat = "op-list-concat", o.GetIndexOf = "op-list-get-index-of", o.GetLastIndexOf = "op-list-get-last-index-of", o.Unique = "op-list-unique", o.Flatten = "op-list-flatten", o.Sort = "op-list-sort", o.Shuffle = "op-list-shuffle", o.Chunk = "op-list-chunk", o.PadStart = "op-list-pad-start", o.PadEnd = "op-list-pad-end", o.Repeat = "op-list-repeat", o.Contains = "op-list-contains", o.ContainsAll = "op-list-contains-all", o.ContainsAny = "op-list-contains-any", o))(te || {}), j = /* @__PURE__ */ ((o) => (o.GetCurrentTimestamp = "op-date-get-current-timestamp", o.FormatDate = "op-date-format-date", o.ParseDate = "op-date-parse-date", o.AddToDate = "op-date-add-to-date", o.SubtractFromDate = "op-date-subtract-from-date", o.DifferenceBetweenDates = "op-date-difference-between-dates", o.ToDate = "op-date-to-date", o.ToUnix = "op-date-to-unix", o.FromUnix = "op-date-from-unix", o.ToISOString = "op-date-to-iso-string", o.GetYear = "op-date-get-year", o.GetMonth = "op-date-get-month", o.GetDate = "op-date-get-date", o.GetHour = "op-date-get-hour", o.GetMinute = "op-date-get-minute", o.GetSecond = "op-date-get-second", o.GetMillisecond = "op-date-get-millisecond", o.GetIsoWeekday = "op-date-get-iso-weekday", o.GetWeekOfYear = "op-date-get-week-of-year", o.GetQuarter = "op-date-get-quarter", o.GetDayOfYear = "op-date-get-day-of-year", o.GetDaysInMonth = "op-date-get-days-in-month", o.GetCurrentIanaTimeZone = "op-date-get-current-iana-timezone", o.SetYear = "op-date-set-year", o.SetMonth = "op-date-set-month", o.SetDate = "op-date-set-date", o.SetHour = "op-date-set-hour", o.SetMinute = "op-date-set-minute", o.SetSecond = "op-date-set-second", o.SetMillisecond = "op-date-set-millisecond", o.SetIsoWeekday = "op-date-set-iso-weekday", o.SetQuarter = "op-date-set-quarter", o.StartOf = "op-date-start-of", o.EndOf = "op-date-end-of", o.RoundTo = "op-date-round-to", o.ClampToRange = "op-date-clamp-to-range", o.MinOf = "op-date-min-of", o.MaxOf = "op-date-max-of", o.FromNow = "op-date-from-now", o.ToNow = "op-date-to-now", o.HumanizeDiff = "op-date-humanize-diff", o.AddBusinessDays = "op-date-add-business-days", o.NextWeekday = "op-date-next-weekday", o.PreviousWeekday = "op-date-previous-weekday", o.ToUTC = "op-date-to-utc", o.ConvertTimezone = "op-date-convert-timezone", o.GetTimezoneOffset = "op-date-get-timezone-offset", o.SetUTCOffset = "op-date-set-utc-offset", o.IsBefore = "op-date-is-before", o.IsAfter = "op-date-is-after", o.IsSame = "op-date-is-same", o.IsSameOrBefore = "op-date-is-same-or-before", o.IsSameOrAfter = "op-date-is-same-or-after", o.IsBetween = "op-date-is-between", o.IsValid = "op-date-is-valid", o.IsLeapYear = "op-date-is-leap-year", o))(j || {}), Ki = /* @__PURE__ */ ((o) => (o.Parallel = "op-execution-parallel", o.Sequential = "op-execution-sequential", o.Wait = "op-execution-wait", o))(Ki || {}), Oe = /* @__PURE__ */ ((o) => (o.Validate = "op-object-validate", o.ReadKey = "op-object-read-key", o.WriteKey = "op-object-write-key", o.DeleteKey = "op-object-delete-key", o.ReadNestedKey = "op-object-read-nested-key", o.WriteNestedKey = "op-object-write-nested-key", o.WriteSafeNestedKeyRecursively = "op-object-write-safe-nested-key-recursively", o.DeleteNestedKey = "op-object-delete-nested-key", o.HasKey = "op-object-has-key", o.KeyValueEquals = "op-object-key-value-equals", o.HasNestedKey = "op-object-has-nested-key", o.NestedKeyValueEquals = "op-object-nested-key-value-equals", o.IsInstanceOfType = "op-object-is-instance-of-type", o.Merge = "op-object-merge", o.Keys = "op-object-keys", o.Values = "op-object-values", o.Entries = "op-object-entries", o))(Oe || {}), ra = /* @__PURE__ */ ((o) => (o.HttpRequest = "op-base-http-request", o))(ra || {}), Je = /* @__PURE__ */ ((o) => (o.GetTypeOf = "op-data-type-get-type-of", o.ToString = "op-data-type-to-string", o.ToNumber = "op-data-type-to-number", o.ToBytes = "op-data-type-to-bytes", o.FromBytesToString = "op-data-type-from-bytes-to-string", o.EncodeBase64 = "op-data-type-encode-base64", o.DecodeBase64 = "op-data-type-decode-base64", o.EncodeBase64Url = "op-data-type-encode-base64url", o.DecodeBase64Url = "op-data-type-decode-base64url", o.EncodeHex = "op-data-type-encode-hex", o.DecodeHex = "op-data-type-decode-hex", o))(Je || {}), ln = /* @__PURE__ */ ((o) => (o.Parse = "op-json-parse", o.Stringify = "op-json-stringify", o))(ln || {}), Ai = /* @__PURE__ */ ((o) => (o.Hash = "op-crypto-hash", o.Hmac = "op-crypto-hmac", o.ConstantTimeEqual = "op-crypto-constant-time-equal", o.DeriveKeyPBKDF2 = "op-crypto-derive-key-pbkdf2", o))(Ai || {}), on = /* @__PURE__ */ ((o) => (o.HashPasswordPBKDF2 = "op-password-hash-pbkdf2", o.VerifyPasswordPBKDF2 = "op-password-verify-pbkdf2", o))(on || {}), er = /* @__PURE__ */ ((o) => (o.BuildJwtHmac = "op-jwt-build-hmac", o.VerifyJwtHmac = "op-jwt-verify-hmac", o.DecodeJwt = "op-jwt-decode", o))(er || {}), ri = /* @__PURE__ */ ((o) => (o.GoogleDriveSmartFetchDocument = "external-integration--google-drive--get--smart-fetch-document", o.GoogleDriveUploadFile = "external-integration--google-drive--post--upload-file", o.GoogleDriveFiles = "external-integration--google-drive--get--files", o.GoogleGeminiGenerateContent = "external-integration--google-gemini--post--generate-content", o.GoogleMailSendEmail = "external-integration--google-mail--post--send-email", o.GoogleMailEmails = "external-integration--google-mail--get--emails", o.SlackSendMessage = "external-integration--slack--post--send-message", o.SlackChannels = "external-integration--slack--get--channels", o.SlackMessages = "external-integration--slack--get--messages", o.SlackReplies = "external-integration--slack--get--replies", o))(ri || {}), Lt = /* @__PURE__ */ ((o) => (o.Empty = "op-comparison-empty", o.NotEmpty = "op-comparison-not-empty", o.PrimitiveEqual = "op-comparison-primitive-equal", o.PrimitiveNotEqual = "op-comparison-primitive-not-equal", o))(Lt || {}), dn = /* @__PURE__ */ ((o) => (o.BooleanIsTrue = "condition-boolean-is-true", o.BooleanIsFalse = "condition-boolean-is-false", o))(dn || {}), hr = /* @__PURE__ */ ((o) => (o.And = "condition-group-and", o.Or = "condition-group-or", o))(hr || {}), ut = /* @__PURE__ */ ((o) => (o.ManualFlow = "manual-flow-loop", o.Counted = "counted-loop", o.List = "list-loop", o.ObjectKeys = "object-keys-loop", o.ObjectValues = "object-values-loop", o.String = "string-loop", o))(ut || {}), M = /* @__PURE__ */ ((o) => (o.FixedArguments = "fixed-arguments", o.ReturnedError = "returned-error", o.OngoingProcessExecution = "ongoing-process-execution", o.DynamicArgument = "dynamic-argument-types", o))(M || {}), He = /* @__PURE__ */ ((o) => (o.OrDataTypeGroup = "or-data-type-group", o.AndDataTypeGroup = "and-data-type-group", o))(He || {}), bo = /* @__PURE__ */ ((o) => (o.PROJECT_PUBLICATION_COMPLETED = "GLOBAL_EVENT_PROJECT_PUBLICATION_COMPLETED", o))(bo || {}), Kr = /* @__PURE__ */ ((o) => (o.DeletePersistedEntity = "base-delete-persisted-entity", o.CreatePersistedEntity = "base-create-persisted-entity", o.UpdatePersistedEntity = "base-update-persisted-entity", o.UpSQLRowTransformer = "base-up-sql-row-transformer", o.DownSQLRowTransformer = "base-down-sql-row-transformer", o.AbortExecution = "base-abort-execution", o))(Kr || {}), Bf = /* @__PURE__ */ ((o) => (o.AllPropertiesImplementationTarget = "all-properties-implementation-target", o))(Bf || {}), du = /* @__PURE__ */ ((o) => (o.Error = "error", o))(du || {}), nu = /* @__PURE__ */ ((o) => (o.Error = "error", o.Task = "task", o.Return = "return", o))(nu || {});
|
|
43
43
|
const hu = [d.GlobalEvent], oM = [
|
|
44
44
|
d.Operation,
|
|
45
45
|
d.FunctionCall,
|
|
@@ -56,7 +56,7 @@ const hu = [d.GlobalEvent], oM = [
|
|
|
56
56
|
], Ii = [
|
|
57
57
|
...SD,
|
|
58
58
|
d.InternalCall
|
|
59
|
-
],
|
|
59
|
+
], Qt = [
|
|
60
60
|
d.FunctionDeclaration,
|
|
61
61
|
...hu
|
|
62
62
|
], zr = [
|
|
@@ -71,15 +71,15 @@ const hu = [d.GlobalEvent], oM = [
|
|
|
71
71
|
d.ContinueStatement
|
|
72
72
|
], Jr = [
|
|
73
73
|
...Ii,
|
|
74
|
-
...
|
|
74
|
+
...Qt
|
|
75
75
|
], FWe = [
|
|
76
76
|
...SD,
|
|
77
|
-
...
|
|
78
|
-
], uM = [...zr, ...
|
|
77
|
+
...Qt
|
|
78
|
+
], uM = [...zr, ...Qt], JBi = [
|
|
79
79
|
...dM,
|
|
80
|
-
...
|
|
80
|
+
...Qt
|
|
81
81
|
], dr = [
|
|
82
|
-
...
|
|
82
|
+
...Qt,
|
|
83
83
|
d.Loop
|
|
84
84
|
], qt = [
|
|
85
85
|
d.ReturnStatement,
|
|
@@ -6224,8 +6224,8 @@ const X = {
|
|
|
6224
6224
|
// },
|
|
6225
6225
|
// outputs: {},
|
|
6226
6226
|
// },
|
|
6227
|
-
[
|
|
6228
|
-
id:
|
|
6227
|
+
[ri.GoogleDriveSmartFetchDocument]: {
|
|
6228
|
+
id: ri.GoogleDriveSmartFetchDocument,
|
|
6229
6229
|
inputs: {
|
|
6230
6230
|
connection: {
|
|
6231
6231
|
id: "external-integration--google-drive--smart-fetch-connection-input",
|
|
@@ -6313,8 +6313,8 @@ const X = {
|
|
|
6313
6313
|
}
|
|
6314
6314
|
}
|
|
6315
6315
|
},
|
|
6316
|
-
[
|
|
6317
|
-
id:
|
|
6316
|
+
[ri.GoogleDriveFiles]: {
|
|
6317
|
+
id: ri.GoogleDriveFiles,
|
|
6318
6318
|
inputs: {
|
|
6319
6319
|
connection: {
|
|
6320
6320
|
id: "external-integration--google-drive--get--files-connection-input",
|
|
@@ -6464,8 +6464,8 @@ const X = {
|
|
|
6464
6464
|
// },
|
|
6465
6465
|
// outputs: {},
|
|
6466
6466
|
// },
|
|
6467
|
-
[
|
|
6468
|
-
id:
|
|
6467
|
+
[ri.GoogleDriveUploadFile]: {
|
|
6468
|
+
id: ri.GoogleDriveUploadFile,
|
|
6469
6469
|
inputs: {
|
|
6470
6470
|
connection: {
|
|
6471
6471
|
id: "external-integration--google-drive--post--upload-file-connection-input",
|
|
@@ -6638,8 +6638,8 @@ const X = {
|
|
|
6638
6638
|
// },
|
|
6639
6639
|
// outputs: {},
|
|
6640
6640
|
// },
|
|
6641
|
-
[
|
|
6642
|
-
id:
|
|
6641
|
+
[ri.GoogleGeminiGenerateContent]: {
|
|
6642
|
+
id: ri.GoogleGeminiGenerateContent,
|
|
6643
6643
|
inputs: {
|
|
6644
6644
|
connection: {
|
|
6645
6645
|
id: "external-integration--google-gemini--post--generate-content-connection-input",
|
|
@@ -6676,8 +6676,8 @@ const X = {
|
|
|
6676
6676
|
}
|
|
6677
6677
|
}
|
|
6678
6678
|
},
|
|
6679
|
-
[
|
|
6680
|
-
id:
|
|
6679
|
+
[ri.GoogleMailSendEmail]: {
|
|
6680
|
+
id: ri.GoogleMailSendEmail,
|
|
6681
6681
|
inputs: {
|
|
6682
6682
|
connection: {
|
|
6683
6683
|
id: "external-integration--google-mail--post--send-email-connection-input",
|
|
@@ -6743,8 +6743,8 @@ const X = {
|
|
|
6743
6743
|
// },
|
|
6744
6744
|
// outputs: {},
|
|
6745
6745
|
// },
|
|
6746
|
-
[
|
|
6747
|
-
id:
|
|
6746
|
+
[ri.GoogleMailEmails]: {
|
|
6747
|
+
id: ri.GoogleMailEmails,
|
|
6748
6748
|
inputs: {
|
|
6749
6749
|
connection: {
|
|
6750
6750
|
id: "external-integration--google-mail--get--emails-connection-input",
|
|
@@ -7060,8 +7060,8 @@ const X = {
|
|
|
7060
7060
|
// },
|
|
7061
7061
|
// outputs: {},
|
|
7062
7062
|
// },
|
|
7063
|
-
[
|
|
7064
|
-
id:
|
|
7063
|
+
[ri.SlackSendMessage]: {
|
|
7064
|
+
id: ri.SlackSendMessage,
|
|
7065
7065
|
inputs: {
|
|
7066
7066
|
connection: {
|
|
7067
7067
|
id: "external-integration--slack--post--send-message-connection-input",
|
|
@@ -7145,8 +7145,8 @@ const X = {
|
|
|
7145
7145
|
// },
|
|
7146
7146
|
// outputs: {},
|
|
7147
7147
|
// },
|
|
7148
|
-
[
|
|
7149
|
-
id:
|
|
7148
|
+
[ri.SlackChannels]: {
|
|
7149
|
+
id: ri.SlackChannels,
|
|
7150
7150
|
inputs: {
|
|
7151
7151
|
connection: {
|
|
7152
7152
|
id: "external-integration--slack--get--channels-connection-input",
|
|
@@ -7332,8 +7332,8 @@ const X = {
|
|
|
7332
7332
|
}
|
|
7333
7333
|
}
|
|
7334
7334
|
},
|
|
7335
|
-
[
|
|
7336
|
-
id:
|
|
7335
|
+
[ri.SlackMessages]: {
|
|
7336
|
+
id: ri.SlackMessages,
|
|
7337
7337
|
inputs: {
|
|
7338
7338
|
connection: {
|
|
7339
7339
|
id: "external-integration--slack--get--messages-connection-input",
|
|
@@ -7495,8 +7495,8 @@ const X = {
|
|
|
7495
7495
|
}
|
|
7496
7496
|
}
|
|
7497
7497
|
},
|
|
7498
|
-
[
|
|
7499
|
-
id:
|
|
7498
|
+
[ri.SlackReplies]: {
|
|
7499
|
+
id: ri.SlackReplies,
|
|
7500
7500
|
inputs: {
|
|
7501
7501
|
connection: {
|
|
7502
7502
|
id: "external-integration--slack--get--replies-connection-input",
|
|
@@ -60003,7 +60003,7 @@ const f7t = {
|
|
|
60003
60003
|
y9t,
|
|
60004
60004
|
D9t,
|
|
60005
60005
|
G9t
|
|
60006
|
-
], $r = X[d.Operation][
|
|
60006
|
+
], $r = X[d.Operation][ri.SlackSendMessage], Yy = {
|
|
60007
60007
|
id: "external-integration--slack--post--send-message--ref",
|
|
60008
60008
|
type: d.GenericReference,
|
|
60009
60009
|
entityId: $r.id,
|
|
@@ -60471,7 +60471,7 @@ const rHt = fT(
|
|
|
60471
60471
|
"private_channel",
|
|
60472
60472
|
"im",
|
|
60473
60473
|
"mpim"
|
|
60474
|
-
], Mt = X[d.Operation][
|
|
60474
|
+
], Mt = X[d.Operation][ri.SlackChannels], dp = {
|
|
60475
60475
|
id: "external-integration--slack--get--channels--ref",
|
|
60476
60476
|
type: d.GenericReference,
|
|
60477
60477
|
version: "1",
|
|
@@ -61594,7 +61594,7 @@ const rHt = fT(
|
|
|
61594
61594
|
outputName: null,
|
|
61595
61595
|
outputDescription: null,
|
|
61596
61596
|
parent: null
|
|
61597
|
-
}, jt = X[d.Operation][
|
|
61597
|
+
}, jt = X[d.Operation][ri.SlackMessages], jl = {
|
|
61598
61598
|
id: "external-integration--slack--get--messages--ref",
|
|
61599
61599
|
type: d.GenericReference,
|
|
61600
61600
|
entityId: jt.id,
|
|
@@ -62654,7 +62654,7 @@ const ZWt = Kl("ts", "TS", "Message timestamp", 0, "string", !0), HWt = Kl("text
|
|
|
62654
62654
|
outputName: null,
|
|
62655
62655
|
outputDescription: null,
|
|
62656
62656
|
parent: null
|
|
62657
|
-
}, Kt = X[d.Operation][
|
|
62657
|
+
}, Kt = X[d.Operation][ri.SlackReplies], Fl = {
|
|
62658
62658
|
id: "external-integration--slack--get--replies--ref",
|
|
62659
62659
|
type: d.GenericReference,
|
|
62660
62660
|
entityId: Kt.id,
|
|
@@ -63713,7 +63713,7 @@ const qzt = Sl("ts", "TS", "Message timestamp", 0, "string", !0), Zzt = Sl("text
|
|
|
63713
63713
|
outputName: null,
|
|
63714
63714
|
outputDescription: null,
|
|
63715
63715
|
parent: null
|
|
63716
|
-
}, Zi = X[d.Operation][
|
|
63716
|
+
}, Zi = X[d.Operation][ri.GoogleMailSendEmail], m4i = {
|
|
63717
63717
|
id: "external-integration--google-mail--post--send-email--ref",
|
|
63718
63718
|
type: d.GenericReference,
|
|
63719
63719
|
version: "1",
|
|
@@ -64229,7 +64229,7 @@ const qzt = Sl("ts", "TS", "Message timestamp", 0, "string", !0), Zzt = Sl("text
|
|
|
64229
64229
|
outputName: null,
|
|
64230
64230
|
outputDescription: null,
|
|
64231
64231
|
parent: null
|
|
64232
|
-
}, Fe = X[d.Operation][
|
|
64232
|
+
}, Fe = X[d.Operation][ri.GoogleMailEmails], FJt = {
|
|
64233
64233
|
id: Fe.inputs.connection.dataType.id,
|
|
64234
64234
|
version: "1",
|
|
64235
64235
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
@@ -66235,7 +66235,7 @@ const UYt = Ua(
|
|
|
66235
66235
|
outputName: null,
|
|
66236
66236
|
outputDescription: null,
|
|
66237
66237
|
parent: null
|
|
66238
|
-
}, jn = X[d.Operation][
|
|
66238
|
+
}, jn = X[d.Operation][ri.GoogleGeminiGenerateContent], aA = {
|
|
66239
66239
|
id: "external-integration--google-gemini--post--generate-content--ref",
|
|
66240
66240
|
type: d.GenericReference,
|
|
66241
66241
|
entityId: jn.id,
|
|
@@ -66548,7 +66548,7 @@ const UYt = Ua(
|
|
|
66548
66548
|
outputName: null,
|
|
66549
66549
|
outputDescription: null,
|
|
66550
66550
|
parent: null
|
|
66551
|
-
}, _t = X[d.Operation][
|
|
66551
|
+
}, _t = X[d.Operation][ri.GoogleDriveFiles];
|
|
66552
66552
|
var W4 = /* @__PURE__ */ ((o) => (o.Audio = "application/vnd.google-apps.audio", o.Document = "application/vnd.google-apps.document", o.DriveSdk = "application/vnd.google-apps.drive-sdk", o.Drawing = "application/vnd.google-apps.drawing", o.File = "application/vnd.google-apps.file", o.Folder = "application/vnd.google-apps.folder", o.Form = "application/vnd.google-apps.form", o.FusionTable = "application/vnd.google-apps.fusiontable", o.Jam = "application/vnd.google-apps.jam", o.MailLayout = "application/vnd.google-apps.mail-layout", o.Map = "application/vnd.google-apps.map", o.Photo = "application/vnd.google-apps.photo", o.Presentation = "application/vnd.google-apps.presentation", o.Script = "application/vnd.google-apps.script", o.Shortcut = "application/vnd.google-apps.shortcut", o.Site = "application/vnd.google-apps.site", o.Spreadsheet = "application/vnd.google-apps.spreadsheet", o.Unknown = "application/vnd.google-apps.unknown", o.Vid = "application/vnd.google-apps.vid", o.Video = "application/vnd.google-apps.video", o))(W4 || {});
|
|
66553
66553
|
const sA = Object.values(W4), up = {
|
|
66554
66554
|
id: "external-integration--google-drive--get--files--ref",
|
|
@@ -67530,7 +67530,7 @@ const sA = Object.values(W4), up = {
|
|
|
67530
67530
|
outputName: null,
|
|
67531
67531
|
outputDescription: null,
|
|
67532
67532
|
parent: null
|
|
67533
|
-
},
|
|
67533
|
+
}, ei = X[d.Operation][ri.GoogleDriveSmartFetchDocument], pQt = [
|
|
67534
67534
|
"auto",
|
|
67535
67535
|
"native",
|
|
67536
67536
|
"plain-text",
|
|
@@ -67538,7 +67538,7 @@ const sA = Object.values(W4), up = {
|
|
|
67538
67538
|
], lA = {
|
|
67539
67539
|
id: "external-integration--google-drive--smart-fetch--ref",
|
|
67540
67540
|
type: d.GenericReference,
|
|
67541
|
-
entityId:
|
|
67541
|
+
entityId: ei.id,
|
|
67542
67542
|
version: "1",
|
|
67543
67543
|
entityType: d.ActionDescriptor
|
|
67544
67544
|
}, oA = (o) => ({
|
|
@@ -67554,7 +67554,7 @@ const sA = Object.values(W4), up = {
|
|
|
67554
67554
|
version: "1",
|
|
67555
67555
|
entityType: d.Property
|
|
67556
67556
|
}), cQt = {
|
|
67557
|
-
id:
|
|
67557
|
+
id: ei.inputs.connection.dataType.id,
|
|
67558
67558
|
version: "1",
|
|
67559
67559
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
67560
67560
|
previousVersion: null,
|
|
@@ -67579,9 +67579,9 @@ const sA = Object.values(W4), up = {
|
|
|
67579
67579
|
andChildrenGroup: null,
|
|
67580
67580
|
orChildrenGroup: null,
|
|
67581
67581
|
entity: iA,
|
|
67582
|
-
parent: oA(
|
|
67582
|
+
parent: oA(ei.inputs.connection.id)
|
|
67583
67583
|
}, fQt = {
|
|
67584
|
-
id:
|
|
67584
|
+
id: ei.inputs.connection.id,
|
|
67585
67585
|
version: "1",
|
|
67586
67586
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
67587
67587
|
previousVersion: null,
|
|
@@ -67600,7 +67600,7 @@ const sA = Object.values(W4), up = {
|
|
|
67600
67600
|
dataType: cQt,
|
|
67601
67601
|
parent: lA
|
|
67602
67602
|
}, yQt = {
|
|
67603
|
-
id:
|
|
67603
|
+
id: ei.inputs.fileId.dataType.id,
|
|
67604
67604
|
version: "1",
|
|
67605
67605
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
67606
67606
|
previousVersion: null,
|
|
@@ -67625,9 +67625,9 @@ const sA = Object.values(W4), up = {
|
|
|
67625
67625
|
andChildrenGroup: null,
|
|
67626
67626
|
orChildrenGroup: null,
|
|
67627
67627
|
entity: ue,
|
|
67628
|
-
parent: oA(
|
|
67628
|
+
parent: oA(ei.inputs.fileId.id)
|
|
67629
67629
|
}, hQt = {
|
|
67630
|
-
id:
|
|
67630
|
+
id: ei.inputs.fileId.id,
|
|
67631
67631
|
version: "1",
|
|
67632
67632
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
67633
67633
|
previousVersion: null,
|
|
@@ -67646,7 +67646,7 @@ const sA = Object.values(W4), up = {
|
|
|
67646
67646
|
dataType: yQt,
|
|
67647
67647
|
parent: lA
|
|
67648
67648
|
}, mQt = {
|
|
67649
|
-
id:
|
|
67649
|
+
id: ei.inputs.mode.dataType.id,
|
|
67650
67650
|
version: "1",
|
|
67651
67651
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
67652
67652
|
previousVersion: null,
|
|
@@ -67671,9 +67671,9 @@ const sA = Object.values(W4), up = {
|
|
|
67671
67671
|
andChildrenGroup: null,
|
|
67672
67672
|
orChildrenGroup: null,
|
|
67673
67673
|
entity: Rt,
|
|
67674
|
-
parent: oA(
|
|
67674
|
+
parent: oA(ei.inputs.mode.id)
|
|
67675
67675
|
}, TQt = {
|
|
67676
|
-
id:
|
|
67676
|
+
id: ei.inputs.mode.id,
|
|
67677
67677
|
version: "1",
|
|
67678
67678
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
67679
67679
|
previousVersion: null,
|
|
@@ -67703,7 +67703,7 @@ const sA = Object.values(W4), up = {
|
|
|
67703
67703
|
value: "auto",
|
|
67704
67704
|
valueAsTypeList: null,
|
|
67705
67705
|
valueAsTypeSingle: null,
|
|
67706
|
-
parent: oA(
|
|
67706
|
+
parent: oA(ei.inputs.mode.id)
|
|
67707
67707
|
},
|
|
67708
67708
|
parentRelationType: M.FixedArguments,
|
|
67709
67709
|
dataType: mQt,
|
|
@@ -67711,11 +67711,11 @@ const sA = Object.values(W4), up = {
|
|
|
67711
67711
|
}, $d = {
|
|
67712
67712
|
id: "external-integration--google-drive--smart-fetch-response-entity--ref",
|
|
67713
67713
|
type: d.GenericReference,
|
|
67714
|
-
entityId:
|
|
67714
|
+
entityId: ei.dataType.entity.id,
|
|
67715
67715
|
version: "1",
|
|
67716
67716
|
entityType: d.DefinitionEntity
|
|
67717
67717
|
}, vQt = {
|
|
67718
|
-
id:
|
|
67718
|
+
id: ei.dataType.entity.properties.kind.dataType.id,
|
|
67719
67719
|
version: "1",
|
|
67720
67720
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
67721
67721
|
previousVersion: null,
|
|
@@ -67740,9 +67740,9 @@ const sA = Object.values(W4), up = {
|
|
|
67740
67740
|
andChildrenGroup: null,
|
|
67741
67741
|
orChildrenGroup: null,
|
|
67742
67742
|
entity: Rt,
|
|
67743
|
-
parent: xd(
|
|
67743
|
+
parent: xd(ei.dataType.entity.properties.kind.id)
|
|
67744
67744
|
}, bQt = {
|
|
67745
|
-
id:
|
|
67745
|
+
id: ei.dataType.entity.properties.kind.id,
|
|
67746
67746
|
name: "Kind",
|
|
67747
67747
|
deletable: !1,
|
|
67748
67748
|
editable: !1,
|
|
@@ -67770,7 +67770,7 @@ const sA = Object.values(W4), up = {
|
|
|
67770
67770
|
previousVersion: null,
|
|
67771
67771
|
deleted: !1
|
|
67772
67772
|
}, EQt = {
|
|
67773
|
-
id:
|
|
67773
|
+
id: ei.dataType.entity.properties.mimeType.dataType.id,
|
|
67774
67774
|
version: "1",
|
|
67775
67775
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
67776
67776
|
previousVersion: null,
|
|
@@ -67796,10 +67796,10 @@ const sA = Object.values(W4), up = {
|
|
|
67796
67796
|
orChildrenGroup: null,
|
|
67797
67797
|
entity: Rt,
|
|
67798
67798
|
parent: xd(
|
|
67799
|
-
|
|
67799
|
+
ei.dataType.entity.properties.mimeType.id
|
|
67800
67800
|
)
|
|
67801
67801
|
}, AQt = {
|
|
67802
|
-
id:
|
|
67802
|
+
id: ei.dataType.entity.properties.mimeType.id,
|
|
67803
67803
|
name: "MIME type",
|
|
67804
67804
|
deletable: !1,
|
|
67805
67805
|
editable: !1,
|
|
@@ -67827,7 +67827,7 @@ const sA = Object.values(W4), up = {
|
|
|
67827
67827
|
previousVersion: null,
|
|
67828
67828
|
deleted: !1
|
|
67829
67829
|
}, gQt = {
|
|
67830
|
-
id:
|
|
67830
|
+
id: ei.dataType.entity.properties.isBinary.dataType.id,
|
|
67831
67831
|
version: "1",
|
|
67832
67832
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
67833
67833
|
previousVersion: null,
|
|
@@ -67853,10 +67853,10 @@ const sA = Object.values(W4), up = {
|
|
|
67853
67853
|
orChildrenGroup: null,
|
|
67854
67854
|
entity: dt,
|
|
67855
67855
|
parent: xd(
|
|
67856
|
-
|
|
67856
|
+
ei.dataType.entity.properties.isBinary.id
|
|
67857
67857
|
)
|
|
67858
67858
|
}, IQt = {
|
|
67859
|
-
id:
|
|
67859
|
+
id: ei.dataType.entity.properties.isBinary.id,
|
|
67860
67860
|
name: "Is binary",
|
|
67861
67861
|
deletable: !1,
|
|
67862
67862
|
editable: !1,
|
|
@@ -67884,7 +67884,7 @@ const sA = Object.values(W4), up = {
|
|
|
67884
67884
|
previousVersion: null,
|
|
67885
67885
|
deleted: !1
|
|
67886
67886
|
}, RQt = {
|
|
67887
|
-
id:
|
|
67887
|
+
id: ei.dataType.entity.properties.title.dataType.id,
|
|
67888
67888
|
version: "1",
|
|
67889
67889
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
67890
67890
|
previousVersion: null,
|
|
@@ -67909,9 +67909,9 @@ const sA = Object.values(W4), up = {
|
|
|
67909
67909
|
andChildrenGroup: null,
|
|
67910
67910
|
orChildrenGroup: null,
|
|
67911
67911
|
entity: ue,
|
|
67912
|
-
parent: xd(
|
|
67912
|
+
parent: xd(ei.dataType.entity.properties.title.id)
|
|
67913
67913
|
}, DQt = {
|
|
67914
|
-
id:
|
|
67914
|
+
id: ei.dataType.entity.properties.title.id,
|
|
67915
67915
|
name: "Title",
|
|
67916
67916
|
deletable: !1,
|
|
67917
67917
|
editable: !1,
|
|
@@ -67939,7 +67939,7 @@ const sA = Object.values(W4), up = {
|
|
|
67939
67939
|
previousVersion: null,
|
|
67940
67940
|
deleted: !1
|
|
67941
67941
|
}, wQt = {
|
|
67942
|
-
id:
|
|
67942
|
+
id: ei.dataType.entity.properties.sizeBytes.dataType.id,
|
|
67943
67943
|
version: "1",
|
|
67944
67944
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
67945
67945
|
previousVersion: null,
|
|
@@ -67965,10 +67965,10 @@ const sA = Object.values(W4), up = {
|
|
|
67965
67965
|
orChildrenGroup: null,
|
|
67966
67966
|
entity: we,
|
|
67967
67967
|
parent: xd(
|
|
67968
|
-
|
|
67968
|
+
ei.dataType.entity.properties.sizeBytes.id
|
|
67969
67969
|
)
|
|
67970
67970
|
}, CQt = {
|
|
67971
|
-
id:
|
|
67971
|
+
id: ei.dataType.entity.properties.sizeBytes.id,
|
|
67972
67972
|
name: "Size (bytes)",
|
|
67973
67973
|
deletable: !1,
|
|
67974
67974
|
editable: !1,
|
|
@@ -67996,7 +67996,7 @@ const sA = Object.values(W4), up = {
|
|
|
67996
67996
|
previousVersion: null,
|
|
67997
67997
|
deleted: !1
|
|
67998
67998
|
}, OQt = {
|
|
67999
|
-
id:
|
|
67999
|
+
id: ei.dataType.entity.properties.text.dataType.id,
|
|
68000
68000
|
version: "1",
|
|
68001
68001
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
68002
68002
|
previousVersion: null,
|
|
@@ -68021,9 +68021,9 @@ const sA = Object.values(W4), up = {
|
|
|
68021
68021
|
andChildrenGroup: null,
|
|
68022
68022
|
orChildrenGroup: null,
|
|
68023
68023
|
entity: ue,
|
|
68024
|
-
parent: xd(
|
|
68024
|
+
parent: xd(ei.dataType.entity.properties.text.id)
|
|
68025
68025
|
}, _Qt = {
|
|
68026
|
-
id:
|
|
68026
|
+
id: ei.dataType.entity.properties.text.id,
|
|
68027
68027
|
name: "Text",
|
|
68028
68028
|
deletable: !1,
|
|
68029
68029
|
editable: !1,
|
|
@@ -68051,7 +68051,7 @@ const sA = Object.values(W4), up = {
|
|
|
68051
68051
|
previousVersion: null,
|
|
68052
68052
|
deleted: !1
|
|
68053
68053
|
}, VQt = {
|
|
68054
|
-
id:
|
|
68054
|
+
id: ei.dataType.entity.properties.base64.dataType.id,
|
|
68055
68055
|
version: "1",
|
|
68056
68056
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
68057
68057
|
previousVersion: null,
|
|
@@ -68077,10 +68077,10 @@ const sA = Object.values(W4), up = {
|
|
|
68077
68077
|
orChildrenGroup: null,
|
|
68078
68078
|
entity: ue,
|
|
68079
68079
|
parent: xd(
|
|
68080
|
-
|
|
68080
|
+
ei.dataType.entity.properties.base64.id
|
|
68081
68081
|
)
|
|
68082
68082
|
}, PQt = {
|
|
68083
|
-
id:
|
|
68083
|
+
id: ei.dataType.entity.properties.base64.id,
|
|
68084
68084
|
name: "Base64",
|
|
68085
68085
|
deletable: !1,
|
|
68086
68086
|
editable: !1,
|
|
@@ -68108,7 +68108,7 @@ const sA = Object.values(W4), up = {
|
|
|
68108
68108
|
previousVersion: null,
|
|
68109
68109
|
deleted: !1
|
|
68110
68110
|
}, NQt = {
|
|
68111
|
-
id:
|
|
68111
|
+
id: ei.dataType.entity.properties.json.dataType.id,
|
|
68112
68112
|
version: "1",
|
|
68113
68113
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
68114
68114
|
previousVersion: null,
|
|
@@ -68133,9 +68133,9 @@ const sA = Object.values(W4), up = {
|
|
|
68133
68133
|
andChildrenGroup: null,
|
|
68134
68134
|
orChildrenGroup: null,
|
|
68135
68135
|
entity: Xi,
|
|
68136
|
-
parent: xd(
|
|
68136
|
+
parent: xd(ei.dataType.entity.properties.json.id)
|
|
68137
68137
|
}, xQt = {
|
|
68138
|
-
id:
|
|
68138
|
+
id: ei.dataType.entity.properties.json.id,
|
|
68139
68139
|
name: "JSON",
|
|
68140
68140
|
deletable: !1,
|
|
68141
68141
|
editable: !1,
|
|
@@ -68163,7 +68163,7 @@ const sA = Object.values(W4), up = {
|
|
|
68163
68163
|
previousVersion: null,
|
|
68164
68164
|
deleted: !1
|
|
68165
68165
|
}, $Qt = {
|
|
68166
|
-
id:
|
|
68166
|
+
id: ei.dataType.entity.properties.raw_json.dataType.id,
|
|
68167
68167
|
version: "1",
|
|
68168
68168
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
68169
68169
|
previousVersion: null,
|
|
@@ -68189,10 +68189,10 @@ const sA = Object.values(W4), up = {
|
|
|
68189
68189
|
orChildrenGroup: null,
|
|
68190
68190
|
entity: ue,
|
|
68191
68191
|
parent: xd(
|
|
68192
|
-
|
|
68192
|
+
ei.dataType.entity.properties.raw_json.id
|
|
68193
68193
|
)
|
|
68194
68194
|
}, LQt = {
|
|
68195
|
-
id:
|
|
68195
|
+
id: ei.dataType.entity.properties.raw_json.id,
|
|
68196
68196
|
name: "Raw JSON",
|
|
68197
68197
|
deletable: !1,
|
|
68198
68198
|
editable: !1,
|
|
@@ -68226,7 +68226,7 @@ const sA = Object.values(W4), up = {
|
|
|
68226
68226
|
additionalProperties: !1,
|
|
68227
68227
|
additionalPropertiesDataType: null,
|
|
68228
68228
|
allPropertiesImplement: null,
|
|
68229
|
-
id:
|
|
68229
|
+
id: ei.dataType.entity.id,
|
|
68230
68230
|
version: "1",
|
|
68231
68231
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
68232
68232
|
author: "1",
|
|
@@ -68257,12 +68257,12 @@ const sA = Object.values(W4), up = {
|
|
|
68257
68257
|
parent: {
|
|
68258
68258
|
id: "external-integration--google-drive--smart-fetch-response-entity-parent--ref",
|
|
68259
68259
|
type: d.GenericReference,
|
|
68260
|
-
entityId:
|
|
68260
|
+
entityId: ei.dataType.id,
|
|
68261
68261
|
version: "1",
|
|
68262
68262
|
entityType: d.DataType
|
|
68263
68263
|
}
|
|
68264
68264
|
}, MQt = {
|
|
68265
|
-
id:
|
|
68265
|
+
id: ei.dataType.id,
|
|
68266
68266
|
version: "1",
|
|
68267
68267
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
68268
68268
|
previousVersion: null,
|
|
@@ -68289,7 +68289,7 @@ const sA = Object.values(W4), up = {
|
|
|
68289
68289
|
entity: GQt,
|
|
68290
68290
|
parent: lA
|
|
68291
68291
|
}, BQt = {
|
|
68292
|
-
id:
|
|
68292
|
+
id: ei.id,
|
|
68293
68293
|
version: "1",
|
|
68294
68294
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
68295
68295
|
previousVersion: null,
|
|
@@ -68313,7 +68313,7 @@ const sA = Object.values(W4), up = {
|
|
|
68313
68313
|
outputName: null,
|
|
68314
68314
|
outputDescription: null,
|
|
68315
68315
|
parent: null
|
|
68316
|
-
}, mt = X[d.Operation][
|
|
68316
|
+
}, mt = X[d.Operation][ri.GoogleDriveUploadFile], bs = {
|
|
68317
68317
|
id: "external-integration--google-drive--post--upload-file--ref",
|
|
68318
68318
|
type: d.GenericReference,
|
|
68319
68319
|
entityId: mt.id,
|
|
@@ -69645,31 +69645,31 @@ const sA = Object.values(W4), up = {
|
|
|
69645
69645
|
// [ExternalIntegrationOperations.GoogleWorkspaceOrgUnits]: workspaceOrgUnitsIntegrationBuiltInActionDescriptorTransfer,
|
|
69646
69646
|
// [ExternalIntegrationOperations.GoogleWorkspaceUsers]: workspaceUsersIntegrationBuiltInActionDescriptorTransfer,
|
|
69647
69647
|
// [ExternalIntegrationOperations.GoogleWorkspaceUserAccessTokens]: workspaceUserAccessTokensIntegrationBuiltInActionDescriptorTransfer,
|
|
69648
|
-
[
|
|
69648
|
+
[ri.GoogleDriveSmartFetchDocument]: BQt,
|
|
69649
69649
|
// [ExternalIntegrationOperations.GoogleDriveFetchGoogleSheet]: fetchGoogleSheetIntegrationBuiltInActionDescriptorTransfer,
|
|
69650
69650
|
// [ExternalIntegrationOperations.GoogleDriveFetchGoogleDoc]: fetchGoogleDocIntegrationBuiltInActionDescriptorTransfer,
|
|
69651
69651
|
// [ExternalIntegrationOperations.GoogleDriveFolderContent]:
|
|
69652
69652
|
// folderContentIntegrationBuiltInActionDescriptorTransfer,
|
|
69653
|
-
[
|
|
69653
|
+
[ri.GoogleDriveUploadFile]: Bei,
|
|
69654
69654
|
// [ExternalIntegrationOperations.GoogleDriveListDrives]: listDrivesIntegrationBuiltInActionDescriptorTransfer,
|
|
69655
69655
|
// [ExternalIntegrationOperations.GoogleDriveDocuments]: documentsIntegrationBuiltInActionDescriptorTransfer,
|
|
69656
|
-
[
|
|
69656
|
+
[ri.GoogleDriveFiles]: uQt,
|
|
69657
69657
|
// [ExternalIntegrationOperations.GoogleDriveFolders]: foldersIntegrationBuiltInActionDescriptorTransfer,
|
|
69658
|
-
[
|
|
69659
|
-
[
|
|
69658
|
+
[ri.GoogleGeminiGenerateContent]: _Xt,
|
|
69659
|
+
[ri.GoogleMailSendEmail]: KJt,
|
|
69660
69660
|
// [ExternalIntegrationOperations.GoogleMailFetchAttachment]: fetchAttachmentIntegrationBuiltInActionDescriptorTransfer,
|
|
69661
|
-
[
|
|
69661
|
+
[ri.GoogleMailEmails]: pXt,
|
|
69662
69662
|
// [ExternalIntegrationOperations.GoogleMailLabels]: labelsIntegrationBuiltInActionDescriptorTransfer,
|
|
69663
69663
|
// [ExternalIntegrationOperations.GoogleSheetFetchSpreadsheet]: fetchSpreadsheetIntegrationBuiltInActionDescriptorTransfer,
|
|
69664
69664
|
// [ExternalIntegrationOperations.JiraCreateIssue]: createIssueIntegrationBuiltInActionDescriptorTransfer,
|
|
69665
69665
|
// [ExternalIntegrationOperations.JiraIssues]: issuesIntegrationBuiltInActionDescriptorTransfer,
|
|
69666
69666
|
// [ExternalIntegrationOperations.JiraProjects]: projectsIntegrationBuiltInActionDescriptorTransfer,
|
|
69667
69667
|
// [ExternalIntegrationOperations.JiraIssueTypes]: issueTypesIntegrationBuiltInActionDescriptorTransfer,
|
|
69668
|
-
[
|
|
69668
|
+
[ri.SlackSendMessage]: uHt,
|
|
69669
69669
|
// [ExternalIntegrationOperations.SlackUsers]: usersIntegrationBuiltInActionDescriptorTransfer,
|
|
69670
|
-
[
|
|
69671
|
-
[
|
|
69672
|
-
[
|
|
69670
|
+
[ri.SlackChannels]: fWt,
|
|
69671
|
+
[ri.SlackMessages]: czt,
|
|
69672
|
+
[ri.SlackReplies]: pJt
|
|
69673
69673
|
}, Uei = {
|
|
69674
69674
|
...Zyt,
|
|
69675
69675
|
...ztt,
|
|
@@ -74980,7 +74980,7 @@ class va {
|
|
|
74980
74980
|
const n = [];
|
|
74981
74981
|
for (const s of i) {
|
|
74982
74982
|
if (s.status === "aborted")
|
|
74983
|
-
return
|
|
74983
|
+
return Xt;
|
|
74984
74984
|
s.status === "dirty" && p.dirty(), n.push(s.value);
|
|
74985
74985
|
}
|
|
74986
74986
|
return { status: p.value, value: n };
|
|
@@ -75001,13 +75001,13 @@ class va {
|
|
|
75001
75001
|
for (const s of i) {
|
|
75002
75002
|
const { key: c, value: e } = s;
|
|
75003
75003
|
if (c.status === "aborted" || e.status === "aborted")
|
|
75004
|
-
return
|
|
75004
|
+
return Xt;
|
|
75005
75005
|
c.status === "dirty" && p.dirty(), e.status === "dirty" && p.dirty(), c.value !== "__proto__" && (typeof e.value < "u" || s.alwaysSet) && (n[c.value] = e.value);
|
|
75006
75006
|
}
|
|
75007
75007
|
return { status: p.value, value: n };
|
|
75008
75008
|
}
|
|
75009
75009
|
}
|
|
75010
|
-
const
|
|
75010
|
+
const Xt = Object.freeze({
|
|
75011
75011
|
status: "aborted"
|
|
75012
75012
|
}), nm = (o) => ({ status: "dirty", value: o }), el = (o) => ({ status: "valid", value: o }), uL = (o) => o.status === "aborted", pL = (o) => o.status === "dirty", Zf = (o) => o.status === "valid", rE = (o) => typeof Promise < "u" && o instanceof Promise;
|
|
75013
75013
|
var wt;
|
|
@@ -75311,7 +75311,7 @@ class rd extends Fi {
|
|
|
75311
75311
|
code: nt.invalid_type,
|
|
75312
75312
|
expected: gt.string,
|
|
75313
75313
|
received: c.parsedType
|
|
75314
|
-
}),
|
|
75314
|
+
}), Xt;
|
|
75315
75315
|
}
|
|
75316
75316
|
const n = new va();
|
|
75317
75317
|
let s;
|
|
@@ -75702,7 +75702,7 @@ class Hf extends Fi {
|
|
|
75702
75702
|
code: nt.invalid_type,
|
|
75703
75703
|
expected: gt.number,
|
|
75704
75704
|
received: c.parsedType
|
|
75705
|
-
}),
|
|
75705
|
+
}), Xt;
|
|
75706
75706
|
}
|
|
75707
75707
|
let n;
|
|
75708
75708
|
const s = new va();
|
|
@@ -75904,7 +75904,7 @@ class Wf extends Fi {
|
|
|
75904
75904
|
code: nt.invalid_type,
|
|
75905
75905
|
expected: gt.bigint,
|
|
75906
75906
|
received: i.parsedType
|
|
75907
|
-
}),
|
|
75907
|
+
}), Xt;
|
|
75908
75908
|
}
|
|
75909
75909
|
gte(p, i) {
|
|
75910
75910
|
return this.setLimit("min", p, !0, wt.toString(i));
|
|
@@ -76004,7 +76004,7 @@ class tD extends Fi {
|
|
|
76004
76004
|
code: nt.invalid_type,
|
|
76005
76005
|
expected: gt.boolean,
|
|
76006
76006
|
received: n.parsedType
|
|
76007
|
-
}),
|
|
76007
|
+
}), Xt;
|
|
76008
76008
|
}
|
|
76009
76009
|
return el(p.data);
|
|
76010
76010
|
}
|
|
@@ -76022,13 +76022,13 @@ class mm extends Fi {
|
|
|
76022
76022
|
code: nt.invalid_type,
|
|
76023
76023
|
expected: gt.date,
|
|
76024
76024
|
received: c.parsedType
|
|
76025
|
-
}),
|
|
76025
|
+
}), Xt;
|
|
76026
76026
|
}
|
|
76027
76027
|
if (Number.isNaN(p.data.getTime())) {
|
|
76028
76028
|
const c = this._getOrReturnCtx(p);
|
|
76029
76029
|
return ht(c, {
|
|
76030
76030
|
code: nt.invalid_date
|
|
76031
|
-
}),
|
|
76031
|
+
}), Xt;
|
|
76032
76032
|
}
|
|
76033
76033
|
const n = new va();
|
|
76034
76034
|
let s;
|
|
@@ -76100,7 +76100,7 @@ class iD extends Fi {
|
|
|
76100
76100
|
code: nt.invalid_type,
|
|
76101
76101
|
expected: gt.symbol,
|
|
76102
76102
|
received: n.parsedType
|
|
76103
|
-
}),
|
|
76103
|
+
}), Xt;
|
|
76104
76104
|
}
|
|
76105
76105
|
return el(p.data);
|
|
76106
76106
|
}
|
|
@@ -76117,7 +76117,7 @@ class rD extends Fi {
|
|
|
76117
76117
|
code: nt.invalid_type,
|
|
76118
76118
|
expected: gt.undefined,
|
|
76119
76119
|
received: n.parsedType
|
|
76120
|
-
}),
|
|
76120
|
+
}), Xt;
|
|
76121
76121
|
}
|
|
76122
76122
|
return el(p.data);
|
|
76123
76123
|
}
|
|
@@ -76134,7 +76134,7 @@ class nD extends Fi {
|
|
|
76134
76134
|
code: nt.invalid_type,
|
|
76135
76135
|
expected: gt.null,
|
|
76136
76136
|
received: n.parsedType
|
|
76137
|
-
}),
|
|
76137
|
+
}), Xt;
|
|
76138
76138
|
}
|
|
76139
76139
|
return el(p.data);
|
|
76140
76140
|
}
|
|
@@ -76174,7 +76174,7 @@ class uu extends Fi {
|
|
|
76174
76174
|
code: nt.invalid_type,
|
|
76175
76175
|
expected: gt.never,
|
|
76176
76176
|
received: i.parsedType
|
|
76177
|
-
}),
|
|
76177
|
+
}), Xt;
|
|
76178
76178
|
}
|
|
76179
76179
|
}
|
|
76180
76180
|
uu.create = (o) => new uu({
|
|
@@ -76189,7 +76189,7 @@ class lD extends Fi {
|
|
|
76189
76189
|
code: nt.invalid_type,
|
|
76190
76190
|
expected: gt.void,
|
|
76191
76191
|
received: n.parsedType
|
|
76192
|
-
}),
|
|
76192
|
+
}), Xt;
|
|
76193
76193
|
}
|
|
76194
76194
|
return el(p.data);
|
|
76195
76195
|
}
|
|
@@ -76206,7 +76206,7 @@ class To extends Fi {
|
|
|
76206
76206
|
code: nt.invalid_type,
|
|
76207
76207
|
expected: gt.array,
|
|
76208
76208
|
received: i.parsedType
|
|
76209
|
-
}),
|
|
76209
|
+
}), Xt;
|
|
76210
76210
|
if (s.exactLength !== null) {
|
|
76211
76211
|
const e = i.data.length > s.exactLength.value, y = i.data.length < s.exactLength.value;
|
|
76212
76212
|
(e || y) && (ht(i, {
|
|
@@ -76305,7 +76305,7 @@ class Hr extends Fi {
|
|
|
76305
76305
|
code: nt.invalid_type,
|
|
76306
76306
|
expected: gt.object,
|
|
76307
76307
|
received: v.parsedType
|
|
76308
|
-
}),
|
|
76308
|
+
}), Xt;
|
|
76309
76309
|
}
|
|
76310
76310
|
const { status: n, ctx: s } = this._processInputParams(p), { shape: c, keys: e } = this._getCached(), y = [];
|
|
76311
76311
|
if (!(this._def.catchall instanceof uu && this._def.unknownKeys === "strip"))
|
|
@@ -76591,7 +76591,7 @@ class nE extends Fi {
|
|
|
76591
76591
|
return ht(i, {
|
|
76592
76592
|
code: nt.invalid_union,
|
|
76593
76593
|
unionErrors: e
|
|
76594
|
-
}),
|
|
76594
|
+
}), Xt;
|
|
76595
76595
|
}
|
|
76596
76596
|
if (i.common.async)
|
|
76597
76597
|
return Promise.all(n.map(async (c) => {
|
|
@@ -76638,7 +76638,7 @@ class nE extends Fi {
|
|
|
76638
76638
|
return ht(i, {
|
|
76639
76639
|
code: nt.invalid_union,
|
|
76640
76640
|
unionErrors: y
|
|
76641
|
-
}),
|
|
76641
|
+
}), Xt;
|
|
76642
76642
|
}
|
|
76643
76643
|
}
|
|
76644
76644
|
get options() {
|
|
@@ -76681,11 +76681,11 @@ class aE extends Fi {
|
|
|
76681
76681
|
_parse(p) {
|
|
76682
76682
|
const { status: i, ctx: n } = this._processInputParams(p), s = (c, e) => {
|
|
76683
76683
|
if (uL(c) || uL(e))
|
|
76684
|
-
return
|
|
76684
|
+
return Xt;
|
|
76685
76685
|
const y = oD(c.value, e.value);
|
|
76686
76686
|
return y.valid ? ((pL(c) || pL(e)) && i.dirty(), { status: i.value, value: y.data }) : (ht(n, {
|
|
76687
76687
|
code: nt.invalid_intersection_types
|
|
76688
|
-
}),
|
|
76688
|
+
}), Xt);
|
|
76689
76689
|
};
|
|
76690
76690
|
return n.common.async ? Promise.all([
|
|
76691
76691
|
this._def.left._parseAsync({
|
|
@@ -76723,7 +76723,7 @@ class zp extends Fi {
|
|
|
76723
76723
|
code: nt.invalid_type,
|
|
76724
76724
|
expected: gt.array,
|
|
76725
76725
|
received: n.parsedType
|
|
76726
|
-
}),
|
|
76726
|
+
}), Xt;
|
|
76727
76727
|
if (n.data.length < this._def.items.length)
|
|
76728
76728
|
return ht(n, {
|
|
76729
76729
|
code: nt.too_small,
|
|
@@ -76731,7 +76731,7 @@ class zp extends Fi {
|
|
|
76731
76731
|
inclusive: !0,
|
|
76732
76732
|
exact: !1,
|
|
76733
76733
|
type: "array"
|
|
76734
|
-
}),
|
|
76734
|
+
}), Xt;
|
|
76735
76735
|
!this._def.rest && n.data.length > this._def.items.length && (ht(n, {
|
|
76736
76736
|
code: nt.too_big,
|
|
76737
76737
|
maximum: this._def.items.length,
|
|
@@ -76779,7 +76779,7 @@ class sE extends Fi {
|
|
|
76779
76779
|
code: nt.invalid_type,
|
|
76780
76780
|
expected: gt.object,
|
|
76781
76781
|
received: n.parsedType
|
|
76782
|
-
}),
|
|
76782
|
+
}), Xt;
|
|
76783
76783
|
const s = [], c = this._def.keyType, e = this._def.valueType;
|
|
76784
76784
|
for (const y in n.data)
|
|
76785
76785
|
s.push({
|
|
@@ -76820,7 +76820,7 @@ class dD extends Fi {
|
|
|
76820
76820
|
code: nt.invalid_type,
|
|
76821
76821
|
expected: gt.map,
|
|
76822
76822
|
received: n.parsedType
|
|
76823
|
-
}),
|
|
76823
|
+
}), Xt;
|
|
76824
76824
|
const s = this._def.keyType, c = this._def.valueType, e = [...n.data.entries()].map(([y, m], v) => ({
|
|
76825
76825
|
key: s._parse(new Ao(n, y, n.path, [v, "key"])),
|
|
76826
76826
|
value: c._parse(new Ao(n, m, n.path, [v, "value"]))
|
|
@@ -76831,7 +76831,7 @@ class dD extends Fi {
|
|
|
76831
76831
|
for (const m of e) {
|
|
76832
76832
|
const v = await m.key, b = await m.value;
|
|
76833
76833
|
if (v.status === "aborted" || b.status === "aborted")
|
|
76834
|
-
return
|
|
76834
|
+
return Xt;
|
|
76835
76835
|
(v.status === "dirty" || b.status === "dirty") && i.dirty(), y.set(v.value, b.value);
|
|
76836
76836
|
}
|
|
76837
76837
|
return { status: i.value, value: y };
|
|
@@ -76841,7 +76841,7 @@ class dD extends Fi {
|
|
|
76841
76841
|
for (const m of e) {
|
|
76842
76842
|
const v = m.key, b = m.value;
|
|
76843
76843
|
if (v.status === "aborted" || b.status === "aborted")
|
|
76844
|
-
return
|
|
76844
|
+
return Xt;
|
|
76845
76845
|
(v.status === "dirty" || b.status === "dirty") && i.dirty(), y.set(v.value, b.value);
|
|
76846
76846
|
}
|
|
76847
76847
|
return { status: i.value, value: y };
|
|
@@ -76862,7 +76862,7 @@ class zf extends Fi {
|
|
|
76862
76862
|
code: nt.invalid_type,
|
|
76863
76863
|
expected: gt.set,
|
|
76864
76864
|
received: n.parsedType
|
|
76865
|
-
}),
|
|
76865
|
+
}), Xt;
|
|
76866
76866
|
const s = this._def;
|
|
76867
76867
|
s.minSize !== null && n.data.size < s.minSize.value && (ht(n, {
|
|
76868
76868
|
code: nt.too_small,
|
|
@@ -76884,7 +76884,7 @@ class zf extends Fi {
|
|
|
76884
76884
|
const v = /* @__PURE__ */ new Set();
|
|
76885
76885
|
for (const b of m) {
|
|
76886
76886
|
if (b.status === "aborted")
|
|
76887
|
-
return
|
|
76887
|
+
return Xt;
|
|
76888
76888
|
b.status === "dirty" && i.dirty(), v.add(b.value);
|
|
76889
76889
|
}
|
|
76890
76890
|
return { status: i.value, value: v };
|
|
@@ -76940,7 +76940,7 @@ class pD extends Fi {
|
|
|
76940
76940
|
received: i.data,
|
|
76941
76941
|
code: nt.invalid_literal,
|
|
76942
76942
|
expected: this._def.value
|
|
76943
|
-
}),
|
|
76943
|
+
}), Xt;
|
|
76944
76944
|
}
|
|
76945
76945
|
return { status: "valid", value: p.data };
|
|
76946
76946
|
}
|
|
@@ -76968,7 +76968,7 @@ class Jf extends Fi {
|
|
|
76968
76968
|
expected: Ji.joinValues(n),
|
|
76969
76969
|
received: i.parsedType,
|
|
76970
76970
|
code: nt.invalid_type
|
|
76971
|
-
}),
|
|
76971
|
+
}), Xt;
|
|
76972
76972
|
}
|
|
76973
76973
|
if (this._cache || (this._cache = new Set(this._def.values)), !this._cache.has(p.data)) {
|
|
76974
76974
|
const i = this._getOrReturnCtx(p), n = this._def.values;
|
|
@@ -76976,7 +76976,7 @@ class Jf extends Fi {
|
|
|
76976
76976
|
received: i.data,
|
|
76977
76977
|
code: nt.invalid_enum_value,
|
|
76978
76978
|
options: n
|
|
76979
|
-
}),
|
|
76979
|
+
}), Xt;
|
|
76980
76980
|
}
|
|
76981
76981
|
return el(p.data);
|
|
76982
76982
|
}
|
|
@@ -77024,7 +77024,7 @@ class cD extends Fi {
|
|
|
77024
77024
|
expected: Ji.joinValues(s),
|
|
77025
77025
|
received: n.parsedType,
|
|
77026
77026
|
code: nt.invalid_type
|
|
77027
|
-
}),
|
|
77027
|
+
}), Xt;
|
|
77028
77028
|
}
|
|
77029
77029
|
if (this._cache || (this._cache = new Set(Ji.getValidEnumValues(this._def.values))), !this._cache.has(p.data)) {
|
|
77030
77030
|
const s = Ji.objectValues(i);
|
|
@@ -77032,7 +77032,7 @@ class cD extends Fi {
|
|
|
77032
77032
|
received: n.data,
|
|
77033
77033
|
code: nt.invalid_enum_value,
|
|
77034
77034
|
options: s
|
|
77035
|
-
}),
|
|
77035
|
+
}), Xt;
|
|
77036
77036
|
}
|
|
77037
77037
|
return el(p.data);
|
|
77038
77038
|
}
|
|
@@ -77056,7 +77056,7 @@ class lE extends Fi {
|
|
|
77056
77056
|
code: nt.invalid_type,
|
|
77057
77057
|
expected: gt.promise,
|
|
77058
77058
|
received: i.parsedType
|
|
77059
|
-
}),
|
|
77059
|
+
}), Xt;
|
|
77060
77060
|
const n = i.parsedType === gt.promise ? i.data : Promise.resolve(i.data);
|
|
77061
77061
|
return el(n.then((s) => this._def.type.parseAsync(s, {
|
|
77062
77062
|
path: i.path,
|
|
@@ -77090,23 +77090,23 @@ class pu extends Fi {
|
|
|
77090
77090
|
if (n.common.async)
|
|
77091
77091
|
return Promise.resolve(e).then(async (y) => {
|
|
77092
77092
|
if (i.value === "aborted")
|
|
77093
|
-
return
|
|
77093
|
+
return Xt;
|
|
77094
77094
|
const m = await this._def.schema._parseAsync({
|
|
77095
77095
|
data: y,
|
|
77096
77096
|
path: n.path,
|
|
77097
77097
|
parent: n
|
|
77098
77098
|
});
|
|
77099
|
-
return m.status === "aborted" ?
|
|
77099
|
+
return m.status === "aborted" ? Xt : m.status === "dirty" || i.value === "dirty" ? nm(m.value) : m;
|
|
77100
77100
|
});
|
|
77101
77101
|
{
|
|
77102
77102
|
if (i.value === "aborted")
|
|
77103
|
-
return
|
|
77103
|
+
return Xt;
|
|
77104
77104
|
const y = this._def.schema._parseSync({
|
|
77105
77105
|
data: e,
|
|
77106
77106
|
path: n.path,
|
|
77107
77107
|
parent: n
|
|
77108
77108
|
});
|
|
77109
|
-
return y.status === "aborted" ?
|
|
77109
|
+
return y.status === "aborted" ? Xt : y.status === "dirty" || i.value === "dirty" ? nm(y.value) : y;
|
|
77110
77110
|
}
|
|
77111
77111
|
}
|
|
77112
77112
|
if (s.type === "refinement") {
|
|
@@ -77124,9 +77124,9 @@ class pu extends Fi {
|
|
|
77124
77124
|
path: n.path,
|
|
77125
77125
|
parent: n
|
|
77126
77126
|
});
|
|
77127
|
-
return y.status === "aborted" ?
|
|
77127
|
+
return y.status === "aborted" ? Xt : (y.status === "dirty" && i.dirty(), e(y.value), { status: i.value, value: y.value });
|
|
77128
77128
|
} else
|
|
77129
|
-
return this._def.schema._parseAsync({ data: n.data, path: n.path, parent: n }).then((y) => y.status === "aborted" ?
|
|
77129
|
+
return this._def.schema._parseAsync({ data: n.data, path: n.path, parent: n }).then((y) => y.status === "aborted" ? Xt : (y.status === "dirty" && i.dirty(), e(y.value).then(() => ({ status: i.value, value: y.value }))));
|
|
77130
77130
|
}
|
|
77131
77131
|
if (s.type === "transform")
|
|
77132
77132
|
if (n.common.async === !1) {
|
|
@@ -77136,7 +77136,7 @@ class pu extends Fi {
|
|
|
77136
77136
|
parent: n
|
|
77137
77137
|
});
|
|
77138
77138
|
if (!Zf(e))
|
|
77139
|
-
return
|
|
77139
|
+
return Xt;
|
|
77140
77140
|
const y = s.transform(e.value, c);
|
|
77141
77141
|
if (y instanceof Promise)
|
|
77142
77142
|
throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");
|
|
@@ -77145,7 +77145,7 @@ class pu extends Fi {
|
|
|
77145
77145
|
return this._def.schema._parseAsync({ data: n.data, path: n.path, parent: n }).then((e) => Zf(e) ? Promise.resolve(s.transform(e.value, c)).then((y) => ({
|
|
77146
77146
|
status: i.value,
|
|
77147
77147
|
value: y
|
|
77148
|
-
})) :
|
|
77148
|
+
})) : Xt);
|
|
77149
77149
|
Ji.assertNever(s);
|
|
77150
77150
|
}
|
|
77151
77151
|
}
|
|
@@ -77258,7 +77258,7 @@ class hD extends Fi {
|
|
|
77258
77258
|
code: nt.invalid_type,
|
|
77259
77259
|
expected: gt.nan,
|
|
77260
77260
|
received: n.parsedType
|
|
77261
|
-
}),
|
|
77261
|
+
}), Xt;
|
|
77262
77262
|
}
|
|
77263
77263
|
return { status: "valid", value: p.data };
|
|
77264
77264
|
}
|
|
@@ -77290,7 +77290,7 @@ class ZC extends Fi {
|
|
|
77290
77290
|
path: n.path,
|
|
77291
77291
|
parent: n
|
|
77292
77292
|
});
|
|
77293
|
-
return c.status === "aborted" ?
|
|
77293
|
+
return c.status === "aborted" ? Xt : c.status === "dirty" ? (i.dirty(), nm(c.value)) : this._def.out._parseAsync({
|
|
77294
77294
|
data: c.value,
|
|
77295
77295
|
path: n.path,
|
|
77296
77296
|
parent: n
|
|
@@ -77302,7 +77302,7 @@ class ZC extends Fi {
|
|
|
77302
77302
|
path: n.path,
|
|
77303
77303
|
parent: n
|
|
77304
77304
|
});
|
|
77305
|
-
return s.status === "aborted" ?
|
|
77305
|
+
return s.status === "aborted" ? Xt : s.status === "dirty" ? (i.dirty(), {
|
|
77306
77306
|
status: "dirty",
|
|
77307
77307
|
value: s.value
|
|
77308
77308
|
}) : this._def.out._parseSync({
|
|
@@ -79701,15 +79701,15 @@ function Rsi(o) {
|
|
|
79701
79701
|
p.id
|
|
79702
79702
|
);
|
|
79703
79703
|
(i == null ? void 0 : i.type) === d.DefinitionEntity && i.parent.type !== d.DataType && (o.project.emit(
|
|
79704
|
-
|
|
79704
|
+
Yt.EXPLICIT_DEFINITION_ENTITY_ADDED,
|
|
79705
79705
|
i,
|
|
79706
79706
|
o
|
|
79707
79707
|
), Yi(i, Re.PERSISTED_ENTITY) ? o.project.emit(
|
|
79708
|
-
|
|
79708
|
+
Yt.PERSISTED_DEFINITION_ENTITY_ADDED,
|
|
79709
79709
|
i,
|
|
79710
79710
|
o
|
|
79711
79711
|
) : Yi(i, Re.RELATIONAL_DATABASE) && o.project.emit(
|
|
79712
|
-
|
|
79712
|
+
Yt.RELATIONAL_DATABASE_DEFINITION_ENTITY_ADDED,
|
|
79713
79713
|
i,
|
|
79714
79714
|
o
|
|
79715
79715
|
));
|
|
@@ -79718,15 +79718,15 @@ function Rsi(o) {
|
|
|
79718
79718
|
p.id
|
|
79719
79719
|
);
|
|
79720
79720
|
(i == null ? void 0 : i.type) === d.DefinitionEntity && i.parent.type !== d.DataType && (o.project.emit(
|
|
79721
|
-
|
|
79721
|
+
Yt.EXPLICIT_DEFINITION_ENTITY_UPDATED,
|
|
79722
79722
|
i,
|
|
79723
79723
|
o
|
|
79724
79724
|
), Yi(i, Re.PERSISTED_ENTITY) ? o.project.emit(
|
|
79725
|
-
|
|
79725
|
+
Yt.PERSISTED_DEFINITION_ENTITY_UPDATED,
|
|
79726
79726
|
i,
|
|
79727
79727
|
o
|
|
79728
79728
|
) : Yi(i, Re.RELATIONAL_DATABASE) && o.project.emit(
|
|
79729
|
-
|
|
79729
|
+
Yt.RELATIONAL_DATABASE_DEFINITION_ENTITY_UPDATED,
|
|
79730
79730
|
i,
|
|
79731
79731
|
o
|
|
79732
79732
|
));
|
|
@@ -79735,15 +79735,15 @@ function Rsi(o) {
|
|
|
79735
79735
|
p.id
|
|
79736
79736
|
);
|
|
79737
79737
|
(i == null ? void 0 : i.type) === d.DefinitionEntity && i.parent.type !== d.DataType && (o.project.emit(
|
|
79738
|
-
|
|
79738
|
+
Yt.EXPLICIT_DEFINITION_ENTITY_REMOVED,
|
|
79739
79739
|
i,
|
|
79740
79740
|
o
|
|
79741
79741
|
), Yi(i, Re.PERSISTED_ENTITY) ? o.project.emit(
|
|
79742
|
-
|
|
79742
|
+
Yt.PERSISTED_DEFINITION_ENTITY_REMOVED,
|
|
79743
79743
|
i,
|
|
79744
79744
|
o
|
|
79745
79745
|
) : Yi(i, Re.RELATIONAL_DATABASE) && o.project.emit(
|
|
79746
|
-
|
|
79746
|
+
Yt.RELATIONAL_DATABASE_DEFINITION_ENTITY_REMOVED,
|
|
79747
79747
|
i,
|
|
79748
79748
|
o
|
|
79749
79749
|
));
|
|
@@ -79757,19 +79757,19 @@ async function Dsi(o, p = {}) {
|
|
|
79757
79757
|
);
|
|
79758
79758
|
(c == null ? void 0 : c.type) === d.DefinitionEntity && c.parent.type !== d.DataType && (n.push(
|
|
79759
79759
|
o.project.emitAsync(
|
|
79760
|
-
|
|
79760
|
+
Yt.EXPLICIT_DEFINITION_ENTITY_ADDED,
|
|
79761
79761
|
c,
|
|
79762
79762
|
o
|
|
79763
79763
|
)
|
|
79764
79764
|
), Yi(c, Re.PERSISTED_ENTITY) ? n.push(
|
|
79765
79765
|
o.project.emitAsync(
|
|
79766
|
-
|
|
79766
|
+
Yt.PERSISTED_DEFINITION_ENTITY_ADDED,
|
|
79767
79767
|
c,
|
|
79768
79768
|
o
|
|
79769
79769
|
)
|
|
79770
79770
|
) : Yi(c, Re.RELATIONAL_DATABASE) && n.push(
|
|
79771
79771
|
o.project.emitAsync(
|
|
79772
|
-
|
|
79772
|
+
Yt.RELATIONAL_DATABASE_DEFINITION_ENTITY_ADDED,
|
|
79773
79773
|
c,
|
|
79774
79774
|
o
|
|
79775
79775
|
)
|
|
@@ -79781,19 +79781,19 @@ async function Dsi(o, p = {}) {
|
|
|
79781
79781
|
);
|
|
79782
79782
|
(c == null ? void 0 : c.type) === d.DefinitionEntity && c.parent.type !== d.DataType && (n.push(
|
|
79783
79783
|
o.project.emitAsync(
|
|
79784
|
-
|
|
79784
|
+
Yt.EXPLICIT_DEFINITION_ENTITY_UPDATED,
|
|
79785
79785
|
c,
|
|
79786
79786
|
o
|
|
79787
79787
|
)
|
|
79788
79788
|
), Yi(c, Re.PERSISTED_ENTITY) ? n.push(
|
|
79789
79789
|
o.project.emitAsync(
|
|
79790
|
-
|
|
79790
|
+
Yt.PERSISTED_DEFINITION_ENTITY_UPDATED,
|
|
79791
79791
|
c,
|
|
79792
79792
|
o
|
|
79793
79793
|
)
|
|
79794
79794
|
) : Yi(c, Re.RELATIONAL_DATABASE) && n.push(
|
|
79795
79795
|
o.project.emitAsync(
|
|
79796
|
-
|
|
79796
|
+
Yt.RELATIONAL_DATABASE_DEFINITION_ENTITY_UPDATED,
|
|
79797
79797
|
c,
|
|
79798
79798
|
o
|
|
79799
79799
|
)
|
|
@@ -79805,19 +79805,19 @@ async function Dsi(o, p = {}) {
|
|
|
79805
79805
|
);
|
|
79806
79806
|
(c == null ? void 0 : c.type) === d.DefinitionEntity && c.parent.type !== d.DataType && (n.push(
|
|
79807
79807
|
o.project.emitAsync(
|
|
79808
|
-
|
|
79808
|
+
Yt.EXPLICIT_DEFINITION_ENTITY_REMOVED,
|
|
79809
79809
|
c,
|
|
79810
79810
|
o
|
|
79811
79811
|
)
|
|
79812
79812
|
), Yi(c, Re.PERSISTED_ENTITY) ? n.push(
|
|
79813
79813
|
o.project.emitAsync(
|
|
79814
|
-
|
|
79814
|
+
Yt.PERSISTED_DEFINITION_ENTITY_REMOVED,
|
|
79815
79815
|
c,
|
|
79816
79816
|
o
|
|
79817
79817
|
)
|
|
79818
79818
|
) : Yi(c, Re.RELATIONAL_DATABASE) && n.push(
|
|
79819
79819
|
o.project.emitAsync(
|
|
79820
|
-
|
|
79820
|
+
Yt.RELATIONAL_DATABASE_DEFINITION_ENTITY_REMOVED,
|
|
79821
79821
|
c,
|
|
79822
79822
|
o
|
|
79823
79823
|
)
|
|
@@ -80104,7 +80104,7 @@ class Z extends qf {
|
|
|
80104
80104
|
return this.startedClose || (this.startedClose = !0, c ? await this.beforeCloseAsync({ tracker: n }) : this.beforeCloseAsync({ tracker: n })), !this.isValid && this.self && !this.added[this.self.id] && !this.updated[this.self.id] && this.removed[this.self.id], await this.discardOrphansAsync({ tracker: n }), await this.sanitizeAsync({ tracker: n }), await this.recursiveCaptureUpstreamVersionsAsync({ tracker: n }), this.lockedVersions || (await this.captureAllChangesInVersionInstancesAsync({ tracker: n }), await this.recursiveCaptureUpstreamVersionsAsync({ tracker: n })), this.open = !1, this.isEmpty ? (this.logger.warn(
|
|
80105
80105
|
`[ChangeSet.closeAsync] Empty change-set (${this.id}) discarded upon closing.`
|
|
80106
80106
|
), this.dirty = !1, this.project.discardChangeSet(this), this.logger.log("[ChangeSet.closeAsync] Closing pending change-sets..."), this.project.closePersistChangeSetsSequentially(), this) : (this.project.emit(
|
|
80107
|
-
|
|
80107
|
+
Yt.CHANGE_SET_CLOSED_BEFORE_PERSIST,
|
|
80108
80108
|
this
|
|
80109
80109
|
), e ? s.persistType === "parallel" ? await this.project.persistChangeSetInParallel(this) : await this.project.persistChangeSetSequentially(this) : s.persistType === "parallel" ? this.project.persistChangeSetInParallel(this) : this.project.persistChangeSetSequentially(this), this.destroy(), this);
|
|
80110
80110
|
}
|
|
@@ -80211,19 +80211,19 @@ class Z extends qf {
|
|
|
80211
80211
|
async beforeCloseAsync(i = {}) {
|
|
80212
80212
|
const n = Ke.from(i);
|
|
80213
80213
|
await this.project.emitAsync(
|
|
80214
|
-
|
|
80214
|
+
Yt.BEFORE_CHANGE_SET_CLOSE_BEFORE_SIDE_EFFECTS,
|
|
80215
80215
|
this
|
|
80216
80216
|
), await this.syncDependentsAsync({ tracker: n }), await this.emitAsyncProjectSideEffects({ tracker: n }), await this.project.emitAsync(
|
|
80217
|
-
|
|
80217
|
+
Yt.BEFORE_CHANGE_SET_CLOSE_AFTER_SIDE_EFFECTS,
|
|
80218
80218
|
this
|
|
80219
80219
|
), this.teardown();
|
|
80220
80220
|
}
|
|
80221
80221
|
beforeClose() {
|
|
80222
80222
|
this.project.emit(
|
|
80223
|
-
|
|
80223
|
+
Yt.BEFORE_CHANGE_SET_CLOSE_BEFORE_SIDE_EFFECTS,
|
|
80224
80224
|
this
|
|
80225
80225
|
), this.syncDependents(), this.emitProjectSideEffects(), this.project.emit(
|
|
80226
|
-
|
|
80226
|
+
Yt.BEFORE_CHANGE_SET_CLOSE_AFTER_SIDE_EFFECTS,
|
|
80227
80227
|
this
|
|
80228
80228
|
), this.teardown();
|
|
80229
80229
|
}
|
|
@@ -80263,7 +80263,7 @@ class Z extends qf {
|
|
|
80263
80263
|
"Change-set must also have the project entity as 'updated' or 'added'. All changes must propagate upstream until the root project entity."
|
|
80264
80264
|
);
|
|
80265
80265
|
return this.project.emit(
|
|
80266
|
-
|
|
80266
|
+
Yt.CHANGE_SET_CLOSED_BEFORE_PERSIST,
|
|
80267
80267
|
this
|
|
80268
80268
|
), n.persistType === "parallel" ? this.project.persistChangeSetInParallel(this) : this.project.persistChangeSetSequentially(this), this.destroy(), this;
|
|
80269
80269
|
}
|
|
@@ -80934,7 +80934,7 @@ class Gr extends zC {
|
|
|
80934
80934
|
}
|
|
80935
80935
|
}
|
|
80936
80936
|
var Csi = /* @__PURE__ */ ((o) => (o.ArgumentDataTypeEntityField = "data-type-entity-field", o.ArgumentDataTypeField = "data-type-field", o.ArgumentImplementsField = "argument-implements-field", o))(Csi || {});
|
|
80937
|
-
const
|
|
80937
|
+
const si = class si extends Gr {
|
|
80938
80938
|
constructor(i, n) {
|
|
80939
80939
|
super(i);
|
|
80940
80940
|
I(this, "initialData");
|
|
@@ -81052,7 +81052,7 @@ const ai = class ai extends Gr {
|
|
|
81052
81052
|
const m = n.get(
|
|
81053
81053
|
re(s.parent)
|
|
81054
81054
|
);
|
|
81055
|
-
if (m &&
|
|
81055
|
+
if (m && Qt.includes(m.type)) {
|
|
81056
81056
|
const v = m.implements;
|
|
81057
81057
|
if (v) {
|
|
81058
81058
|
const b = v.inputs.find(
|
|
@@ -81273,7 +81273,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
81273
81273
|
// And adds it to the 'knownVersions' map
|
|
81274
81274
|
captureVersion() {
|
|
81275
81275
|
var n;
|
|
81276
|
-
const i = ((n = this.knownVersions) == null ? void 0 : n.get(this.version)) || new
|
|
81276
|
+
const i = ((n = this.knownVersions) == null ? void 0 : n.get(this.version)) || new si(this, this.project);
|
|
81277
81277
|
return i.metaSync(this.toMeta(), null), this.knownVersions = this.knownVersions ? this.knownVersions.set(this.version, i) : /* @__PURE__ */ new Map([[this.version, i]]), i.implements = [...this.implements], i.defaultValue = this.defaultValue, i.dataType = this.dataType, i.writesValues = [...this.writesValues], i.parent = this.parent, this;
|
|
81278
81278
|
}
|
|
81279
81279
|
// Traverses upstream entities and captures their versions as well
|
|
@@ -81340,7 +81340,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
81340
81340
|
throw new Error(
|
|
81341
81341
|
`Version with id '${i}' for entity with id '${this.id}' not found.`
|
|
81342
81342
|
);
|
|
81343
|
-
y = new
|
|
81343
|
+
y = new si(
|
|
81344
81344
|
v,
|
|
81345
81345
|
this.project
|
|
81346
81346
|
);
|
|
@@ -81694,31 +81694,31 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
81694
81694
|
return this.index = s.index || (s.index !== 0 ? e.index : 0), this.name = s.name !== void 0 ? s.name : e.name, this.codeName = s.codeName !== void 0 ? s.codeName : e.codeName, this.description = s.description !== void 0 ? s.description : e.description, this.required = s.required !== void 0 ? s.required : this.required, this.constant = !0, super.baseMetaSync(s, this, n), s.deleted === !0 && !e.deleted ? n == null || n.add(this, H.Removed) : s.deleted === !1 && e.deleted ? n == null || n.add(this, H.Added) : c && (n == null || n.add(this, H.Updated)), n == null || n.attemptAutoclose("meta-sync", this.id), this;
|
|
81695
81695
|
}
|
|
81696
81696
|
async APILoad(i = Ue, ...n) {
|
|
81697
|
-
return await
|
|
81697
|
+
return await si.repository.APILoad(this.id, ...n), this;
|
|
81698
81698
|
}
|
|
81699
81699
|
async APICreate(i = Ue, ...n) {
|
|
81700
|
-
return await
|
|
81700
|
+
return await si.repository.APICreate(
|
|
81701
81701
|
this.toShallowJSON(),
|
|
81702
81702
|
...n
|
|
81703
81703
|
), this;
|
|
81704
81704
|
}
|
|
81705
81705
|
async APIUpdate(i = Ue, ...n) {
|
|
81706
|
-
return await
|
|
81706
|
+
return await si.repository.APIUpdate(
|
|
81707
81707
|
this.toShallowJSON(),
|
|
81708
81708
|
...n
|
|
81709
81709
|
), this;
|
|
81710
81710
|
}
|
|
81711
81711
|
async APIDelete(i = Ue, ...n) {
|
|
81712
|
-
return await
|
|
81712
|
+
return await si.repository.APIDelete(
|
|
81713
81713
|
this.toShallowJSON(),
|
|
81714
81714
|
...n
|
|
81715
81715
|
), this;
|
|
81716
81716
|
}
|
|
81717
81717
|
async APIClone(i = Ue, ...n) {
|
|
81718
|
-
return await
|
|
81718
|
+
return await si.repository.APIClone(this.id, ...n), this;
|
|
81719
81719
|
}
|
|
81720
81720
|
async APILoadVersion(i = Ue, n, ...s) {
|
|
81721
|
-
return await
|
|
81721
|
+
return await si.repository.APILoadVersion(
|
|
81722
81722
|
this.id,
|
|
81723
81723
|
n,
|
|
81724
81724
|
...s
|
|
@@ -82323,7 +82323,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
82323
82323
|
};
|
|
82324
82324
|
}
|
|
82325
82325
|
};
|
|
82326
|
-
I(
|
|
82326
|
+
I(si, "repository", {
|
|
82327
82327
|
APICreate: async (i, ...n) => i,
|
|
82328
82328
|
APIUpdate: async (i, ...n) => i,
|
|
82329
82329
|
APIDelete: async (i, ...n) => i,
|
|
@@ -82331,52 +82331,52 @@ I(ai, "repository", {
|
|
|
82331
82331
|
},
|
|
82332
82332
|
APILoad: async (i, ...n) => null,
|
|
82333
82333
|
APILoadVersion: async (i, n, ...s) => null
|
|
82334
|
-
}), I(
|
|
82335
|
-
...
|
|
82336
|
-
]), I(
|
|
82334
|
+
}), I(si, "type", d.ArgumentDeclaration), I(si, "USER_MANAGED_PARENT_TYPES", [...Qt]), I(si, "PARENT_TYPES", [
|
|
82335
|
+
...si.USER_MANAGED_PARENT_TYPES
|
|
82336
|
+
]), I(si, "MUTABLE_BASE_PROPERTIES", [
|
|
82337
82337
|
"name",
|
|
82338
82338
|
"codeName",
|
|
82339
82339
|
"description",
|
|
82340
82340
|
"required",
|
|
82341
82341
|
"constant"
|
|
82342
|
-
]), I(
|
|
82342
|
+
]), I(si, "INMUTABLE_BASE_PROPERTIES", [
|
|
82343
82343
|
"id",
|
|
82344
82344
|
"type",
|
|
82345
82345
|
"version",
|
|
82346
82346
|
"createdAt",
|
|
82347
82347
|
"author",
|
|
82348
82348
|
"previousVersion"
|
|
82349
|
-
]), I(
|
|
82350
|
-
...
|
|
82351
|
-
...
|
|
82349
|
+
]), I(si, "BASE_PROPERTIES", [
|
|
82350
|
+
...si.MUTABLE_BASE_PROPERTIES,
|
|
82351
|
+
...si.INMUTABLE_BASE_PROPERTIES
|
|
82352
82352
|
]), // Includes the base properties and the meta properties
|
|
82353
82353
|
// Often contains properties related to UX, not necessary for the logic
|
|
82354
|
-
I(
|
|
82355
|
-
...
|
|
82354
|
+
I(si, "MUTABLE_META_PROPERTIES", [
|
|
82355
|
+
...si.MUTABLE_BASE_PROPERTIES,
|
|
82356
82356
|
"index"
|
|
82357
|
-
]), I(
|
|
82358
|
-
...
|
|
82359
|
-
]), I(
|
|
82360
|
-
...
|
|
82361
|
-
...
|
|
82357
|
+
]), I(si, "INMUTABLE_META_PROPERTIES", [
|
|
82358
|
+
...si.INMUTABLE_BASE_PROPERTIES
|
|
82359
|
+
]), I(si, "META_PROPERTIES", [
|
|
82360
|
+
...si.MUTABLE_META_PROPERTIES,
|
|
82361
|
+
...si.INMUTABLE_META_PROPERTIES
|
|
82362
82362
|
]), // Properties pointing to nested entities that are declared before the entity itself
|
|
82363
|
-
I(
|
|
82364
|
-
...
|
|
82365
|
-
...
|
|
82363
|
+
I(si, "MUTABLE_UPSTREAM_PROPERTIES", []), I(si, "INMUTABLE_UPSTREAM_PROPERTIES", ["parent", "implements"]), I(si, "UPSTREAM_PROPERTIES", [
|
|
82364
|
+
...si.MUTABLE_UPSTREAM_PROPERTIES,
|
|
82365
|
+
...si.INMUTABLE_UPSTREAM_PROPERTIES
|
|
82366
82366
|
]), // Properties pointing to nested entities that are declared after the entity itself or are direct children
|
|
82367
|
-
I(
|
|
82367
|
+
I(si, "MUTABLE_DOWNSTREAM_PROPERTIES", [
|
|
82368
82368
|
"writesValues",
|
|
82369
82369
|
"dataType",
|
|
82370
82370
|
"defaultValue"
|
|
82371
|
-
]), I(
|
|
82372
|
-
...
|
|
82373
|
-
...
|
|
82374
|
-
]), I(
|
|
82375
|
-
...
|
|
82376
|
-
...
|
|
82377
|
-
...
|
|
82371
|
+
]), I(si, "INMUTABLE_DOWNSTREAM_PROPERTIES", []), I(si, "DOWNSTREAM_PROPERTIES", [
|
|
82372
|
+
...si.MUTABLE_DOWNSTREAM_PROPERTIES,
|
|
82373
|
+
...si.INMUTABLE_DOWNSTREAM_PROPERTIES
|
|
82374
|
+
]), I(si, "PROPERTIES", [
|
|
82375
|
+
...si.META_PROPERTIES,
|
|
82376
|
+
...si.UPSTREAM_PROPERTIES,
|
|
82377
|
+
...si.DOWNSTREAM_PROPERTIES
|
|
82378
82378
|
]);
|
|
82379
|
-
let $a =
|
|
82379
|
+
let $a = si;
|
|
82380
82380
|
async function oU(o, p = {}) {
|
|
82381
82381
|
const i = Ke.from(p), n = uU(o), s = pU(o), c = JC(o), e = HA(o), y = [
|
|
82382
82382
|
...n,
|
|
@@ -84750,7 +84750,7 @@ function Lsi(o, p) {
|
|
|
84750
84750
|
};
|
|
84751
84751
|
}
|
|
84752
84752
|
var Gsi = /* @__PURE__ */ ((o) => (o.FunctionDeclarationImplements = "function-declaration-implements", o.FunctionDeclarationExtends = "function-declaration-extends", o.FunctionDeclarationDataType = "function-declaration-data-type", o.FunctionDeclarationDataTypeEntity = "function-declaration-data-type-entity", o))(Gsi || {});
|
|
84753
|
-
const
|
|
84753
|
+
const li = class li extends Gr {
|
|
84754
84754
|
constructor(i, n) {
|
|
84755
84755
|
super(i);
|
|
84756
84756
|
I(this, "initialData");
|
|
@@ -85180,7 +85180,7 @@ Please consider than any updates might affect the overlap with the signature of
|
|
|
85180
85180
|
// And adds it to the 'knownVersions' map
|
|
85181
85181
|
captureVersion() {
|
|
85182
85182
|
var n;
|
|
85183
|
-
const i = ((n = this.knownVersions) == null ? void 0 : n.get(this.version)) || new
|
|
85183
|
+
const i = ((n = this.knownVersions) == null ? void 0 : n.get(this.version)) || new li(this, this.project);
|
|
85184
85184
|
return i.metaSync(this.toMeta(), null), this.knownVersions = this.knownVersions ? this.knownVersions.set(this.version, i) : /* @__PURE__ */ new Map([[this.version, i]]), i.inputs = [...this.inputs], i.calls = [...this.calls], i.implements = this.implements, i.extends = this.extends, i.dataType = this.dataType, i.detachedChildren = [...this.detachedChildren], i.parent = this.parent, this;
|
|
85185
85185
|
}
|
|
85186
85186
|
// Traverses upstream entities and captures their versions as well
|
|
@@ -85247,7 +85247,7 @@ Please consider than any updates might affect the overlap with the signature of
|
|
|
85247
85247
|
throw new Error(
|
|
85248
85248
|
`Version with id '${i}' for entity with id '${this.id}' not found.`
|
|
85249
85249
|
);
|
|
85250
|
-
y = new
|
|
85250
|
+
y = new li(
|
|
85251
85251
|
v,
|
|
85252
85252
|
this.project
|
|
85253
85253
|
);
|
|
@@ -85679,31 +85679,31 @@ Please consider than any updates might affect the overlap with the signature of
|
|
|
85679
85679
|
return this.name = s.name !== void 0 ? s.name : e.name, this.codeName = s.codeName !== void 0 ? s.codeName : e.codeName, this.description = s.description !== void 0 ? s.description : e.description, this.private = s.private !== void 0 ? s.private : this.private, this.index = s.index || (s.index !== 0 ? e.index : 0), this.collapsed = s.collapsed !== void 0 ? s.collapsed : e.collapsed, this.x = s.x || e.x, this.y = s.y || e.y, super.baseMetaSync(s, this, n), s.deleted === !0 && !e.deleted ? n == null || n.add(this, H.Removed) : s.deleted === !1 && e.deleted ? n == null || n.add(this, H.Added) : c && (n == null || n.add(this, H.Updated)), n == null || n.attemptAutoclose("meta-sync", this.id), this;
|
|
85680
85680
|
}
|
|
85681
85681
|
async APILoad(i = Ue, ...n) {
|
|
85682
|
-
return await
|
|
85682
|
+
return await li.repository.APILoad(this.id, ...n), this;
|
|
85683
85683
|
}
|
|
85684
85684
|
async APICreate(i = Ue, ...n) {
|
|
85685
|
-
return await
|
|
85685
|
+
return await li.repository.APICreate(
|
|
85686
85686
|
this.toShallowJSON(),
|
|
85687
85687
|
...n
|
|
85688
85688
|
), this;
|
|
85689
85689
|
}
|
|
85690
85690
|
async APIUpdate(i = Ue, ...n) {
|
|
85691
|
-
return await
|
|
85691
|
+
return await li.repository.APIUpdate(
|
|
85692
85692
|
this.toShallowJSON(),
|
|
85693
85693
|
...n
|
|
85694
85694
|
), this;
|
|
85695
85695
|
}
|
|
85696
85696
|
async APIDelete(i = Ue, ...n) {
|
|
85697
|
-
return await
|
|
85697
|
+
return await li.repository.APIDelete(
|
|
85698
85698
|
this.toShallowJSON(),
|
|
85699
85699
|
...n
|
|
85700
85700
|
), this;
|
|
85701
85701
|
}
|
|
85702
85702
|
async APIClone(i = Ue, ...n) {
|
|
85703
|
-
return await
|
|
85703
|
+
return await li.repository.APIClone(this.id, ...n), this;
|
|
85704
85704
|
}
|
|
85705
85705
|
async APILoadVersion(i = Ue, n, ...s) {
|
|
85706
|
-
return await
|
|
85706
|
+
return await li.repository.APILoadVersion(
|
|
85707
85707
|
this.id,
|
|
85708
85708
|
n,
|
|
85709
85709
|
...s
|
|
@@ -86852,7 +86852,7 @@ Please consider than any updates might affect the overlap with the signature of
|
|
|
86852
86852
|
return (!this.dataType || this.dataType.inferred) && this.parent.type !== d.Loop && this.project.initialized && !((n = this.implements) != null && n.dataType) && this.inferDataTypeFromReturnStatements(i), i == null || i.attemptAutoclose("get-data-type", this.id), this.dataType || ((s = this.implements) == null ? void 0 : s.dataType) || null;
|
|
86853
86853
|
}
|
|
86854
86854
|
};
|
|
86855
|
-
I(
|
|
86855
|
+
I(li, "repository", {
|
|
86856
86856
|
APICreate: async (i, ...n) => i,
|
|
86857
86857
|
APIUpdate: async (i, ...n) => i,
|
|
86858
86858
|
APIDelete: async (i, ...n) => i,
|
|
@@ -86860,57 +86860,57 @@ I(si, "repository", {
|
|
|
86860
86860
|
},
|
|
86861
86861
|
APILoad: async (i, ...n) => null,
|
|
86862
86862
|
APILoadVersion: async (i, n, ...s) => null
|
|
86863
|
-
}), I(
|
|
86863
|
+
}), I(li, "type", d.FunctionDeclaration), I(li, "USER_MANAGED_PARENT_TYPES", [
|
|
86864
86864
|
d.Project,
|
|
86865
86865
|
d.InstalledProject,
|
|
86866
86866
|
d.DefinitionEntity,
|
|
86867
86867
|
d.Loop
|
|
86868
|
-
]), I(
|
|
86869
|
-
...
|
|
86868
|
+
]), I(li, "PARENT_TYPES", [
|
|
86869
|
+
...li.USER_MANAGED_PARENT_TYPES,
|
|
86870
86870
|
d.BuiltInBaseEntity,
|
|
86871
86871
|
d.PrimitiveEntity
|
|
86872
|
-
]), I(
|
|
86872
|
+
]), I(li, "MUTABLE_BASE_PROPERTIES", [
|
|
86873
86873
|
"name",
|
|
86874
86874
|
"codeName",
|
|
86875
86875
|
"description",
|
|
86876
86876
|
"private"
|
|
86877
|
-
]), I(
|
|
86877
|
+
]), I(li, "INMUTABLE_BASE_PROPERTIES", [
|
|
86878
86878
|
"id",
|
|
86879
86879
|
"type",
|
|
86880
86880
|
"version",
|
|
86881
86881
|
"createdAt",
|
|
86882
86882
|
"author",
|
|
86883
86883
|
"previousVersion"
|
|
86884
|
-
]), I(
|
|
86885
|
-
...
|
|
86886
|
-
...
|
|
86884
|
+
]), I(li, "BASE_PROPERTIES", [
|
|
86885
|
+
...li.MUTABLE_BASE_PROPERTIES,
|
|
86886
|
+
...li.INMUTABLE_BASE_PROPERTIES
|
|
86887
86887
|
]), // Includes the base properties and the meta properties
|
|
86888
86888
|
// Often contains properties related to UX, not necessary for the logic
|
|
86889
|
-
I(
|
|
86890
|
-
...
|
|
86889
|
+
I(li, "MUTABLE_META_PROPERTIES", [
|
|
86890
|
+
...li.MUTABLE_BASE_PROPERTIES,
|
|
86891
86891
|
"x",
|
|
86892
86892
|
"y",
|
|
86893
86893
|
"index",
|
|
86894
86894
|
"collapsed"
|
|
86895
|
-
]), I(
|
|
86896
|
-
...
|
|
86897
|
-
]), I(
|
|
86898
|
-
...
|
|
86899
|
-
...
|
|
86895
|
+
]), I(li, "INMUTABLE_META_PROPERTIES", [
|
|
86896
|
+
...li.INMUTABLE_BASE_PROPERTIES
|
|
86897
|
+
]), I(li, "META_PROPERTIES", [
|
|
86898
|
+
...li.MUTABLE_META_PROPERTIES,
|
|
86899
|
+
...li.INMUTABLE_META_PROPERTIES
|
|
86900
86900
|
]), // Properties pointing to nested entities that are declared before the entity itself
|
|
86901
|
-
I(
|
|
86902
|
-
...
|
|
86903
|
-
...
|
|
86901
|
+
I(li, "MUTABLE_UPSTREAM_PROPERTIES", []), I(li, "INMUTABLE_UPSTREAM_PROPERTIES", ["parent", "implements", "extends"]), I(li, "UPSTREAM_PROPERTIES", [
|
|
86902
|
+
...li.MUTABLE_UPSTREAM_PROPERTIES,
|
|
86903
|
+
...li.INMUTABLE_UPSTREAM_PROPERTIES
|
|
86904
86904
|
]), // Properties pointing to nested entities that are declared after the entity itself or are direct children
|
|
86905
|
-
I(
|
|
86906
|
-
...
|
|
86907
|
-
...
|
|
86908
|
-
]), I(
|
|
86909
|
-
...
|
|
86910
|
-
...
|
|
86911
|
-
...
|
|
86905
|
+
I(li, "MUTABLE_DOWNSTREAM_PROPERTIES", ["inputs", "calls"]), I(li, "INMUTABLE_DOWNSTREAM_PROPERTIES", ["dataType"]), I(li, "DOWNSTREAM_PROPERTIES", [
|
|
86906
|
+
...li.MUTABLE_DOWNSTREAM_PROPERTIES,
|
|
86907
|
+
...li.INMUTABLE_DOWNSTREAM_PROPERTIES
|
|
86908
|
+
]), I(li, "PROPERTIES", [
|
|
86909
|
+
...li.META_PROPERTIES,
|
|
86910
|
+
...li.UPSTREAM_PROPERTIES,
|
|
86911
|
+
...li.DOWNSTREAM_PROPERTIES
|
|
86912
86912
|
]);
|
|
86913
|
-
let ud =
|
|
86913
|
+
let ud = li;
|
|
86914
86914
|
async function hU(o, p = {}) {
|
|
86915
86915
|
var y;
|
|
86916
86916
|
const i = Ke.from(p), n = oa(o), s = da(o), c = [...n, ...s], e = Bt(o.errors, c);
|
|
@@ -86942,7 +86942,7 @@ const lki = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
86942
86942
|
validateAsync: hU
|
|
86943
86943
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
86944
86944
|
var Bsi = /* @__PURE__ */ ((o) => (o.Parent = "parent", o))(Bsi || {});
|
|
86945
|
-
const
|
|
86945
|
+
const oi = class oi extends Gr {
|
|
86946
86946
|
constructor(i, n) {
|
|
86947
86947
|
super(i);
|
|
86948
86948
|
I(this, "initialData");
|
|
@@ -87254,7 +87254,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
87254
87254
|
// And adds it to the 'knownVersions' map
|
|
87255
87255
|
captureVersion() {
|
|
87256
87256
|
var n;
|
|
87257
|
-
const i = ((n = this.knownVersions) == null ? void 0 : n.get(this.version)) || new
|
|
87257
|
+
const i = ((n = this.knownVersions) == null ? void 0 : n.get(this.version)) || new oi(this, this.project);
|
|
87258
87258
|
return i.metaSync(this.toMeta(), null), this.knownVersions = this.knownVersions ? this.knownVersions.set(this.version, i) : /* @__PURE__ */ new Map([[this.version, i]]), i.inputs = [...this.inputs], i.outputs = [...this.outputs], i.error = this.error, i.successCalls = [...this.successCalls], i.errorCalls = [...this.errorCalls], i.calledBySuccess = [...this.calledBySuccess], i.calledByError = [...this.calledByError], i.calledByEntry = [...this.calledByEntry], i.declaration = this.declaration, i.parent = this.parent, this;
|
|
87259
87259
|
}
|
|
87260
87260
|
// Traverses upstream entities and captures their versions as well
|
|
@@ -87321,7 +87321,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
87321
87321
|
throw new Error(
|
|
87322
87322
|
`Version with id '${i}' for entity with id '${this.id}' not found.`
|
|
87323
87323
|
);
|
|
87324
|
-
y = new
|
|
87324
|
+
y = new oi(
|
|
87325
87325
|
v,
|
|
87326
87326
|
this.project
|
|
87327
87327
|
);
|
|
@@ -87949,31 +87949,31 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
87949
87949
|
return this.x = s.x || e.x, this.y = s.y || e.y, this.catchesError = s.catchesError !== void 0 ? s.catchesError : this.catchesError, super.baseMetaSync(s, this, n), s.deleted === !0 && !e.deleted ? n == null || n.add(this, H.Removed) : s.deleted === !1 && e.deleted ? n == null || n.add(this, H.Added) : c && (n == null || n.add(this, H.Updated)), n == null || n.attemptAutoclose("meta-sync", this.id), this;
|
|
87950
87950
|
}
|
|
87951
87951
|
async APILoad(i = Ue, ...n) {
|
|
87952
|
-
return await
|
|
87952
|
+
return await oi.repository.APILoad(this.id, ...n), this;
|
|
87953
87953
|
}
|
|
87954
87954
|
async APICreate(i = Ue, ...n) {
|
|
87955
|
-
return await
|
|
87955
|
+
return await oi.repository.APICreate(
|
|
87956
87956
|
this.toShallowJSON(),
|
|
87957
87957
|
...n
|
|
87958
87958
|
), this;
|
|
87959
87959
|
}
|
|
87960
87960
|
async APIUpdate(i = Ue, ...n) {
|
|
87961
|
-
return await
|
|
87961
|
+
return await oi.repository.APIUpdate(
|
|
87962
87962
|
this.toShallowJSON(),
|
|
87963
87963
|
...n
|
|
87964
87964
|
), this;
|
|
87965
87965
|
}
|
|
87966
87966
|
async APIDelete(i = Ue, ...n) {
|
|
87967
|
-
return await
|
|
87967
|
+
return await oi.repository.APIDelete(
|
|
87968
87968
|
this.toShallowJSON(),
|
|
87969
87969
|
...n
|
|
87970
87970
|
), this;
|
|
87971
87971
|
}
|
|
87972
87972
|
async APIClone(i = Ue, ...n) {
|
|
87973
|
-
return await
|
|
87973
|
+
return await oi.repository.APIClone(this.id, ...n), this;
|
|
87974
87974
|
}
|
|
87975
87975
|
async APILoadVersion(i = Ue, n, ...s) {
|
|
87976
|
-
return await
|
|
87976
|
+
return await oi.repository.APILoadVersion(
|
|
87977
87977
|
this.id,
|
|
87978
87978
|
n,
|
|
87979
87979
|
...s
|
|
@@ -88771,7 +88771,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
88771
88771
|
return i == null || i.attemptAutoclose("get-data-type", this.id), n;
|
|
88772
88772
|
}
|
|
88773
88773
|
};
|
|
88774
|
-
I(
|
|
88774
|
+
I(oi, "repository", {
|
|
88775
88775
|
APICreate: async (i, ...n) => i,
|
|
88776
88776
|
APIUpdate: async (i, ...n) => i,
|
|
88777
88777
|
APIDelete: async (i, ...n) => i,
|
|
@@ -88779,57 +88779,57 @@ I(li, "repository", {
|
|
|
88779
88779
|
},
|
|
88780
88780
|
APILoad: async (i, ...n) => null,
|
|
88781
88781
|
APILoadVersion: async (i, n, ...s) => null
|
|
88782
|
-
}), I(
|
|
88782
|
+
}), I(oi, "type", d.Operation), I(oi, "USER_MANAGED_PARENT_TYPES", [
|
|
88783
88783
|
...dr,
|
|
88784
88784
|
d.Project
|
|
88785
|
-
]), I(
|
|
88786
|
-
...
|
|
88787
|
-
]), I(
|
|
88785
|
+
]), I(oi, "PARENT_TYPES", [
|
|
88786
|
+
...oi.USER_MANAGED_PARENT_TYPES
|
|
88787
|
+
]), I(oi, "MUTABLE_BASE_PROPERTIES", ["catchesError"]), I(oi, "INMUTABLE_BASE_PROPERTIES", [
|
|
88788
88788
|
"id",
|
|
88789
88789
|
"type",
|
|
88790
88790
|
"version",
|
|
88791
88791
|
"createdAt",
|
|
88792
88792
|
"author",
|
|
88793
88793
|
"previousVersion"
|
|
88794
|
-
]), I(
|
|
88795
|
-
...
|
|
88796
|
-
...
|
|
88794
|
+
]), I(oi, "BASE_PROPERTIES", [
|
|
88795
|
+
...oi.MUTABLE_BASE_PROPERTIES,
|
|
88796
|
+
...oi.INMUTABLE_BASE_PROPERTIES
|
|
88797
88797
|
]), // Includes the base properties and the meta properties
|
|
88798
88798
|
// Often contains properties related to UX, not necessary for the logic
|
|
88799
|
-
I(
|
|
88800
|
-
...
|
|
88799
|
+
I(oi, "MUTABLE_META_PROPERTIES", [
|
|
88800
|
+
...oi.MUTABLE_BASE_PROPERTIES,
|
|
88801
88801
|
"x",
|
|
88802
88802
|
"y"
|
|
88803
|
-
]), I(
|
|
88804
|
-
...
|
|
88805
|
-
]), I(
|
|
88806
|
-
...
|
|
88807
|
-
...
|
|
88803
|
+
]), I(oi, "INMUTABLE_META_PROPERTIES", [
|
|
88804
|
+
...oi.INMUTABLE_BASE_PROPERTIES
|
|
88805
|
+
]), I(oi, "META_PROPERTIES", [
|
|
88806
|
+
...oi.MUTABLE_META_PROPERTIES,
|
|
88807
|
+
...oi.INMUTABLE_META_PROPERTIES
|
|
88808
88808
|
]), // Properties pointing to nested entities that are declared before the entity itself
|
|
88809
|
-
I(
|
|
88809
|
+
I(oi, "MUTABLE_UPSTREAM_PROPERTIES", [
|
|
88810
88810
|
"calledBySuccess",
|
|
88811
88811
|
"calledByError",
|
|
88812
88812
|
"calledByEntry"
|
|
88813
|
-
]), I(
|
|
88814
|
-
...
|
|
88815
|
-
...
|
|
88813
|
+
]), I(oi, "INMUTABLE_UPSTREAM_PROPERTIES", ["parent", "declaration"]), I(oi, "UPSTREAM_PROPERTIES", [
|
|
88814
|
+
...oi.MUTABLE_UPSTREAM_PROPERTIES,
|
|
88815
|
+
...oi.INMUTABLE_UPSTREAM_PROPERTIES
|
|
88816
88816
|
]), // Properties pointing to nested entities that are declared after the entity itself or are direct children
|
|
88817
|
-
I(
|
|
88817
|
+
I(oi, "MUTABLE_DOWNSTREAM_PROPERTIES", [
|
|
88818
88818
|
"inputs",
|
|
88819
88819
|
"outputs",
|
|
88820
88820
|
"writesValues",
|
|
88821
88821
|
"successCalls",
|
|
88822
88822
|
"errorCalls",
|
|
88823
88823
|
"error"
|
|
88824
|
-
]), I(
|
|
88825
|
-
...
|
|
88826
|
-
...
|
|
88827
|
-
]), I(
|
|
88828
|
-
...
|
|
88829
|
-
...
|
|
88830
|
-
...
|
|
88824
|
+
]), I(oi, "INMUTABLE_DOWNSTREAM_PROPERTIES", []), I(oi, "DOWNSTREAM_PROPERTIES", [
|
|
88825
|
+
...oi.MUTABLE_DOWNSTREAM_PROPERTIES,
|
|
88826
|
+
...oi.INMUTABLE_DOWNSTREAM_PROPERTIES
|
|
88827
|
+
]), I(oi, "PROPERTIES", [
|
|
88828
|
+
...oi.META_PROPERTIES,
|
|
88829
|
+
...oi.UPSTREAM_PROPERTIES,
|
|
88830
|
+
...oi.DOWNSTREAM_PROPERTIES
|
|
88831
88831
|
]);
|
|
88832
|
-
let Yp =
|
|
88832
|
+
let Yp = oi;
|
|
88833
88833
|
async function TU(o, p = {}) {
|
|
88834
88834
|
var c;
|
|
88835
88835
|
const i = Ke.from(p), n = [];
|
|
@@ -90526,7 +90526,7 @@ const dki = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
90526
90526
|
__proto__: null,
|
|
90527
90527
|
validate: AU,
|
|
90528
90528
|
validateAsync: EU
|
|
90529
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
90529
|
+
}, Symbol.toStringTag, { value: "Module" })), di = class di extends Gr {
|
|
90530
90530
|
constructor(i, n) {
|
|
90531
90531
|
super(i);
|
|
90532
90532
|
I(this, "initialData");
|
|
@@ -90800,7 +90800,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
|
|
|
90800
90800
|
// And adds it to the 'knownVersions' map
|
|
90801
90801
|
captureVersion() {
|
|
90802
90802
|
var n;
|
|
90803
|
-
const i = ((n = this.knownVersions) == null ? void 0 : n.get(this.version)) || new
|
|
90803
|
+
const i = ((n = this.knownVersions) == null ? void 0 : n.get(this.version)) || new di(this, this.project);
|
|
90804
90804
|
return i.metaSync(this.toMeta(), null), this.knownVersions = this.knownVersions ? this.knownVersions.set(this.version, i) : /* @__PURE__ */ new Map([[this.version, i]]), i.inputs = [...this.inputs], i.calls = [...this.calls], i.implements = this.implements, i.detachedChildren = [...this.detachedChildren], i.parent = this.parent, this;
|
|
90805
90805
|
}
|
|
90806
90806
|
// Traverses upstream entities and captures their versions as well
|
|
@@ -90867,7 +90867,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
|
|
|
90867
90867
|
throw new Error(
|
|
90868
90868
|
`Version with id '${i}' for entity with id '${this.id}' not found.`
|
|
90869
90869
|
);
|
|
90870
|
-
y = new
|
|
90870
|
+
y = new di(
|
|
90871
90871
|
v,
|
|
90872
90872
|
this.project
|
|
90873
90873
|
);
|
|
@@ -91203,31 +91203,31 @@ You can attach new logic to the existing 'global-event' but creating a new calla
|
|
|
91203
91203
|
return this.name = s.name !== void 0 ? s.name : e.name, this.description = s.description !== void 0 ? s.description : e.description, this.x = s.x || e.x, this.y = s.y || e.y, this.collapsed = s.collapsed !== void 0 ? s.collapsed : e.collapsed, super.baseMetaSync(s, this, n), s.deleted === !0 && !e.deleted ? n == null || n.add(this, H.Removed) : s.deleted === !1 && e.deleted ? n == null || n.add(this, H.Added) : c && (n == null || n.add(this, H.Updated)), n == null || n.attemptAutoclose("meta-sync", this.id), this;
|
|
91204
91204
|
}
|
|
91205
91205
|
async APILoad(i = Ue, ...n) {
|
|
91206
|
-
return await
|
|
91206
|
+
return await di.repository.APILoad(this.id, ...n), this;
|
|
91207
91207
|
}
|
|
91208
91208
|
async APICreate(i = Ue, ...n) {
|
|
91209
|
-
return await
|
|
91209
|
+
return await di.repository.APICreate(
|
|
91210
91210
|
this.toShallowJSON(),
|
|
91211
91211
|
...n
|
|
91212
91212
|
), this;
|
|
91213
91213
|
}
|
|
91214
91214
|
async APIUpdate(i = Ue, ...n) {
|
|
91215
|
-
return await
|
|
91215
|
+
return await di.repository.APIUpdate(
|
|
91216
91216
|
this.toShallowJSON(),
|
|
91217
91217
|
...n
|
|
91218
91218
|
), this;
|
|
91219
91219
|
}
|
|
91220
91220
|
async APIDelete(i = Ue, ...n) {
|
|
91221
|
-
return await
|
|
91221
|
+
return await di.repository.APIDelete(
|
|
91222
91222
|
this.toShallowJSON(),
|
|
91223
91223
|
...n
|
|
91224
91224
|
), this;
|
|
91225
91225
|
}
|
|
91226
91226
|
async APIClone(i = Ue, ...n) {
|
|
91227
|
-
return await
|
|
91227
|
+
return await di.repository.APIClone(this.id, ...n), this;
|
|
91228
91228
|
}
|
|
91229
91229
|
async APILoadVersion(i = Ue, n, ...s) {
|
|
91230
|
-
return await
|
|
91230
|
+
return await di.repository.APILoadVersion(
|
|
91231
91231
|
this.id,
|
|
91232
91232
|
n,
|
|
91233
91233
|
...s
|
|
@@ -91804,7 +91804,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
|
|
|
91804
91804
|
};
|
|
91805
91805
|
}
|
|
91806
91806
|
};
|
|
91807
|
-
I(
|
|
91807
|
+
I(di, "repository", {
|
|
91808
91808
|
APICreate: async (i, ...n) => i,
|
|
91809
91809
|
APIUpdate: async (i, ...n) => i,
|
|
91810
91810
|
APIDelete: async (i, ...n) => i,
|
|
@@ -91812,48 +91812,48 @@ I(oi, "repository", {
|
|
|
91812
91812
|
},
|
|
91813
91813
|
APILoad: async (i, ...n) => null,
|
|
91814
91814
|
APILoadVersion: async (i, n, ...s) => null
|
|
91815
|
-
}), I(
|
|
91816
|
-
...
|
|
91817
|
-
]), I(
|
|
91815
|
+
}), I(di, "type", d.GlobalEvent), I(di, "USER_MANAGED_PARENT_TYPES", [d.Project]), I(di, "PARENT_TYPES", [
|
|
91816
|
+
...di.USER_MANAGED_PARENT_TYPES
|
|
91817
|
+
]), I(di, "MUTABLE_BASE_PROPERTIES", ["description"]), I(di, "INMUTABLE_BASE_PROPERTIES", [
|
|
91818
91818
|
"id",
|
|
91819
91819
|
"type",
|
|
91820
91820
|
"version",
|
|
91821
91821
|
"createdAt",
|
|
91822
91822
|
"author",
|
|
91823
91823
|
"previousVersion"
|
|
91824
|
-
]), I(
|
|
91825
|
-
...
|
|
91826
|
-
...
|
|
91824
|
+
]), I(di, "BASE_PROPERTIES", [
|
|
91825
|
+
...di.MUTABLE_BASE_PROPERTIES,
|
|
91826
|
+
...di.INMUTABLE_BASE_PROPERTIES
|
|
91827
91827
|
]), // Includes the base properties and the meta properties
|
|
91828
91828
|
// Often contains properties related to UX, not necessary for the logic
|
|
91829
|
-
I(
|
|
91830
|
-
...
|
|
91829
|
+
I(di, "MUTABLE_META_PROPERTIES", [
|
|
91830
|
+
...di.MUTABLE_BASE_PROPERTIES,
|
|
91831
91831
|
"x",
|
|
91832
91832
|
"y",
|
|
91833
91833
|
"collapsed"
|
|
91834
|
-
]), I(
|
|
91835
|
-
...
|
|
91836
|
-
]), I(
|
|
91837
|
-
...
|
|
91838
|
-
...
|
|
91834
|
+
]), I(di, "INMUTABLE_META_PROPERTIES", [
|
|
91835
|
+
...di.INMUTABLE_BASE_PROPERTIES
|
|
91836
|
+
]), I(di, "META_PROPERTIES", [
|
|
91837
|
+
...di.MUTABLE_META_PROPERTIES,
|
|
91838
|
+
...di.INMUTABLE_META_PROPERTIES
|
|
91839
91839
|
]), // Properties pointing to nested entities that are declared before the entity itself
|
|
91840
|
-
I(
|
|
91841
|
-
...
|
|
91842
|
-
...
|
|
91840
|
+
I(di, "MUTABLE_UPSTREAM_PROPERTIES", []), I(di, "INMUTABLE_UPSTREAM_PROPERTIES", ["parent", "implements"]), I(di, "UPSTREAM_PROPERTIES", [
|
|
91841
|
+
...di.MUTABLE_UPSTREAM_PROPERTIES,
|
|
91842
|
+
...di.INMUTABLE_UPSTREAM_PROPERTIES
|
|
91843
91843
|
]), // Properties pointing to nested entities that are declared after the entity itself or are direct children
|
|
91844
|
-
I(
|
|
91844
|
+
I(di, "MUTABLE_DOWNSTREAM_PROPERTIES", [
|
|
91845
91845
|
"inputs",
|
|
91846
91846
|
"calls",
|
|
91847
91847
|
"returnStatements"
|
|
91848
|
-
]), I(
|
|
91849
|
-
...
|
|
91850
|
-
...
|
|
91851
|
-
]), I(
|
|
91852
|
-
...
|
|
91853
|
-
...
|
|
91854
|
-
...
|
|
91848
|
+
]), I(di, "INMUTABLE_DOWNSTREAM_PROPERTIES", []), I(di, "DOWNSTREAM_PROPERTIES", [
|
|
91849
|
+
...di.MUTABLE_DOWNSTREAM_PROPERTIES,
|
|
91850
|
+
...di.INMUTABLE_DOWNSTREAM_PROPERTIES
|
|
91851
|
+
]), I(di, "PROPERTIES", [
|
|
91852
|
+
...di.META_PROPERTIES,
|
|
91853
|
+
...di.UPSTREAM_PROPERTIES,
|
|
91854
|
+
...di.DOWNSTREAM_PROPERTIES
|
|
91855
91855
|
]);
|
|
91856
|
-
let Xp =
|
|
91856
|
+
let Xp = di;
|
|
91857
91857
|
async function IU(o, p = {}) {
|
|
91858
91858
|
var y, m, v;
|
|
91859
91859
|
const i = Ke.from(p), n = oa(o), s = da(o), c = [...n, ...s], e = Bt(o.errors, c);
|
|
@@ -91902,7 +91902,7 @@ const pki = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
91902
91902
|
validateAsync: RU
|
|
91903
91903
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
91904
91904
|
var B = /* @__PURE__ */ ((o) => (o.Success = "success", o.ConditionNotMet = "condition-not-met", o.CaughtError = "caught-error", o.UnhandledError = "unhandled-error", o.Break = "break", o.Continue = "continue", o.Return = "return", o))(B || {});
|
|
91905
|
-
const
|
|
91905
|
+
const ui = class ui extends Gr {
|
|
91906
91906
|
constructor(i, n) {
|
|
91907
91907
|
super(i);
|
|
91908
91908
|
I(this, "initialData");
|
|
@@ -92224,7 +92224,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
92224
92224
|
// And adds it to the 'knownVersions' map
|
|
92225
92225
|
captureVersion() {
|
|
92226
92226
|
var n;
|
|
92227
|
-
const i = ((n = this.knownVersions) == null ? void 0 : n.get(this.version)) || new
|
|
92227
|
+
const i = ((n = this.knownVersions) == null ? void 0 : n.get(this.version)) || new ui(this, this.project);
|
|
92228
92228
|
return i.metaSync(this.toMeta(), null), this.knownVersions = this.knownVersions ? this.knownVersions.set(this.version, i) : /* @__PURE__ */ new Map([[this.version, i]]), i.inputs = [...this.inputs], i.dataType = this.dataType, i.error = this.error, i.parent = this.parent, this;
|
|
92229
92229
|
}
|
|
92230
92230
|
// Traverses upstream entities and captures their versions as well
|
|
@@ -92291,7 +92291,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
92291
92291
|
throw new Error(
|
|
92292
92292
|
`Version with id '${i}' for entity with id '${this.id}' not found.`
|
|
92293
92293
|
);
|
|
92294
|
-
y = new
|
|
92294
|
+
y = new ui(
|
|
92295
92295
|
v,
|
|
92296
92296
|
this.project
|
|
92297
92297
|
);
|
|
@@ -92519,31 +92519,31 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
92519
92519
|
return this.name = s.name !== void 0 ? s.name : e.name, this.codeName = s.codeName !== void 0 ? s.codeName : e.codeName, this.description = s.description !== void 0 ? s.description : e.description, super.baseMetaSync(s, this, n), s.deleted === !0 && !e.deleted ? n == null || n.add(this, H.Removed) : s.deleted === !1 && e.deleted ? n == null || n.add(this, H.Added) : c && (n == null || n.add(this, H.Updated)), n == null || n.attemptAutoclose("meta-sync", this.id), this;
|
|
92520
92520
|
}
|
|
92521
92521
|
async APILoad(i = Ue, ...n) {
|
|
92522
|
-
return await
|
|
92522
|
+
return await ui.repository.APILoad(this.id, ...n), this;
|
|
92523
92523
|
}
|
|
92524
92524
|
async APICreate(i = Ue, ...n) {
|
|
92525
|
-
return await
|
|
92525
|
+
return await ui.repository.APICreate(
|
|
92526
92526
|
this.toShallowJSON(),
|
|
92527
92527
|
...n
|
|
92528
92528
|
), this;
|
|
92529
92529
|
}
|
|
92530
92530
|
async APIUpdate(i = Ue, ...n) {
|
|
92531
|
-
return await
|
|
92531
|
+
return await ui.repository.APIUpdate(
|
|
92532
92532
|
this.toShallowJSON(),
|
|
92533
92533
|
...n
|
|
92534
92534
|
), this;
|
|
92535
92535
|
}
|
|
92536
92536
|
async APIDelete(i = Ue, ...n) {
|
|
92537
|
-
return await
|
|
92537
|
+
return await ui.repository.APIDelete(
|
|
92538
92538
|
this.toShallowJSON(),
|
|
92539
92539
|
...n
|
|
92540
92540
|
), this;
|
|
92541
92541
|
}
|
|
92542
92542
|
async APIClone(i = Ue, ...n) {
|
|
92543
|
-
return await
|
|
92543
|
+
return await ui.repository.APIClone(this.id, ...n), this;
|
|
92544
92544
|
}
|
|
92545
92545
|
async APILoadVersion(i = Ue, n, ...s) {
|
|
92546
|
-
return await
|
|
92546
|
+
return await ui.repository.APILoadVersion(
|
|
92547
92547
|
this.id,
|
|
92548
92548
|
n,
|
|
92549
92549
|
...s
|
|
@@ -93582,7 +93582,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
93582
93582
|
return this.dataType && this.dataType.entity && this.dataType.entity.type === d.DefinitionEntity && this.dataType.entity.properties.length ? this.dataType.entity.properties : i;
|
|
93583
93583
|
}
|
|
93584
93584
|
};
|
|
93585
|
-
I(
|
|
93585
|
+
I(ui, "repository", {
|
|
93586
93586
|
APICreate: async (i, ...n) => i,
|
|
93587
93587
|
APIUpdate: async (i, ...n) => i,
|
|
93588
93588
|
APIDelete: async (i, ...n) => i,
|
|
@@ -93590,53 +93590,53 @@ I(di, "repository", {
|
|
|
93590
93590
|
},
|
|
93591
93591
|
APILoad: async (i, ...n) => null,
|
|
93592
93592
|
APILoadVersion: async (i, n, ...s) => null
|
|
93593
|
-
}), I(
|
|
93593
|
+
}), I(ui, "type", d.ActionDescriptor), I(ui, "USER_MANAGED_PARENT_TYPES", [
|
|
93594
93594
|
d.DefinitionEntity,
|
|
93595
93595
|
d.DataType
|
|
93596
|
-
]), I(
|
|
93597
|
-
...
|
|
93596
|
+
]), I(ui, "PARENT_TYPES", [
|
|
93597
|
+
...ui.USER_MANAGED_PARENT_TYPES,
|
|
93598
93598
|
d.PrimitiveEntity,
|
|
93599
93599
|
d.BuiltInBaseEntity
|
|
93600
|
-
]), I(
|
|
93600
|
+
]), I(ui, "MUTABLE_BASE_PROPERTIES", [
|
|
93601
93601
|
"name",
|
|
93602
93602
|
"codeName",
|
|
93603
93603
|
"description",
|
|
93604
93604
|
"index",
|
|
93605
93605
|
"outputName",
|
|
93606
93606
|
"outputDescription"
|
|
93607
|
-
]), I(
|
|
93607
|
+
]), I(ui, "INMUTABLE_BASE_PROPERTIES", [
|
|
93608
93608
|
"id",
|
|
93609
93609
|
"type",
|
|
93610
93610
|
"version",
|
|
93611
93611
|
"createdAt",
|
|
93612
93612
|
"author",
|
|
93613
93613
|
"previousVersion"
|
|
93614
|
-
]), I(
|
|
93615
|
-
...
|
|
93616
|
-
...
|
|
93614
|
+
]), I(ui, "BASE_PROPERTIES", [
|
|
93615
|
+
...ui.MUTABLE_BASE_PROPERTIES,
|
|
93616
|
+
...ui.INMUTABLE_BASE_PROPERTIES
|
|
93617
93617
|
]), // Includes the base properties and the meta properties
|
|
93618
93618
|
// Often contains properties related to UX, not necessary for the logic
|
|
93619
|
-
I(
|
|
93620
|
-
...
|
|
93621
|
-
]), I(
|
|
93622
|
-
...
|
|
93623
|
-
]), I(
|
|
93624
|
-
...
|
|
93625
|
-
...
|
|
93619
|
+
I(ui, "MUTABLE_META_PROPERTIES", [
|
|
93620
|
+
...ui.MUTABLE_BASE_PROPERTIES
|
|
93621
|
+
]), I(ui, "INMUTABLE_META_PROPERTIES", [
|
|
93622
|
+
...ui.INMUTABLE_BASE_PROPERTIES
|
|
93623
|
+
]), I(ui, "META_PROPERTIES", [
|
|
93624
|
+
...ui.MUTABLE_META_PROPERTIES,
|
|
93625
|
+
...ui.INMUTABLE_META_PROPERTIES
|
|
93626
93626
|
]), // Properties pointing to nested entities that are declared before the entity itself
|
|
93627
|
-
I(
|
|
93628
|
-
...
|
|
93629
|
-
...
|
|
93627
|
+
I(ui, "MUTABLE_UPSTREAM_PROPERTIES", []), I(ui, "INMUTABLE_UPSTREAM_PROPERTIES", ["parent"]), I(ui, "UPSTREAM_PROPERTIES", [
|
|
93628
|
+
...ui.MUTABLE_UPSTREAM_PROPERTIES,
|
|
93629
|
+
...ui.INMUTABLE_UPSTREAM_PROPERTIES
|
|
93630
93630
|
]), // Properties pointing to nested entities that are declared after the entity itself or are direct children
|
|
93631
|
-
I(
|
|
93632
|
-
...
|
|
93633
|
-
...
|
|
93634
|
-
]), I(
|
|
93635
|
-
...
|
|
93636
|
-
...
|
|
93637
|
-
...
|
|
93631
|
+
I(ui, "MUTABLE_DOWNSTREAM_PROPERTIES", ["inputs", "outputs"]), I(ui, "INMUTABLE_DOWNSTREAM_PROPERTIES", []), I(ui, "DOWNSTREAM_PROPERTIES", [
|
|
93632
|
+
...ui.MUTABLE_DOWNSTREAM_PROPERTIES,
|
|
93633
|
+
...ui.INMUTABLE_DOWNSTREAM_PROPERTIES
|
|
93634
|
+
]), I(ui, "PROPERTIES", [
|
|
93635
|
+
...ui.META_PROPERTIES,
|
|
93636
|
+
...ui.UPSTREAM_PROPERTIES,
|
|
93637
|
+
...ui.DOWNSTREAM_PROPERTIES
|
|
93638
93638
|
]);
|
|
93639
|
-
let Mi =
|
|
93639
|
+
let Mi = ui;
|
|
93640
93640
|
var Usi = /* @__PURE__ */ ((o) => (o.Parent = "loop-parent-field", o.LoopDataTypeEntity = "loop-data-type-entity-field", o.LoopDataType = "loop-data-type-field", o.LoopBodyDataTypeEntity = "loop-body-data-type-entity-field", o.LoopBodyDataType = "loop-body-data-type-field", o))(Usi || {});
|
|
93641
93641
|
const Zt = class Zt extends Gr {
|
|
93642
93642
|
constructor(i, n) {
|
|
@@ -95304,10 +95304,10 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
95304
95304
|
}
|
|
95305
95305
|
// The return statements, don't belong to the loop itself, but to the parent scope entity
|
|
95306
95306
|
addReturnStatement(i) {
|
|
95307
|
-
return
|
|
95307
|
+
return Qt.includes(this.parent.type) && this.parent.addReturnStatement(i), this;
|
|
95308
95308
|
}
|
|
95309
95309
|
removeReturnStatement(i) {
|
|
95310
|
-
return
|
|
95310
|
+
return Qt.includes(this.parent.type) && this.parent.removeReturnStatement(i), this;
|
|
95311
95311
|
}
|
|
95312
95312
|
addBreakStatement(i) {
|
|
95313
95313
|
return this.breakStatements.includes(i) || this.breakStatements.push(i), this;
|
|
@@ -99242,7 +99242,7 @@ Or 'delete' and then 'post' actions to replace it.`
|
|
|
99242
99242
|
return i;
|
|
99243
99243
|
}
|
|
99244
99244
|
var qsi = /* @__PURE__ */ ((o) => (o.ValueAsTypeSingle = "value-as-type-single", o.ValueAsTypeList = "value-as-type-list", o))(qsi || {});
|
|
99245
|
-
const
|
|
99245
|
+
const pi = class pi extends Gr {
|
|
99246
99246
|
constructor(i, n) {
|
|
99247
99247
|
super(i);
|
|
99248
99248
|
I(this, "initialData");
|
|
@@ -99489,7 +99489,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
99489
99489
|
// And adds it to the 'knownVersions' map
|
|
99490
99490
|
captureVersion() {
|
|
99491
99491
|
var n;
|
|
99492
|
-
const i = ((n = this.knownVersions) == null ? void 0 : n.get(this.version)) || new
|
|
99492
|
+
const i = ((n = this.knownVersions) == null ? void 0 : n.get(this.version)) || new pi(this, this.project);
|
|
99493
99493
|
return i.metaSync(this.toMeta(), null), this.knownVersions = this.knownVersions ? this.knownVersions.set(this.version, i) : /* @__PURE__ */ new Map([[this.version, i]]), i.valueAsTypeSingle = this.valueAsTypeSingle, i.valueAsTypeList = this.valueAsTypeList ? [...this.valueAsTypeList] : this.valueAsTypeList, i.parent = this.parent, this;
|
|
99494
99494
|
}
|
|
99495
99495
|
// Traverses upstream entities and captures their versions as well
|
|
@@ -99556,7 +99556,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
99556
99556
|
throw new Error(
|
|
99557
99557
|
`Version with id '${i}' for entity with id '${this.id}' not found.`
|
|
99558
99558
|
);
|
|
99559
|
-
y = new
|
|
99559
|
+
y = new pi(
|
|
99560
99560
|
v,
|
|
99561
99561
|
this.project
|
|
99562
99562
|
);
|
|
@@ -100014,31 +100014,31 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
100014
100014
|
return this.name = s.name !== void 0 ? s.name : e.name, this.autogeneration = s.autogeneration !== void 0 ? s.autogeneration : e.autogeneration, this.value = s.value !== void 0 ? s.value : e.value, super.baseMetaSync(s, this, n), s.deleted === !0 && !e.deleted ? n == null || n.add(this, H.Removed) : s.deleted === !1 && e.deleted ? n == null || n.add(this, H.Added) : c && (n == null || n.add(this, H.Updated)), n == null || n.attemptAutoclose("meta-sync", this.id), this;
|
|
100015
100015
|
}
|
|
100016
100016
|
async APILoad(i = Ue, ...n) {
|
|
100017
|
-
return await
|
|
100017
|
+
return await pi.repository.APILoad(this.id, ...n), this;
|
|
100018
100018
|
}
|
|
100019
100019
|
async APICreate(i = Ue, ...n) {
|
|
100020
|
-
return await
|
|
100020
|
+
return await pi.repository.APICreate(
|
|
100021
100021
|
this.toShallowJSON(),
|
|
100022
100022
|
...n
|
|
100023
100023
|
), this;
|
|
100024
100024
|
}
|
|
100025
100025
|
async APIUpdate(i = Ue, ...n) {
|
|
100026
|
-
return await
|
|
100026
|
+
return await pi.repository.APIUpdate(
|
|
100027
100027
|
this.toShallowJSON(),
|
|
100028
100028
|
...n
|
|
100029
100029
|
), this;
|
|
100030
100030
|
}
|
|
100031
100031
|
async APIDelete(i = Ue, ...n) {
|
|
100032
|
-
return await
|
|
100032
|
+
return await pi.repository.APIDelete(
|
|
100033
100033
|
this.toShallowJSON(),
|
|
100034
100034
|
...n
|
|
100035
100035
|
), this;
|
|
100036
100036
|
}
|
|
100037
100037
|
async APIClone(i = Ue, ...n) {
|
|
100038
|
-
return await
|
|
100038
|
+
return await pi.repository.APIClone(this.id, ...n), this;
|
|
100039
100039
|
}
|
|
100040
100040
|
async APILoadVersion(i = Ue, n, ...s) {
|
|
100041
|
-
return await
|
|
100041
|
+
return await pi.repository.APILoadVersion(
|
|
100042
100042
|
this.id,
|
|
100043
100043
|
n,
|
|
100044
100044
|
...s
|
|
@@ -100414,7 +100414,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
100414
100414
|
};
|
|
100415
100415
|
}
|
|
100416
100416
|
};
|
|
100417
|
-
I(
|
|
100417
|
+
I(pi, "repository", {
|
|
100418
100418
|
APICreate: async (i, ...n) => i,
|
|
100419
100419
|
APIUpdate: async (i, ...n) => i,
|
|
100420
100420
|
APIDelete: async (i, ...n) => i,
|
|
@@ -100422,7 +100422,7 @@ I(ui, "repository", {
|
|
|
100422
100422
|
},
|
|
100423
100423
|
APILoad: async (i, ...n) => null,
|
|
100424
100424
|
APILoadVersion: async (i, n, ...s) => null
|
|
100425
|
-
}), I(
|
|
100425
|
+
}), I(pi, "type", d.LiteralValue), I(pi, "USER_MANAGED_PARENT_TYPES", [
|
|
100426
100426
|
d.DataType,
|
|
100427
100427
|
d.InputMap,
|
|
100428
100428
|
d.Property,
|
|
@@ -100434,44 +100434,44 @@ I(ui, "repository", {
|
|
|
100434
100434
|
d.VariableInstance,
|
|
100435
100435
|
d.ValueDescriptor,
|
|
100436
100436
|
d.OutputMap
|
|
100437
|
-
]), I(
|
|
100438
|
-
...
|
|
100439
|
-
]), I(
|
|
100437
|
+
]), I(pi, "PARENT_TYPES", [
|
|
100438
|
+
...pi.USER_MANAGED_PARENT_TYPES
|
|
100439
|
+
]), I(pi, "MUTABLE_BASE_PROPERTIES", ["name", "autogeneration", "value"]), I(pi, "INMUTABLE_BASE_PROPERTIES", [
|
|
100440
100440
|
"id",
|
|
100441
100441
|
"type",
|
|
100442
100442
|
"version",
|
|
100443
100443
|
"createdAt",
|
|
100444
100444
|
"author",
|
|
100445
100445
|
"previousVersion"
|
|
100446
|
-
]), I(
|
|
100447
|
-
...
|
|
100448
|
-
...
|
|
100446
|
+
]), I(pi, "BASE_PROPERTIES", [
|
|
100447
|
+
...pi.MUTABLE_BASE_PROPERTIES,
|
|
100448
|
+
...pi.INMUTABLE_BASE_PROPERTIES
|
|
100449
100449
|
]), // Includes the base properties and the meta properties
|
|
100450
100450
|
// Often contains properties related to UX, not necessary for the logic
|
|
100451
|
-
I(
|
|
100452
|
-
...
|
|
100453
|
-
]), I(
|
|
100454
|
-
...
|
|
100455
|
-
]), I(
|
|
100456
|
-
...
|
|
100457
|
-
...
|
|
100451
|
+
I(pi, "MUTABLE_META_PROPERTIES", [
|
|
100452
|
+
...pi.MUTABLE_BASE_PROPERTIES
|
|
100453
|
+
]), I(pi, "INMUTABLE_META_PROPERTIES", [
|
|
100454
|
+
...pi.INMUTABLE_BASE_PROPERTIES
|
|
100455
|
+
]), I(pi, "META_PROPERTIES", [
|
|
100456
|
+
...pi.MUTABLE_META_PROPERTIES,
|
|
100457
|
+
...pi.INMUTABLE_META_PROPERTIES
|
|
100458
100458
|
]), // Properties pointing to nested entities that are declared before the entity itself
|
|
100459
|
-
I(
|
|
100460
|
-
...
|
|
100461
|
-
...
|
|
100459
|
+
I(pi, "MUTABLE_UPSTREAM_PROPERTIES", []), I(pi, "INMUTABLE_UPSTREAM_PROPERTIES", ["parent"]), I(pi, "UPSTREAM_PROPERTIES", [
|
|
100460
|
+
...pi.MUTABLE_UPSTREAM_PROPERTIES,
|
|
100461
|
+
...pi.INMUTABLE_UPSTREAM_PROPERTIES
|
|
100462
100462
|
]), // Properties pointing to nested entities that are declared after the entity itself or are direct children
|
|
100463
|
-
I(
|
|
100463
|
+
I(pi, "MUTABLE_DOWNSTREAM_PROPERTIES", [
|
|
100464
100464
|
"valueAsTypeSingle",
|
|
100465
100465
|
"valueAsTypeList"
|
|
100466
|
-
]), I(
|
|
100467
|
-
...
|
|
100468
|
-
...
|
|
100469
|
-
]), I(
|
|
100470
|
-
...
|
|
100471
|
-
...
|
|
100472
|
-
...
|
|
100466
|
+
]), I(pi, "INMUTABLE_DOWNSTREAM_PROPERTIES", []), I(pi, "DOWNSTREAM_PROPERTIES", [
|
|
100467
|
+
...pi.MUTABLE_DOWNSTREAM_PROPERTIES,
|
|
100468
|
+
...pi.INMUTABLE_DOWNSTREAM_PROPERTIES
|
|
100469
|
+
]), I(pi, "PROPERTIES", [
|
|
100470
|
+
...pi.META_PROPERTIES,
|
|
100471
|
+
...pi.UPSTREAM_PROPERTIES,
|
|
100472
|
+
...pi.DOWNSTREAM_PROPERTIES
|
|
100473
100473
|
]);
|
|
100474
|
-
let sn =
|
|
100474
|
+
let sn = pi;
|
|
100475
100475
|
function rh(o) {
|
|
100476
100476
|
if (typeof crypto < "u" && typeof crypto.getRandomValues == "function") {
|
|
100477
100477
|
const i = new Uint8Array(o);
|
|
@@ -113089,7 +113089,7 @@ function _ci(o, p) {
|
|
|
113089
113089
|
const i = Number(o), n = Number(p);
|
|
113090
113090
|
return i === 0 ? 1 / 0 : (n - i) / i * 100;
|
|
113091
113091
|
}
|
|
113092
|
-
const
|
|
113092
|
+
const ai = (o) => o.map((p) => {
|
|
113093
113093
|
var i, n;
|
|
113094
113094
|
return ((i = p.value) == null ? void 0 : i.valueAsType) ?? ((n = p.value) == null ? void 0 : n.value);
|
|
113095
113095
|
});
|
|
@@ -113116,7 +113116,7 @@ class Vci extends ge {
|
|
|
113116
113116
|
},
|
|
113117
113117
|
main: async (i, n) => {
|
|
113118
113118
|
try {
|
|
113119
|
-
const c =
|
|
113119
|
+
const c = ai(n).reduce((e, y) => e + y, 0);
|
|
113120
113120
|
return { value: B.Success, error: null, result: c };
|
|
113121
113121
|
} catch (s) {
|
|
113122
113122
|
return {
|
|
@@ -113154,7 +113154,7 @@ class Pci extends ge {
|
|
|
113154
113154
|
},
|
|
113155
113155
|
main: async (i, n) => {
|
|
113156
113156
|
try {
|
|
113157
|
-
const c =
|
|
113157
|
+
const c = ai(n).reduce((e, y) => e - y, 0);
|
|
113158
113158
|
return { value: B.Success, error: null, result: c };
|
|
113159
113159
|
} catch (s) {
|
|
113160
113160
|
return {
|
|
@@ -113192,7 +113192,7 @@ class Nci extends ge {
|
|
|
113192
113192
|
},
|
|
113193
113193
|
main: async (i, n) => {
|
|
113194
113194
|
try {
|
|
113195
|
-
const c =
|
|
113195
|
+
const c = ai(n).reduce((e, y) => e * y, 1);
|
|
113196
113196
|
return { value: B.Success, error: null, result: c };
|
|
113197
113197
|
} catch (s) {
|
|
113198
113198
|
return {
|
|
@@ -113228,7 +113228,7 @@ class xci extends ge {
|
|
|
113228
113228
|
},
|
|
113229
113229
|
main: async (i, n) => {
|
|
113230
113230
|
try {
|
|
113231
|
-
const [s, c] =
|
|
113231
|
+
const [s, c] = ai(n);
|
|
113232
113232
|
if (c === 0)
|
|
113233
113233
|
throw new Error("Division by zero is not allowed");
|
|
113234
113234
|
const e = s / c;
|
|
@@ -113267,7 +113267,7 @@ class $ci extends ge {
|
|
|
113267
113267
|
},
|
|
113268
113268
|
main: async (i, n) => {
|
|
113269
113269
|
try {
|
|
113270
|
-
const [s, c] =
|
|
113270
|
+
const [s, c] = ai(n);
|
|
113271
113271
|
if (c === 0)
|
|
113272
113272
|
throw new Error("Division by zero is not allowed");
|
|
113273
113273
|
const e = s % c;
|
|
@@ -113308,7 +113308,7 @@ class Lci extends ge {
|
|
|
113308
113308
|
},
|
|
113309
113309
|
main: async (i, n) => {
|
|
113310
113310
|
try {
|
|
113311
|
-
const [s, c] =
|
|
113311
|
+
const [s, c] = ai(n), e = Math.pow(s, c);
|
|
113312
113312
|
return { value: B.Success, error: null, result: e };
|
|
113313
113313
|
} catch (s) {
|
|
113314
113314
|
return {
|
|
@@ -113341,7 +113341,7 @@ class Gci extends ge {
|
|
|
113341
113341
|
},
|
|
113342
113342
|
main: async (i, n) => {
|
|
113343
113343
|
try {
|
|
113344
|
-
const [s] =
|
|
113344
|
+
const [s] = ai(n);
|
|
113345
113345
|
return {
|
|
113346
113346
|
value: B.Success,
|
|
113347
113347
|
error: null,
|
|
@@ -113378,7 +113378,7 @@ class Mci extends ge {
|
|
|
113378
113378
|
},
|
|
113379
113379
|
main: async (i, n) => {
|
|
113380
113380
|
try {
|
|
113381
|
-
const [s] =
|
|
113381
|
+
const [s] = ai(n);
|
|
113382
113382
|
return {
|
|
113383
113383
|
value: B.Success,
|
|
113384
113384
|
error: null,
|
|
@@ -113415,7 +113415,7 @@ class Bci extends ge {
|
|
|
113415
113415
|
},
|
|
113416
113416
|
main: async (i, n) => {
|
|
113417
113417
|
try {
|
|
113418
|
-
const [s] =
|
|
113418
|
+
const [s] = ai(n);
|
|
113419
113419
|
return {
|
|
113420
113420
|
value: B.Success,
|
|
113421
113421
|
error: null,
|
|
@@ -113452,7 +113452,7 @@ class kci extends ge {
|
|
|
113452
113452
|
},
|
|
113453
113453
|
main: async (i, n) => {
|
|
113454
113454
|
try {
|
|
113455
|
-
const [s] =
|
|
113455
|
+
const [s] = ai(n);
|
|
113456
113456
|
return {
|
|
113457
113457
|
value: B.Success,
|
|
113458
113458
|
error: null,
|
|
@@ -113489,7 +113489,7 @@ class Uci extends ge {
|
|
|
113489
113489
|
},
|
|
113490
113490
|
main: async (i, n) => {
|
|
113491
113491
|
try {
|
|
113492
|
-
const [s] =
|
|
113492
|
+
const [s] = ai(n);
|
|
113493
113493
|
return {
|
|
113494
113494
|
value: B.Success,
|
|
113495
113495
|
error: null,
|
|
@@ -113526,7 +113526,7 @@ class jci extends ge {
|
|
|
113526
113526
|
},
|
|
113527
113527
|
main: async (i, n) => {
|
|
113528
113528
|
try {
|
|
113529
|
-
const [s] =
|
|
113529
|
+
const [s] = ai(n);
|
|
113530
113530
|
return {
|
|
113531
113531
|
value: B.Success,
|
|
113532
113532
|
error: null,
|
|
@@ -113563,7 +113563,7 @@ class Kci extends ge {
|
|
|
113563
113563
|
},
|
|
113564
113564
|
main: async (i, n) => {
|
|
113565
113565
|
try {
|
|
113566
|
-
const [s] =
|
|
113566
|
+
const [s] = ai(n);
|
|
113567
113567
|
return {
|
|
113568
113568
|
value: B.Success,
|
|
113569
113569
|
error: null,
|
|
@@ -113602,7 +113602,7 @@ class Fci extends ge {
|
|
|
113602
113602
|
},
|
|
113603
113603
|
main: async (i, n) => {
|
|
113604
113604
|
try {
|
|
113605
|
-
const [s, c] =
|
|
113605
|
+
const [s, c] = ai(n), e = gci(s, c);
|
|
113606
113606
|
return { value: B.Success, error: null, result: e };
|
|
113607
113607
|
} catch (s) {
|
|
113608
113608
|
return {
|
|
@@ -113635,7 +113635,7 @@ class Sci extends ge {
|
|
|
113635
113635
|
},
|
|
113636
113636
|
main: async (i, n) => {
|
|
113637
113637
|
try {
|
|
113638
|
-
const [s, c] =
|
|
113638
|
+
const [s, c] = ai(n), e = Ici(s, c);
|
|
113639
113639
|
return { value: B.Success, error: null, result: e };
|
|
113640
113640
|
} catch (s) {
|
|
113641
113641
|
return {
|
|
@@ -113668,7 +113668,7 @@ class qci extends ge {
|
|
|
113668
113668
|
},
|
|
113669
113669
|
main: async (i, n) => {
|
|
113670
113670
|
try {
|
|
113671
|
-
const [s, c, e] =
|
|
113671
|
+
const [s, c, e] = ai(n), y = Rci(s, c, e);
|
|
113672
113672
|
return { value: B.Success, error: null, result: y };
|
|
113673
113673
|
} catch (s) {
|
|
113674
113674
|
return {
|
|
@@ -113701,7 +113701,7 @@ class Zci extends ge {
|
|
|
113701
113701
|
},
|
|
113702
113702
|
main: async (i, n) => {
|
|
113703
113703
|
try {
|
|
113704
|
-
const [s, c, e, y, m] =
|
|
113704
|
+
const [s, c, e, y, m] = ai(n), v = Dci(s, c, e, y, m);
|
|
113705
113705
|
return { value: B.Success, error: null, result: v };
|
|
113706
113706
|
} catch (s) {
|
|
113707
113707
|
return {
|
|
@@ -113734,7 +113734,7 @@ class Hci extends ge {
|
|
|
113734
113734
|
},
|
|
113735
113735
|
main: async (i, n) => {
|
|
113736
113736
|
try {
|
|
113737
|
-
const s =
|
|
113737
|
+
const s = ai(n), c = wci(...s);
|
|
113738
113738
|
return { value: B.Success, error: null, result: c };
|
|
113739
113739
|
} catch (s) {
|
|
113740
113740
|
return {
|
|
@@ -113767,7 +113767,7 @@ class Wci extends ge {
|
|
|
113767
113767
|
},
|
|
113768
113768
|
main: async (i, n) => {
|
|
113769
113769
|
try {
|
|
113770
|
-
const s =
|
|
113770
|
+
const s = ai(n), c = Cci(...s);
|
|
113771
113771
|
return { value: B.Success, error: null, result: c };
|
|
113772
113772
|
} catch (s) {
|
|
113773
113773
|
return {
|
|
@@ -113800,7 +113800,7 @@ class zci extends ge {
|
|
|
113800
113800
|
},
|
|
113801
113801
|
main: async (i, n) => {
|
|
113802
113802
|
try {
|
|
113803
|
-
const s =
|
|
113803
|
+
const s = ai(n).map(Number), c = s.length ? Math.min(...s) : 1 / 0;
|
|
113804
113804
|
return { value: B.Success, error: null, result: c };
|
|
113805
113805
|
} catch (s) {
|
|
113806
113806
|
return {
|
|
@@ -113833,7 +113833,7 @@ class Jci extends ge {
|
|
|
113833
113833
|
},
|
|
113834
113834
|
main: async (i, n) => {
|
|
113835
113835
|
try {
|
|
113836
|
-
const s =
|
|
113836
|
+
const s = ai(n).map(Number), c = s.length ? Math.max(...s) : -1 / 0;
|
|
113837
113837
|
return { value: B.Success, error: null, result: c };
|
|
113838
113838
|
} catch (s) {
|
|
113839
113839
|
return {
|
|
@@ -113866,7 +113866,7 @@ class Yci extends ge {
|
|
|
113866
113866
|
},
|
|
113867
113867
|
main: async (i, n) => {
|
|
113868
113868
|
try {
|
|
113869
|
-
const [s] =
|
|
113869
|
+
const [s] = ai(n);
|
|
113870
113870
|
return {
|
|
113871
113871
|
value: B.Success,
|
|
113872
113872
|
error: null,
|
|
@@ -113903,7 +113903,7 @@ class Xci extends ge {
|
|
|
113903
113903
|
},
|
|
113904
113904
|
main: async (i, n) => {
|
|
113905
113905
|
try {
|
|
113906
|
-
const [s] =
|
|
113906
|
+
const [s] = ai(n);
|
|
113907
113907
|
return {
|
|
113908
113908
|
value: B.Success,
|
|
113909
113909
|
error: null,
|
|
@@ -113940,7 +113940,7 @@ class Qci extends ge {
|
|
|
113940
113940
|
},
|
|
113941
113941
|
main: async (i, n) => {
|
|
113942
113942
|
try {
|
|
113943
|
-
const [s, c] =
|
|
113943
|
+
const [s, c] = ai(n), e = Oci(s, c);
|
|
113944
113944
|
return { value: B.Success, error: null, result: e };
|
|
113945
113945
|
} catch (s) {
|
|
113946
113946
|
return {
|
|
@@ -113973,7 +113973,7 @@ class efi extends ge {
|
|
|
113973
113973
|
},
|
|
113974
113974
|
main: async (i, n) => {
|
|
113975
113975
|
try {
|
|
113976
|
-
const [s] =
|
|
113976
|
+
const [s] = ai(n);
|
|
113977
113977
|
return {
|
|
113978
113978
|
value: B.Success,
|
|
113979
113979
|
error: null,
|
|
@@ -114010,7 +114010,7 @@ class tfi extends ge {
|
|
|
114010
114010
|
},
|
|
114011
114011
|
main: async (i, n) => {
|
|
114012
114012
|
try {
|
|
114013
|
-
const [s] =
|
|
114013
|
+
const [s] = ai(n);
|
|
114014
114014
|
return {
|
|
114015
114015
|
value: B.Success,
|
|
114016
114016
|
error: null,
|
|
@@ -114047,7 +114047,7 @@ class ifi extends ge {
|
|
|
114047
114047
|
},
|
|
114048
114048
|
main: async (i, n) => {
|
|
114049
114049
|
try {
|
|
114050
|
-
const [s] =
|
|
114050
|
+
const [s] = ai(n), c = Number(s), e = Math.log10 ? Math.log10(c) : Math.log(c) / Math.LN10;
|
|
114051
114051
|
return { value: B.Success, error: null, result: e };
|
|
114052
114052
|
} catch (s) {
|
|
114053
114053
|
return {
|
|
@@ -114080,7 +114080,7 @@ class rfi extends ge {
|
|
|
114080
114080
|
},
|
|
114081
114081
|
main: async (i, n) => {
|
|
114082
114082
|
try {
|
|
114083
|
-
const [s] =
|
|
114083
|
+
const [s] = ai(n);
|
|
114084
114084
|
return {
|
|
114085
114085
|
value: B.Success,
|
|
114086
114086
|
error: null,
|
|
@@ -114117,7 +114117,7 @@ class nfi extends ge {
|
|
|
114117
114117
|
},
|
|
114118
114118
|
main: async (i, n) => {
|
|
114119
114119
|
try {
|
|
114120
|
-
const [s] =
|
|
114120
|
+
const [s] = ai(n);
|
|
114121
114121
|
return {
|
|
114122
114122
|
value: B.Success,
|
|
114123
114123
|
error: null,
|
|
@@ -114154,7 +114154,7 @@ class afi extends ge {
|
|
|
114154
114154
|
},
|
|
114155
114155
|
main: async (i, n) => {
|
|
114156
114156
|
try {
|
|
114157
|
-
const [s] =
|
|
114157
|
+
const [s] = ai(n);
|
|
114158
114158
|
return {
|
|
114159
114159
|
value: B.Success,
|
|
114160
114160
|
error: null,
|
|
@@ -114191,7 +114191,7 @@ class sfi extends ge {
|
|
|
114191
114191
|
},
|
|
114192
114192
|
main: async (i, n) => {
|
|
114193
114193
|
try {
|
|
114194
|
-
const [s] =
|
|
114194
|
+
const [s] = ai(n);
|
|
114195
114195
|
return {
|
|
114196
114196
|
value: B.Success,
|
|
114197
114197
|
error: null,
|
|
@@ -114228,7 +114228,7 @@ class lfi extends ge {
|
|
|
114228
114228
|
},
|
|
114229
114229
|
main: async (i, n) => {
|
|
114230
114230
|
try {
|
|
114231
|
-
const [s] =
|
|
114231
|
+
const [s] = ai(n);
|
|
114232
114232
|
return {
|
|
114233
114233
|
value: B.Success,
|
|
114234
114234
|
error: null,
|
|
@@ -114265,7 +114265,7 @@ class ofi extends ge {
|
|
|
114265
114265
|
},
|
|
114266
114266
|
main: async (i, n) => {
|
|
114267
114267
|
try {
|
|
114268
|
-
const [s] =
|
|
114268
|
+
const [s] = ai(n);
|
|
114269
114269
|
return {
|
|
114270
114270
|
value: B.Success,
|
|
114271
114271
|
error: null,
|
|
@@ -114302,7 +114302,7 @@ class dfi extends ge {
|
|
|
114302
114302
|
},
|
|
114303
114303
|
main: async (i, n) => {
|
|
114304
114304
|
try {
|
|
114305
|
-
const [s, c] =
|
|
114305
|
+
const [s, c] = ai(n);
|
|
114306
114306
|
return {
|
|
114307
114307
|
value: B.Success,
|
|
114308
114308
|
error: null,
|
|
@@ -114339,7 +114339,7 @@ class ufi extends ge {
|
|
|
114339
114339
|
},
|
|
114340
114340
|
main: async (i, n) => {
|
|
114341
114341
|
try {
|
|
114342
|
-
const [s] =
|
|
114342
|
+
const [s] = ai(n);
|
|
114343
114343
|
return {
|
|
114344
114344
|
value: B.Success,
|
|
114345
114345
|
error: null,
|
|
@@ -114376,7 +114376,7 @@ class pfi extends ge {
|
|
|
114376
114376
|
},
|
|
114377
114377
|
main: async (i, n) => {
|
|
114378
114378
|
try {
|
|
114379
|
-
const [s] =
|
|
114379
|
+
const [s] = ai(n);
|
|
114380
114380
|
return {
|
|
114381
114381
|
value: B.Success,
|
|
114382
114382
|
error: null,
|
|
@@ -114413,7 +114413,7 @@ class cfi extends ge {
|
|
|
114413
114413
|
},
|
|
114414
114414
|
main: async (i, n) => {
|
|
114415
114415
|
try {
|
|
114416
|
-
const [s, c] =
|
|
114416
|
+
const [s, c] = ai(n), e = Number(s) / 100 * Number(c);
|
|
114417
114417
|
return { value: B.Success, error: null, result: e };
|
|
114418
114418
|
} catch (s) {
|
|
114419
114419
|
return {
|
|
@@ -114448,7 +114448,7 @@ class IL extends ge {
|
|
|
114448
114448
|
},
|
|
114449
114449
|
main: async (i, n) => {
|
|
114450
114450
|
try {
|
|
114451
|
-
const [s, c] =
|
|
114451
|
+
const [s, c] = ai(n), e = _ci(s, c);
|
|
114452
114452
|
return { value: B.Success, error: null, result: e };
|
|
114453
114453
|
} catch (s) {
|
|
114454
114454
|
return {
|
|
@@ -114482,7 +114482,7 @@ class ffi extends ge {
|
|
|
114482
114482
|
},
|
|
114483
114483
|
main: async (i, n) => {
|
|
114484
114484
|
try {
|
|
114485
|
-
const [s, c] =
|
|
114485
|
+
const [s, c] = ai(n);
|
|
114486
114486
|
return {
|
|
114487
114487
|
value: B.Success,
|
|
114488
114488
|
error: null,
|
|
@@ -114519,7 +114519,7 @@ class yfi extends ge {
|
|
|
114519
114519
|
},
|
|
114520
114520
|
main: async (i, n) => {
|
|
114521
114521
|
try {
|
|
114522
|
-
const [s, c] =
|
|
114522
|
+
const [s, c] = ai(n);
|
|
114523
114523
|
return {
|
|
114524
114524
|
value: B.Success,
|
|
114525
114525
|
error: null,
|
|
@@ -114558,7 +114558,7 @@ class hfi extends ge {
|
|
|
114558
114558
|
},
|
|
114559
114559
|
main: async (i, n) => {
|
|
114560
114560
|
try {
|
|
114561
|
-
const [s, c] =
|
|
114561
|
+
const [s, c] = ai(n);
|
|
114562
114562
|
return {
|
|
114563
114563
|
value: B.Success,
|
|
114564
114564
|
error: null,
|
|
@@ -114597,7 +114597,7 @@ class mfi extends ge {
|
|
|
114597
114597
|
},
|
|
114598
114598
|
main: async (i, n) => {
|
|
114599
114599
|
try {
|
|
114600
|
-
const [s, c] =
|
|
114600
|
+
const [s, c] = ai(n);
|
|
114601
114601
|
return {
|
|
114602
114602
|
value: B.Success,
|
|
114603
114603
|
error: null,
|
|
@@ -114856,10 +114856,10 @@ const Yfi = (o) => {
|
|
|
114856
114856
|
asap: eyi,
|
|
114857
114857
|
isIterable: tyi
|
|
114858
114858
|
};
|
|
114859
|
-
function
|
|
114859
|
+
function ni(o, p, i, n, s) {
|
|
114860
114860
|
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = o, this.name = "AxiosError", p && (this.code = p), i && (this.config = i), n && (this.request = n), s && (this.response = s, this.status = s.status ? s.status : null);
|
|
114861
114861
|
}
|
|
114862
|
-
je.inherits(
|
|
114862
|
+
je.inherits(ni, Error, {
|
|
114863
114863
|
toJSON: function() {
|
|
114864
114864
|
return {
|
|
114865
114865
|
// Standard
|
|
@@ -114880,7 +114880,7 @@ je.inherits(ri, Error, {
|
|
|
114880
114880
|
};
|
|
114881
114881
|
}
|
|
114882
114882
|
});
|
|
114883
|
-
const fj =
|
|
114883
|
+
const fj = ni.prototype, yj = {};
|
|
114884
114884
|
[
|
|
114885
114885
|
"ERR_BAD_OPTION_VALUE",
|
|
114886
114886
|
"ERR_BAD_OPTION",
|
|
@@ -114898,15 +114898,15 @@ const fj = ri.prototype, yj = {};
|
|
|
114898
114898
|
].forEach((o) => {
|
|
114899
114899
|
yj[o] = { value: o };
|
|
114900
114900
|
});
|
|
114901
|
-
Object.defineProperties(
|
|
114901
|
+
Object.defineProperties(ni, yj);
|
|
114902
114902
|
Object.defineProperty(fj, "isAxiosError", { value: !0 });
|
|
114903
|
-
|
|
114903
|
+
ni.from = (o, p, i, n, s, c) => {
|
|
114904
114904
|
const e = Object.create(fj);
|
|
114905
114905
|
je.toFlatObject(o, e, function(b) {
|
|
114906
114906
|
return b !== Error.prototype;
|
|
114907
114907
|
}, (v) => v !== "isAxiosError");
|
|
114908
114908
|
const y = o && o.message ? o.message : "Error", m = p == null && o ? o.code : p;
|
|
114909
|
-
return
|
|
114909
|
+
return ni.call(e, y, m, i, n, s), o && e.cause == null && Object.defineProperty(e, "cause", { value: o, configurable: !0 }), e.name = o && o.name || "Error", c && Object.assign(e, c), e;
|
|
114910
114910
|
};
|
|
114911
114911
|
const iyi = null;
|
|
114912
114912
|
function ID(o) {
|
|
@@ -114947,7 +114947,7 @@ function CA(o, p, i) {
|
|
|
114947
114947
|
if (je.isBoolean($))
|
|
114948
114948
|
return $.toString();
|
|
114949
114949
|
if (!m && je.isBlob($))
|
|
114950
|
-
throw new
|
|
114950
|
+
throw new ni("Blob is not supported. Use a Buffer instead.");
|
|
114951
114951
|
return je.isArrayBuffer($) || je.isTypedArray($) ? m && typeof Blob == "function" ? new Blob([$]) : Buffer.from($) : $;
|
|
114952
114952
|
}
|
|
114953
114953
|
function b($, L, U) {
|
|
@@ -115199,7 +115199,7 @@ const oO = {
|
|
|
115199
115199
|
return JSON.parse(p, this.parseReviver);
|
|
115200
115200
|
} catch (y) {
|
|
115201
115201
|
if (e)
|
|
115202
|
-
throw y.name === "SyntaxError" ?
|
|
115202
|
+
throw y.name === "SyntaxError" ? ni.from(y, ni.ERR_BAD_RESPONSE, this, null, this.response) : y;
|
|
115203
115203
|
}
|
|
115204
115204
|
}
|
|
115205
115205
|
return p;
|
|
@@ -115443,16 +115443,16 @@ function Ej(o) {
|
|
|
115443
115443
|
return !!(o && o.__CANCEL__);
|
|
115444
115444
|
}
|
|
115445
115445
|
function ah(o, p, i) {
|
|
115446
|
-
|
|
115446
|
+
ni.call(this, o ?? "canceled", ni.ERR_CANCELED, p, i), this.name = "CanceledError";
|
|
115447
115447
|
}
|
|
115448
|
-
je.inherits(ah,
|
|
115448
|
+
je.inherits(ah, ni, {
|
|
115449
115449
|
__CANCEL__: !0
|
|
115450
115450
|
});
|
|
115451
115451
|
function Aj(o, p, i) {
|
|
115452
115452
|
const n = i.config.validateStatus;
|
|
115453
|
-
!i.status || !n || n(i.status) ? o(i) : p(new
|
|
115453
|
+
!i.status || !n || n(i.status) ? o(i) : p(new ni(
|
|
115454
115454
|
"Request failed with status code " + i.status,
|
|
115455
|
-
[
|
|
115455
|
+
[ni.ERR_BAD_REQUEST, ni.ERR_BAD_RESPONSE][Math.floor(i.status / 100) - 4],
|
|
115456
115456
|
i.config,
|
|
115457
115457
|
i.request,
|
|
115458
115458
|
i
|
|
@@ -115681,16 +115681,16 @@ const Ij = (o) => {
|
|
|
115681
115681
|
"onloadend" in U ? U.onloadend = F : U.onreadystatechange = function() {
|
|
115682
115682
|
!U || U.readyState !== 4 || U.status === 0 && !(U.responseURL && U.responseURL.indexOf("file:") === 0) || setTimeout(F);
|
|
115683
115683
|
}, U.onabort = function() {
|
|
115684
|
-
U && (n(new
|
|
115684
|
+
U && (n(new ni("Request aborted", ni.ECONNABORTED, o, U)), U = null);
|
|
115685
115685
|
}, U.onerror = function(ae) {
|
|
115686
|
-
const Q = ae && ae.message ? ae.message : "Network Error", fe = new
|
|
115686
|
+
const Q = ae && ae.message ? ae.message : "Network Error", fe = new ni(Q, ni.ERR_NETWORK, o, U);
|
|
115687
115687
|
fe.event = ae || null, n(fe), U = null;
|
|
115688
115688
|
}, U.ontimeout = function() {
|
|
115689
115689
|
let ae = s.timeout ? "timeout of " + s.timeout + "ms exceeded" : "timeout exceeded";
|
|
115690
115690
|
const Q = s.transitional || vj;
|
|
115691
|
-
s.timeoutErrorMessage && (ae = s.timeoutErrorMessage), n(new
|
|
115691
|
+
s.timeoutErrorMessage && (ae = s.timeoutErrorMessage), n(new ni(
|
|
115692
115692
|
ae,
|
|
115693
|
-
Q.clarifyTimeoutError ?
|
|
115693
|
+
Q.clarifyTimeoutError ? ni.ETIMEDOUT : ni.ECONNABORTED,
|
|
115694
115694
|
o,
|
|
115695
115695
|
U
|
|
115696
115696
|
)), U = null;
|
|
@@ -115701,7 +115701,7 @@ const Ij = (o) => {
|
|
|
115701
115701
|
}, s.cancelToken && s.cancelToken.subscribe(b), s.signal && (s.signal.aborted ? b() : s.signal.addEventListener("abort", b)));
|
|
115702
115702
|
const q = Dyi(s.url);
|
|
115703
115703
|
if (q && Xn.protocols.indexOf(q) === -1) {
|
|
115704
|
-
n(new
|
|
115704
|
+
n(new ni("Unsupported protocol " + q + ":", ni.ERR_BAD_REQUEST, o));
|
|
115705
115705
|
return;
|
|
115706
115706
|
}
|
|
115707
115707
|
U.send(c || null);
|
|
@@ -115714,11 +115714,11 @@ const Ij = (o) => {
|
|
|
115714
115714
|
if (!s) {
|
|
115715
115715
|
s = !0, y();
|
|
115716
115716
|
const b = v instanceof Error ? v : this.reason;
|
|
115717
|
-
n.abort(b instanceof
|
|
115717
|
+
n.abort(b instanceof ni ? b : new ah(b instanceof Error ? b.message : b));
|
|
115718
115718
|
}
|
|
115719
115719
|
};
|
|
115720
115720
|
let e = p && setTimeout(() => {
|
|
115721
|
-
e = null, c(new
|
|
115721
|
+
e = null, c(new ni(`timeout ${p} of ms exceeded`, ni.ETIMEDOUT));
|
|
115722
115722
|
}, p);
|
|
115723
115723
|
const y = () => {
|
|
115724
115724
|
o && (e && clearTimeout(e), e = null, o.forEach((v) => {
|
|
@@ -115823,7 +115823,7 @@ const Ij = (o) => {
|
|
|
115823
115823
|
let F = L && L[$];
|
|
115824
115824
|
if (F)
|
|
115825
115825
|
return F.call(L);
|
|
115826
|
-
throw new
|
|
115826
|
+
throw new ni(`Response type '${$}' is not supported`, ni.ERR_NOT_SUPPORT, U);
|
|
115827
115827
|
});
|
|
115828
115828
|
});
|
|
115829
115829
|
const w = async ($) => {
|
|
@@ -115923,11 +115923,11 @@ const Ij = (o) => {
|
|
|
115923
115923
|
});
|
|
115924
115924
|
} catch (Me) {
|
|
115925
115925
|
throw Be && Be(), Me && Me.name === "TypeError" && /Load failed|fetch/i.test(Me.message) ? Object.assign(
|
|
115926
|
-
new
|
|
115926
|
+
new ni("Network Error", ni.ERR_NETWORK, $, Ne),
|
|
115927
115927
|
{
|
|
115928
115928
|
cause: Me.cause || Me
|
|
115929
115929
|
}
|
|
115930
|
-
) :
|
|
115930
|
+
) : ni.from(Me, Me && Me.code, $, Ne);
|
|
115931
115931
|
}
|
|
115932
115932
|
};
|
|
115933
115933
|
}, jyi = /* @__PURE__ */ new Map(), Rj = (o) => {
|
|
@@ -115969,7 +115969,7 @@ function Fyi(o, p) {
|
|
|
115969
115969
|
n = o[e];
|
|
115970
115970
|
let y;
|
|
115971
115971
|
if (s = n, !Kyi(n) && (s = uO[(y = String(n)).toLowerCase()], s === void 0))
|
|
115972
|
-
throw new
|
|
115972
|
+
throw new ni(`Unknown adapter '${y}'`);
|
|
115973
115973
|
if (s && (je.isFunction(s) || (s = s.get(p))))
|
|
115974
115974
|
break;
|
|
115975
115975
|
c[y || "#" + e] = s;
|
|
@@ -115981,7 +115981,7 @@ function Fyi(o, p) {
|
|
|
115981
115981
|
let y = i ? e.length > 1 ? `since :
|
|
115982
115982
|
` + e.map(ML).join(`
|
|
115983
115983
|
`) : " " + ML(e[0]) : "as no adapter specified";
|
|
115984
|
-
throw new
|
|
115984
|
+
throw new ni(
|
|
115985
115985
|
"There is no suitable adapter to dispatch the request " + y,
|
|
115986
115986
|
"ERR_NOT_SUPPORT"
|
|
115987
115987
|
);
|
|
@@ -116035,9 +116035,9 @@ _A.transitional = function(p, i, n) {
|
|
|
116035
116035
|
}
|
|
116036
116036
|
return (c, e, y) => {
|
|
116037
116037
|
if (p === !1)
|
|
116038
|
-
throw new
|
|
116038
|
+
throw new ni(
|
|
116039
116039
|
s(e, " has been removed" + (i ? " in " + i : "")),
|
|
116040
|
-
|
|
116040
|
+
ni.ERR_DEPRECATED
|
|
116041
116041
|
);
|
|
116042
116042
|
return i && !kL[e] && (kL[e] = !0, console.warn(
|
|
116043
116043
|
s(
|
|
@@ -116052,7 +116052,7 @@ _A.spelling = function(p) {
|
|
|
116052
116052
|
};
|
|
116053
116053
|
function Syi(o, p, i) {
|
|
116054
116054
|
if (typeof o != "object")
|
|
116055
|
-
throw new
|
|
116055
|
+
throw new ni("options must be an object", ni.ERR_BAD_OPTION_VALUE);
|
|
116056
116056
|
const n = Object.keys(o);
|
|
116057
116057
|
let s = n.length;
|
|
116058
116058
|
for (; s-- > 0; ) {
|
|
@@ -116060,11 +116060,11 @@ function Syi(o, p, i) {
|
|
|
116060
116060
|
if (e) {
|
|
116061
116061
|
const y = o[c], m = y === void 0 || e(y, c, o);
|
|
116062
116062
|
if (m !== !0)
|
|
116063
|
-
throw new
|
|
116063
|
+
throw new ni("option " + c + " must be " + m, ni.ERR_BAD_OPTION_VALUE);
|
|
116064
116064
|
continue;
|
|
116065
116065
|
}
|
|
116066
116066
|
if (i !== !0)
|
|
116067
|
-
throw new
|
|
116067
|
+
throw new ni("Unknown option " + c, ni.ERR_BAD_OPTION);
|
|
116068
116068
|
}
|
|
116069
116069
|
}
|
|
116070
116070
|
const Xb = {
|
|
@@ -116367,7 +116367,7 @@ vn.CancelToken = qyi;
|
|
|
116367
116367
|
vn.isCancel = Ej;
|
|
116368
116368
|
vn.VERSION = wj;
|
|
116369
116369
|
vn.toFormData = CA;
|
|
116370
|
-
vn.AxiosError =
|
|
116370
|
+
vn.AxiosError = ni;
|
|
116371
116371
|
vn.Cancel = vn.CanceledError;
|
|
116372
116372
|
vn.all = function(p) {
|
|
116373
116373
|
return Promise.all(p);
|
|
@@ -120156,7 +120156,7 @@ class qp extends qf {
|
|
|
120156
120156
|
async schedule(i, n, s) {
|
|
120157
120157
|
if (this.hasExecuted(i))
|
|
120158
120158
|
return null;
|
|
120159
|
-
if (
|
|
120159
|
+
if (Qt.includes(i.type))
|
|
120160
120160
|
return this.executeBranch(
|
|
120161
120161
|
i,
|
|
120162
120162
|
s,
|
|
@@ -120179,7 +120179,7 @@ class qp extends qf {
|
|
|
120179
120179
|
// And returns a resolved list of dynamic values to be used during the execution
|
|
120180
120180
|
mergeExernalValuesWithInternalInputs(i, n) {
|
|
120181
120181
|
const s = [];
|
|
120182
|
-
return [...Ii, ...
|
|
120182
|
+
return [...Ii, ...Qt].includes(
|
|
120183
120183
|
n.type
|
|
120184
120184
|
) ? s.push(
|
|
120185
120185
|
...n.inputs
|
|
@@ -120193,7 +120193,7 @@ class qp extends qf {
|
|
|
120193
120193
|
);
|
|
120194
120194
|
if (y)
|
|
120195
120195
|
return y;
|
|
120196
|
-
if (!y &&
|
|
120196
|
+
if (!y && Qt.includes(n.type) && (y = i.find(
|
|
120197
120197
|
(v) => {
|
|
120198
120198
|
var b;
|
|
120199
120199
|
return ((b = v.valueOwner.declaration) == null ? void 0 : b.id) === e.id;
|
|
@@ -123922,7 +123922,7 @@ class Vn {
|
|
|
123922
123922
|
if (d.DefinitionEntity === e.type) {
|
|
123923
123923
|
n.push(e);
|
|
123924
123924
|
return;
|
|
123925
|
-
} else if (
|
|
123925
|
+
} else if (Qt.includes(e.type)) {
|
|
123926
123926
|
s.push(e);
|
|
123927
123927
|
return;
|
|
123928
123928
|
}
|
|
@@ -124092,7 +124092,7 @@ class Vn {
|
|
|
124092
124092
|
this.parents.forEach((n) => {
|
|
124093
124093
|
n !== this.calculationEntryPoint && n.shiftDownAlone(i);
|
|
124094
124094
|
});
|
|
124095
|
-
} else if ([...
|
|
124095
|
+
} else if ([...Qt].includes(this.entity.type) && this.children.length)
|
|
124096
124096
|
this.centerHeaderVerticallyOverCombinedAllChildrenHeaderHeight();
|
|
124097
124097
|
else if (!this.children.length && this.parents.length > 1) {
|
|
124098
124098
|
const i = p.filter(
|
|
@@ -124970,7 +124970,7 @@ function W0i(o) {
|
|
|
124970
124970
|
if (o.type === d.Operation) {
|
|
124971
124971
|
const p = o.declaration;
|
|
124972
124972
|
if (Object.values(
|
|
124973
|
-
|
|
124973
|
+
ri
|
|
124974
124974
|
).includes(p.id))
|
|
124975
124975
|
return p.id.split("--")[1] || null;
|
|
124976
124976
|
}
|
|
@@ -125142,7 +125142,7 @@ const rUi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
125142
125142
|
validateAsync: Kj
|
|
125143
125143
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
125144
125144
|
var Sj = /* @__PURE__ */ ((o) => (o.Parent = "parent", o.DataTypeEntity = "data-type-entity", o.VarDeclaration = "var-declaration", o))(Sj || {});
|
|
125145
|
-
const
|
|
125145
|
+
const ci = class ci extends Gr {
|
|
125146
125146
|
constructor(i, n) {
|
|
125147
125147
|
super(i);
|
|
125148
125148
|
I(this, "initialData");
|
|
@@ -125505,7 +125505,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
125505
125505
|
// And adds it to the 'knownVersions' map
|
|
125506
125506
|
captureVersion() {
|
|
125507
125507
|
var n;
|
|
125508
|
-
const i = ((n = this.knownVersions) == null ? void 0 : n.get(this.version)) || new
|
|
125508
|
+
const i = ((n = this.knownVersions) == null ? void 0 : n.get(this.version)) || new ci(this, this.project);
|
|
125509
125509
|
return i.metaSync(this.toMeta(), null), this.knownVersions = this.knownVersions ? this.knownVersions.set(this.version, i) : /* @__PURE__ */ new Map([[this.version, i]]), i.inputs = [...this.inputs], i.outputs = [...this.outputs], i.internalCalls = [...this.internalCalls], i.successCalls = [...this.successCalls], i.errorCalls = [...this.errorCalls], i.writesValues = [...this.writesValues], i.readsValue = this.readsValue, i.defaultValue = this.defaultValue, i.declaration = this.declaration, i.calledBySuccess = [...this.calledBySuccess], i.calledByError = [...this.calledByError], i.calledByEntry = [...this.calledByEntry], i.error = this.error, i.parent = this.parent, this;
|
|
125510
125510
|
}
|
|
125511
125511
|
// Traverses upstream entities and captures their versions as well
|
|
@@ -125572,7 +125572,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
125572
125572
|
throw new Error(
|
|
125573
125573
|
`Version with id '${i}' for entity with id '${this.id}' not found.`
|
|
125574
125574
|
);
|
|
125575
|
-
y = new
|
|
125575
|
+
y = new ci(
|
|
125576
125576
|
v,
|
|
125577
125577
|
this.project
|
|
125578
125578
|
);
|
|
@@ -126367,31 +126367,31 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
126367
126367
|
return this.x = s.x || e.x, this.y = s.y || e.y, this.catchesError = s.catchesError !== void 0 ? s.catchesError : this.catchesError, super.baseMetaSync(s, this, n), s.deleted === !0 && !e.deleted ? n == null || n.add(this, H.Removed) : s.deleted === !1 && e.deleted ? n == null || n.add(this, H.Added) : c && (n == null || n.add(this, H.Updated)), n == null || n.attemptAutoclose("meta-sync", this.id), this;
|
|
126368
126368
|
}
|
|
126369
126369
|
async APILoad(i = Ue, ...n) {
|
|
126370
|
-
return await
|
|
126370
|
+
return await ci.repository.APILoad(this.id, ...n), this;
|
|
126371
126371
|
}
|
|
126372
126372
|
async APICreate(i = Ue, ...n) {
|
|
126373
|
-
return await
|
|
126373
|
+
return await ci.repository.APICreate(
|
|
126374
126374
|
this.toShallowJSON(),
|
|
126375
126375
|
...n
|
|
126376
126376
|
), this;
|
|
126377
126377
|
}
|
|
126378
126378
|
async APIUpdate(i = Ue, ...n) {
|
|
126379
|
-
return await
|
|
126379
|
+
return await ci.repository.APIUpdate(
|
|
126380
126380
|
this.toShallowJSON(),
|
|
126381
126381
|
...n
|
|
126382
126382
|
), this;
|
|
126383
126383
|
}
|
|
126384
126384
|
async APIDelete(i = Ue, ...n) {
|
|
126385
|
-
return await
|
|
126385
|
+
return await ci.repository.APIDelete(
|
|
126386
126386
|
this.toShallowJSON(),
|
|
126387
126387
|
...n
|
|
126388
126388
|
), this;
|
|
126389
126389
|
}
|
|
126390
126390
|
async APIClone(i = Ue, ...n) {
|
|
126391
|
-
return await
|
|
126391
|
+
return await ci.repository.APIClone(this.id, ...n), this;
|
|
126392
126392
|
}
|
|
126393
126393
|
async APILoadVersion(i = Ue, n, ...s) {
|
|
126394
|
-
return await
|
|
126394
|
+
return await ci.repository.APILoadVersion(
|
|
126395
126395
|
this.id,
|
|
126396
126396
|
n,
|
|
126397
126397
|
...s
|
|
@@ -127496,7 +127496,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
127496
127496
|
);
|
|
127497
127497
|
}
|
|
127498
127498
|
};
|
|
127499
|
-
I(
|
|
127499
|
+
I(ci, "repository", {
|
|
127500
127500
|
APICreate: async (i, ...n) => i,
|
|
127501
127501
|
APIUpdate: async (i, ...n) => i,
|
|
127502
127502
|
APIDelete: async (i, ...n) => i,
|
|
@@ -127504,60 +127504,60 @@ I(pi, "repository", {
|
|
|
127504
127504
|
},
|
|
127505
127505
|
APILoad: async (i, ...n) => null,
|
|
127506
127506
|
APILoadVersion: async (i, n, ...s) => null
|
|
127507
|
-
}), I(
|
|
127507
|
+
}), I(ci, "type", d.VariableInstance), I(ci, "USER_MANAGED_PARENT_TYPES", [
|
|
127508
127508
|
...dr,
|
|
127509
127509
|
d.Project
|
|
127510
|
-
]), I(
|
|
127511
|
-
...
|
|
127512
|
-
]), I(
|
|
127510
|
+
]), I(ci, "PARENT_TYPES", [
|
|
127511
|
+
...ci.USER_MANAGED_PARENT_TYPES
|
|
127512
|
+
]), I(ci, "MUTABLE_BASE_PROPERTIES", ["catchesError"]), I(ci, "INMUTABLE_BASE_PROPERTIES", [
|
|
127513
127513
|
"id",
|
|
127514
127514
|
"type",
|
|
127515
127515
|
"version",
|
|
127516
127516
|
"createdAt",
|
|
127517
127517
|
"author",
|
|
127518
127518
|
"previousVersion"
|
|
127519
|
-
]), I(
|
|
127520
|
-
...
|
|
127521
|
-
...
|
|
127519
|
+
]), I(ci, "BASE_PROPERTIES", [
|
|
127520
|
+
...ci.MUTABLE_BASE_PROPERTIES,
|
|
127521
|
+
...ci.INMUTABLE_BASE_PROPERTIES
|
|
127522
127522
|
]), // Includes the base properties and the meta properties
|
|
127523
127523
|
// Often contains properties related to UX, not necessary for the logic
|
|
127524
|
-
I(
|
|
127525
|
-
...
|
|
127524
|
+
I(ci, "MUTABLE_META_PROPERTIES", [
|
|
127525
|
+
...ci.MUTABLE_BASE_PROPERTIES,
|
|
127526
127526
|
"x",
|
|
127527
127527
|
"y"
|
|
127528
|
-
]), I(
|
|
127529
|
-
...
|
|
127530
|
-
]), I(
|
|
127531
|
-
...
|
|
127532
|
-
...
|
|
127528
|
+
]), I(ci, "INMUTABLE_META_PROPERTIES", [
|
|
127529
|
+
...ci.INMUTABLE_BASE_PROPERTIES
|
|
127530
|
+
]), I(ci, "META_PROPERTIES", [
|
|
127531
|
+
...ci.MUTABLE_META_PROPERTIES,
|
|
127532
|
+
...ci.INMUTABLE_META_PROPERTIES
|
|
127533
127533
|
]), // Properties pointing to nested entities that are declared before the entity itself
|
|
127534
|
-
I(
|
|
127534
|
+
I(ci, "MUTABLE_UPSTREAM_PROPERTIES", [
|
|
127535
127535
|
"calledBySuccess",
|
|
127536
127536
|
"calledByError",
|
|
127537
127537
|
"calledByEntry",
|
|
127538
127538
|
"readsValue"
|
|
127539
|
-
]), I(
|
|
127540
|
-
...
|
|
127541
|
-
...
|
|
127539
|
+
]), I(ci, "INMUTABLE_UPSTREAM_PROPERTIES", ["declaration", "parent"]), I(ci, "UPSTREAM_PROPERTIES", [
|
|
127540
|
+
...ci.MUTABLE_UPSTREAM_PROPERTIES,
|
|
127541
|
+
...ci.INMUTABLE_UPSTREAM_PROPERTIES
|
|
127542
127542
|
]), // Properties pointing to nested entities that are declared after the entity itself or are direct children
|
|
127543
|
-
I(
|
|
127543
|
+
I(ci, "MUTABLE_DOWNSTREAM_PROPERTIES", [
|
|
127544
127544
|
"writesValues",
|
|
127545
127545
|
"inputs",
|
|
127546
127546
|
"outputs",
|
|
127547
127547
|
"successCalls",
|
|
127548
127548
|
"errorCalls",
|
|
127549
127549
|
"internalCalls"
|
|
127550
|
-
]), I(
|
|
127551
|
-
...
|
|
127552
|
-
...
|
|
127553
|
-
]), I(
|
|
127554
|
-
...
|
|
127555
|
-
...
|
|
127556
|
-
...
|
|
127550
|
+
]), I(ci, "INMUTABLE_DOWNSTREAM_PROPERTIES", []), I(ci, "DOWNSTREAM_PROPERTIES", [
|
|
127551
|
+
...ci.MUTABLE_DOWNSTREAM_PROPERTIES,
|
|
127552
|
+
...ci.INMUTABLE_DOWNSTREAM_PROPERTIES
|
|
127553
|
+
]), I(ci, "PROPERTIES", [
|
|
127554
|
+
...ci.META_PROPERTIES,
|
|
127555
|
+
...ci.UPSTREAM_PROPERTIES,
|
|
127556
|
+
...ci.DOWNSTREAM_PROPERTIES
|
|
127557
127557
|
]);
|
|
127558
|
-
let rc =
|
|
127558
|
+
let rc = ci;
|
|
127559
127559
|
var J0i = /* @__PURE__ */ ((o) => (o.Parent = "variable-declaration-parent", o.DataTypeEntity = "variable-declaration-data-type-entity", o.DataType = "variable-declaration-data-type", o))(J0i || {});
|
|
127560
|
-
const
|
|
127560
|
+
const fi = class fi extends Gr {
|
|
127561
127561
|
constructor(i, n) {
|
|
127562
127562
|
super(i);
|
|
127563
127563
|
I(this, "initialData");
|
|
@@ -127914,7 +127914,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
127914
127914
|
// And adds it to the 'knownVersions' map
|
|
127915
127915
|
captureVersion() {
|
|
127916
127916
|
var n;
|
|
127917
|
-
const i = ((n = this.knownVersions) == null ? void 0 : n.get(this.version)) || new
|
|
127917
|
+
const i = ((n = this.knownVersions) == null ? void 0 : n.get(this.version)) || new fi(this, this.project);
|
|
127918
127918
|
return i.metaSync(this.toMeta(), null), this.knownVersions = this.knownVersions ? this.knownVersions.set(this.version, i) : /* @__PURE__ */ new Map([[this.version, i]]), i.inputs = [...this.inputs], i.outputs = [...this.outputs], i.internalCalls = [...this.internalCalls], i.successCalls = [...this.successCalls], i.errorCalls = [...this.errorCalls], i.writesValues = [...this.writesValues], i.readsValue = this.readsValue, i.defaultValue = this.defaultValue, i.dataType = this.dataType, i.calledBySuccess = [...this.calledBySuccess], i.calledByError = [...this.calledByError], i.calledByEntry = [...this.calledByEntry], i.error = this.error, i.parent = this.parent, this;
|
|
127919
127919
|
}
|
|
127920
127920
|
// Traverses upstream entities and captures their versions as well
|
|
@@ -127981,7 +127981,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
127981
127981
|
throw new Error(
|
|
127982
127982
|
`Version with id '${i}' for entity with id '${this.id}' not found.`
|
|
127983
127983
|
);
|
|
127984
|
-
y = new
|
|
127984
|
+
y = new fi(
|
|
127985
127985
|
v,
|
|
127986
127986
|
this.project
|
|
127987
127987
|
);
|
|
@@ -128891,31 +128891,31 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
128891
128891
|
return this.name = s.name !== void 0 ? s.name : e.name, this.codeName = s.codeName !== void 0 ? s.codeName : e.codeName, this.description = s.description !== void 0 ? s.description : e.description, this.x = s.x || e.x, this.y = s.y || e.y, this.constant = s.constant !== void 0 ? s.constant : e.constant, this.required = s.required !== void 0 ? s.required : e.required, this.catchesError = s.catchesError !== void 0 ? s.catchesError : this.catchesError, super.baseMetaSync(s, this, n), s.deleted === !0 && !e.deleted ? n == null || n.add(this, H.Removed) : s.deleted === !1 && e.deleted ? n == null || n.add(this, H.Added) : c && (n == null || n.add(this, H.Updated)), n == null || n.attemptAutoclose("meta-sync", this.id), this;
|
|
128892
128892
|
}
|
|
128893
128893
|
async APILoad(i = Ue, ...n) {
|
|
128894
|
-
return await
|
|
128894
|
+
return await fi.repository.APILoad(this.id, ...n), this;
|
|
128895
128895
|
}
|
|
128896
128896
|
async APICreate(i = Ue, ...n) {
|
|
128897
|
-
return await
|
|
128897
|
+
return await fi.repository.APICreate(
|
|
128898
128898
|
this.toShallowJSON(),
|
|
128899
128899
|
...n
|
|
128900
128900
|
), this;
|
|
128901
128901
|
}
|
|
128902
128902
|
async APIUpdate(i = Ue, ...n) {
|
|
128903
|
-
return await
|
|
128903
|
+
return await fi.repository.APIUpdate(
|
|
128904
128904
|
this.toShallowJSON(),
|
|
128905
128905
|
...n
|
|
128906
128906
|
), this;
|
|
128907
128907
|
}
|
|
128908
128908
|
async APIDelete(i = Ue, ...n) {
|
|
128909
|
-
return await
|
|
128909
|
+
return await fi.repository.APIDelete(
|
|
128910
128910
|
this.toShallowJSON(),
|
|
128911
128911
|
...n
|
|
128912
128912
|
), this;
|
|
128913
128913
|
}
|
|
128914
128914
|
async APIClone(i = Ue, ...n) {
|
|
128915
|
-
return await
|
|
128915
|
+
return await fi.repository.APIClone(this.id, ...n), this;
|
|
128916
128916
|
}
|
|
128917
128917
|
async APILoadVersion(i = Ue, n, ...s) {
|
|
128918
|
-
return await
|
|
128918
|
+
return await fi.repository.APILoadVersion(
|
|
128919
128919
|
this.id,
|
|
128920
128920
|
n,
|
|
128921
128921
|
...s
|
|
@@ -130187,7 +130187,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
130187
130187
|
);
|
|
130188
130188
|
}
|
|
130189
130189
|
};
|
|
130190
|
-
I(
|
|
130190
|
+
I(fi, "repository", {
|
|
130191
130191
|
APICreate: async (i, ...n) => i,
|
|
130192
130192
|
APIUpdate: async (i, ...n) => i,
|
|
130193
130193
|
APIDelete: async (i, ...n) => i,
|
|
@@ -130195,68 +130195,68 @@ I(ci, "repository", {
|
|
|
130195
130195
|
},
|
|
130196
130196
|
APILoad: async (i, ...n) => null,
|
|
130197
130197
|
APILoadVersion: async (i, n, ...s) => null
|
|
130198
|
-
}), I(
|
|
130198
|
+
}), I(fi, "type", d.VariableDeclaration), I(fi, "USER_MANAGED_PARENT_TYPES", [
|
|
130199
130199
|
...dr,
|
|
130200
130200
|
d.Project
|
|
130201
|
-
]), I(
|
|
130202
|
-
...
|
|
130203
|
-
]), I(
|
|
130201
|
+
]), I(fi, "PARENT_TYPES", [
|
|
130202
|
+
...fi.USER_MANAGED_PARENT_TYPES
|
|
130203
|
+
]), I(fi, "MUTABLE_BASE_PROPERTIES", [
|
|
130204
130204
|
"name",
|
|
130205
130205
|
"codeName",
|
|
130206
130206
|
"description",
|
|
130207
130207
|
"constant",
|
|
130208
130208
|
"required",
|
|
130209
130209
|
"catchesError"
|
|
130210
|
-
]), I(
|
|
130210
|
+
]), I(fi, "INMUTABLE_BASE_PROPERTIES", [
|
|
130211
130211
|
"id",
|
|
130212
130212
|
"type",
|
|
130213
130213
|
"version",
|
|
130214
130214
|
"createdAt",
|
|
130215
130215
|
"author",
|
|
130216
130216
|
"previousVersion"
|
|
130217
|
-
]), I(
|
|
130218
|
-
...
|
|
130219
|
-
...
|
|
130217
|
+
]), I(fi, "BASE_PROPERTIES", [
|
|
130218
|
+
...fi.MUTABLE_BASE_PROPERTIES,
|
|
130219
|
+
...fi.INMUTABLE_BASE_PROPERTIES
|
|
130220
130220
|
]), // Includes the base properties and the meta properties
|
|
130221
130221
|
// Often contains properties related to UX, not necessary for the logic
|
|
130222
|
-
I(
|
|
130223
|
-
...
|
|
130222
|
+
I(fi, "MUTABLE_META_PROPERTIES", [
|
|
130223
|
+
...fi.MUTABLE_BASE_PROPERTIES,
|
|
130224
130224
|
"x",
|
|
130225
130225
|
"y"
|
|
130226
|
-
]), I(
|
|
130227
|
-
...
|
|
130228
|
-
]), I(
|
|
130229
|
-
...
|
|
130230
|
-
...
|
|
130226
|
+
]), I(fi, "INMUTABLE_META_PROPERTIES", [
|
|
130227
|
+
...fi.INMUTABLE_BASE_PROPERTIES
|
|
130228
|
+
]), I(fi, "META_PROPERTIES", [
|
|
130229
|
+
...fi.MUTABLE_META_PROPERTIES,
|
|
130230
|
+
...fi.INMUTABLE_META_PROPERTIES
|
|
130231
130231
|
]), // Properties pointing to nested entities that are declared before the entity itself
|
|
130232
|
-
I(
|
|
130232
|
+
I(fi, "MUTABLE_UPSTREAM_PROPERTIES", [
|
|
130233
130233
|
"calledBySuccess",
|
|
130234
130234
|
"calledByError",
|
|
130235
130235
|
"calledByEntry",
|
|
130236
130236
|
"readsValue"
|
|
130237
|
-
]), I(
|
|
130238
|
-
...
|
|
130239
|
-
...
|
|
130237
|
+
]), I(fi, "INMUTABLE_UPSTREAM_PROPERTIES", ["parent"]), I(fi, "UPSTREAM_PROPERTIES", [
|
|
130238
|
+
...fi.MUTABLE_UPSTREAM_PROPERTIES,
|
|
130239
|
+
...fi.INMUTABLE_UPSTREAM_PROPERTIES
|
|
130240
130240
|
]), // Properties pointing to nested entities that are declared after the entity itself or are direct children
|
|
130241
|
-
I(
|
|
130241
|
+
I(fi, "MUTABLE_DOWNSTREAM_PROPERTIES", [
|
|
130242
130242
|
"writesValues",
|
|
130243
130243
|
"inputs",
|
|
130244
130244
|
"outputs",
|
|
130245
130245
|
"successCalls",
|
|
130246
130246
|
"errorCalls",
|
|
130247
130247
|
"internalCalls"
|
|
130248
|
-
]), I(
|
|
130248
|
+
]), I(fi, "INMUTABLE_DOWNSTREAM_PROPERTIES", [
|
|
130249
130249
|
"dataType",
|
|
130250
130250
|
"defaultValue"
|
|
130251
|
-
]), I(
|
|
130252
|
-
...
|
|
130253
|
-
...
|
|
130254
|
-
]), I(
|
|
130255
|
-
...
|
|
130256
|
-
...
|
|
130257
|
-
...
|
|
130251
|
+
]), I(fi, "DOWNSTREAM_PROPERTIES", [
|
|
130252
|
+
...fi.MUTABLE_DOWNSTREAM_PROPERTIES,
|
|
130253
|
+
...fi.INMUTABLE_DOWNSTREAM_PROPERTIES
|
|
130254
|
+
]), I(fi, "PROPERTIES", [
|
|
130255
|
+
...fi.META_PROPERTIES,
|
|
130256
|
+
...fi.UPSTREAM_PROPERTIES,
|
|
130257
|
+
...fi.DOWNSTREAM_PROPERTIES
|
|
130258
130258
|
]);
|
|
130259
|
-
let nc =
|
|
130259
|
+
let nc = fi;
|
|
130260
130260
|
async function qj(o, p = {}) {
|
|
130261
130261
|
var y, m;
|
|
130262
130262
|
const i = Ke.from(p), n = oa(o), s = da(o), c = [
|
|
@@ -140834,15 +140834,15 @@ const Nf = Qn, SR = NT, xf = UK, k = ki, fo = Tl, N = NA, hn = xA, JL = $A, O =
|
|
|
140834
140834
|
return t;
|
|
140835
140835
|
}
|
|
140836
140836
|
function OP() {
|
|
140837
|
-
var t, l, a, u, f, h, A, C, z, ve, Pe, Qe, ct,
|
|
140837
|
+
var t, l, a, u, f, h, A, C, z, ve, Pe, Qe, ct, ti, Or, Pf;
|
|
140838
140838
|
if (t = r, l = r, T++, a = rt(), T--, a !== e ? (r = l, l = void 0) : l = e, l === e && (l = r, T++, a = Et(), T--, a !== e ? (r = l, l = void 0) : l = e, l === e && (l = r, T++, a = Ye(), T--, a !== e ? (r = l, l = void 0) : l = e)), l !== e)
|
|
140839
140839
|
if (a = r, u = qn(), u !== e ? (f = g(), u = [u, f], a = u) : (r = a, a = e), a !== e)
|
|
140840
140840
|
if (u = r, f = ya(), f !== e ? (h = g(), A = za(), A !== e ? (C = g(), f = [f, h, A, C], u = f) : (r = u, u = e)) : (r = u, u = e), u === e && (u = null), f = r, h = _P(), h !== e ? (A = g(), h = [h, A], f = h) : (r = f, f = e), f === e && (f = null), h = r, A = _a(), A !== e ? (C = g(), A = [A, C], h = A) : (r = h, h = e), h !== e)
|
|
140841
140841
|
if (A = r, C = Fa(), C !== e ? (z = g(), C = [C, z], A = C) : (r = A, A = e), A === e && (A = null), C = r, z = at(), z !== e ? (ve = g(), z = [z, ve], C = z) : (r = C, C = e), C === e && (C = null), z = r, ve = fr(), ve !== e ? (Pe = g(), ve = [ve, Pe], z = ve) : (r = z, z = e), z !== e)
|
|
140842
140842
|
if (ve = r, Pe = at(), Pe !== e ? (Qe = g(), Pe = [Pe, Qe], ve = Pe) : (r = ve, ve = e), ve !== e)
|
|
140843
140843
|
if (Pe = Sh(), Pe === e && (Pe = TZe()), Pe !== e) {
|
|
140844
|
-
for (Qe = [], ct = r,
|
|
140845
|
-
Qe.push(ct), ct = r,
|
|
140844
|
+
for (Qe = [], ct = r, ti = g(), Or = wv(), Or !== e ? (ti = [ti, Or], ct = ti) : (r = ct, ct = e); ct !== e; )
|
|
140845
|
+
Qe.push(ct), ct = r, ti = g(), Or = wv(), Or !== e ? (ti = [ti, Or], ct = ti) : (r = ct, ct = e);
|
|
140846
140846
|
R = t, t = Zye(a, u, f, h, A, C, z, ve, Pe, Qe);
|
|
140847
140847
|
} else
|
|
140848
140848
|
r = t, t = e;
|
|
@@ -140863,8 +140863,8 @@ const Nf = Qn, SR = NT, xf = UK, k = ki, fo = Tl, N = NA, hn = xA, JL = $A, O =
|
|
|
140863
140863
|
if (h = r, A = e0(), A !== e ? (C = g(), A = [A, C], h = A) : (r = h, h = e), h === e && (h = null), A = r, C = Fa(), C !== e ? (z = g(), C = [C, z], A = C) : (r = A, A = e), A === e && (A = null), C = r, z = at(), z !== e ? (ve = g(), z = [z, ve], C = z) : (r = C, C = e), C === e && (C = null), z = r, ve = fr(), ve !== e ? (Pe = g(), ve = [ve, Pe], z = ve) : (r = z, z = e), z !== e)
|
|
140864
140864
|
if (ve = r, Pe = iP(), Pe === e && (Pe = at()), Pe !== e ? (Qe = g(), Pe = [Pe, Qe], ve = Pe) : (r = ve, ve = e), ve !== e)
|
|
140865
140865
|
if (Pe = r, Qe = Cv(), Qe !== e ? (ct = g(), Qe = [Qe, ct], Pe = Qe) : (r = Pe, Pe = e), Pe === e && (Pe = null), Qe = Sh(), Qe !== e) {
|
|
140866
|
-
for (ct = [],
|
|
140867
|
-
ct.push(
|
|
140866
|
+
for (ct = [], ti = r, Or = g(), Pf = wv(), Pf !== e ? (Or = [Or, Pf], ti = Or) : (r = ti, ti = e); ti !== e; )
|
|
140867
|
+
ct.push(ti), ti = r, Or = g(), Pf = wv(), Pf !== e ? (Or = [Or, Pf], ti = Or) : (r = ti, ti = e);
|
|
140868
140868
|
R = t, t = Hye(a, u, f, h, A, C, z, ve, Pe, Qe, ct);
|
|
140869
140869
|
} else
|
|
140870
140870
|
r = t, t = e;
|
|
@@ -140941,12 +140941,12 @@ const Nf = Qn, SR = NT, xf = UK, k = ki, fo = Tl, N = NA, hn = xA, JL = $A, O =
|
|
|
140941
140941
|
return t = r, l = $We(), l !== e ? (a = r, u = g(), f = rb(), f !== e ? (u = [u, f], a = u) : (r = a, a = e), a === e && (a = null), R = t, t = yhe(l, a)) : (r = t, t = e), t;
|
|
140942
140942
|
}
|
|
140943
140943
|
function PP() {
|
|
140944
|
-
var t, l, a, u, f, h, A, C, z, ve, Pe, Qe, ct,
|
|
140944
|
+
var t, l, a, u, f, h, A, C, z, ve, Pe, Qe, ct, ti, Or;
|
|
140945
140945
|
if (t = r, l = qn(), l !== e)
|
|
140946
140946
|
if (a = r, u = g(), f = ya(), f !== e ? (h = g(), A = za(), A !== e ? (u = [u, f, h, A], a = u) : (r = a, a = e)) : (r = a, a = e), a === e && (a = null), u = r, f = g(), h = ug(), h !== e ? (f = [f, h], u = f) : (r = u, u = e), u === e && (u = null), f = r, h = g(), A = _n(), A !== e ? (h = [h, A], f = h) : (r = f, f = e), f !== e)
|
|
140947
140947
|
if (h = r, A = g(), C = Fa(), C !== e ? (A = [A, C], h = A) : (r = h, h = e), h === e && (h = null), A = r, C = g(), z = at(), z !== e ? (C = [C, z], A = C) : (r = A, A = e), A !== e) {
|
|
140948
|
-
for (C = r, z = g(), ve = qUe(), ve !== e ? (z = [z, ve], C = z) : (r = C, C = e), C === e && (C = null), z = r, ve = g(), Pe = ZUe(), Pe !== e ? (ve = [ve, Pe], z = ve) : (r = z, z = e), z === e && (z = null), ve = r, Pe = g(), Qe = Qqe(), Qe !== e ? (Pe = [Pe, Qe], ve = Pe) : (r = ve, ve = e), ve === e && (ve = null), Pe = r, Qe = g(), ct = Z3e(), ct !== e ? (Qe = [Qe, ct], Pe = Qe) : (r = Pe, Pe = e), Pe === e && (Pe = null), Qe = [], ct = r,
|
|
140949
|
-
Qe.push(ct), ct = r,
|
|
140948
|
+
for (C = r, z = g(), ve = qUe(), ve !== e ? (z = [z, ve], C = z) : (r = C, C = e), C === e && (C = null), z = r, ve = g(), Pe = ZUe(), Pe !== e ? (ve = [ve, Pe], z = ve) : (r = z, z = e), z === e && (z = null), ve = r, Pe = g(), Qe = Qqe(), Qe !== e ? (Pe = [Pe, Qe], ve = Pe) : (r = ve, ve = e), ve === e && (ve = null), Pe = r, Qe = g(), ct = Z3e(), ct !== e ? (Qe = [Qe, ct], Pe = Qe) : (r = Pe, Pe = e), Pe === e && (Pe = null), Qe = [], ct = r, ti = g(), Or = NP(), Or !== e ? (ti = [ti, Or], ct = ti) : (r = ct, ct = e); ct !== e; )
|
|
140949
|
+
Qe.push(ct), ct = r, ti = g(), Or = NP(), Or !== e ? (ti = [ti, Or], ct = ti) : (r = ct, ct = e);
|
|
140950
140950
|
R = t, t = hhe(l, a, u, f, h, A, C, z, ve, Pe, Qe);
|
|
140951
140951
|
} else
|
|
140952
140952
|
r = t, t = e;
|
|
@@ -141492,14 +141492,14 @@ const Nf = Qn, SR = NT, xf = UK, k = ki, fo = Tl, N = NA, hn = xA, JL = $A, O =
|
|
|
141492
141492
|
return t = r, l = at(), l !== e ? (a = r, u = g(), f = nn(), f !== e ? (h = g(), u = [u, f, h], a = u) : (r = a, a = e), a !== e ? (u = at(), u !== e ? (R = t, t = Bme(l, a, u)) : (r = t, t = e)) : (r = t, t = e)) : (r = t, t = e), t;
|
|
141493
141493
|
}
|
|
141494
141494
|
function xv() {
|
|
141495
|
-
var t, l, a, u, f, h, A, C, z, ve, Pe, Qe, ct,
|
|
141495
|
+
var t, l, a, u, f, h, A, C, z, ve, Pe, Qe, ct, ti;
|
|
141496
141496
|
if (t = r, l = r, a = qn(), a !== e ? (u = g(), a = [a, u], l = a) : (r = l, l = e), l !== e)
|
|
141497
141497
|
if (a = r, u = ya(), u !== e ? (f = g(), h = za(), h !== e ? (A = g(), u = [u, f, h, A], a = u) : (r = a, a = e)) : (r = a, a = e), a === e && (a = null), u = r, f = sKe(), f !== e ? (h = g(), f = [f, h], u = f) : (r = u, u = e), u === e && (u = null), f = r, h = Vf(), h !== e ? (A = g(), h = [h, A], f = h) : (r = f, f = e), f !== e)
|
|
141498
141498
|
if (h = r, A = Fa(), A !== e ? (C = g(), A = [A, C], h = A) : (r = h, h = e), h === e && (h = null), A = r, C = at(), C !== e ? (z = g(), C = [C, z], A = C) : (r = A, A = e), A !== e)
|
|
141499
141499
|
if (C = r, z = I$(), z !== e ? (ve = g(), z = [z, ve], C = z) : (r = C, C = e), C === e && (C = r, z = T$(), z !== e ? (ve = g(), z = [z, ve], C = z) : (r = C, C = e), C === e && (C = r, z = y8e(), z !== e ? (ve = g(), Pe = _s(), Pe !== e ? (Qe = g(), z = [z, ve, Pe, Qe], C = z) : (r = C, C = e)) : (r = C, C = e))), C === e && (C = null), z = r, ve = lKe(), ve !== e ? (Pe = g(), ve = [ve, Pe], z = ve) : (r = z, z = e), z !== e)
|
|
141500
141500
|
if (ve = r, Pe = gg(), Pe !== e ? (Qe = g(), Pe = [Pe, Qe], ve = Pe) : (r = ve, ve = e), ve !== e) {
|
|
141501
|
-
for (Pe = [], Qe = r, ct = tN(), ct !== e ? (
|
|
141502
|
-
Pe.push(Qe), Qe = r, ct = tN(), ct !== e ? (
|
|
141501
|
+
for (Pe = [], Qe = r, ct = tN(), ct !== e ? (ti = g(), ct = [ct, ti], Qe = ct) : (r = Qe, Qe = e); Qe !== e; )
|
|
141502
|
+
Pe.push(Qe), Qe = r, ct = tN(), ct !== e ? (ti = g(), ct = [ct, ti], Qe = ct) : (r = Qe, Qe = e);
|
|
141503
141503
|
Qe = fKe(), Qe !== e ? (R = t, t = kme(l, a, u, f, h, A, C, z, ve, Pe, Qe)) : (r = t, t = e);
|
|
141504
141504
|
} else
|
|
141505
141505
|
r = t, t = e;
|
|
@@ -141645,15 +141645,15 @@ const Nf = Qn, SR = NT, xf = UK, k = ki, fo = Tl, N = NA, hn = xA, JL = $A, O =
|
|
|
141645
141645
|
return t = Yd(), t === e && (t = r, l = mf(), l !== e ? (a = r, T++, u = rt(), T--, u !== e ? (r = a, a = void 0) : a = e, a !== e ? (R = t, t = TTe(l)) : (r = t, t = e)) : (r = t, t = e)), t;
|
|
141646
141646
|
}
|
|
141647
141647
|
function aN() {
|
|
141648
|
-
var t, l, a, u, f, h, A, C, z, ve, Pe, Qe, ct,
|
|
141648
|
+
var t, l, a, u, f, h, A, C, z, ve, Pe, Qe, ct, ti;
|
|
141649
141649
|
if (t = r, l = r, T++, a = Ye(), T--, a !== e ? (r = l, l = void 0) : l = e, l !== e)
|
|
141650
141650
|
if (a = r, u = qn(), u !== e ? (f = g(), u = [u, f], a = u) : (r = a, a = e), a !== e)
|
|
141651
141651
|
if (u = r, f = ya(), f !== e ? (h = g(), A = za(), A !== e ? (C = g(), f = [f, h, A, C], u = f) : (r = u, u = e)) : (r = u, u = e), u === e && (u = null), f = r, h = Mp(), h === e && (h = Gp()), h !== e ? (A = g(), h = [h, A], f = h) : (r = f, f = e), f === e && (f = null), h = r, A = _n(), A !== e ? (C = g(), A = [A, C], h = A) : (r = h, h = e), h === e && (h = null), A = r, C = Tf(), C !== e ? (z = g(), C = [C, z], A = C) : (r = A, A = e), A !== e)
|
|
141652
141652
|
if (C = r, z = Fa(), z !== e ? (ve = g(), z = [z, ve], C = z) : (r = C, C = e), C === e && (C = null), z = r, ve = at(), ve !== e ? (Pe = g(), ve = [ve, Pe], z = ve) : (r = z, z = e), z !== e)
|
|
141653
141653
|
if (ve = df(), ve === e && (ve = Cs()), ve !== e) {
|
|
141654
|
-
if (Pe = [], Qe = r, ct = g(),
|
|
141654
|
+
if (Pe = [], Qe = r, ct = g(), ti = $v(), ti !== e ? (ct = [ct, ti], Qe = ct) : (r = Qe, Qe = e), Qe !== e)
|
|
141655
141655
|
for (; Qe !== e; )
|
|
141656
|
-
Pe.push(Qe), Qe = r, ct = g(),
|
|
141656
|
+
Pe.push(Qe), Qe = r, ct = g(), ti = $v(), ti !== e ? (ct = [ct, ti], Qe = ct) : (r = Qe, Qe = e);
|
|
141657
141657
|
else
|
|
141658
141658
|
Pe = e;
|
|
141659
141659
|
Pe !== e ? (R = t, t = vTe(a, u, f, h, A, C, z, ve, Pe)) : (r = t, t = e);
|
|
@@ -143323,8 +143323,8 @@ const Nf = Qn, SR = NT, xf = UK, k = ki, fo = Tl, N = NA, hn = xA, JL = $A, O =
|
|
|
143323
143323
|
return t = r, l = wa(), l !== e ? (a = r, u = g(), f = ZSe(), f !== e ? (u = [u, f], a = u) : (r = a, a = e), a === e && (a = null), R = t, t = uIe(l, a)) : (r = t, t = e), t;
|
|
143324
143324
|
}
|
|
143325
143325
|
function ZSe() {
|
|
143326
|
-
var t, l, a, u, f, h, A, C, z, ve, Pe, Qe, ct,
|
|
143327
|
-
return t = r, l = r, a = Zr(), a !== e ? (u = g(), f = iR(), f !== e ? (h = g(), A = wb(), A !== e ? (C = g(), z = _b(), z !== e ? (ve = g(), Pe = Cr(), Pe !== e ? (Qe = g(), ct = pR(), ct !== e ? (
|
|
143326
|
+
var t, l, a, u, f, h, A, C, z, ve, Pe, Qe, ct, ti, Or;
|
|
143327
|
+
return t = r, l = r, a = Zr(), a !== e ? (u = g(), f = iR(), f !== e ? (h = g(), A = wb(), A !== e ? (C = g(), z = _b(), z !== e ? (ve = g(), Pe = Cr(), Pe !== e ? (Qe = g(), ct = pR(), ct !== e ? (ti = g(), Or = J$(), Or !== e ? (a = [a, u, f, h, A, C, z, ve, Pe, Qe, ct, ti, Or], l = a) : (r = l, l = e)) : (r = l, l = e)) : (r = l, l = e)) : (r = l, l = e)) : (r = l, l = e)) : (r = l, l = e)) : (r = l, l = e), l === e && (l = r, a = Zr(), a !== e ? (u = g(), f = iR(), f !== e ? (h = g(), A = wb(), A !== e ? (C = g(), z = _b(), z !== e ? (a = [a, u, f, h, A, C, z], l = a) : (r = l, l = e)) : (r = l, l = e)) : (r = l, l = e)) : (r = l, l = e), l === e && (l = r, a = Zr(), a !== e ? (u = g(), f = _$(), f !== e ? (h = g(), A = _b(), A !== e ? (a = [a, u, f, h, A], l = a) : (r = l, l = e)) : (r = l, l = e)) : (r = l, l = e), l === e && (l = r, a = Cr(), a !== e ? (u = g(), f = pR(), f !== e ? (h = g(), A = J$(), A !== e ? (a = [a, u, f, h, A], l = a) : (r = l, l = e)) : (r = l, l = e)) : (r = l, l = e)))), l !== e && (R = t, l = pIe(l)), t = l, t;
|
|
143328
143328
|
}
|
|
143329
143329
|
function wa() {
|
|
143330
143330
|
var t, l, a;
|
|
@@ -151564,7 +151564,7 @@ function jG(o, p, i) {
|
|
|
151564
151564
|
(y == null ? void 0 : y.id) !== (e == null ? void 0 : e.id) && UG(e) && (e == null || e.remove({ ignoreUpstream: !1 }, i)), m && m.declaration !== s && (m.setDeclaration(s, i), i == null || i.add(m, H.Updated));
|
|
151565
151565
|
}
|
|
151566
151566
|
var kTi = /* @__PURE__ */ ((o) => (o.Parent = "search-parent-field", o.DataTypeEntity = "search-data-type-entity-field", o.DataType = "search-data-type-field", o))(kTi || {});
|
|
151567
|
-
const
|
|
151567
|
+
const yi = class yi extends Gr {
|
|
151568
151568
|
constructor(i, n) {
|
|
151569
151569
|
super(i);
|
|
151570
151570
|
I(this, "initialData");
|
|
@@ -151771,7 +151771,7 @@ const fi = class fi extends Gr {
|
|
|
151771
151771
|
"on-search-received-project-initialized"
|
|
151772
151772
|
)
|
|
151773
151773
|
)) {
|
|
151774
|
-
return this.metaSync({ query: this.rehydrateQuery() }, n), this.state = this.queryToState(), jG(this, this.state, n), n == null || n.attemptAutoclose(
|
|
151774
|
+
return this.metaSync({ query: this.rehydrateQuery() }, n), this.state = this.queryToState(), n && jG(this, this.state, n), n == null || n.attemptAutoclose(
|
|
151775
151775
|
"on-search-received-project-initialized",
|
|
151776
151776
|
this.id
|
|
151777
151777
|
), this;
|
|
@@ -151822,13 +151822,16 @@ const fi = class fi extends Gr {
|
|
|
151822
151822
|
"on-relational-database-entity-updated"
|
|
151823
151823
|
)
|
|
151824
151824
|
)) {
|
|
151825
|
-
|
|
151826
|
-
|
|
151827
|
-
|
|
151828
|
-
|
|
151825
|
+
if (!this.project.initialized)
|
|
151826
|
+
return n == null || n.attemptAutoclose(
|
|
151827
|
+
"on-relational-database-entity-updated",
|
|
151828
|
+
this.id
|
|
151829
|
+
), this;
|
|
151830
|
+
const s = this.stateToQuery();
|
|
151831
|
+
return this.metaSync({ query: s }, n), n == null || n.attemptAutoclose(
|
|
151829
151832
|
"on-relational-database-entity-updated",
|
|
151830
151833
|
this.id
|
|
151831
|
-
), this
|
|
151834
|
+
), this;
|
|
151832
151835
|
}
|
|
151833
151836
|
onRelationalDatabaseEntityAdded(i, n = this.project.addChangeSet(
|
|
151834
151837
|
new Z(
|
|
@@ -151978,25 +151981,25 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
151978
151981
|
/* DataType */
|
|
151979
151982
|
}
|
|
151980
151983
|
]), this.project.off(
|
|
151981
|
-
|
|
151984
|
+
Yt.PROJECT_INITIALIZED,
|
|
151982
151985
|
this.onProjectInitialized
|
|
151983
151986
|
), this.project.off(
|
|
151984
|
-
|
|
151987
|
+
Yt.PERSISTED_DEFINITION_ENTITY_ADDED,
|
|
151985
151988
|
this.onPersistedEntityAdded
|
|
151986
151989
|
), this.project.off(
|
|
151987
|
-
|
|
151990
|
+
Yt.PERSISTED_DEFINITION_ENTITY_UPDATED,
|
|
151988
151991
|
this.onPersistedEntityUpdated
|
|
151989
151992
|
), this.project.off(
|
|
151990
|
-
|
|
151993
|
+
Yt.PERSISTED_DEFINITION_ENTITY_REMOVED,
|
|
151991
151994
|
this.onPersistedEntityRemoved
|
|
151992
151995
|
), this.project.off(
|
|
151993
|
-
|
|
151996
|
+
Yt.RELATIONAL_DATABASE_DEFINITION_ENTITY_ADDED,
|
|
151994
151997
|
this.onRelationalDatabaseEntityAdded
|
|
151995
151998
|
), this.project.off(
|
|
151996
|
-
|
|
151999
|
+
Yt.RELATIONAL_DATABASE_DEFINITION_ENTITY_UPDATED,
|
|
151997
152000
|
this.onRelationalDatabaseEntityUpdated
|
|
151998
152001
|
), this.project.off(
|
|
151999
|
-
|
|
152002
|
+
Yt.RELATIONAL_DATABASE_DEFINITION_ENTITY_REMOVED,
|
|
152000
152003
|
this.onRelationalDatabaseEntityRemoved
|
|
152001
152004
|
), this;
|
|
152002
152005
|
}
|
|
@@ -152023,25 +152026,25 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
152023
152026
|
/* DataType */
|
|
152024
152027
|
}
|
|
152025
152028
|
]), this.project.on(
|
|
152026
|
-
|
|
152029
|
+
Yt.PROJECT_INITIALIZED,
|
|
152027
152030
|
this.onProjectInitialized
|
|
152028
152031
|
), this.project.on(
|
|
152029
|
-
|
|
152032
|
+
Yt.PERSISTED_DEFINITION_ENTITY_ADDED,
|
|
152030
152033
|
this.onPersistedEntityAdded
|
|
152031
152034
|
), this.project.on(
|
|
152032
|
-
|
|
152035
|
+
Yt.PERSISTED_DEFINITION_ENTITY_UPDATED,
|
|
152033
152036
|
this.onPersistedEntityUpdated
|
|
152034
152037
|
), this.project.on(
|
|
152035
|
-
|
|
152038
|
+
Yt.PERSISTED_DEFINITION_ENTITY_REMOVED,
|
|
152036
152039
|
this.onPersistedEntityRemoved
|
|
152037
152040
|
), this.project.on(
|
|
152038
|
-
|
|
152041
|
+
Yt.RELATIONAL_DATABASE_DEFINITION_ENTITY_ADDED,
|
|
152039
152042
|
this.onRelationalDatabaseEntityAdded
|
|
152040
152043
|
), this.project.on(
|
|
152041
|
-
|
|
152044
|
+
Yt.RELATIONAL_DATABASE_DEFINITION_ENTITY_UPDATED,
|
|
152042
152045
|
this.onRelationalDatabaseEntityUpdated
|
|
152043
152046
|
), this.project.on(
|
|
152044
|
-
|
|
152047
|
+
Yt.RELATIONAL_DATABASE_DEFINITION_ENTITY_REMOVED,
|
|
152045
152048
|
this.onRelationalDatabaseEntityRemoved
|
|
152046
152049
|
), this;
|
|
152047
152050
|
}
|
|
@@ -152057,7 +152060,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
152057
152060
|
// And adds it to the 'knownVersions' map
|
|
152058
152061
|
captureVersion() {
|
|
152059
152062
|
var n;
|
|
152060
|
-
const i = ((n = this.knownVersions) == null ? void 0 : n.get(this.version)) || new
|
|
152063
|
+
const i = ((n = this.knownVersions) == null ? void 0 : n.get(this.version)) || new yi(this, this.project);
|
|
152061
152064
|
return i.metaSync(this.toMeta(), null), this.knownVersions = this.knownVersions ? this.knownVersions.set(this.version, i) : /* @__PURE__ */ new Map([[this.version, i]]), i.inputs = [...this.inputs], i.outputs = [...this.outputs], i.error = this.error, i.inputsDeclarations = [...this.inputsDeclarations], i.successCalls = [...this.successCalls], i.errorCalls = [...this.errorCalls], i.calledByEntry = [...this.calledByEntry], i.calledBySuccess = [...this.calledBySuccess], i.calledByError = [...this.calledByError], i.dataType = this.dataType, i.parent = this.parent, this;
|
|
152062
152065
|
}
|
|
152063
152066
|
// Traverses upstream entities and captures their versions as well
|
|
@@ -152122,7 +152125,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
152122
152125
|
throw new Error(
|
|
152123
152126
|
`Version with id '${i}' for entity with id '${this.id}' not found.`
|
|
152124
152127
|
);
|
|
152125
|
-
y = new
|
|
152128
|
+
y = new yi(v, this.project);
|
|
152126
152129
|
}
|
|
152127
152130
|
return this.metaSync(y.toShallowJSON(), null), this.previousVersion = y.previousVersion, this.version = y.version, this.createdAt = y.createdAt, this.author = y.author, this.deleted = y.deleted, this.inputs = y.inputs, this.outputs = y.outputs, this.error = y.error, this.inputsDeclarations = y.inputsDeclarations, this.successCalls = y.successCalls, this.errorCalls = y.errorCalls, this.calledByEntry = y.calledByEntry, this.calledBySuccess = y.calledBySuccess, this.calledByError = y.calledByError, this.dataType = y.dataType, this.parent = y.parent, {
|
|
152128
152131
|
updated: D(n),
|
|
@@ -152765,22 +152768,22 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
152765
152768
|
return this.x = s.x || e.x, this.y = s.y || e.y, this.name = s.name !== void 0 ? s.name : e.name, this.description = s.description !== void 0 ? s.description : e.description, this.catchesError = s.catchesError !== void 0 ? s.catchesError : this.catchesError, s.query !== void 0 && (this.query = s.query), super.baseMetaSync(s, this, n), s.deleted === !0 && !e.deleted ? n == null || n.add(this, H.Removed) : s.deleted === !1 && e.deleted ? n == null || n.add(this, H.Added) : c && (n == null || n.add(this, H.Updated)), n == null || n.attemptAutoclose("meta-sync", this.id), this;
|
|
152766
152769
|
}
|
|
152767
152770
|
async APILoad(i = Ue, ...n) {
|
|
152768
|
-
return await
|
|
152771
|
+
return await yi.repository.APILoad(this.id, ...n), this;
|
|
152769
152772
|
}
|
|
152770
152773
|
async APICreate(i = Ue, ...n) {
|
|
152771
|
-
return await
|
|
152774
|
+
return await yi.repository.APICreate(this.toShallowJSON(), ...n), this;
|
|
152772
152775
|
}
|
|
152773
152776
|
async APIUpdate(i = Ue, ...n) {
|
|
152774
|
-
return await
|
|
152777
|
+
return await yi.repository.APIUpdate(this.toShallowJSON(), ...n), this;
|
|
152775
152778
|
}
|
|
152776
152779
|
async APIDelete(i = Ue, ...n) {
|
|
152777
|
-
return await
|
|
152780
|
+
return await yi.repository.APIDelete(this.toShallowJSON(), ...n), this;
|
|
152778
152781
|
}
|
|
152779
152782
|
async APIClone(i = Ue, ...n) {
|
|
152780
|
-
return await
|
|
152783
|
+
return await yi.repository.APIClone(this.id, ...n), this;
|
|
152781
152784
|
}
|
|
152782
152785
|
async APILoadVersion(i = Ue, n, ...s) {
|
|
152783
|
-
return await
|
|
152786
|
+
return await yi.repository.APILoadVersion(
|
|
152784
152787
|
this.id,
|
|
152785
152788
|
n,
|
|
152786
152789
|
...s
|
|
@@ -153296,9 +153299,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
153296
153299
|
];
|
|
153297
153300
|
}
|
|
153298
153301
|
async getErrorsAsync(i = {}) {
|
|
153299
|
-
const n = Ke.from(i), s = [
|
|
153300
|
-
...this.errors
|
|
153301
|
-
];
|
|
153302
|
+
const n = Ke.from(i), s = [...this.errors];
|
|
153302
153303
|
await n.tick();
|
|
153303
153304
|
for (const c of this.inputsDeclarations)
|
|
153304
153305
|
s.push(...await c.getErrorsAsync({ tracker: n }));
|
|
@@ -153548,7 +153549,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
153548
153549
|
return i == null || i.attemptAutoclose("get-data-type", this.id), this.dataType || null;
|
|
153549
153550
|
}
|
|
153550
153551
|
};
|
|
153551
|
-
I(
|
|
153552
|
+
I(yi, "repository", {
|
|
153552
153553
|
APICreate: async (i, ...n) => i,
|
|
153553
153554
|
APIUpdate: async (i, ...n) => i,
|
|
153554
153555
|
APIDelete: async (i, ...n) => i,
|
|
@@ -153556,60 +153557,74 @@ I(fi, "repository", {
|
|
|
153556
153557
|
},
|
|
153557
153558
|
APILoad: async (i, ...n) => null,
|
|
153558
153559
|
APILoadVersion: async (i, n, ...s) => null
|
|
153559
|
-
}),
|
|
153560
|
+
}), // get query(): string {
|
|
153561
|
+
// return this._query;
|
|
153562
|
+
// }
|
|
153563
|
+
// set query(value: string) {
|
|
153564
|
+
// if (this.query && !value) {
|
|
153565
|
+
// throw new Error(
|
|
153566
|
+
// '[SearchState set query] Test error for debugging. Original:\n' +
|
|
153567
|
+
// this.query +
|
|
153568
|
+
// '\nNew:\n' +
|
|
153569
|
+
// value
|
|
153570
|
+
// );
|
|
153571
|
+
// }
|
|
153572
|
+
// this._query = value;
|
|
153573
|
+
// }
|
|
153574
|
+
I(yi, "type", d.Search), I(yi, "USER_MANAGED_PARENT_TYPES", [
|
|
153560
153575
|
...dr,
|
|
153561
153576
|
d.Project
|
|
153562
|
-
]), I(
|
|
153563
|
-
...
|
|
153564
|
-
]), I(
|
|
153577
|
+
]), I(yi, "PARENT_TYPES", [
|
|
153578
|
+
...yi.USER_MANAGED_PARENT_TYPES
|
|
153579
|
+
]), I(yi, "MUTABLE_BASE_PROPERTIES", [
|
|
153565
153580
|
"name",
|
|
153566
153581
|
"description",
|
|
153567
153582
|
"query",
|
|
153568
153583
|
"catchesError"
|
|
153569
|
-
]), I(
|
|
153584
|
+
]), I(yi, "INMUTABLE_BASE_PROPERTIES", [
|
|
153570
153585
|
"id",
|
|
153571
153586
|
"type",
|
|
153572
153587
|
"version",
|
|
153573
153588
|
"createdAt",
|
|
153574
153589
|
"author",
|
|
153575
153590
|
"previousVersion"
|
|
153576
|
-
]), I(
|
|
153577
|
-
...
|
|
153578
|
-
...
|
|
153591
|
+
]), I(yi, "BASE_PROPERTIES", [
|
|
153592
|
+
...yi.MUTABLE_BASE_PROPERTIES,
|
|
153593
|
+
...yi.INMUTABLE_BASE_PROPERTIES
|
|
153579
153594
|
]), // Includes the base properties and the meta properties
|
|
153580
153595
|
// Often contains properties related to UX, not necessary for the logic
|
|
153581
|
-
I(
|
|
153582
|
-
...
|
|
153596
|
+
I(yi, "MUTABLE_META_PROPERTIES", [
|
|
153597
|
+
...yi.MUTABLE_BASE_PROPERTIES,
|
|
153583
153598
|
"x",
|
|
153584
153599
|
"y"
|
|
153585
|
-
]), I(
|
|
153586
|
-
...
|
|
153587
|
-
...
|
|
153600
|
+
]), I(yi, "INMUTABLE_META_PROPERTIES", [...yi.INMUTABLE_BASE_PROPERTIES]), I(yi, "META_PROPERTIES", [
|
|
153601
|
+
...yi.MUTABLE_META_PROPERTIES,
|
|
153602
|
+
...yi.INMUTABLE_META_PROPERTIES
|
|
153588
153603
|
]), // Properties pointing to nested entities that are declared before the entity itself
|
|
153589
|
-
I(
|
|
153604
|
+
I(yi, "MUTABLE_UPSTREAM_PROPERTIES", [
|
|
153590
153605
|
"calledBySuccess",
|
|
153591
153606
|
"calledByError",
|
|
153592
153607
|
"calledByEntry"
|
|
153593
|
-
]), I(
|
|
153594
|
-
...
|
|
153595
|
-
...
|
|
153608
|
+
]), I(yi, "INMUTABLE_UPSTREAM_PROPERTIES", ["parent"]), I(yi, "UPSTREAM_PROPERTIES", [
|
|
153609
|
+
...yi.MUTABLE_UPSTREAM_PROPERTIES,
|
|
153610
|
+
...yi.INMUTABLE_UPSTREAM_PROPERTIES
|
|
153596
153611
|
]), // Properties pointing to nested entities that are declared after the entity itself or are direct children
|
|
153597
|
-
I(
|
|
153612
|
+
I(yi, "MUTABLE_DOWNSTREAM_PROPERTIES", [
|
|
153598
153613
|
"successCalls",
|
|
153599
153614
|
"errorCalls",
|
|
153600
153615
|
"inputsDeclarations",
|
|
153601
153616
|
"inputs",
|
|
153602
153617
|
"outputs",
|
|
153603
153618
|
"error"
|
|
153604
|
-
]), I(
|
|
153605
|
-
...
|
|
153606
|
-
...
|
|
153607
|
-
]), I(
|
|
153608
|
-
...
|
|
153609
|
-
...
|
|
153610
|
-
...
|
|
153619
|
+
]), I(yi, "INMUTABLE_DOWNSTREAM_PROPERTIES", []), I(yi, "DOWNSTREAM_PROPERTIES", [
|
|
153620
|
+
...yi.MUTABLE_DOWNSTREAM_PROPERTIES,
|
|
153621
|
+
...yi.INMUTABLE_DOWNSTREAM_PROPERTIES
|
|
153622
|
+
]), I(yi, "PROPERTIES", [
|
|
153623
|
+
...yi.META_PROPERTIES,
|
|
153624
|
+
...yi.UPSTREAM_PROPERTIES,
|
|
153625
|
+
...yi.DOWNSTREAM_PROPERTIES
|
|
153611
153626
|
]);
|
|
153612
|
-
let sc =
|
|
153627
|
+
let sc = yi;
|
|
153613
153628
|
async function fF(o, p = {}) {
|
|
153614
153629
|
const i = Ke.from(p), n = [], s = Bt(o.errors, n);
|
|
153615
153630
|
await i.tick();
|
|
@@ -154752,7 +154767,7 @@ const dUi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
154752
154767
|
validateParentRelation: OO
|
|
154753
154768
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
154754
154769
|
var UTi = /* @__PURE__ */ ((o) => (o.Declaration = "declaration", o))(UTi || {});
|
|
154755
|
-
const
|
|
154770
|
+
const hi = class hi extends Gr {
|
|
154756
154771
|
constructor(i, n) {
|
|
154757
154772
|
super(i);
|
|
154758
154773
|
I(this, "initialData");
|
|
@@ -155129,7 +155144,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
155129
155144
|
// And adds it to the 'knownVersions' map
|
|
155130
155145
|
captureVersion() {
|
|
155131
155146
|
var n;
|
|
155132
|
-
const i = ((n = this.knownVersions) == null ? void 0 : n.get(this.version)) || new
|
|
155147
|
+
const i = ((n = this.knownVersions) == null ? void 0 : n.get(this.version)) || new hi(this, this.project);
|
|
155133
155148
|
return i.metaSync(this.toMeta(), null), this.knownVersions = this.knownVersions ? this.knownVersions.set(this.version, i) : /* @__PURE__ */ new Map([[this.version, i]]), i.inputs = [...this.inputs], i.outputs = [...this.outputs], i.error = this.error, i.successCalls = [...this.successCalls], i.errorCalls = [...this.errorCalls], i.calledBySuccess = [...this.calledBySuccess], i.calledByError = [...this.calledByError], i.calledByEntry = [...this.calledByEntry], i.declaration = this.declaration, i.parent = this.parent, this;
|
|
155134
155149
|
}
|
|
155135
155150
|
// Traverses upstream entities and captures their versions as well
|
|
@@ -155196,7 +155211,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
155196
155211
|
throw new Error(
|
|
155197
155212
|
`Version with id '${i}' for entity with id '${this.id}' not found.`
|
|
155198
155213
|
);
|
|
155199
|
-
y = new
|
|
155214
|
+
y = new hi(
|
|
155200
155215
|
v,
|
|
155201
155216
|
this.project
|
|
155202
155217
|
);
|
|
@@ -155856,31 +155871,31 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
155856
155871
|
return this.index = s.index || (s.index !== 0 ? e.index : 0), this.catchesError = s.catchesError !== void 0 ? s.catchesError : this.catchesError, super.baseMetaSync(s, this, n), s.deleted === !0 && !e.deleted ? n == null || n.add(this, H.Removed) : s.deleted === !1 && e.deleted ? n == null || n.add(this, H.Added) : c && (n == null || n.add(this, H.Updated)), n == null || n.attemptAutoclose("meta-sync", this.id), this;
|
|
155857
155872
|
}
|
|
155858
155873
|
async APILoad(i = Ue, ...n) {
|
|
155859
|
-
return await
|
|
155874
|
+
return await hi.repository.APILoad(this.id, ...n), this;
|
|
155860
155875
|
}
|
|
155861
155876
|
async APICreate(i = Ue, ...n) {
|
|
155862
|
-
return await
|
|
155877
|
+
return await hi.repository.APICreate(
|
|
155863
155878
|
this.toShallowJSON(),
|
|
155864
155879
|
...n
|
|
155865
155880
|
), this;
|
|
155866
155881
|
}
|
|
155867
155882
|
async APIUpdate(i = Ue, ...n) {
|
|
155868
|
-
return await
|
|
155883
|
+
return await hi.repository.APIUpdate(
|
|
155869
155884
|
this.toShallowJSON(),
|
|
155870
155885
|
...n
|
|
155871
155886
|
), this;
|
|
155872
155887
|
}
|
|
155873
155888
|
async APIDelete(i = Ue, ...n) {
|
|
155874
|
-
return await
|
|
155889
|
+
return await hi.repository.APIDelete(
|
|
155875
155890
|
this.toShallowJSON(),
|
|
155876
155891
|
...n
|
|
155877
155892
|
), this;
|
|
155878
155893
|
}
|
|
155879
155894
|
async APIClone(i = Ue, ...n) {
|
|
155880
|
-
return await
|
|
155895
|
+
return await hi.repository.APIClone(this.id, ...n), this;
|
|
155881
155896
|
}
|
|
155882
155897
|
async APILoadVersion(i = Ue, n, ...s) {
|
|
155883
|
-
return await
|
|
155898
|
+
return await hi.repository.APILoadVersion(
|
|
155884
155899
|
this.id,
|
|
155885
155900
|
n,
|
|
155886
155901
|
...s
|
|
@@ -156703,7 +156718,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
156703
156718
|
return i == null || i.attemptAutoclose("get-data-type", this.id), null;
|
|
156704
156719
|
}
|
|
156705
156720
|
};
|
|
156706
|
-
I(
|
|
156721
|
+
I(hi, "repository", {
|
|
156707
156722
|
APICreate: async (i, ...n) => i,
|
|
156708
156723
|
APIUpdate: async (i, ...n) => i,
|
|
156709
156724
|
APIDelete: async (i, ...n) => i,
|
|
@@ -156711,53 +156726,53 @@ I(yi, "repository", {
|
|
|
156711
156726
|
},
|
|
156712
156727
|
APILoad: async (i, ...n) => null,
|
|
156713
156728
|
APILoadVersion: async (i, n, ...s) => null
|
|
156714
|
-
}), I(
|
|
156715
|
-
...
|
|
156716
|
-
]), I(
|
|
156729
|
+
}), I(hi, "type", d.InternalCall), I(hi, "USER_MANAGED_PARENT_TYPES", [...Ht]), I(hi, "PARENT_TYPES", [
|
|
156730
|
+
...hi.USER_MANAGED_PARENT_TYPES
|
|
156731
|
+
]), I(hi, "MUTABLE_BASE_PROPERTIES", ["catchesError"]), I(hi, "INMUTABLE_BASE_PROPERTIES", [
|
|
156717
156732
|
"id",
|
|
156718
156733
|
"type",
|
|
156719
156734
|
"version",
|
|
156720
156735
|
"createdAt",
|
|
156721
156736
|
"author",
|
|
156722
156737
|
"previousVersion"
|
|
156723
|
-
]), I(
|
|
156724
|
-
...
|
|
156725
|
-
...
|
|
156738
|
+
]), I(hi, "BASE_PROPERTIES", [
|
|
156739
|
+
...hi.MUTABLE_BASE_PROPERTIES,
|
|
156740
|
+
...hi.INMUTABLE_BASE_PROPERTIES
|
|
156726
156741
|
]), // Includes the base properties and the meta properties
|
|
156727
156742
|
// Often contains properties related to UX, not necessary for the logic
|
|
156728
|
-
I(
|
|
156729
|
-
...
|
|
156743
|
+
I(hi, "MUTABLE_META_PROPERTIES", [
|
|
156744
|
+
...hi.MUTABLE_BASE_PROPERTIES,
|
|
156730
156745
|
"index"
|
|
156731
|
-
]), I(
|
|
156732
|
-
...
|
|
156733
|
-
]), I(
|
|
156734
|
-
...
|
|
156735
|
-
...
|
|
156746
|
+
]), I(hi, "INMUTABLE_META_PROPERTIES", [
|
|
156747
|
+
...hi.INMUTABLE_BASE_PROPERTIES
|
|
156748
|
+
]), I(hi, "META_PROPERTIES", [
|
|
156749
|
+
...hi.MUTABLE_META_PROPERTIES,
|
|
156750
|
+
...hi.INMUTABLE_META_PROPERTIES
|
|
156736
156751
|
]), // Properties pointing to nested entities that are declared before the entity itself
|
|
156737
|
-
I(
|
|
156752
|
+
I(hi, "MUTABLE_UPSTREAM_PROPERTIES", [
|
|
156738
156753
|
"calledBySuccess",
|
|
156739
156754
|
"calledByError",
|
|
156740
156755
|
"calledByEntry"
|
|
156741
|
-
]), I(
|
|
156742
|
-
...
|
|
156743
|
-
...
|
|
156756
|
+
]), I(hi, "INMUTABLE_UPSTREAM_PROPERTIES", ["parent", "declaration"]), I(hi, "UPSTREAM_PROPERTIES", [
|
|
156757
|
+
...hi.MUTABLE_UPSTREAM_PROPERTIES,
|
|
156758
|
+
...hi.INMUTABLE_UPSTREAM_PROPERTIES
|
|
156744
156759
|
]), // Properties pointing to nested entities that are declared after the entity itself or are direct children
|
|
156745
|
-
I(
|
|
156760
|
+
I(hi, "MUTABLE_DOWNSTREAM_PROPERTIES", [
|
|
156746
156761
|
"inputs",
|
|
156747
156762
|
"outputs",
|
|
156748
156763
|
"writesValues",
|
|
156749
156764
|
"successCalls",
|
|
156750
156765
|
"errorCalls",
|
|
156751
156766
|
"error"
|
|
156752
|
-
]), I(
|
|
156753
|
-
...
|
|
156754
|
-
...
|
|
156755
|
-
]), I(
|
|
156756
|
-
...
|
|
156757
|
-
...
|
|
156758
|
-
...
|
|
156767
|
+
]), I(hi, "INMUTABLE_DOWNSTREAM_PROPERTIES", []), I(hi, "DOWNSTREAM_PROPERTIES", [
|
|
156768
|
+
...hi.MUTABLE_DOWNSTREAM_PROPERTIES,
|
|
156769
|
+
...hi.INMUTABLE_DOWNSTREAM_PROPERTIES
|
|
156770
|
+
]), I(hi, "PROPERTIES", [
|
|
156771
|
+
...hi.META_PROPERTIES,
|
|
156772
|
+
...hi.UPSTREAM_PROPERTIES,
|
|
156773
|
+
...hi.DOWNSTREAM_PROPERTIES
|
|
156759
156774
|
]);
|
|
156760
|
-
let oc =
|
|
156775
|
+
let oc = hi;
|
|
156761
156776
|
async function TF(o, p = {}) {
|
|
156762
156777
|
const i = Ke.from(p), n = [...tl(o)], s = Bt(o.errors, n);
|
|
156763
156778
|
return await i.tick(), s;
|
|
@@ -156772,7 +156787,7 @@ const uUi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
156772
156787
|
validateAsync: TF
|
|
156773
156788
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
156774
156789
|
var jTi = /* @__PURE__ */ ((o) => (o.Declaration = "declaration", o.DataTypeEntity = "data-type-entity", o))(jTi || {});
|
|
156775
|
-
const
|
|
156790
|
+
const mi = class mi extends Gr {
|
|
156776
156791
|
constructor(i, n) {
|
|
156777
156792
|
super(i);
|
|
156778
156793
|
I(this, "initialData");
|
|
@@ -157197,7 +157212,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
157197
157212
|
// And adds it to the 'knownVersions' map
|
|
157198
157213
|
captureVersion() {
|
|
157199
157214
|
var n;
|
|
157200
|
-
const i = ((n = this.knownVersions) == null ? void 0 : n.get(this.version)) || new
|
|
157215
|
+
const i = ((n = this.knownVersions) == null ? void 0 : n.get(this.version)) || new mi(this, this.project);
|
|
157201
157216
|
return i.metaSync(this.toMeta(), null), this.knownVersions = this.knownVersions ? this.knownVersions.set(this.version, i) : /* @__PURE__ */ new Map([[this.version, i]]), i.declaration = this.declaration, i.defaultValue = this.defaultValue, i.readsValue = this.readsValue, i.dataType = this.dataType, i.parent = this.parent, this;
|
|
157202
157217
|
}
|
|
157203
157218
|
// Traverses upstream entities and captures their versions as well
|
|
@@ -157264,7 +157279,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
157264
157279
|
throw new Error(
|
|
157265
157280
|
`Version with id '${i}' for entity with id '${this.id}' not found.`
|
|
157266
157281
|
);
|
|
157267
|
-
y = new
|
|
157282
|
+
y = new mi(
|
|
157268
157283
|
v,
|
|
157269
157284
|
this.project
|
|
157270
157285
|
);
|
|
@@ -157596,31 +157611,31 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
157596
157611
|
return this.index = s.index || (s.index !== 0 ? e.index : 0), this.name = s.name !== void 0 ? s.name : e.name, this.codeName = s.codeName !== void 0 ? s.codeName : e.codeName, this.description = s.description !== void 0 ? s.description : e.description, this.parentRelationType = s.parentRelationType !== void 0 ? s.parentRelationType : this.parentRelationType, super.baseMetaSync(s, this, n), s.deleted === !0 && !e.deleted ? n == null || n.add(this, H.Removed) : s.deleted === !1 && e.deleted ? n == null || n.add(this, H.Added) : c && (n == null || n.add(this, H.Updated)), n == null || n.attemptAutoclose("meta-sync", this.id), this;
|
|
157597
157612
|
}
|
|
157598
157613
|
async APILoad(i = Ue, ...n) {
|
|
157599
|
-
return await
|
|
157614
|
+
return await mi.repository.APILoad(this.id, ...n), this;
|
|
157600
157615
|
}
|
|
157601
157616
|
async APICreate(i = Ue, ...n) {
|
|
157602
|
-
return await
|
|
157617
|
+
return await mi.repository.APICreate(
|
|
157603
157618
|
this.toShallowJSON(),
|
|
157604
157619
|
...n
|
|
157605
157620
|
), this;
|
|
157606
157621
|
}
|
|
157607
157622
|
async APIUpdate(i = Ue, ...n) {
|
|
157608
|
-
return await
|
|
157623
|
+
return await mi.repository.APIUpdate(
|
|
157609
157624
|
this.toShallowJSON(),
|
|
157610
157625
|
...n
|
|
157611
157626
|
), this;
|
|
157612
157627
|
}
|
|
157613
157628
|
async APIDelete(i = Ue, ...n) {
|
|
157614
|
-
return await
|
|
157629
|
+
return await mi.repository.APIDelete(
|
|
157615
157630
|
this.toShallowJSON(),
|
|
157616
157631
|
...n
|
|
157617
157632
|
), this;
|
|
157618
157633
|
}
|
|
157619
157634
|
async APIClone(i = Ue, ...n) {
|
|
157620
|
-
return await
|
|
157635
|
+
return await mi.repository.APIClone(this.id, ...n), this;
|
|
157621
157636
|
}
|
|
157622
157637
|
async APILoadVersion(i = Ue, n, ...s) {
|
|
157623
|
-
return await
|
|
157638
|
+
return await mi.repository.APILoadVersion(
|
|
157624
157639
|
this.id,
|
|
157625
157640
|
n,
|
|
157626
157641
|
...s
|
|
@@ -158130,7 +158145,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
158130
158145
|
return i;
|
|
158131
158146
|
}
|
|
158132
158147
|
};
|
|
158133
|
-
I(
|
|
158148
|
+
I(mi, "repository", {
|
|
158134
158149
|
APICreate: async (i, ...n) => i,
|
|
158135
158150
|
APIUpdate: async (i, ...n) => i,
|
|
158136
158151
|
APIDelete: async (i, ...n) => i,
|
|
@@ -158138,12 +158153,12 @@ I(hi, "repository", {
|
|
|
158138
158153
|
},
|
|
158139
158154
|
APILoad: async (i, ...n) => null,
|
|
158140
158155
|
APILoadVersion: async (i, n, ...s) => null
|
|
158141
|
-
}), I(
|
|
158156
|
+
}), I(mi, "type", d.InputMap), I(mi, "USER_MANAGED_PARENT_TYPES", [
|
|
158142
158157
|
...Ii,
|
|
158143
158158
|
...qt
|
|
158144
|
-
]), I(
|
|
158145
|
-
...
|
|
158146
|
-
]), I(
|
|
158159
|
+
]), I(mi, "PARENT_TYPES", [
|
|
158160
|
+
...mi.USER_MANAGED_PARENT_TYPES
|
|
158161
|
+
]), I(mi, "MUTABLE_BASE_PROPERTIES", ["name", "codeName", "description"]), I(mi, "INMUTABLE_BASE_PROPERTIES", [
|
|
158147
158162
|
"id",
|
|
158148
158163
|
"type",
|
|
158149
158164
|
"version",
|
|
@@ -158151,33 +158166,33 @@ I(hi, "repository", {
|
|
|
158151
158166
|
"author",
|
|
158152
158167
|
"previousVersion",
|
|
158153
158168
|
"parentRelationType"
|
|
158154
|
-
]), I(
|
|
158155
|
-
...
|
|
158156
|
-
...
|
|
158169
|
+
]), I(mi, "BASE_PROPERTIES", [
|
|
158170
|
+
...mi.MUTABLE_BASE_PROPERTIES,
|
|
158171
|
+
...mi.INMUTABLE_BASE_PROPERTIES
|
|
158157
158172
|
]), // Includes the base properties and the meta properties
|
|
158158
158173
|
// Often contains properties related to UX, not necessary for the logic
|
|
158159
|
-
I(
|
|
158160
|
-
...
|
|
158174
|
+
I(mi, "MUTABLE_META_PROPERTIES", [
|
|
158175
|
+
...mi.MUTABLE_BASE_PROPERTIES,
|
|
158161
158176
|
"index"
|
|
158162
|
-
]), I(
|
|
158163
|
-
...
|
|
158164
|
-
]), I(
|
|
158165
|
-
...
|
|
158166
|
-
...
|
|
158177
|
+
]), I(mi, "INMUTABLE_META_PROPERTIES", [
|
|
158178
|
+
...mi.INMUTABLE_BASE_PROPERTIES
|
|
158179
|
+
]), I(mi, "META_PROPERTIES", [
|
|
158180
|
+
...mi.MUTABLE_META_PROPERTIES,
|
|
158181
|
+
...mi.INMUTABLE_META_PROPERTIES
|
|
158167
158182
|
]), // Properties pointing to nested entities that are declared before the entity itself
|
|
158168
|
-
I(
|
|
158169
|
-
...
|
|
158170
|
-
...
|
|
158183
|
+
I(mi, "MUTABLE_UPSTREAM_PROPERTIES", ["readsValue"]), I(mi, "INMUTABLE_UPSTREAM_PROPERTIES", ["parent", "declaration"]), I(mi, "UPSTREAM_PROPERTIES", [
|
|
158184
|
+
...mi.MUTABLE_UPSTREAM_PROPERTIES,
|
|
158185
|
+
...mi.INMUTABLE_UPSTREAM_PROPERTIES
|
|
158171
158186
|
]), // Properties pointing to nested entities that are declared after the entity itself or are direct children
|
|
158172
|
-
I(
|
|
158173
|
-
...
|
|
158174
|
-
...
|
|
158175
|
-
]), I(
|
|
158176
|
-
...
|
|
158177
|
-
...
|
|
158178
|
-
...
|
|
158187
|
+
I(mi, "MUTABLE_DOWNSTREAM_PROPERTIES", ["defaultValue"]), I(mi, "INMUTABLE_DOWNSTREAM_PROPERTIES", []), I(mi, "DOWNSTREAM_PROPERTIES", [
|
|
158188
|
+
...mi.MUTABLE_DOWNSTREAM_PROPERTIES,
|
|
158189
|
+
...mi.INMUTABLE_DOWNSTREAM_PROPERTIES
|
|
158190
|
+
]), I(mi, "PROPERTIES", [
|
|
158191
|
+
...mi.META_PROPERTIES,
|
|
158192
|
+
...mi.UPSTREAM_PROPERTIES,
|
|
158193
|
+
...mi.DOWNSTREAM_PROPERTIES
|
|
158179
158194
|
]);
|
|
158180
|
-
let $s =
|
|
158195
|
+
let $s = mi;
|
|
158181
158196
|
class pUi extends $s {
|
|
158182
158197
|
constructor(i, n) {
|
|
158183
158198
|
super(i, n);
|
|
@@ -158224,7 +158239,7 @@ const yUi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
158224
158239
|
validateAsync: bF
|
|
158225
158240
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
158226
158241
|
var KTi = /* @__PURE__ */ ((o) => (o.Declaration = "declaration", o.DataTypeEntity = "data-type-entity", o))(KTi || {});
|
|
158227
|
-
const
|
|
158242
|
+
const Ti = class Ti extends Gr {
|
|
158228
158243
|
constructor(i, n) {
|
|
158229
158244
|
super(i);
|
|
158230
158245
|
I(this, "initialData");
|
|
@@ -158570,7 +158585,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
158570
158585
|
// And adds it to the 'knownVersions' map
|
|
158571
158586
|
captureVersion() {
|
|
158572
158587
|
var n;
|
|
158573
|
-
const i = ((n = this.knownVersions) == null ? void 0 : n.get(this.version)) || new
|
|
158588
|
+
const i = ((n = this.knownVersions) == null ? void 0 : n.get(this.version)) || new Ti(this, this.project);
|
|
158574
158589
|
return i.metaSync(this.toMeta(), null), this.knownVersions = this.knownVersions ? this.knownVersions.set(this.version, i) : /* @__PURE__ */ new Map([[this.version, i]]), i.declaration = this.declaration, i.writesValues = [...this.writesValues], i.dataType = this.dataType, i.parent = this.parent, this;
|
|
158575
158590
|
}
|
|
158576
158591
|
// Traverses upstream entities and captures their versions as well
|
|
@@ -158637,7 +158652,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
158637
158652
|
throw new Error(
|
|
158638
158653
|
`Version with id '${i}' for entity with id '${this.id}' not found.`
|
|
158639
158654
|
);
|
|
158640
|
-
y = new
|
|
158655
|
+
y = new Ti(
|
|
158641
158656
|
v,
|
|
158642
158657
|
this.project
|
|
158643
158658
|
);
|
|
@@ -158973,31 +158988,31 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
158973
158988
|
return this.index = s.index || (s.index !== 0 ? e.index : 0), this.parentRelationType = s.parentRelationType !== void 0 ? s.parentRelationType : this.parentRelationType, super.baseMetaSync(s, this, n), s.deleted === !0 && !e.deleted ? n == null || n.add(this, H.Removed) : s.deleted === !1 && e.deleted ? n == null || n.add(this, H.Added) : c && (n == null || n.add(this, H.Updated)), n == null || n.attemptAutoclose("meta-sync", this.id), this;
|
|
158974
158989
|
}
|
|
158975
158990
|
async APILoad(i = Ue, ...n) {
|
|
158976
|
-
return await
|
|
158991
|
+
return await Ti.repository.APILoad(this.id, ...n), this;
|
|
158977
158992
|
}
|
|
158978
158993
|
async APICreate(i = Ue, ...n) {
|
|
158979
|
-
return await
|
|
158994
|
+
return await Ti.repository.APICreate(
|
|
158980
158995
|
this.toShallowJSON(),
|
|
158981
158996
|
...n
|
|
158982
158997
|
), this;
|
|
158983
158998
|
}
|
|
158984
158999
|
async APIUpdate(i = Ue, ...n) {
|
|
158985
|
-
return await
|
|
159000
|
+
return await Ti.repository.APIUpdate(
|
|
158986
159001
|
this.toShallowJSON(),
|
|
158987
159002
|
...n
|
|
158988
159003
|
), this;
|
|
158989
159004
|
}
|
|
158990
159005
|
async APIDelete(i = Ue, ...n) {
|
|
158991
|
-
return await
|
|
159006
|
+
return await Ti.repository.APIDelete(
|
|
158992
159007
|
this.toShallowJSON(),
|
|
158993
159008
|
...n
|
|
158994
159009
|
), this;
|
|
158995
159010
|
}
|
|
158996
159011
|
async APIClone(i = Ue, ...n) {
|
|
158997
|
-
return await
|
|
159012
|
+
return await Ti.repository.APIClone(this.id, ...n), this;
|
|
158998
159013
|
}
|
|
158999
159014
|
async APILoadVersion(i = Ue, n, ...s) {
|
|
159000
|
-
return await
|
|
159015
|
+
return await Ti.repository.APILoadVersion(
|
|
159001
159016
|
this.id,
|
|
159002
159017
|
n,
|
|
159003
159018
|
...s
|
|
@@ -159377,7 +159392,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
159377
159392
|
return i == null || i.attemptAutoclose("get-data-type", this.id), n;
|
|
159378
159393
|
}
|
|
159379
159394
|
};
|
|
159380
|
-
I(
|
|
159395
|
+
I(Ti, "repository", {
|
|
159381
159396
|
APICreate: async (i, ...n) => i,
|
|
159382
159397
|
APIUpdate: async (i, ...n) => i,
|
|
159383
159398
|
APIDelete: async (i, ...n) => i,
|
|
@@ -159385,11 +159400,11 @@ I(mi, "repository", {
|
|
|
159385
159400
|
},
|
|
159386
159401
|
APILoad: async (i, ...n) => null,
|
|
159387
159402
|
APILoadVersion: async (i, n, ...s) => null
|
|
159388
|
-
}), I(
|
|
159403
|
+
}), I(Ti, "type", d.OutputMap), I(Ti, "USER_MANAGED_PARENT_TYPES", [
|
|
159389
159404
|
...hm
|
|
159390
|
-
]), I(
|
|
159391
|
-
...
|
|
159392
|
-
]), I(
|
|
159405
|
+
]), I(Ti, "PARENT_TYPES", [
|
|
159406
|
+
...Ti.USER_MANAGED_PARENT_TYPES
|
|
159407
|
+
]), I(Ti, "MUTABLE_BASE_PROPERTIES", []), I(Ti, "INMUTABLE_BASE_PROPERTIES", [
|
|
159393
159408
|
"id",
|
|
159394
159409
|
"type",
|
|
159395
159410
|
"version",
|
|
@@ -159397,33 +159412,33 @@ I(mi, "repository", {
|
|
|
159397
159412
|
"author",
|
|
159398
159413
|
"previousVersion",
|
|
159399
159414
|
"parentRelationType"
|
|
159400
|
-
]), I(
|
|
159401
|
-
...
|
|
159402
|
-
...
|
|
159415
|
+
]), I(Ti, "BASE_PROPERTIES", [
|
|
159416
|
+
...Ti.MUTABLE_BASE_PROPERTIES,
|
|
159417
|
+
...Ti.INMUTABLE_BASE_PROPERTIES
|
|
159403
159418
|
]), // Includes the base properties and the meta properties
|
|
159404
159419
|
// Often contains properties related to UX, not necessary for the logic
|
|
159405
|
-
I(
|
|
159406
|
-
...
|
|
159420
|
+
I(Ti, "MUTABLE_META_PROPERTIES", [
|
|
159421
|
+
...Ti.MUTABLE_BASE_PROPERTIES,
|
|
159407
159422
|
"index"
|
|
159408
|
-
]), I(
|
|
159409
|
-
...
|
|
159410
|
-
]), I(
|
|
159411
|
-
...
|
|
159412
|
-
...
|
|
159423
|
+
]), I(Ti, "INMUTABLE_META_PROPERTIES", [
|
|
159424
|
+
...Ti.INMUTABLE_BASE_PROPERTIES
|
|
159425
|
+
]), I(Ti, "META_PROPERTIES", [
|
|
159426
|
+
...Ti.MUTABLE_META_PROPERTIES,
|
|
159427
|
+
...Ti.INMUTABLE_META_PROPERTIES
|
|
159413
159428
|
]), // Properties pointing to nested entities that are declared before the entity itself
|
|
159414
|
-
I(
|
|
159415
|
-
...
|
|
159416
|
-
...
|
|
159429
|
+
I(Ti, "MUTABLE_UPSTREAM_PROPERTIES", []), I(Ti, "INMUTABLE_UPSTREAM_PROPERTIES", ["parent", "declaration"]), I(Ti, "UPSTREAM_PROPERTIES", [
|
|
159430
|
+
...Ti.MUTABLE_UPSTREAM_PROPERTIES,
|
|
159431
|
+
...Ti.INMUTABLE_UPSTREAM_PROPERTIES
|
|
159417
159432
|
]), // Properties pointing to nested entities that are declared after the entity itself or are direct children
|
|
159418
|
-
I(
|
|
159419
|
-
...
|
|
159420
|
-
...
|
|
159421
|
-
]), I(
|
|
159422
|
-
...
|
|
159423
|
-
...
|
|
159424
|
-
...
|
|
159433
|
+
I(Ti, "MUTABLE_DOWNSTREAM_PROPERTIES", ["writesValues"]), I(Ti, "INMUTABLE_DOWNSTREAM_PROPERTIES", []), I(Ti, "DOWNSTREAM_PROPERTIES", [
|
|
159434
|
+
...Ti.MUTABLE_DOWNSTREAM_PROPERTIES,
|
|
159435
|
+
...Ti.INMUTABLE_DOWNSTREAM_PROPERTIES
|
|
159436
|
+
]), I(Ti, "PROPERTIES", [
|
|
159437
|
+
...Ti.META_PROPERTIES,
|
|
159438
|
+
...Ti.UPSTREAM_PROPERTIES,
|
|
159439
|
+
...Ti.DOWNSTREAM_PROPERTIES
|
|
159425
159440
|
]);
|
|
159426
|
-
let go =
|
|
159441
|
+
let go = Ti;
|
|
159427
159442
|
class hUi extends go {
|
|
159428
159443
|
constructor(i, n) {
|
|
159429
159444
|
super(i, n);
|
|
@@ -162743,7 +162758,7 @@ const bUi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
162743
162758
|
validateAsync: DF
|
|
162744
162759
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
162745
162760
|
var qTi = /* @__PURE__ */ ((o) => (o.DataTypeEntity = "data-type-entity", o))(qTi || {});
|
|
162746
|
-
const
|
|
162761
|
+
const vi = class vi extends Gr {
|
|
162747
162762
|
constructor(i, n) {
|
|
162748
162763
|
super(i);
|
|
162749
162764
|
I(this, "initialData");
|
|
@@ -162986,7 +163001,7 @@ ${id(
|
|
|
162986
163001
|
// And adds it to the 'knownVersions' map
|
|
162987
163002
|
captureVersion() {
|
|
162988
163003
|
var n;
|
|
162989
|
-
const i = ((n = this.knownVersions) == null ? void 0 : n.get(this.version)) || new
|
|
163004
|
+
const i = ((n = this.knownVersions) == null ? void 0 : n.get(this.version)) || new vi(this, this.project);
|
|
162990
163005
|
return i.metaSync(this.toMeta(), null), this.knownVersions = this.knownVersions ? this.knownVersions.set(this.version, i) : /* @__PURE__ */ new Map([[this.version, i]]), i.defaultValue = this.defaultValue, i.dataType = this.dataType, i.parent = this.parent, this;
|
|
162991
163006
|
}
|
|
162992
163007
|
// Traverses upstream entities and captures their versions as well
|
|
@@ -163053,7 +163068,7 @@ ${id(
|
|
|
163053
163068
|
throw new Error(
|
|
163054
163069
|
`Version with id '${i}' for entity with id '${this.id}' not found.`
|
|
163055
163070
|
);
|
|
163056
|
-
y = new
|
|
163071
|
+
y = new vi(
|
|
163057
163072
|
v,
|
|
163058
163073
|
this.project
|
|
163059
163074
|
);
|
|
@@ -163264,31 +163279,31 @@ ${id(
|
|
|
163264
163279
|
return this.name = s.name !== void 0 ? s.name : e.name, this.codeName = s.codeName !== void 0 ? s.codeName : e.codeName, this.description = s.description !== void 0 ? s.description : e.description, this.index = s.index || (s.index !== 0 ? e.index : 0), this.required = s.required !== void 0 ? s.required : this.required, this.parentRelationType = s.parentRelationType !== void 0 ? s.parentRelationType : this.parentRelationType, super.baseMetaSync(s, this, n), s.deleted === !0 && !e.deleted ? n == null || n.add(this, H.Removed) : s.deleted === !1 && e.deleted ? n == null || n.add(this, H.Added) : c && (n == null || n.add(this, H.Updated)), n == null || n.attemptAutoclose("meta-sync", this.id), this;
|
|
163265
163280
|
}
|
|
163266
163281
|
async APILoad(i = Ue, ...n) {
|
|
163267
|
-
return await
|
|
163282
|
+
return await vi.repository.APILoad(this.id, ...n), this;
|
|
163268
163283
|
}
|
|
163269
163284
|
async APICreate(i = Ue, ...n) {
|
|
163270
|
-
return await
|
|
163285
|
+
return await vi.repository.APICreate(
|
|
163271
163286
|
this.toShallowJSON(),
|
|
163272
163287
|
...n
|
|
163273
163288
|
), this;
|
|
163274
163289
|
}
|
|
163275
163290
|
async APIUpdate(i = Ue, ...n) {
|
|
163276
|
-
return await
|
|
163291
|
+
return await vi.repository.APIUpdate(
|
|
163277
163292
|
this.toShallowJSON(),
|
|
163278
163293
|
...n
|
|
163279
163294
|
), this;
|
|
163280
163295
|
}
|
|
163281
163296
|
async APIDelete(i = Ue, ...n) {
|
|
163282
|
-
return await
|
|
163297
|
+
return await vi.repository.APIDelete(
|
|
163283
163298
|
this.toShallowJSON(),
|
|
163284
163299
|
...n
|
|
163285
163300
|
), this;
|
|
163286
163301
|
}
|
|
163287
163302
|
async APIClone(i = Ue, ...n) {
|
|
163288
|
-
return await
|
|
163303
|
+
return await vi.repository.APIClone(this.id, ...n), this;
|
|
163289
163304
|
}
|
|
163290
163305
|
async APILoadVersion(i = Ue, n, ...s) {
|
|
163291
|
-
return await
|
|
163306
|
+
return await vi.repository.APILoadVersion(
|
|
163292
163307
|
this.id,
|
|
163293
163308
|
n,
|
|
163294
163309
|
...s
|
|
@@ -163821,7 +163836,7 @@ ${id(
|
|
|
163821
163836
|
return i == null || i.attemptAutoclose("implement-as-return-declaration", this.id), e;
|
|
163822
163837
|
}
|
|
163823
163838
|
};
|
|
163824
|
-
I(
|
|
163839
|
+
I(vi, "repository", {
|
|
163825
163840
|
APICreate: async (i, ...n) => i,
|
|
163826
163841
|
APIUpdate: async (i, ...n) => i,
|
|
163827
163842
|
APIDelete: async (i, ...n) => i,
|
|
@@ -163829,18 +163844,18 @@ I(Ti, "repository", {
|
|
|
163829
163844
|
},
|
|
163830
163845
|
APILoad: async (i, ...n) => null,
|
|
163831
163846
|
APILoadVersion: async (i, n, ...s) => null
|
|
163832
|
-
}), I(
|
|
163847
|
+
}), I(vi, "type", d.ValueDescriptor), I(vi, "USER_MANAGED_PARENT_TYPES", [
|
|
163833
163848
|
d.ActionDescriptor,
|
|
163834
163849
|
d.Loop,
|
|
163835
163850
|
d.Search
|
|
163836
|
-
]), I(
|
|
163837
|
-
...
|
|
163838
|
-
]), I(
|
|
163851
|
+
]), I(vi, "PARENT_TYPES", [
|
|
163852
|
+
...vi.USER_MANAGED_PARENT_TYPES
|
|
163853
|
+
]), I(vi, "MUTABLE_BASE_PROPERTIES", [
|
|
163839
163854
|
"name",
|
|
163840
163855
|
"codeName",
|
|
163841
163856
|
"description",
|
|
163842
163857
|
"required"
|
|
163843
|
-
]), I(
|
|
163858
|
+
]), I(vi, "INMUTABLE_BASE_PROPERTIES", [
|
|
163844
163859
|
"id",
|
|
163845
163860
|
"version",
|
|
163846
163861
|
"type",
|
|
@@ -163848,33 +163863,33 @@ I(Ti, "repository", {
|
|
|
163848
163863
|
"createdAt",
|
|
163849
163864
|
"author",
|
|
163850
163865
|
"previousVersion"
|
|
163851
|
-
]), I(
|
|
163852
|
-
...
|
|
163853
|
-
...
|
|
163866
|
+
]), I(vi, "BASE_PROPERTIES", [
|
|
163867
|
+
...vi.MUTABLE_BASE_PROPERTIES,
|
|
163868
|
+
...vi.INMUTABLE_BASE_PROPERTIES
|
|
163854
163869
|
]), // Includes the base properties and the meta properties
|
|
163855
163870
|
// Often contains properties related to UX, not necessary for the logic
|
|
163856
|
-
I(
|
|
163857
|
-
...
|
|
163871
|
+
I(vi, "MUTABLE_META_PROPERTIES", [
|
|
163872
|
+
...vi.MUTABLE_BASE_PROPERTIES,
|
|
163858
163873
|
"index"
|
|
163859
|
-
]), I(
|
|
163860
|
-
...
|
|
163861
|
-
]), I(
|
|
163862
|
-
...
|
|
163863
|
-
...
|
|
163874
|
+
]), I(vi, "INMUTABLE_META_PROPERTIES", [
|
|
163875
|
+
...vi.INMUTABLE_BASE_PROPERTIES
|
|
163876
|
+
]), I(vi, "META_PROPERTIES", [
|
|
163877
|
+
...vi.MUTABLE_META_PROPERTIES,
|
|
163878
|
+
...vi.INMUTABLE_META_PROPERTIES
|
|
163864
163879
|
]), // Properties pointing to nested entities that are declared before the entity itself
|
|
163865
|
-
I(
|
|
163866
|
-
...
|
|
163867
|
-
...
|
|
163880
|
+
I(vi, "MUTABLE_UPSTREAM_PROPERTIES", []), I(vi, "INMUTABLE_UPSTREAM_PROPERTIES", ["parent"]), I(vi, "UPSTREAM_PROPERTIES", [
|
|
163881
|
+
...vi.MUTABLE_UPSTREAM_PROPERTIES,
|
|
163882
|
+
...vi.INMUTABLE_UPSTREAM_PROPERTIES
|
|
163868
163883
|
]), // Properties pointing to nested entities that are declared after the entity itself or are direct children
|
|
163869
|
-
I(
|
|
163870
|
-
...
|
|
163871
|
-
...
|
|
163872
|
-
]), I(
|
|
163873
|
-
...
|
|
163874
|
-
...
|
|
163875
|
-
...
|
|
163884
|
+
I(vi, "MUTABLE_DOWNSTREAM_PROPERTIES", ["dataType", "defaultValue"]), I(vi, "INMUTABLE_DOWNSTREAM_PROPERTIES", []), I(vi, "DOWNSTREAM_PROPERTIES", [
|
|
163885
|
+
...vi.MUTABLE_DOWNSTREAM_PROPERTIES,
|
|
163886
|
+
...vi.INMUTABLE_DOWNSTREAM_PROPERTIES
|
|
163887
|
+
]), I(vi, "PROPERTIES", [
|
|
163888
|
+
...vi.META_PROPERTIES,
|
|
163889
|
+
...vi.UPSTREAM_PROPERTIES,
|
|
163890
|
+
...vi.DOWNSTREAM_PROPERTIES
|
|
163876
163891
|
]);
|
|
163877
|
-
let fu =
|
|
163892
|
+
let fu = vi;
|
|
163878
163893
|
const vE = yt([
|
|
163879
163894
|
Se(),
|
|
163880
163895
|
Zn(),
|
|
@@ -165773,7 +165788,7 @@ function qUi(o, p) {
|
|
|
165773
165788
|
modifiedData: null,
|
|
165774
165789
|
messageAddition: ""
|
|
165775
165790
|
};
|
|
165776
|
-
if (
|
|
165791
|
+
if (Qt.includes(p.type) ? o.calls && i.push(
|
|
165777
165792
|
new De({
|
|
165778
165793
|
id: `${p.id}--${ne.InvalidInmutablePropertyOverride}`,
|
|
165779
165794
|
message: `Entity of type "${p.type}" with id "${p.id}" cannot have the property "calls" updated.
|
|
@@ -166296,7 +166311,7 @@ All pass-through callable entities are: ${Ot(
|
|
|
166296
166311
|
", ",
|
|
166297
166312
|
" and "
|
|
166298
166313
|
)}.`, qA = `Entry point entities are the entities which start the execution of a logic chain. They are ${Ot(
|
|
166299
|
-
|
|
166314
|
+
Qt,
|
|
166300
166315
|
", ",
|
|
166301
166316
|
" and "
|
|
166302
166317
|
)}. They aren't explicitly called by any entities. Rather, they can be called implicitly by the system, or as a function-call somewhere else in the case of a function-declaration. `, mbi = `Caller entities are entities that can call other entities. Regarless of whether they are entry-point entities or pass-through callable entities. All caller entity types are: ${Ot(
|
|
@@ -166391,7 +166406,7 @@ function vbi(o, p) {
|
|
|
166391
166406
|
};
|
|
166392
166407
|
i.calledByEntry ? typeof i.calledByEntry == "string" && (i.calledByEntry = [i.calledByEntry]) : i.calledByEntry = [], i.calledBySuccess ? typeof i.calledBySuccess == "string" && (i.calledBySuccess = [i.calledBySuccess]) : i.calledBySuccess = [], i.calledByError ? typeof i.calledByError == "string" && (i.calledByError = [i.calledByError]) : i.calledByError = [];
|
|
166393
166408
|
const n = [];
|
|
166394
|
-
if (
|
|
166409
|
+
if (Qt.includes(p.type))
|
|
166395
166410
|
n.push(
|
|
166396
166411
|
new De({
|
|
166397
166412
|
id: `${o.id}--${p.id}--${ne.InvalidReference}`,
|
|
@@ -166459,7 +166474,7 @@ ${pc}`
|
|
|
166459
166474
|
}
|
|
166460
166475
|
function bbi(o, p) {
|
|
166461
166476
|
const i = [];
|
|
166462
|
-
if (
|
|
166477
|
+
if (Qt.includes(p.type))
|
|
166463
166478
|
i.push(
|
|
166464
166479
|
new De({
|
|
166465
166480
|
id: `${o.id}--${p.id}--${ne.InvalidReference}`,
|
|
@@ -166655,13 +166670,13 @@ function Abi(o, p) {
|
|
|
166655
166670
|
})
|
|
166656
166671
|
);
|
|
166657
166672
|
const e = Tn(n, p);
|
|
166658
|
-
n.type === d.ReturnStatement && e && !
|
|
166673
|
+
n.type === d.ReturnStatement && e && !Qt.includes(e.type) ? i.push(
|
|
166659
166674
|
new De({
|
|
166660
166675
|
id: `${n.id}--${ne.IncompatibleScope}`,
|
|
166661
166676
|
code: ne.IncompatibleScope,
|
|
166662
166677
|
severity: pe.Error,
|
|
166663
166678
|
message: `Entity of type "${n.type}" with id "${n.id}" has an explicitly set parent, but it isn't a '${Ot(
|
|
166664
|
-
|
|
166679
|
+
Qt,
|
|
166665
166680
|
"', '",
|
|
166666
166681
|
"' or '"
|
|
166667
166682
|
)}' entity. A return statement's parent should always be resolved to a function declaration or global event.${zR}`
|
|
@@ -167137,7 +167152,7 @@ function YUi(o, p, i = "calledBy") {
|
|
|
167137
167152
|
message: `Entity with id "${o}" referenced in '${i}' property not found in the project. Perhaps it should be created first? Perhaps it is the wrong ID?`
|
|
167138
167153
|
})
|
|
167139
167154
|
), n;
|
|
167140
|
-
if ([...Ii, ...
|
|
167155
|
+
if ([...Ii, ...Qt].includes(s.type))
|
|
167141
167156
|
return [];
|
|
167142
167157
|
if (qt.includes(s.type)) {
|
|
167143
167158
|
const c = s.calledBy || [], e = c.length ? `
|
|
@@ -167220,7 +167235,7 @@ Termination entities are ${Ot(
|
|
|
167220
167235
|
})
|
|
167221
167236
|
);
|
|
167222
167237
|
} else
|
|
167223
|
-
|
|
167238
|
+
Qt.includes(s.type) ? n.push(
|
|
167224
167239
|
new De({
|
|
167225
167240
|
id: `last-action--${s.id}--${ne.InvalidReference}`,
|
|
167226
167241
|
code: ne.InvalidReference,
|
|
@@ -167843,12 +167858,12 @@ function rji(o) {
|
|
|
167843
167858
|
function s3(o) {
|
|
167844
167859
|
var n, s, c, e;
|
|
167845
167860
|
if (o.type !== d.InternalCall) {
|
|
167846
|
-
if (!
|
|
167861
|
+
if (!Qt.includes(o.parent.type))
|
|
167847
167862
|
return !1;
|
|
167848
167863
|
const m = ((n = o.parent.implements) == null ? void 0 : n.getDataType(null)) || null;
|
|
167849
167864
|
return !(!m || ((s = m.entity) == null ? void 0 : s.id) === X["primitive-entity"].void.id);
|
|
167850
167865
|
}
|
|
167851
|
-
if (!
|
|
167866
|
+
if (!Qt.includes(o.parent.parent.type))
|
|
167852
167867
|
return !1;
|
|
167853
167868
|
const i = ((c = o.parent.parent.implements) == null ? void 0 : c.getDataType(null)) || null;
|
|
167854
167869
|
return !(!i || ((e = i.entity) == null ? void 0 : e.id) === X["primitive-entity"].void.id);
|
|
@@ -167877,7 +167892,7 @@ function HA(o) {
|
|
|
167877
167892
|
}
|
|
167878
167893
|
function da(o) {
|
|
167879
167894
|
const p = [];
|
|
167880
|
-
if (!zr.includes(o.type) || qt.includes(o.type) ||
|
|
167895
|
+
if (!zr.includes(o.type) || qt.includes(o.type) || Qt.includes(o.type) || !s3(
|
|
167881
167896
|
o
|
|
167882
167897
|
))
|
|
167883
167898
|
return p;
|
|
@@ -168101,7 +168116,7 @@ function Cbi(o, p) {
|
|
|
168101
168116
|
}
|
|
168102
168117
|
const Obi = (o) => o !== null && typeof o == "object";
|
|
168103
168118
|
var l3 = /* @__PURE__ */ ((o) => (o.EntityField = "entity-field", o.ForeignKeyRefField = "foreign-key-ref-field", o))(l3 || {});
|
|
168104
|
-
const
|
|
168119
|
+
const bi = class bi extends Gr {
|
|
168105
168120
|
constructor(i, n) {
|
|
168106
168121
|
super(i);
|
|
168107
168122
|
I(this, "initialData");
|
|
@@ -168468,7 +168483,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
|
|
|
168468
168483
|
// And adds it to the 'knownVersions' map
|
|
168469
168484
|
captureVersion() {
|
|
168470
168485
|
var n;
|
|
168471
|
-
const i = ((n = this.knownVersions) == null ? void 0 : n.get(this.version)) || new
|
|
168486
|
+
const i = ((n = this.knownVersions) == null ? void 0 : n.get(this.version)) || new bi(this, this.project);
|
|
168472
168487
|
return i.metaSync(this.toMeta(), null), this.knownVersions = this.knownVersions ? this.knownVersions.set(this.version, i) : /* @__PURE__ */ new Map([[this.version, i]]), i.entity = this.entity, i.foreignKeyRef = this.foreignKeyRef, i.andChildrenGroup = this.andChildrenGroup ? [...this.andChildrenGroup] : this.andChildrenGroup, i.orChildrenGroup = this.orChildrenGroup ? [...this.orChildrenGroup] : this.orChildrenGroup, i.parent = this.parent, this;
|
|
168473
168488
|
}
|
|
168474
168489
|
// Traverses upstream entities and captures their versions as well
|
|
@@ -168535,7 +168550,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
|
|
|
168535
168550
|
throw new Error(
|
|
168536
168551
|
`Version with id '${i}' for entity with id '${this.id}' not found.`
|
|
168537
168552
|
);
|
|
168538
|
-
y = new
|
|
168553
|
+
y = new bi(
|
|
168539
168554
|
v,
|
|
168540
168555
|
this.project
|
|
168541
168556
|
);
|
|
@@ -168864,31 +168879,31 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
|
|
|
168864
168879
|
return this.options = s.options || e.options, this.parentRelationType = s.parentRelationType || e.parentRelationType, this.isList = s.isList !== void 0 ? s.isList : e.isList, this.inferred = s.inferred !== void 0 ? s.inferred : e.inferred, this.like = s.like !== void 0 ? s.like : e.like, this.asType = s.asType !== void 0 ? s.asType : e.asType, this.index = s.index !== void 0 ? s.index : e.index, this.implementationChooseOne = s.implementationChooseOne !== void 0 ? s.implementationChooseOne : e.implementationChooseOne, this.staticEntities = s.staticEntities !== void 0 ? s.staticEntities : e.staticEntities, this.interactiveEntities = s.interactiveEntities !== void 0 ? s.interactiveEntities : e.interactiveEntities, this.actionEntities = s.actionEntities !== void 0 ? s.actionEntities : e.actionEntities, super.baseMetaSync(s, this, n), s.deleted === !0 && !e.deleted ? n == null || n.add(this, H.Removed) : s.deleted === !1 && e.deleted ? n == null || n.add(this, H.Added) : c && (n == null || n.add(this, H.Updated)), n == null || n.attemptAutoclose("meta-sync", this.id), this;
|
|
168865
168880
|
}
|
|
168866
168881
|
async APILoad(i = Ue, ...n) {
|
|
168867
|
-
return await
|
|
168882
|
+
return await bi.repository.APILoad(this.id, ...n), this;
|
|
168868
168883
|
}
|
|
168869
168884
|
async APICreate(i = Ue, ...n) {
|
|
168870
|
-
return await
|
|
168885
|
+
return await bi.repository.APICreate(
|
|
168871
168886
|
this.toShallowJSON(),
|
|
168872
168887
|
...n
|
|
168873
168888
|
), this;
|
|
168874
168889
|
}
|
|
168875
168890
|
async APIUpdate(i = Ue, ...n) {
|
|
168876
|
-
return await
|
|
168891
|
+
return await bi.repository.APIUpdate(
|
|
168877
168892
|
this.toShallowJSON(),
|
|
168878
168893
|
...n
|
|
168879
168894
|
), this;
|
|
168880
168895
|
}
|
|
168881
168896
|
async APIDelete(i = Ue, ...n) {
|
|
168882
|
-
return await
|
|
168897
|
+
return await bi.repository.APIDelete(
|
|
168883
168898
|
this.toShallowJSON(),
|
|
168884
168899
|
...n
|
|
168885
168900
|
), this;
|
|
168886
168901
|
}
|
|
168887
168902
|
async APIClone(i = Ue, ...n) {
|
|
168888
|
-
return await
|
|
168903
|
+
return await bi.repository.APIClone(this.id, ...n), this;
|
|
168889
168904
|
}
|
|
168890
168905
|
async APILoadVersion(i = Ue, n, ...s) {
|
|
168891
|
-
return await
|
|
168906
|
+
return await bi.repository.APILoadVersion(
|
|
168892
168907
|
this.id,
|
|
168893
168908
|
n,
|
|
168894
168909
|
...s
|
|
@@ -169702,7 +169717,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
|
|
|
169702
169717
|
};
|
|
169703
169718
|
}
|
|
169704
169719
|
};
|
|
169705
|
-
I(
|
|
169720
|
+
I(bi, "repository", {
|
|
169706
169721
|
APICreate: async (i, ...n) => i,
|
|
169707
169722
|
APIUpdate: async (i, ...n) => i,
|
|
169708
169723
|
APIDelete: async (i, ...n) => i,
|
|
@@ -169710,7 +169725,7 @@ I(vi, "repository", {
|
|
|
169710
169725
|
},
|
|
169711
169726
|
APILoad: async (i, ...n) => null,
|
|
169712
169727
|
APILoadVersion: async (i, n, ...s) => null
|
|
169713
|
-
}), I(
|
|
169728
|
+
}), I(bi, "type", d.DataType), I(bi, "USER_MANAGED_PARENT_TYPES", [
|
|
169714
169729
|
d.Property,
|
|
169715
169730
|
d.ArgumentDeclaration,
|
|
169716
169731
|
d.ReturnStatement,
|
|
@@ -169726,10 +169741,10 @@ I(vi, "repository", {
|
|
|
169726
169741
|
d.Loop,
|
|
169727
169742
|
d.Search,
|
|
169728
169743
|
d.DefinitionEntity
|
|
169729
|
-
]), I(
|
|
169730
|
-
...
|
|
169744
|
+
]), I(bi, "PARENT_TYPES", [
|
|
169745
|
+
...bi.USER_MANAGED_PARENT_TYPES,
|
|
169731
169746
|
d.BuiltInBaseEntity
|
|
169732
|
-
]), I(
|
|
169747
|
+
]), I(bi, "MUTABLE_BASE_PROPERTIES", [
|
|
169733
169748
|
"isList",
|
|
169734
169749
|
"asType",
|
|
169735
169750
|
"options",
|
|
@@ -169740,7 +169755,7 @@ I(vi, "repository", {
|
|
|
169740
169755
|
"staticEntities",
|
|
169741
169756
|
"interactiveEntities",
|
|
169742
169757
|
"actionEntities"
|
|
169743
|
-
]), I(
|
|
169758
|
+
]), I(bi, "INMUTABLE_BASE_PROPERTIES", [
|
|
169744
169759
|
"id",
|
|
169745
169760
|
"type",
|
|
169746
169761
|
"version",
|
|
@@ -169748,40 +169763,40 @@ I(vi, "repository", {
|
|
|
169748
169763
|
"index",
|
|
169749
169764
|
"author",
|
|
169750
169765
|
"previousVersion"
|
|
169751
|
-
]), I(
|
|
169752
|
-
...
|
|
169753
|
-
...
|
|
169766
|
+
]), I(bi, "BASE_PROPERTIES", [
|
|
169767
|
+
...bi.MUTABLE_BASE_PROPERTIES,
|
|
169768
|
+
...bi.INMUTABLE_BASE_PROPERTIES
|
|
169754
169769
|
]), // Includes the base properties and the meta properties
|
|
169755
169770
|
// Often contains properties related to UX, not necessary for the logic
|
|
169756
|
-
I(
|
|
169757
|
-
...
|
|
169771
|
+
I(bi, "MUTABLE_META_PROPERTIES", [
|
|
169772
|
+
...bi.MUTABLE_BASE_PROPERTIES,
|
|
169758
169773
|
"inferred"
|
|
169759
|
-
]), I(
|
|
169760
|
-
...
|
|
169761
|
-
]), I(
|
|
169762
|
-
...
|
|
169763
|
-
...
|
|
169774
|
+
]), I(bi, "INMUTABLE_META_PROPERTIES", [
|
|
169775
|
+
...bi.INMUTABLE_BASE_PROPERTIES
|
|
169776
|
+
]), I(bi, "META_PROPERTIES", [
|
|
169777
|
+
...bi.MUTABLE_META_PROPERTIES,
|
|
169778
|
+
...bi.INMUTABLE_META_PROPERTIES
|
|
169764
169779
|
]), // Properties pointing to nested entities that are declared before the entity itself
|
|
169765
|
-
I(
|
|
169780
|
+
I(bi, "MUTABLE_UPSTREAM_PROPERTIES", [
|
|
169766
169781
|
"entity",
|
|
169767
169782
|
"foreignKeyRef",
|
|
169768
169783
|
"parent"
|
|
169769
|
-
]), I(
|
|
169770
|
-
...
|
|
169771
|
-
...
|
|
169784
|
+
]), I(bi, "INMUTABLE_UPSTREAM_PROPERTIES", []), I(bi, "UPSTREAM_PROPERTIES", [
|
|
169785
|
+
...bi.MUTABLE_UPSTREAM_PROPERTIES,
|
|
169786
|
+
...bi.INMUTABLE_UPSTREAM_PROPERTIES
|
|
169772
169787
|
]), // Properties pointing to nested entities that are declared after the entity itself or are direct children
|
|
169773
|
-
I(
|
|
169788
|
+
I(bi, "MUTABLE_DOWNSTREAM_PROPERTIES", []), I(bi, "INMUTABLE_DOWNSTREAM_PROPERTIES", [
|
|
169774
169789
|
"andChildrenGroup",
|
|
169775
169790
|
"orChildrenGroup"
|
|
169776
|
-
]), I(
|
|
169777
|
-
...
|
|
169778
|
-
...
|
|
169779
|
-
]), I(
|
|
169780
|
-
...
|
|
169781
|
-
...
|
|
169782
|
-
...
|
|
169791
|
+
]), I(bi, "DOWNSTREAM_PROPERTIES", [
|
|
169792
|
+
...bi.MUTABLE_DOWNSTREAM_PROPERTIES,
|
|
169793
|
+
...bi.INMUTABLE_DOWNSTREAM_PROPERTIES
|
|
169794
|
+
]), I(bi, "PROPERTIES", [
|
|
169795
|
+
...bi.META_PROPERTIES,
|
|
169796
|
+
...bi.UPSTREAM_PROPERTIES,
|
|
169797
|
+
...bi.DOWNSTREAM_PROPERTIES
|
|
169783
169798
|
]);
|
|
169784
|
-
let lr =
|
|
169799
|
+
let lr = bi;
|
|
169785
169800
|
async function o3(o, p = {}) {
|
|
169786
169801
|
var c;
|
|
169787
169802
|
const i = Ke.from(p), s = [
|
|
@@ -170049,7 +170064,7 @@ function qG(o, p) {
|
|
|
170049
170064
|
};
|
|
170050
170065
|
}
|
|
170051
170066
|
var Pbi = /* @__PURE__ */ ((o) => (o.PropertyImplements = "property-implements-field", o.PropertyExtends = "property-extends-field", o.PropertyDataTypeEntity = "property-data-type-entity-field", o.PropertyDataType = "property-data-type-field", o))(Pbi || {});
|
|
170052
|
-
const
|
|
170067
|
+
const ii = class ii extends Gr {
|
|
170053
170068
|
constructor(i, n) {
|
|
170054
170069
|
super(i);
|
|
170055
170070
|
I(this, "initialData");
|
|
@@ -170263,10 +170278,10 @@ ${xD}`
|
|
|
170263
170278
|
"on-property-received-project-initialized"
|
|
170264
170279
|
)
|
|
170265
170280
|
)) {
|
|
170266
|
-
return qG(this, n), n == null || n.attemptAutoclose(
|
|
170281
|
+
return n ? (qG(this, n), n == null || n.attemptAutoclose(
|
|
170267
170282
|
"on-property-received-project-initialized",
|
|
170268
170283
|
this.id
|
|
170269
|
-
), this;
|
|
170284
|
+
), this) : this;
|
|
170270
170285
|
}
|
|
170271
170286
|
// Subscribe dependent entities to the current entity
|
|
170272
170287
|
subscribeDependents(i) {
|
|
@@ -170380,7 +170395,7 @@ ${xD}`
|
|
|
170380
170395
|
/* PropertyDataType */
|
|
170381
170396
|
}
|
|
170382
170397
|
]), this.project.off(
|
|
170383
|
-
|
|
170398
|
+
Yt.PROJECT_INITIALIZED,
|
|
170384
170399
|
this.onProjectInitialized
|
|
170385
170400
|
), this;
|
|
170386
170401
|
}
|
|
@@ -170415,7 +170430,7 @@ ${xD}`
|
|
|
170415
170430
|
/* PropertyDataType */
|
|
170416
170431
|
}
|
|
170417
170432
|
]), Vbi(this) && this.project.on(
|
|
170418
|
-
|
|
170433
|
+
Yt.PROJECT_INITIALIZED,
|
|
170419
170434
|
this.onProjectInitialized
|
|
170420
170435
|
), this;
|
|
170421
170436
|
}
|
|
@@ -170431,7 +170446,7 @@ ${xD}`
|
|
|
170431
170446
|
// And adds it to the 'knownVersions' map
|
|
170432
170447
|
captureVersion() {
|
|
170433
170448
|
var n;
|
|
170434
|
-
const i = ((n = this.knownVersions) == null ? void 0 : n.get(this.version)) || new
|
|
170449
|
+
const i = ((n = this.knownVersions) == null ? void 0 : n.get(this.version)) || new ii(this, this.project);
|
|
170435
170450
|
return i.metaSync(this.toMeta(), null), this.knownVersions = this.knownVersions ? this.knownVersions.set(this.version, i) : /* @__PURE__ */ new Map([[this.version, i]]), i.defaultValue = this.defaultValue, i.dataType = this.dataType, i.implements = [...this.implements], i.extends = this.extends, i.parent = this.parent, this;
|
|
170436
170451
|
}
|
|
170437
170452
|
// Traverses upstream entities and captures their versions as well
|
|
@@ -170498,7 +170513,7 @@ ${xD}`
|
|
|
170498
170513
|
throw new Error(
|
|
170499
170514
|
`Version with id '${i}' for entity with id '${this.id}' not found.`
|
|
170500
170515
|
);
|
|
170501
|
-
y = new
|
|
170516
|
+
y = new ii(
|
|
170502
170517
|
v,
|
|
170503
170518
|
this.project
|
|
170504
170519
|
);
|
|
@@ -170865,31 +170880,31 @@ ${xD}`
|
|
|
170865
170880
|
return this.name = s.name !== void 0 ? s.name : e.name, this.codeName = s.codeName !== void 0 ? s.codeName : e.codeName, this.description = s.description !== void 0 ? s.description : e.description, this.abstract = s.abstract !== void 0 ? s.abstract : e.abstract, this.private = s.private !== void 0 ? s.private : e.private, this.index = s.index || (s.index !== 0 ? e.index : 0), this.static = s.static !== void 0 ? s.static : e.static, this.hidden = s.hidden !== void 0 ? s.hidden : e.hidden, this.constant = s.constant !== void 0 ? s.constant : e.constant, this.interactive = s.interactive !== void 0 ? s.interactive : e.interactive, this.required = s.required !== void 0 ? s.required : e.required, this.unique = s.unique !== void 0 ? s.unique : e.unique, super.baseMetaSync(s, this, n), s.deleted === !0 && !e.deleted ? n == null || n.add(this, H.Removed) : s.deleted === !1 && e.deleted ? n == null || n.add(this, H.Added) : c && (n == null || n.add(this, H.Updated)), n == null || n.attemptAutoclose("meta-sync", this.id), this;
|
|
170866
170881
|
}
|
|
170867
170882
|
async APILoad(i = Ue, ...n) {
|
|
170868
|
-
return await
|
|
170883
|
+
return await ii.repository.APILoad(this.id, ...n), this;
|
|
170869
170884
|
}
|
|
170870
170885
|
async APICreate(i = Ue, ...n) {
|
|
170871
|
-
return await
|
|
170886
|
+
return await ii.repository.APICreate(
|
|
170872
170887
|
this.toShallowJSON(),
|
|
170873
170888
|
...n
|
|
170874
170889
|
), this;
|
|
170875
170890
|
}
|
|
170876
170891
|
async APIUpdate(i = Ue, ...n) {
|
|
170877
|
-
return await
|
|
170892
|
+
return await ii.repository.APIUpdate(
|
|
170878
170893
|
this.toShallowJSON(),
|
|
170879
170894
|
...n
|
|
170880
170895
|
), this;
|
|
170881
170896
|
}
|
|
170882
170897
|
async APIDelete(i = Ue, ...n) {
|
|
170883
|
-
return await
|
|
170898
|
+
return await ii.repository.APIDelete(
|
|
170884
170899
|
this.toShallowJSON(),
|
|
170885
170900
|
...n
|
|
170886
170901
|
), this;
|
|
170887
170902
|
}
|
|
170888
170903
|
async APIClone(i = Ue, ...n) {
|
|
170889
|
-
return await
|
|
170904
|
+
return await ii.repository.APIClone(this.id, ...n), this;
|
|
170890
170905
|
}
|
|
170891
170906
|
async APILoadVersion(i = Ue, n, ...s) {
|
|
170892
|
-
return await
|
|
170907
|
+
return await ii.repository.APILoadVersion(
|
|
170893
170908
|
this.id,
|
|
170894
170909
|
n,
|
|
170895
170910
|
...s
|
|
@@ -171336,7 +171351,7 @@ ${xD}`
|
|
|
171336
171351
|
)
|
|
171337
171352
|
), s = null) {
|
|
171338
171353
|
var v;
|
|
171339
|
-
const c = s || x.UUID.uuid(), e =
|
|
171354
|
+
const c = s || x.UUID.uuid(), e = ii.new(n);
|
|
171340
171355
|
e.id = c, e.name = this.name, e.description = this.description, e.index = this.index, e.private = this.private, e.required = this.required, e.static = this.static, e.constant = this.constant, e.unique = this.unique, e.hidden = this.hidden, e.interactive = this.interactive, e.parent = i.toReference(), e.implements = [this.toJSON()];
|
|
171341
171356
|
const y = ye(
|
|
171342
171357
|
e,
|
|
@@ -171734,7 +171749,7 @@ ${xD}`
|
|
|
171734
171749
|
return i == null || i.attemptAutoclose("implement-as-return-declaration", this.id), e;
|
|
171735
171750
|
}
|
|
171736
171751
|
};
|
|
171737
|
-
I(
|
|
171752
|
+
I(ii, "repository", {
|
|
171738
171753
|
APICreate: async (i, ...n) => i,
|
|
171739
171754
|
APIUpdate: async (i, ...n) => i,
|
|
171740
171755
|
APIDelete: async (i, ...n) => i,
|
|
@@ -171742,13 +171757,13 @@ I(ti, "repository", {
|
|
|
171742
171757
|
},
|
|
171743
171758
|
APILoad: async (i, ...n) => null,
|
|
171744
171759
|
APILoadVersion: async (i, n, ...s) => null
|
|
171745
|
-
}), I(
|
|
171760
|
+
}), I(ii, "type", d.Property), I(ii, "USER_MANAGED_PARENT_TYPES", [
|
|
171746
171761
|
d.DefinitionEntity
|
|
171747
|
-
]), I(
|
|
171748
|
-
...
|
|
171762
|
+
]), I(ii, "PARENT_TYPES", [
|
|
171763
|
+
...ii.USER_MANAGED_PARENT_TYPES,
|
|
171749
171764
|
d.PrimitiveEntity,
|
|
171750
171765
|
d.BuiltInBaseEntity
|
|
171751
|
-
]), I(
|
|
171766
|
+
]), I(ii, "MUTABLE_BASE_PROPERTIES", [
|
|
171752
171767
|
"name",
|
|
171753
171768
|
"codeName",
|
|
171754
171769
|
"description",
|
|
@@ -171759,40 +171774,40 @@ I(ti, "repository", {
|
|
|
171759
171774
|
"constant",
|
|
171760
171775
|
"unique",
|
|
171761
171776
|
"interactive"
|
|
171762
|
-
]), I(
|
|
171777
|
+
]), I(ii, "INMUTABLE_BASE_PROPERTIES", [
|
|
171763
171778
|
"id",
|
|
171764
171779
|
"type",
|
|
171765
171780
|
"version",
|
|
171766
171781
|
"createdAt",
|
|
171767
171782
|
"author",
|
|
171768
171783
|
"previousVersion"
|
|
171769
|
-
]), I(
|
|
171770
|
-
...
|
|
171771
|
-
...
|
|
171784
|
+
]), I(ii, "BASE_PROPERTIES", [
|
|
171785
|
+
...ii.MUTABLE_BASE_PROPERTIES,
|
|
171786
|
+
...ii.INMUTABLE_BASE_PROPERTIES
|
|
171772
171787
|
]), // Includes the base properties and the meta properties
|
|
171773
171788
|
// Often contains properties related to UX, not necessary for the logic
|
|
171774
|
-
I(
|
|
171775
|
-
...
|
|
171789
|
+
I(ii, "MUTABLE_META_PROPERTIES", [
|
|
171790
|
+
...ii.MUTABLE_BASE_PROPERTIES,
|
|
171776
171791
|
"index"
|
|
171777
|
-
]), I(
|
|
171778
|
-
...
|
|
171779
|
-
]), I(
|
|
171780
|
-
...
|
|
171781
|
-
...
|
|
171792
|
+
]), I(ii, "INMUTABLE_META_PROPERTIES", [
|
|
171793
|
+
...ii.INMUTABLE_BASE_PROPERTIES
|
|
171794
|
+
]), I(ii, "META_PROPERTIES", [
|
|
171795
|
+
...ii.MUTABLE_META_PROPERTIES,
|
|
171796
|
+
...ii.INMUTABLE_META_PROPERTIES
|
|
171782
171797
|
]), // Properties pointing to nested entities that are declared before the entity itself
|
|
171783
|
-
I(
|
|
171784
|
-
...
|
|
171785
|
-
...
|
|
171798
|
+
I(ii, "MUTABLE_UPSTREAM_PROPERTIES", []), I(ii, "INMUTABLE_UPSTREAM_PROPERTIES", ["parent", "implements", "extends"]), I(ii, "UPSTREAM_PROPERTIES", [
|
|
171799
|
+
...ii.MUTABLE_UPSTREAM_PROPERTIES,
|
|
171800
|
+
...ii.INMUTABLE_UPSTREAM_PROPERTIES
|
|
171786
171801
|
]), // Properties pointing to nested entities that are declared after the entity itself or are direct children
|
|
171787
|
-
I(
|
|
171788
|
-
...
|
|
171789
|
-
...
|
|
171790
|
-
]), I(
|
|
171791
|
-
...
|
|
171792
|
-
...
|
|
171793
|
-
...
|
|
171802
|
+
I(ii, "MUTABLE_DOWNSTREAM_PROPERTIES", ["dataType"]), I(ii, "INMUTABLE_DOWNSTREAM_PROPERTIES", []), I(ii, "DOWNSTREAM_PROPERTIES", [
|
|
171803
|
+
...ii.MUTABLE_DOWNSTREAM_PROPERTIES,
|
|
171804
|
+
...ii.INMUTABLE_DOWNSTREAM_PROPERTIES
|
|
171805
|
+
]), I(ii, "PROPERTIES", [
|
|
171806
|
+
...ii.META_PROPERTIES,
|
|
171807
|
+
...ii.UPSTREAM_PROPERTIES,
|
|
171808
|
+
...ii.DOWNSTREAM_PROPERTIES
|
|
171794
171809
|
]);
|
|
171795
|
-
let ns =
|
|
171810
|
+
let ns = ii;
|
|
171796
171811
|
async function u3(o, p = {}) {
|
|
171797
171812
|
var b, E;
|
|
171798
171813
|
const i = Ke.from(p), n = o.implements.flatMap(
|
|
@@ -172653,7 +172668,7 @@ function Bbi(o, p) {
|
|
|
172653
172668
|
}), i;
|
|
172654
172669
|
}
|
|
172655
172670
|
var $D = /* @__PURE__ */ ((o) => (o.Extends = "extends", o.Implements = "implements", o))($D || {});
|
|
172656
|
-
const
|
|
172671
|
+
const Ei = class Ei extends Gr {
|
|
172657
172672
|
constructor(i, n) {
|
|
172658
172673
|
super(i);
|
|
172659
172674
|
I(this, "initialData");
|
|
@@ -173122,7 +173137,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
173122
173137
|
// And adds it to the 'knownVersions' map
|
|
173123
173138
|
captureVersion() {
|
|
173124
173139
|
var n;
|
|
173125
|
-
const i = ((n = this.knownVersions) == null ? void 0 : n.get(this.version)) || new
|
|
173140
|
+
const i = ((n = this.knownVersions) == null ? void 0 : n.get(this.version)) || new Ei(this, this.project);
|
|
173126
173141
|
return i.metaSync(this.toMeta(), null), this.knownVersions = this.knownVersions ? this.knownVersions.set(this.version, i) : /* @__PURE__ */ new Map([[this.version, i]]), i.properties = [...this.properties], i.methods = [...this.methods], i.abstractMethods = [...this.abstractMethods], i.extends = this.extends, i.implements = [...this.implements], i.allPropertiesImplement = this.allPropertiesImplement, i.additionalPropertiesDataType = this.additionalPropertiesDataType, i.parent = this.parent, this;
|
|
173127
173142
|
}
|
|
173128
173143
|
// Traverses upstream entities and captures their versions as well
|
|
@@ -173189,7 +173204,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
173189
173204
|
throw new Error(
|
|
173190
173205
|
`Version with id '${i}' for entity with id '${this.id}' not found.`
|
|
173191
173206
|
);
|
|
173192
|
-
y = new
|
|
173207
|
+
y = new Ei(
|
|
173193
173208
|
v,
|
|
173194
173209
|
this.project
|
|
173195
173210
|
);
|
|
@@ -174026,31 +174041,31 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
174026
174041
|
return this.name = s.name !== void 0 ? s.name : e.name, this.codeName = s.codeName !== void 0 ? s.codeName : e.codeName, this.description = s.description !== void 0 ? s.description : e.description, this.x = s.x || e.x, this.y = s.y || e.y, this.static = s.static !== void 0 ? s.static : this.static, this.abstract = s.abstract !== void 0 ? s.abstract : this.abstract, this.additionalProperties = s.additionalProperties !== void 0 ? s.additionalProperties : e.additionalProperties, super.baseMetaSync(s, this, n), s.deleted === !0 && !e.deleted ? n == null || n.add(this, H.Removed) : s.deleted === !1 && e.deleted ? n == null || n.add(this, H.Added) : c && (n == null || n.add(this, H.Updated)), n == null || n.attemptAutoclose("meta-sync", this.id), this;
|
|
174027
174042
|
}
|
|
174028
174043
|
async APILoad(i = Ue, ...n) {
|
|
174029
|
-
return await
|
|
174044
|
+
return await Ei.repository.APILoad(this.id, ...n), this;
|
|
174030
174045
|
}
|
|
174031
174046
|
async APICreate(i = Ue, ...n) {
|
|
174032
|
-
return await
|
|
174047
|
+
return await Ei.repository.APICreate(
|
|
174033
174048
|
this.toShallowJSON(),
|
|
174034
174049
|
...n
|
|
174035
174050
|
), this;
|
|
174036
174051
|
}
|
|
174037
174052
|
async APIUpdate(i = Ue, ...n) {
|
|
174038
|
-
return await
|
|
174053
|
+
return await Ei.repository.APIUpdate(
|
|
174039
174054
|
this.toShallowJSON(),
|
|
174040
174055
|
...n
|
|
174041
174056
|
), this;
|
|
174042
174057
|
}
|
|
174043
174058
|
async APIDelete(i = Ue, ...n) {
|
|
174044
|
-
return await
|
|
174059
|
+
return await Ei.repository.APIDelete(
|
|
174045
174060
|
this.toShallowJSON(),
|
|
174046
174061
|
...n
|
|
174047
174062
|
), this;
|
|
174048
174063
|
}
|
|
174049
174064
|
async APIClone(i = Ue, ...n) {
|
|
174050
|
-
return await
|
|
174065
|
+
return await Ei.repository.APIClone(this.id, ...n), this;
|
|
174051
174066
|
}
|
|
174052
174067
|
async APILoadVersion(i = Ue, n, ...s) {
|
|
174053
|
-
return await
|
|
174068
|
+
return await Ei.repository.APILoadVersion(
|
|
174054
174069
|
this.id,
|
|
174055
174070
|
n,
|
|
174056
174071
|
...s
|
|
@@ -174973,7 +174988,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
174973
174988
|
), this);
|
|
174974
174989
|
}
|
|
174975
174990
|
};
|
|
174976
|
-
I(
|
|
174991
|
+
I(Ei, "repository", {
|
|
174977
174992
|
APICreate: async (i, ...n) => i,
|
|
174978
174993
|
APIUpdate: async (i, ...n) => i,
|
|
174979
174994
|
APIDelete: async (i, ...n) => i,
|
|
@@ -174981,59 +174996,59 @@ I(bi, "repository", {
|
|
|
174981
174996
|
},
|
|
174982
174997
|
APILoad: async (i, ...n) => null,
|
|
174983
174998
|
APILoadVersion: async (i, n, ...s) => null
|
|
174984
|
-
}), I(
|
|
174999
|
+
}), I(Ei, "type", d.DefinitionEntity), I(Ei, "USER_MANAGED_PARENT_TYPES", [
|
|
174985
175000
|
d.Project,
|
|
174986
175001
|
d.DataType
|
|
174987
|
-
]), I(
|
|
174988
|
-
...
|
|
174989
|
-
]), I(
|
|
175002
|
+
]), I(Ei, "PARENT_TYPES", [
|
|
175003
|
+
...Ei.USER_MANAGED_PARENT_TYPES
|
|
175004
|
+
]), I(Ei, "MUTABLE_BASE_PROPERTIES", [
|
|
174990
175005
|
"name",
|
|
174991
175006
|
"codeName",
|
|
174992
175007
|
"description",
|
|
174993
175008
|
"static",
|
|
174994
175009
|
"abstract",
|
|
174995
175010
|
"additionalProperties"
|
|
174996
|
-
]), I(
|
|
175011
|
+
]), I(Ei, "INMUTABLE_BASE_PROPERTIES", [
|
|
174997
175012
|
"id",
|
|
174998
175013
|
"type",
|
|
174999
175014
|
"version",
|
|
175000
175015
|
"createdAt",
|
|
175001
175016
|
"author",
|
|
175002
175017
|
"previousVersion"
|
|
175003
|
-
]), I(
|
|
175004
|
-
...
|
|
175005
|
-
...
|
|
175018
|
+
]), I(Ei, "BASE_PROPERTIES", [
|
|
175019
|
+
...Ei.MUTABLE_BASE_PROPERTIES,
|
|
175020
|
+
...Ei.INMUTABLE_BASE_PROPERTIES
|
|
175006
175021
|
]), // Includes the base properties and the meta properties
|
|
175007
175022
|
// Often contains properties related to UX, not necessary for the logic
|
|
175008
|
-
I(
|
|
175009
|
-
...
|
|
175023
|
+
I(Ei, "MUTABLE_META_PROPERTIES", [
|
|
175024
|
+
...Ei.MUTABLE_BASE_PROPERTIES,
|
|
175010
175025
|
"x",
|
|
175011
175026
|
"y"
|
|
175012
|
-
]), I(
|
|
175013
|
-
...
|
|
175014
|
-
]), I(
|
|
175015
|
-
...
|
|
175016
|
-
...
|
|
175027
|
+
]), I(Ei, "INMUTABLE_META_PROPERTIES", [
|
|
175028
|
+
...Ei.INMUTABLE_BASE_PROPERTIES
|
|
175029
|
+
]), I(Ei, "META_PROPERTIES", [
|
|
175030
|
+
...Ei.MUTABLE_META_PROPERTIES,
|
|
175031
|
+
...Ei.INMUTABLE_META_PROPERTIES
|
|
175017
175032
|
]), // Properties pointing to nested entities that are declared before the entity itself
|
|
175018
|
-
I(
|
|
175019
|
-
...
|
|
175020
|
-
...
|
|
175033
|
+
I(Ei, "MUTABLE_UPSTREAM_PROPERTIES", ["extends", "implements"]), I(Ei, "INMUTABLE_UPSTREAM_PROPERTIES", ["parent"]), I(Ei, "UPSTREAM_PROPERTIES", [
|
|
175034
|
+
...Ei.MUTABLE_UPSTREAM_PROPERTIES,
|
|
175035
|
+
...Ei.INMUTABLE_UPSTREAM_PROPERTIES
|
|
175021
175036
|
]), // Properties pointing to nested entities that are declared after the entity itself or are direct children
|
|
175022
|
-
I(
|
|
175037
|
+
I(Ei, "MUTABLE_DOWNSTREAM_PROPERTIES", [
|
|
175023
175038
|
"properties",
|
|
175024
175039
|
"methods",
|
|
175025
175040
|
"abstractMethods",
|
|
175026
175041
|
"allPropertiesImplement",
|
|
175027
175042
|
"additionalPropertiesDataType"
|
|
175028
|
-
]), I(
|
|
175029
|
-
...
|
|
175030
|
-
...
|
|
175031
|
-
]), I(
|
|
175032
|
-
...
|
|
175033
|
-
...
|
|
175034
|
-
...
|
|
175043
|
+
]), I(Ei, "INMUTABLE_DOWNSTREAM_PROPERTIES", []), I(Ei, "DOWNSTREAM_PROPERTIES", [
|
|
175044
|
+
...Ei.MUTABLE_DOWNSTREAM_PROPERTIES,
|
|
175045
|
+
...Ei.INMUTABLE_DOWNSTREAM_PROPERTIES
|
|
175046
|
+
]), I(Ei, "PROPERTIES", [
|
|
175047
|
+
...Ei.META_PROPERTIES,
|
|
175048
|
+
...Ei.UPSTREAM_PROPERTIES,
|
|
175049
|
+
...Ei.DOWNSTREAM_PROPERTIES
|
|
175035
175050
|
]);
|
|
175036
|
-
let Ls =
|
|
175051
|
+
let Ls = Ei;
|
|
175037
175052
|
async function kbi(o, p = {}) {
|
|
175038
175053
|
const i = Ke.from(p), n = [], s = Bt(o.errors, n);
|
|
175039
175054
|
return await i.tick(), s;
|
|
@@ -175617,7 +175632,7 @@ class zA {
|
|
|
175617
175632
|
}
|
|
175618
175633
|
class mji {
|
|
175619
175634
|
}
|
|
175620
|
-
var
|
|
175635
|
+
var Yt = /* @__PURE__ */ ((o) => (o.PROJECT_INITIALIZED = "project-initialized", o.BEFORE_CHANGE_SET_CLOSE_BEFORE_SIDE_EFFECTS = "before-change-set-close-before-side-effects", o.BEFORE_CHANGE_SET_CLOSE_AFTER_SIDE_EFFECTS = "before-change-set-close-after-side-effects", o.CHANGE_SET_CLOSED_BEFORE_PERSIST = "change-set-closed-before-persist", o.CHANGE_SET_PERSISTED = "change-set-persisted", o.BEFORE_CHANGE_SET_PERSIST = "before-change-set-persist", o.EXPLICIT_DEFINITION_ENTITY_ADDED = "explicit-definition-entity-added", o.EXPLICIT_DEFINITION_ENTITY_REMOVED = "explicit-definition-entity-removed", o.EXPLICIT_DEFINITION_ENTITY_UPDATED = "explicit-definition-entity-updated", o.PERSISTED_DEFINITION_ENTITY_ADDED = "persisted-definition-entity-added", o.PERSISTED_DEFINITION_ENTITY_REMOVED = "persisted-definition-entity-removed", o.PERSISTED_DEFINITION_ENTITY_UPDATED = "persisted-definition-entity-updated", o.RELATIONAL_DATABASE_DEFINITION_ENTITY_ADDED = "relational-database-definition-entity-added", o.RELATIONAL_DATABASE_DEFINITION_ENTITY_REMOVED = "relational-database-definition-entity-removed", o.RELATIONAL_DATABASE_DEFINITION_ENTITY_UPDATED = "relational-database-definition-entity-updated", o))(Yt || {});
|
|
175621
175636
|
const b3 = {
|
|
175622
175637
|
...Vj,
|
|
175623
175638
|
events: new qf("def-proj-static-p-ctx-events")
|
|
@@ -178719,7 +178734,11 @@ function tEi(o, p = {
|
|
|
178719
178734
|
$.remove({ ignoreUpstream: !0 }, null);
|
|
178720
178735
|
}), m.instancesList.forEach((V) => {
|
|
178721
178736
|
V.previousVersion = null;
|
|
178722
|
-
}), m.initialized = !0,
|
|
178737
|
+
}), m.initialized = !0, m.emit(
|
|
178738
|
+
Yt.PROJECT_INITIALIZED,
|
|
178739
|
+
m,
|
|
178740
|
+
w
|
|
178741
|
+
), w == null || w.attemptAutoclose(
|
|
178723
178742
|
"project-init-from-fetch-result",
|
|
178724
178743
|
m.id
|
|
178725
178744
|
), m;
|
|
@@ -178808,7 +178827,11 @@ async function Aji(o, p = {
|
|
|
178808
178827
|
let L = 0;
|
|
178809
178828
|
for (const U of v.instancesList)
|
|
178810
178829
|
U.previousVersion = null, ++L % e === 0 && await Fp();
|
|
178811
|
-
return v.initialized = !0,
|
|
178830
|
+
return v.initialized = !0, v.emit(
|
|
178831
|
+
Yt.PROJECT_INITIALIZED,
|
|
178832
|
+
v,
|
|
178833
|
+
$
|
|
178834
|
+
), $ == null || $.attemptAutoclose(
|
|
178812
178835
|
"project-init-from-fetch-result",
|
|
178813
178836
|
v.id
|
|
178814
178837
|
), v;
|
|
@@ -179140,7 +179163,11 @@ function rEi(o, {
|
|
|
179140
179163
|
allBuiltInEntityIds: s.diggestedBuiltInBaseEntitiesIds
|
|
179141
179164
|
}).visit((b) => {
|
|
179142
179165
|
b.initialized = !0, b.captureVersion();
|
|
179143
|
-
})), s.initialized = !0,
|
|
179166
|
+
})), s.initialized = !0, s.emit(
|
|
179167
|
+
Yt.PROJECT_INITIALIZED,
|
|
179168
|
+
s,
|
|
179169
|
+
e
|
|
179170
|
+
), e == null || e.attemptAutoclose("project-init", s.id), s;
|
|
179144
179171
|
}
|
|
179145
179172
|
async function Rji(o, {
|
|
179146
179173
|
enrich: p,
|
|
@@ -179206,7 +179233,11 @@ async function Rji(o, {
|
|
|
179206
179233
|
{ yieldEvery: n }
|
|
179207
179234
|
);
|
|
179208
179235
|
}
|
|
179209
|
-
return c.initialized = !0,
|
|
179236
|
+
return c.initialized = !0, c.emit(
|
|
179237
|
+
Yt.PROJECT_INITIALIZED,
|
|
179238
|
+
c,
|
|
179239
|
+
y
|
|
179240
|
+
), y == null || y.attemptAutoclose("project-init", c.id), c;
|
|
179210
179241
|
}
|
|
179211
179242
|
async function Dji(o, p = bE, i) {
|
|
179212
179243
|
const n = {
|
|
@@ -182044,7 +182075,7 @@ function Hp(o, p) {
|
|
|
182044
182075
|
return {
|
|
182045
182076
|
list: i.flatMap((e) => {
|
|
182046
182077
|
if (e === p)
|
|
182047
|
-
return n = e,
|
|
182078
|
+
return n = e, Qt.includes(e.type) ? e.parent.type === d.Loop ? s = "loop-body" : s = "entry" : e.successCalls.includes(o) ? s = "success" : e.errorCalls.includes(o) && (s = "error"), [e];
|
|
182048
182079
|
if (e.type === d.FunctionDeclaration && e.parent.type === d.Loop && e.parent === p)
|
|
182049
182080
|
return n = e.parent, s = "loop-body", [e];
|
|
182050
182081
|
if (!zr.includes(e.type))
|
|
@@ -182068,7 +182099,7 @@ function Oji(o, p) {
|
|
|
182068
182099
|
(s) => s.callee === p
|
|
182069
182100
|
))
|
|
182070
182101
|
return null;
|
|
182071
|
-
if (
|
|
182102
|
+
if (Qt.includes(o.type)) {
|
|
182072
182103
|
if (o.calls.includes(p))
|
|
182073
182104
|
return o.type === d.Loop ? "loop-body" : "entry";
|
|
182074
182105
|
} else if (Ii.includes(o.type) && o.type !== d.InternalCall) {
|
|
@@ -182081,7 +182112,7 @@ function Oji(o, p) {
|
|
|
182081
182112
|
}
|
|
182082
182113
|
function EE(o) {
|
|
182083
182114
|
const p = Tn(o, o.project);
|
|
182084
|
-
return p ?
|
|
182115
|
+
return p ? Qt.includes(p.type) ? p : p.type === d.Loop ? p.body : null : null;
|
|
182085
182116
|
}
|
|
182086
182117
|
function sAi(o, p) {
|
|
182087
182118
|
const i = o.calledBy;
|
|
@@ -182145,7 +182176,7 @@ function oAi(o) {
|
|
|
182145
182176
|
ancestor: c,
|
|
182146
182177
|
callType: "loop-body"
|
|
182147
182178
|
};
|
|
182148
|
-
} else if (
|
|
182179
|
+
} else if (Qt.includes(c.type)) {
|
|
182149
182180
|
if (c.calls.includes(o))
|
|
182150
182181
|
return c.type === d.FunctionDeclaration && c.parent.type === d.Loop ? {
|
|
182151
182182
|
ancestor: c,
|
|
@@ -182440,7 +182471,7 @@ function Gf(o, p, i = !1) {
|
|
|
182440
182471
|
ancestor: q,
|
|
182441
182472
|
callType: "loop-body"
|
|
182442
182473
|
};
|
|
182443
|
-
if (
|
|
182474
|
+
if (Qt.includes(q.type))
|
|
182444
182475
|
return q.type === d.FunctionDeclaration && q.parent.type === d.Loop ? {
|
|
182445
182476
|
ancestor: q.parent,
|
|
182446
182477
|
callType: "loop-body"
|
|
@@ -182488,7 +182519,7 @@ function Gf(o, p, i = !1) {
|
|
|
182488
182519
|
ancestor: c,
|
|
182489
182520
|
callType: "loop-body"
|
|
182490
182521
|
};
|
|
182491
|
-
} else if (
|
|
182522
|
+
} else if (Qt.includes(c.type)) {
|
|
182492
182523
|
if (c.calls.includes(n))
|
|
182493
182524
|
return c.type === d.FunctionDeclaration && c.parent.type === d.Loop ? {
|
|
182494
182525
|
ancestor: c.parent,
|
|
@@ -182546,7 +182577,7 @@ function Gf(o, p, i = !1) {
|
|
|
182546
182577
|
const w = E.filter(
|
|
182547
182578
|
(q) => {
|
|
182548
182579
|
const Y = E.filter((ae) => ae !== q).map((ae) => ae.callee);
|
|
182549
|
-
return
|
|
182580
|
+
return Qt.includes(q.callee.type) && q.callee.calls.length === 1 && Y.find(
|
|
182550
182581
|
(ae) => ae === q.callee.calls[0]
|
|
182551
182582
|
) || Ii.includes(q.callee.type) && q.callee.successCalls.length === 1 && Y.find(
|
|
182552
182583
|
(ae) => {
|
|
@@ -182581,7 +182612,7 @@ function Gf(o, p, i = !1) {
|
|
|
182581
182612
|
callType: "loop-body"
|
|
182582
182613
|
};
|
|
182583
182614
|
} else {
|
|
182584
|
-
if (
|
|
182615
|
+
if (Qt.includes(q.callee.type))
|
|
182585
182616
|
return q.callee.type === d.FunctionDeclaration && q.callee.parent.type === d.Loop ? {
|
|
182586
182617
|
ancestor: q.callee.parent,
|
|
182587
182618
|
callType: "loop-body"
|
|
@@ -182676,7 +182707,7 @@ function _ji(o) {
|
|
|
182676
182707
|
);
|
|
182677
182708
|
if (n.length === 1) {
|
|
182678
182709
|
const y = n[0];
|
|
182679
|
-
if (
|
|
182710
|
+
if (Qt.includes(y.type))
|
|
182680
182711
|
return y.parent.type === d.Loop ? {
|
|
182681
182712
|
ancestor: y.parent,
|
|
182682
182713
|
callType: "loop-body"
|
|
@@ -182710,7 +182741,7 @@ function _ji(o) {
|
|
|
182710
182741
|
}
|
|
182711
182742
|
const s = n.map((y) => {
|
|
182712
182743
|
var v;
|
|
182713
|
-
if (
|
|
182744
|
+
if (Qt.includes(y.type))
|
|
182714
182745
|
return y.parent.type === d.Loop ? {
|
|
182715
182746
|
ancestor: y.parent,
|
|
182716
182747
|
callType: "loop-body"
|
|
@@ -182794,7 +182825,7 @@ function uAi(o, p) {
|
|
|
182794
182825
|
if (Ct(o).includes(p) || !Ct(p).includes(o))
|
|
182795
182826
|
return !1;
|
|
182796
182827
|
const s = o.calledBy;
|
|
182797
|
-
return s.length === 0 ? !1 : s.length === 1 ? s[0] === p : lAi(s).length > 1 && s.includes(p) ? !1 : s.every((e) => o === p ? !0 :
|
|
182828
|
+
return s.length === 0 ? !1 : s.length === 1 ? s[0] === p : lAi(s).length > 1 && s.includes(p) ? !1 : s.every((e) => o === p ? !0 : Qt.includes(e.type) ? !1 : uAi(
|
|
182798
182829
|
e,
|
|
182799
182830
|
p
|
|
182800
182831
|
));
|
|
@@ -183250,7 +183281,7 @@ function hl(o) {
|
|
|
183250
183281
|
};
|
|
183251
183282
|
});
|
|
183252
183283
|
}
|
|
183253
|
-
if (
|
|
183284
|
+
if (Qt.includes(o.type)) {
|
|
183254
183285
|
const p = [
|
|
183255
183286
|
...Nn(o.calls).map(
|
|
183256
183287
|
(s) => o.parent.type === d.Loop ? {
|
|
@@ -183344,7 +183375,7 @@ function e_(o) {
|
|
|
183344
183375
|
...od(
|
|
183345
183376
|
o.errorCalls
|
|
183346
183377
|
)
|
|
183347
|
-
] :
|
|
183378
|
+
] : Qt.includes(o.type) ? od(
|
|
183348
183379
|
o.calls
|
|
183349
183380
|
) : [];
|
|
183350
183381
|
}
|
|
@@ -183392,7 +183423,7 @@ function Ct(o) {
|
|
|
183392
183423
|
]) : Ii.includes(o.type) ? D([
|
|
183393
183424
|
...Nn(o.successCalls),
|
|
183394
183425
|
...Nn(o.errorCalls)
|
|
183395
|
-
]) :
|
|
183426
|
+
]) : Qt.includes(o.type) ? D(
|
|
183396
183427
|
Nn(o.calls)
|
|
183397
183428
|
) : [];
|
|
183398
183429
|
}
|
|
@@ -183421,7 +183452,7 @@ async function N3(o, p = {}) {
|
|
|
183421
183452
|
})
|
|
183422
183453
|
],
|
|
183423
183454
|
{ tracker: i }
|
|
183424
|
-
) :
|
|
183455
|
+
) : Qt.includes(o.type) ? await Wp(
|
|
183425
183456
|
await rm(o.calls, {
|
|
183426
183457
|
tracker: i
|
|
183427
183458
|
})
|
|
@@ -183431,7 +183462,7 @@ function Mji(o) {
|
|
|
183431
183462
|
return Ii.includes(o.type) ? [
|
|
183432
183463
|
...Nn(o.successCalls),
|
|
183433
183464
|
...Nn(o.errorCalls)
|
|
183434
|
-
] :
|
|
183465
|
+
] : Qt.includes(o.type) ? Nn(o.calls) : [];
|
|
183435
183466
|
}
|
|
183436
183467
|
function gAi(o, p = /* @__PURE__ */ new Set()) {
|
|
183437
183468
|
return o.writesValues.filter(
|
|
@@ -184737,7 +184768,7 @@ function k3(o) {
|
|
|
184737
184768
|
}
|
|
184738
184769
|
function MAi(o) {
|
|
184739
184770
|
if ([
|
|
184740
|
-
...
|
|
184771
|
+
...Qt,
|
|
184741
184772
|
d.DefinitionEntity,
|
|
184742
184773
|
d.InstalledProject,
|
|
184743
184774
|
d.Project
|
|
@@ -184750,7 +184781,7 @@ function MAi(o) {
|
|
|
184750
184781
|
}
|
|
184751
184782
|
function U3(o) {
|
|
184752
184783
|
return [
|
|
184753
|
-
...
|
|
184784
|
+
...Qt,
|
|
184754
184785
|
d.DefinitionEntity,
|
|
184755
184786
|
d.InstalledProject,
|
|
184756
184787
|
d.Project
|
|
@@ -184857,7 +184888,7 @@ function Tn(o, p, i = null) {
|
|
|
184857
184888
|
return un(o, p, c);
|
|
184858
184889
|
if (o.type === d.FunctionDeclaration && (s == null ? void 0 : s.type) === d.Loop)
|
|
184859
184890
|
return s;
|
|
184860
|
-
if (
|
|
184891
|
+
if (Qt.includes(o.type))
|
|
184861
184892
|
return o;
|
|
184862
184893
|
if (o.type === d.Loop)
|
|
184863
184894
|
return c.id === o.id ? s : o;
|
|
@@ -184884,7 +184915,7 @@ function un(o, p, i = null) {
|
|
|
184884
184915
|
p,
|
|
184885
184916
|
c
|
|
184886
184917
|
);
|
|
184887
|
-
if (
|
|
184918
|
+
if (Qt.includes(o.type))
|
|
184888
184919
|
return o;
|
|
184889
184920
|
if (ta.includes(o.type))
|
|
184890
184921
|
return null;
|
|
@@ -202752,7 +202783,7 @@ export {
|
|
|
202752
202783
|
XBi as ENTITY_WITH_USER_MANAGED_SINGLE_IMPLEMENTS_TYPES,
|
|
202753
202784
|
SWe as ENTITY_WITH_VALUE_TYPES,
|
|
202754
202785
|
qA as ENTRY_POINT_ENTITIES_EXPLANATION,
|
|
202755
|
-
|
|
202786
|
+
Qt as ENTRY_POINT_TYPES,
|
|
202756
202787
|
UR as ERROR_PROPERTY_HEIGHT,
|
|
202757
202788
|
hu as EVENT_TYPES,
|
|
202758
202789
|
uM as EXECUTABLE_TYPES,
|
|
@@ -202782,7 +202813,7 @@ export {
|
|
|
202782
202813
|
f7t as ExternalIntegrationAliasMaps,
|
|
202783
202814
|
w4 as ExternalIntegrationAliasProviders,
|
|
202784
202815
|
Pr as ExternalIntegrationNames,
|
|
202785
|
-
|
|
202816
|
+
ri as ExternalIntegrationOperations,
|
|
202786
202817
|
D4 as ExternalIntegrationRootProviders,
|
|
202787
202818
|
wbi as FORBIDDEN_KEYWORDS,
|
|
202788
202819
|
yU as FunctionCallDependencyField,
|
|
@@ -203091,7 +203122,7 @@ export {
|
|
|
203091
203122
|
Va as PrimitiveEntityState,
|
|
203092
203123
|
oe as PrimitiveTypes,
|
|
203093
203124
|
x as ProjectState,
|
|
203094
|
-
|
|
203125
|
+
Yt as ProjectStateEvents,
|
|
203095
203126
|
Pbi as PropertyDependencyField,
|
|
203096
203127
|
Bf as PropertyParentChildRelation,
|
|
203097
203128
|
ns as PropertyState,
|