@nxtedition/types 23.1.8 → 23.1.9

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.
@@ -8836,149 +8836,1215 @@ function _assertDomainRecord(domain, input) {
8836
8836
  return input;
8837
8837
  }; })()(input);
8838
8838
  }
8839
+ case ":template": {
8840
+ return (() => { const _io0 = input => (undefined === input.source || "string" === typeof input.source) && (undefined === input.controller || "string" === typeof input.controller) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.mixin || Array.isArray(input.mixin) && input.mixin.every(elem => "string" === typeof elem)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)); const _io1 = input => Object.keys(input).every(key => {
8841
+ const value = input[key];
8842
+ if (undefined === value)
8843
+ return true;
8844
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
8845
+ }); const _io2 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io3(input.render)) && (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io6(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io7(input.properties)) && true && true && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io8(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true; const _io3 = input => "image" === input.type && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) && _io4(input.profile)); const _io4 = input => (undefined === input.format || "string" === typeof input.format) && (undefined === input.video || "object" === typeof input.video && null !== input.video && _io5(input.video)); const _io5 = input => "number" === typeof input.width && "number" === typeof input.height && "cover" === input.fit; const _io6 = input => (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io6(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io7(input.properties)) && true && true && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io8(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true; const _io7 = input => Object.keys(input).every(key => {
8846
+ const value = input[key];
8847
+ if (undefined === value)
8848
+ return true;
8849
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
8850
+ }); const _io8 = input => (undefined === input.type || "string" === typeof input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && Object.keys(input).every(key => {
8851
+ if (["type", "readOnly"].some(prop => key === prop))
8852
+ return true;
8853
+ const value = input[key];
8854
+ if (undefined === value)
8855
+ return true;
8856
+ return true;
8857
+ }); const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.source || "string" === typeof input.source || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8858
+ method: "typia.assert",
8859
+ path: _path + ".source",
8860
+ expected: "(string | undefined)",
8861
+ value: input.source
8862
+ }, _errorFactory)) && (undefined === input.controller || "string" === typeof input.controller || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8863
+ method: "typia.assert",
8864
+ path: _path + ".controller",
8865
+ expected: "(string | undefined)",
8866
+ value: input.controller
8867
+ }, _errorFactory)) && (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8868
+ method: "typia.assert",
8869
+ path: _path + ".type",
8870
+ expected: "(string | undefined)",
8871
+ value: input.type
8872
+ }, _errorFactory)) && (undefined === input.mixin || (Array.isArray(input.mixin) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8873
+ method: "typia.assert",
8874
+ path: _path + ".mixin",
8875
+ expected: "(Array<string> | undefined)",
8876
+ value: input.mixin
8877
+ }, _errorFactory)) && input.mixin.every((elem, _index6) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8878
+ method: "typia.assert",
8879
+ path: _path + ".mixin[" + _index6 + "]",
8880
+ expected: "string",
8881
+ value: elem
8882
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8883
+ method: "typia.assert",
8884
+ path: _path + ".mixin",
8885
+ expected: "(Array<string> | undefined)",
8886
+ value: input.mixin
8887
+ }, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8888
+ method: "typia.assert",
8889
+ path: _path + ".properties",
8890
+ expected: "(Record<string, TemplateProperty> | undefined)",
8891
+ value: input.properties
8892
+ }, _errorFactory)) && _ao1(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8893
+ method: "typia.assert",
8894
+ path: _path + ".properties",
8895
+ expected: "(Record<string, TemplateProperty> | undefined)",
8896
+ value: input.properties
8897
+ }, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
8898
+ const value = input[key];
8899
+ if (undefined === value)
8900
+ return true;
8901
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8902
+ method: "typia.assert",
8903
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
8904
+ expected: "TemplateProperty",
8905
+ value: value
8906
+ }, _errorFactory)) && _ao2(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8907
+ method: "typia.assert",
8908
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
8909
+ expected: "TemplateProperty",
8910
+ value: value
8911
+ }, _errorFactory);
8912
+ }); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8913
+ method: "typia.assert",
8914
+ path: _path + ".path",
8915
+ expected: "(string | undefined)",
8916
+ value: input.path
8917
+ }, _errorFactory)) && (undefined === input.render || ("object" === typeof input.render && null !== input.render || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8918
+ method: "typia.assert",
8919
+ path: _path + ".render",
8920
+ expected: "(__type | undefined)",
8921
+ value: input.render
8922
+ }, _errorFactory)) && _ao3(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8923
+ method: "typia.assert",
8924
+ path: _path + ".render",
8925
+ expected: "(__type | undefined)",
8926
+ value: input.render
8927
+ }, _errorFactory)) && (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8928
+ method: "typia.assert",
8929
+ path: _path + ".type",
8930
+ expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
8931
+ value: input.type
8932
+ }, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8933
+ method: "typia.assert",
8934
+ path: _path + ".title",
8935
+ expected: "(string | undefined)",
8936
+ value: input.title
8937
+ }, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8938
+ method: "typia.assert",
8939
+ path: _path + ".description",
8940
+ expected: "(string | undefined)",
8941
+ value: input.description
8942
+ }, _errorFactory)) && (undefined === input.required || "boolean" === typeof input.required || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8943
+ method: "typia.assert",
8944
+ path: _path + ".required",
8945
+ expected: "(boolean | undefined)",
8946
+ value: input.required
8947
+ }, _errorFactory)) && (undefined === input.oneOf || (Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8948
+ method: "typia.assert",
8949
+ path: _path + ".oneOf",
8950
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
8951
+ value: input.oneOf
8952
+ }, _errorFactory)) && input.oneOf.every((elem, _index7) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8953
+ method: "typia.assert",
8954
+ path: _path + ".oneOf[" + _index7 + "]",
8955
+ expected: "SchemaProperty<unknown>",
8956
+ value: elem
8957
+ }, _errorFactory)) && _ao6(elem, _path + ".oneOf[" + _index7 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8958
+ method: "typia.assert",
8959
+ path: _path + ".oneOf[" + _index7 + "]",
8960
+ expected: "SchemaProperty<unknown>",
8961
+ value: elem
8962
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8963
+ method: "typia.assert",
8964
+ path: _path + ".oneOf",
8965
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
8966
+ value: input.oneOf
8967
+ }, _errorFactory)) && (undefined === input.anyOf || (Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8968
+ method: "typia.assert",
8969
+ path: _path + ".anyOf",
8970
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
8971
+ value: input.anyOf
8972
+ }, _errorFactory)) && input.anyOf.every((elem, _index8) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8973
+ method: "typia.assert",
8974
+ path: _path + ".anyOf[" + _index8 + "]",
8975
+ expected: "SchemaProperty<unknown>",
8976
+ value: elem
8977
+ }, _errorFactory)) && _ao6(elem, _path + ".anyOf[" + _index8 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8978
+ method: "typia.assert",
8979
+ path: _path + ".anyOf[" + _index8 + "]",
8980
+ expected: "SchemaProperty<unknown>",
8981
+ value: elem
8982
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8983
+ method: "typia.assert",
8984
+ path: _path + ".anyOf",
8985
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
8986
+ value: input.anyOf
8987
+ }, _errorFactory)) && (undefined === input["enum"] || Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8988
+ method: "typia.assert",
8989
+ path: _path + "[\"enum\"]",
8990
+ expected: "(ReadonlyArray<unknown> | undefined)",
8991
+ value: input["enum"]
8992
+ }, _errorFactory)) && (undefined === input.minItems || "number" === typeof input.minItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8993
+ method: "typia.assert",
8994
+ path: _path + ".minItems",
8995
+ expected: "(number | undefined)",
8996
+ value: input.minItems
8997
+ }, _errorFactory)) && (undefined === input.maxItems || "number" === typeof input.maxItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8998
+ method: "typia.assert",
8999
+ path: _path + ".maxItems",
9000
+ expected: "(number | undefined)",
9001
+ value: input.maxItems
9002
+ }, _errorFactory)) && (undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9003
+ method: "typia.assert",
9004
+ path: _path + ".items",
9005
+ expected: "(SchemaProperty<unknown> | undefined)",
9006
+ value: input.items
9007
+ }, _errorFactory)) && _ao6(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9008
+ method: "typia.assert",
9009
+ path: _path + ".items",
9010
+ expected: "(SchemaProperty<unknown> | undefined)",
9011
+ value: input.items
9012
+ }, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9013
+ method: "typia.assert",
9014
+ path: _path + ".properties",
9015
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
9016
+ value: input.properties
9017
+ }, _errorFactory)) && _ao7(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9018
+ method: "typia.assert",
9019
+ path: _path + ".properties",
9020
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
9021
+ value: input.properties
9022
+ }, _errorFactory)) && true && true && ((null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9023
+ method: "typia.assert",
9024
+ path: _path + ".widget",
9025
+ expected: "(WidgetOptions | string | undefined)",
9026
+ value: input.widget
9027
+ }, _errorFactory)) && (undefined === input.widget || "string" === typeof input.widget || ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9028
+ method: "typia.assert",
9029
+ path: _path + ".widget",
9030
+ expected: "(WidgetOptions | string | undefined)",
9031
+ value: input.widget
9032
+ }, _errorFactory)) && _ao8(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9033
+ method: "typia.assert",
9034
+ path: _path + ".widget",
9035
+ expected: "(WidgetOptions | string | undefined)",
9036
+ value: input.widget
9037
+ }, _errorFactory))) && (undefined === input.placeholder || "string" === typeof input.placeholder || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9038
+ method: "typia.assert",
9039
+ path: _path + ".placeholder",
9040
+ expected: "(string | undefined)",
9041
+ value: input.placeholder
9042
+ }, _errorFactory)) && (undefined === input.helpText || "string" === typeof input.helpText || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9043
+ method: "typia.assert",
9044
+ path: _path + ".helpText",
9045
+ expected: "(string | undefined)",
9046
+ value: input.helpText
9047
+ }, _errorFactory)) && (undefined === input.invalid || "boolean" === typeof input.invalid || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9048
+ method: "typia.assert",
9049
+ path: _path + ".invalid",
9050
+ expected: "(boolean | undefined)",
9051
+ value: input.invalid
9052
+ }, _errorFactory)) && true; const _ao3 = (input, _path, _exceptionable = true) => ("image" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9053
+ method: "typia.assert",
9054
+ path: _path + ".type",
9055
+ expected: "\"image\"",
9056
+ value: input.type
9057
+ }, _errorFactory)) && (undefined === input.profile || ("object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9058
+ method: "typia.assert",
9059
+ path: _path + ".profile",
9060
+ expected: "(__type.o1 | undefined)",
9061
+ value: input.profile
9062
+ }, _errorFactory)) && _ao4(input.profile, _path + ".profile", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9063
+ method: "typia.assert",
9064
+ path: _path + ".profile",
9065
+ expected: "(__type.o1 | undefined)",
9066
+ value: input.profile
9067
+ }, _errorFactory)); const _ao4 = (input, _path, _exceptionable = true) => (undefined === input.format || "string" === typeof input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9068
+ method: "typia.assert",
9069
+ path: _path + ".format",
9070
+ expected: "(string | undefined)",
9071
+ value: input.format
9072
+ }, _errorFactory)) && (undefined === input.video || ("object" === typeof input.video && null !== input.video || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9073
+ method: "typia.assert",
9074
+ path: _path + ".video",
9075
+ expected: "(__type.o2 | undefined)",
9076
+ value: input.video
9077
+ }, _errorFactory)) && _ao5(input.video, _path + ".video", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9078
+ method: "typia.assert",
9079
+ path: _path + ".video",
9080
+ expected: "(__type.o2 | undefined)",
9081
+ value: input.video
9082
+ }, _errorFactory)); const _ao5 = (input, _path, _exceptionable = true) => ("number" === typeof input.width || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9083
+ method: "typia.assert",
9084
+ path: _path + ".width",
9085
+ expected: "number",
9086
+ value: input.width
9087
+ }, _errorFactory)) && ("number" === typeof input.height || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9088
+ method: "typia.assert",
9089
+ path: _path + ".height",
9090
+ expected: "number",
9091
+ value: input.height
9092
+ }, _errorFactory)) && ("cover" === input.fit || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9093
+ method: "typia.assert",
9094
+ path: _path + ".fit",
9095
+ expected: "\"cover\"",
9096
+ value: input.fit
9097
+ }, _errorFactory)); const _ao6 = (input, _path, _exceptionable = true) => (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9098
+ method: "typia.assert",
9099
+ path: _path + ".type",
9100
+ expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
9101
+ value: input.type
9102
+ }, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9103
+ method: "typia.assert",
9104
+ path: _path + ".title",
9105
+ expected: "(string | undefined)",
9106
+ value: input.title
9107
+ }, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9108
+ method: "typia.assert",
9109
+ path: _path + ".description",
9110
+ expected: "(string | undefined)",
9111
+ value: input.description
9112
+ }, _errorFactory)) && (undefined === input.required || "boolean" === typeof input.required || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9113
+ method: "typia.assert",
9114
+ path: _path + ".required",
9115
+ expected: "(boolean | undefined)",
9116
+ value: input.required
9117
+ }, _errorFactory)) && (undefined === input.oneOf || (Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9118
+ method: "typia.assert",
9119
+ path: _path + ".oneOf",
9120
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
9121
+ value: input.oneOf
9122
+ }, _errorFactory)) && input.oneOf.every((elem, _index9) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9123
+ method: "typia.assert",
9124
+ path: _path + ".oneOf[" + _index9 + "]",
9125
+ expected: "SchemaProperty<unknown>",
9126
+ value: elem
9127
+ }, _errorFactory)) && _ao6(elem, _path + ".oneOf[" + _index9 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9128
+ method: "typia.assert",
9129
+ path: _path + ".oneOf[" + _index9 + "]",
9130
+ expected: "SchemaProperty<unknown>",
9131
+ value: elem
9132
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9133
+ method: "typia.assert",
9134
+ path: _path + ".oneOf",
9135
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
9136
+ value: input.oneOf
9137
+ }, _errorFactory)) && (undefined === input.anyOf || (Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9138
+ method: "typia.assert",
9139
+ path: _path + ".anyOf",
9140
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
9141
+ value: input.anyOf
9142
+ }, _errorFactory)) && input.anyOf.every((elem, _index10) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9143
+ method: "typia.assert",
9144
+ path: _path + ".anyOf[" + _index10 + "]",
9145
+ expected: "SchemaProperty<unknown>",
9146
+ value: elem
9147
+ }, _errorFactory)) && _ao6(elem, _path + ".anyOf[" + _index10 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9148
+ method: "typia.assert",
9149
+ path: _path + ".anyOf[" + _index10 + "]",
9150
+ expected: "SchemaProperty<unknown>",
9151
+ value: elem
9152
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9153
+ method: "typia.assert",
9154
+ path: _path + ".anyOf",
9155
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
9156
+ value: input.anyOf
9157
+ }, _errorFactory)) && (undefined === input["enum"] || Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9158
+ method: "typia.assert",
9159
+ path: _path + "[\"enum\"]",
9160
+ expected: "(ReadonlyArray<unknown> | undefined)",
9161
+ value: input["enum"]
9162
+ }, _errorFactory)) && (undefined === input.minItems || "number" === typeof input.minItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9163
+ method: "typia.assert",
9164
+ path: _path + ".minItems",
9165
+ expected: "(number | undefined)",
9166
+ value: input.minItems
9167
+ }, _errorFactory)) && (undefined === input.maxItems || "number" === typeof input.maxItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9168
+ method: "typia.assert",
9169
+ path: _path + ".maxItems",
9170
+ expected: "(number | undefined)",
9171
+ value: input.maxItems
9172
+ }, _errorFactory)) && (undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9173
+ method: "typia.assert",
9174
+ path: _path + ".items",
9175
+ expected: "(SchemaProperty<unknown> | undefined)",
9176
+ value: input.items
9177
+ }, _errorFactory)) && _ao6(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9178
+ method: "typia.assert",
9179
+ path: _path + ".items",
9180
+ expected: "(SchemaProperty<unknown> | undefined)",
9181
+ value: input.items
9182
+ }, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9183
+ method: "typia.assert",
9184
+ path: _path + ".properties",
9185
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
9186
+ value: input.properties
9187
+ }, _errorFactory)) && _ao7(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9188
+ method: "typia.assert",
9189
+ path: _path + ".properties",
9190
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
9191
+ value: input.properties
9192
+ }, _errorFactory)) && true && true && ((null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9193
+ method: "typia.assert",
9194
+ path: _path + ".widget",
9195
+ expected: "(WidgetOptions | string | undefined)",
9196
+ value: input.widget
9197
+ }, _errorFactory)) && (undefined === input.widget || "string" === typeof input.widget || ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9198
+ method: "typia.assert",
9199
+ path: _path + ".widget",
9200
+ expected: "(WidgetOptions | string | undefined)",
9201
+ value: input.widget
9202
+ }, _errorFactory)) && _ao8(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9203
+ method: "typia.assert",
9204
+ path: _path + ".widget",
9205
+ expected: "(WidgetOptions | string | undefined)",
9206
+ value: input.widget
9207
+ }, _errorFactory))) && (undefined === input.placeholder || "string" === typeof input.placeholder || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9208
+ method: "typia.assert",
9209
+ path: _path + ".placeholder",
9210
+ expected: "(string | undefined)",
9211
+ value: input.placeholder
9212
+ }, _errorFactory)) && (undefined === input.helpText || "string" === typeof input.helpText || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9213
+ method: "typia.assert",
9214
+ path: _path + ".helpText",
9215
+ expected: "(string | undefined)",
9216
+ value: input.helpText
9217
+ }, _errorFactory)) && (undefined === input.invalid || "boolean" === typeof input.invalid || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9218
+ method: "typia.assert",
9219
+ path: _path + ".invalid",
9220
+ expected: "(boolean | undefined)",
9221
+ value: input.invalid
9222
+ }, _errorFactory)) && true; const _ao7 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
9223
+ const value = input[key];
9224
+ if (undefined === value)
9225
+ return true;
9226
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9227
+ method: "typia.assert",
9228
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9229
+ expected: "SchemaProperty<unknown>",
9230
+ value: value
9231
+ }, _errorFactory)) && _ao6(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9232
+ method: "typia.assert",
9233
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9234
+ expected: "SchemaProperty<unknown>",
9235
+ value: value
9236
+ }, _errorFactory);
9237
+ }); const _ao8 = (input, _path, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9238
+ method: "typia.assert",
9239
+ path: _path + ".type",
9240
+ expected: "(string | undefined)",
9241
+ value: input.type
9242
+ }, _errorFactory)) && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9243
+ method: "typia.assert",
9244
+ path: _path + ".readOnly",
9245
+ expected: "(boolean | undefined)",
9246
+ value: input.readOnly
9247
+ }, _errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
9248
+ if (["type", "readOnly"].some(prop => key === prop))
9249
+ return true;
9250
+ const value = input[key];
9251
+ if (undefined === value)
9252
+ return true;
9253
+ return true;
9254
+ })); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
9255
+ if (false === __is(input)) {
9256
+ _errorFactory = errorFactory;
9257
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
9258
+ method: "typia.assert",
9259
+ path: _path + "",
9260
+ expected: "TemplateRecord",
9261
+ value: input
9262
+ }, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
9263
+ method: "typia.assert",
9264
+ path: _path + "",
9265
+ expected: "TemplateRecord",
9266
+ value: input
9267
+ }, _errorFactory))(input, "$input", true);
9268
+ }
9269
+ return input;
9270
+ }; })()(input);
9271
+ }
8839
9272
  case ":event": {
8840
9273
  return (() => { const _io0 = input => (null === input.start || undefined === input.start || "number" === typeof input.start) && (null === input.end || undefined === input.end || "number" === typeof input.end) && (null === input.duration || undefined === input.duration || "number" === typeof input.duration) && (undefined === input.position || "string" === typeof input.position) && (undefined === input.text || "string" === typeof input.text) && (undefined === input.lang || "string" === typeof input.lang) && (undefined === input.style || "string" === typeof input.style) && (undefined === input.styleOverrides || "object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) && _io1(input.styleOverrides)); const _io1 = input => (undefined === input.marginL || "string" === typeof input.marginL) && (undefined === input.marginR || "string" === typeof input.marginR) && (undefined === input.marginV || "string" === typeof input.marginV) && (undefined === input.alignment || "string" === typeof input.alignment) && (undefined === input.fontname || "string" === typeof input.fontname) && (undefined === input.fontsize || "string" === typeof input.fontsize) && (undefined === input.primaryColour || "string" === typeof input.primaryColour) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour) && (undefined === input.outlineColour || "string" === typeof input.outlineColour) && (undefined === input.backColour || "string" === typeof input.backColour) && (undefined === input.bold || "string" === typeof input.bold) && (undefined === input.italic || "string" === typeof input.italic) && (undefined === input.underline || "string" === typeof input.underline) && (undefined === input.strikeOut || "string" === typeof input.strikeOut); const _ao0 = (input, _path, _exceptionable = true) => (null === input.start || undefined === input.start || "number" === typeof input.start || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8841
9274
  method: "typia.assert",
8842
- path: _path + ".start",
8843
- expected: "(null | number | undefined)",
8844
- value: input.start
8845
- }, _errorFactory)) && (null === input.end || undefined === input.end || "number" === typeof input.end || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9275
+ path: _path + ".start",
9276
+ expected: "(null | number | undefined)",
9277
+ value: input.start
9278
+ }, _errorFactory)) && (null === input.end || undefined === input.end || "number" === typeof input.end || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9279
+ method: "typia.assert",
9280
+ path: _path + ".end",
9281
+ expected: "(null | number | undefined)",
9282
+ value: input.end
9283
+ }, _errorFactory)) && (null === input.duration || undefined === input.duration || "number" === typeof input.duration || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9284
+ method: "typia.assert",
9285
+ path: _path + ".duration",
9286
+ expected: "(null | number | undefined)",
9287
+ value: input.duration
9288
+ }, _errorFactory)) && (undefined === input.position || "string" === typeof input.position || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9289
+ method: "typia.assert",
9290
+ path: _path + ".position",
9291
+ expected: "(string | undefined)",
9292
+ value: input.position
9293
+ }, _errorFactory)) && (undefined === input.text || "string" === typeof input.text || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9294
+ method: "typia.assert",
9295
+ path: _path + ".text",
9296
+ expected: "(string | undefined)",
9297
+ value: input.text
9298
+ }, _errorFactory)) && (undefined === input.lang || "string" === typeof input.lang || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9299
+ method: "typia.assert",
9300
+ path: _path + ".lang",
9301
+ expected: "(string | undefined)",
9302
+ value: input.lang
9303
+ }, _errorFactory)) && (undefined === input.style || "string" === typeof input.style || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9304
+ method: "typia.assert",
9305
+ path: _path + ".style",
9306
+ expected: "(string | undefined)",
9307
+ value: input.style
9308
+ }, _errorFactory)) && (undefined === input.styleOverrides || ("object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9309
+ method: "typia.assert",
9310
+ path: _path + ".styleOverrides",
9311
+ expected: "(SubtitleEventStyleOverrides | undefined)",
9312
+ value: input.styleOverrides
9313
+ }, _errorFactory)) && _ao1(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9314
+ method: "typia.assert",
9315
+ path: _path + ".styleOverrides",
9316
+ expected: "(SubtitleEventStyleOverrides | undefined)",
9317
+ value: input.styleOverrides
9318
+ }, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => (undefined === input.marginL || "string" === typeof input.marginL || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9319
+ method: "typia.assert",
9320
+ path: _path + ".marginL",
9321
+ expected: "(string | undefined)",
9322
+ value: input.marginL
9323
+ }, _errorFactory)) && (undefined === input.marginR || "string" === typeof input.marginR || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9324
+ method: "typia.assert",
9325
+ path: _path + ".marginR",
9326
+ expected: "(string | undefined)",
9327
+ value: input.marginR
9328
+ }, _errorFactory)) && (undefined === input.marginV || "string" === typeof input.marginV || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9329
+ method: "typia.assert",
9330
+ path: _path + ".marginV",
9331
+ expected: "(string | undefined)",
9332
+ value: input.marginV
9333
+ }, _errorFactory)) && (undefined === input.alignment || "string" === typeof input.alignment || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9334
+ method: "typia.assert",
9335
+ path: _path + ".alignment",
9336
+ expected: "(string | undefined)",
9337
+ value: input.alignment
9338
+ }, _errorFactory)) && (undefined === input.fontname || "string" === typeof input.fontname || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9339
+ method: "typia.assert",
9340
+ path: _path + ".fontname",
9341
+ expected: "(string | undefined)",
9342
+ value: input.fontname
9343
+ }, _errorFactory)) && (undefined === input.fontsize || "string" === typeof input.fontsize || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9344
+ method: "typia.assert",
9345
+ path: _path + ".fontsize",
9346
+ expected: "(string | undefined)",
9347
+ value: input.fontsize
9348
+ }, _errorFactory)) && (undefined === input.primaryColour || "string" === typeof input.primaryColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9349
+ method: "typia.assert",
9350
+ path: _path + ".primaryColour",
9351
+ expected: "(string | undefined)",
9352
+ value: input.primaryColour
9353
+ }, _errorFactory)) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9354
+ method: "typia.assert",
9355
+ path: _path + ".secondaryColour",
9356
+ expected: "(string | undefined)",
9357
+ value: input.secondaryColour
9358
+ }, _errorFactory)) && (undefined === input.outlineColour || "string" === typeof input.outlineColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9359
+ method: "typia.assert",
9360
+ path: _path + ".outlineColour",
9361
+ expected: "(string | undefined)",
9362
+ value: input.outlineColour
9363
+ }, _errorFactory)) && (undefined === input.backColour || "string" === typeof input.backColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9364
+ method: "typia.assert",
9365
+ path: _path + ".backColour",
9366
+ expected: "(string | undefined)",
9367
+ value: input.backColour
9368
+ }, _errorFactory)) && (undefined === input.bold || "string" === typeof input.bold || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9369
+ method: "typia.assert",
9370
+ path: _path + ".bold",
9371
+ expected: "(string | undefined)",
9372
+ value: input.bold
9373
+ }, _errorFactory)) && (undefined === input.italic || "string" === typeof input.italic || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9374
+ method: "typia.assert",
9375
+ path: _path + ".italic",
9376
+ expected: "(string | undefined)",
9377
+ value: input.italic
9378
+ }, _errorFactory)) && (undefined === input.underline || "string" === typeof input.underline || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9379
+ method: "typia.assert",
9380
+ path: _path + ".underline",
9381
+ expected: "(string | undefined)",
9382
+ value: input.underline
9383
+ }, _errorFactory)) && (undefined === input.strikeOut || "string" === typeof input.strikeOut || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9384
+ method: "typia.assert",
9385
+ path: _path + ".strikeOut",
9386
+ expected: "(string | undefined)",
9387
+ value: input.strikeOut
9388
+ }, _errorFactory)); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
9389
+ if (false === __is(input)) {
9390
+ _errorFactory = errorFactory;
9391
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
9392
+ method: "typia.assert",
9393
+ path: _path + "",
9394
+ expected: "EventRecord",
9395
+ value: input
9396
+ }, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
9397
+ method: "typia.assert",
9398
+ path: _path + "",
9399
+ expected: "EventRecord",
9400
+ value: input
9401
+ }, _errorFactory))(input, "$input", true);
9402
+ }
9403
+ return input;
9404
+ }; })()(input);
9405
+ }
9406
+ case ":event._template?": {
9407
+ return (() => { const _io0 = input => (undefined === input.mixin || Array.isArray(input.mixin) && input.mixin.every(elem => "string" === typeof elem)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io9(input.layout)) && (undefined === input.controller || "string" === typeof input.controller); const _io1 = input => Object.keys(input).every(key => {
9408
+ const value = input[key];
9409
+ if (undefined === value)
9410
+ return true;
9411
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
9412
+ }); const _io2 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io3(input.render)) && (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io6(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io7(input.properties)) && true && true && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io8(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true; const _io3 = input => "image" === input.type && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) && _io4(input.profile)); const _io4 = input => (undefined === input.format || "string" === typeof input.format) && (undefined === input.video || "object" === typeof input.video && null !== input.video && _io5(input.video)); const _io5 = input => "number" === typeof input.width && "number" === typeof input.height && "cover" === input.fit; const _io6 = input => (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io6(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io7(input.properties)) && true && true && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io8(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true; const _io7 = input => Object.keys(input).every(key => {
9413
+ const value = input[key];
9414
+ if (undefined === value)
9415
+ return true;
9416
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
9417
+ }); const _io8 = input => (undefined === input.type || "string" === typeof input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && Object.keys(input).every(key => {
9418
+ if (["type", "readOnly"].some(prop => key === prop))
9419
+ return true;
9420
+ const value = input[key];
9421
+ if (undefined === value)
9422
+ return true;
9423
+ return true;
9424
+ }); const _io9 = input => undefined === input.title || "string" === typeof input.title; const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.mixin || (Array.isArray(input.mixin) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9425
+ method: "typia.assert",
9426
+ path: _path + ".mixin",
9427
+ expected: "(Array<string> | undefined)",
9428
+ value: input.mixin
9429
+ }, _errorFactory)) && input.mixin.every((elem, _index6) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9430
+ method: "typia.assert",
9431
+ path: _path + ".mixin[" + _index6 + "]",
9432
+ expected: "string",
9433
+ value: elem
9434
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9435
+ method: "typia.assert",
9436
+ path: _path + ".mixin",
9437
+ expected: "(Array<string> | undefined)",
9438
+ value: input.mixin
9439
+ }, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9440
+ method: "typia.assert",
9441
+ path: _path + ".properties",
9442
+ expected: "(Record<string, TemplateProperty> | undefined)",
9443
+ value: input.properties
9444
+ }, _errorFactory)) && _ao1(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9445
+ method: "typia.assert",
9446
+ path: _path + ".properties",
9447
+ expected: "(Record<string, TemplateProperty> | undefined)",
9448
+ value: input.properties
9449
+ }, _errorFactory)) && (undefined === input.layout || ("object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9450
+ method: "typia.assert",
9451
+ path: _path + ".layout",
9452
+ expected: "(__type.o3 | undefined)",
9453
+ value: input.layout
9454
+ }, _errorFactory)) && _ao9(input.layout, _path + ".layout", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9455
+ method: "typia.assert",
9456
+ path: _path + ".layout",
9457
+ expected: "(__type.o3 | undefined)",
9458
+ value: input.layout
9459
+ }, _errorFactory)) && (undefined === input.controller || "string" === typeof input.controller || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9460
+ method: "typia.assert",
9461
+ path: _path + ".controller",
9462
+ expected: "(string | undefined)",
9463
+ value: input.controller
9464
+ }, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
9465
+ const value = input[key];
9466
+ if (undefined === value)
9467
+ return true;
9468
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9469
+ method: "typia.assert",
9470
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9471
+ expected: "TemplateProperty",
9472
+ value: value
9473
+ }, _errorFactory)) && _ao2(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9474
+ method: "typia.assert",
9475
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9476
+ expected: "TemplateProperty",
9477
+ value: value
9478
+ }, _errorFactory);
9479
+ }); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9480
+ method: "typia.assert",
9481
+ path: _path + ".path",
9482
+ expected: "(string | undefined)",
9483
+ value: input.path
9484
+ }, _errorFactory)) && (undefined === input.render || ("object" === typeof input.render && null !== input.render || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9485
+ method: "typia.assert",
9486
+ path: _path + ".render",
9487
+ expected: "(__type | undefined)",
9488
+ value: input.render
9489
+ }, _errorFactory)) && _ao3(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9490
+ method: "typia.assert",
9491
+ path: _path + ".render",
9492
+ expected: "(__type | undefined)",
9493
+ value: input.render
9494
+ }, _errorFactory)) && (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9495
+ method: "typia.assert",
9496
+ path: _path + ".type",
9497
+ expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
9498
+ value: input.type
9499
+ }, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9500
+ method: "typia.assert",
9501
+ path: _path + ".title",
9502
+ expected: "(string | undefined)",
9503
+ value: input.title
9504
+ }, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9505
+ method: "typia.assert",
9506
+ path: _path + ".description",
9507
+ expected: "(string | undefined)",
9508
+ value: input.description
9509
+ }, _errorFactory)) && (undefined === input.required || "boolean" === typeof input.required || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9510
+ method: "typia.assert",
9511
+ path: _path + ".required",
9512
+ expected: "(boolean | undefined)",
9513
+ value: input.required
9514
+ }, _errorFactory)) && (undefined === input.oneOf || (Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9515
+ method: "typia.assert",
9516
+ path: _path + ".oneOf",
9517
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
9518
+ value: input.oneOf
9519
+ }, _errorFactory)) && input.oneOf.every((elem, _index7) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9520
+ method: "typia.assert",
9521
+ path: _path + ".oneOf[" + _index7 + "]",
9522
+ expected: "SchemaProperty<unknown>",
9523
+ value: elem
9524
+ }, _errorFactory)) && _ao6(elem, _path + ".oneOf[" + _index7 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9525
+ method: "typia.assert",
9526
+ path: _path + ".oneOf[" + _index7 + "]",
9527
+ expected: "SchemaProperty<unknown>",
9528
+ value: elem
9529
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9530
+ method: "typia.assert",
9531
+ path: _path + ".oneOf",
9532
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
9533
+ value: input.oneOf
9534
+ }, _errorFactory)) && (undefined === input.anyOf || (Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9535
+ method: "typia.assert",
9536
+ path: _path + ".anyOf",
9537
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
9538
+ value: input.anyOf
9539
+ }, _errorFactory)) && input.anyOf.every((elem, _index8) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9540
+ method: "typia.assert",
9541
+ path: _path + ".anyOf[" + _index8 + "]",
9542
+ expected: "SchemaProperty<unknown>",
9543
+ value: elem
9544
+ }, _errorFactory)) && _ao6(elem, _path + ".anyOf[" + _index8 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9545
+ method: "typia.assert",
9546
+ path: _path + ".anyOf[" + _index8 + "]",
9547
+ expected: "SchemaProperty<unknown>",
9548
+ value: elem
9549
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9550
+ method: "typia.assert",
9551
+ path: _path + ".anyOf",
9552
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
9553
+ value: input.anyOf
9554
+ }, _errorFactory)) && (undefined === input["enum"] || Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9555
+ method: "typia.assert",
9556
+ path: _path + "[\"enum\"]",
9557
+ expected: "(ReadonlyArray<unknown> | undefined)",
9558
+ value: input["enum"]
9559
+ }, _errorFactory)) && (undefined === input.minItems || "number" === typeof input.minItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9560
+ method: "typia.assert",
9561
+ path: _path + ".minItems",
9562
+ expected: "(number | undefined)",
9563
+ value: input.minItems
9564
+ }, _errorFactory)) && (undefined === input.maxItems || "number" === typeof input.maxItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8846
9565
  method: "typia.assert",
8847
- path: _path + ".end",
8848
- expected: "(null | number | undefined)",
8849
- value: input.end
8850
- }, _errorFactory)) && (null === input.duration || undefined === input.duration || "number" === typeof input.duration || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9566
+ path: _path + ".maxItems",
9567
+ expected: "(number | undefined)",
9568
+ value: input.maxItems
9569
+ }, _errorFactory)) && (undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8851
9570
  method: "typia.assert",
8852
- path: _path + ".duration",
8853
- expected: "(null | number | undefined)",
8854
- value: input.duration
8855
- }, _errorFactory)) && (undefined === input.position || "string" === typeof input.position || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9571
+ path: _path + ".items",
9572
+ expected: "(SchemaProperty<unknown> | undefined)",
9573
+ value: input.items
9574
+ }, _errorFactory)) && _ao6(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8856
9575
  method: "typia.assert",
8857
- path: _path + ".position",
9576
+ path: _path + ".items",
9577
+ expected: "(SchemaProperty<unknown> | undefined)",
9578
+ value: input.items
9579
+ }, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9580
+ method: "typia.assert",
9581
+ path: _path + ".properties",
9582
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
9583
+ value: input.properties
9584
+ }, _errorFactory)) && _ao7(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9585
+ method: "typia.assert",
9586
+ path: _path + ".properties",
9587
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
9588
+ value: input.properties
9589
+ }, _errorFactory)) && true && true && ((null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9590
+ method: "typia.assert",
9591
+ path: _path + ".widget",
9592
+ expected: "(WidgetOptions | string | undefined)",
9593
+ value: input.widget
9594
+ }, _errorFactory)) && (undefined === input.widget || "string" === typeof input.widget || ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9595
+ method: "typia.assert",
9596
+ path: _path + ".widget",
9597
+ expected: "(WidgetOptions | string | undefined)",
9598
+ value: input.widget
9599
+ }, _errorFactory)) && _ao8(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9600
+ method: "typia.assert",
9601
+ path: _path + ".widget",
9602
+ expected: "(WidgetOptions | string | undefined)",
9603
+ value: input.widget
9604
+ }, _errorFactory))) && (undefined === input.placeholder || "string" === typeof input.placeholder || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9605
+ method: "typia.assert",
9606
+ path: _path + ".placeholder",
8858
9607
  expected: "(string | undefined)",
8859
- value: input.position
8860
- }, _errorFactory)) && (undefined === input.text || "string" === typeof input.text || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9608
+ value: input.placeholder
9609
+ }, _errorFactory)) && (undefined === input.helpText || "string" === typeof input.helpText || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8861
9610
  method: "typia.assert",
8862
- path: _path + ".text",
9611
+ path: _path + ".helpText",
8863
9612
  expected: "(string | undefined)",
8864
- value: input.text
8865
- }, _errorFactory)) && (undefined === input.lang || "string" === typeof input.lang || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9613
+ value: input.helpText
9614
+ }, _errorFactory)) && (undefined === input.invalid || "boolean" === typeof input.invalid || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8866
9615
  method: "typia.assert",
8867
- path: _path + ".lang",
9616
+ path: _path + ".invalid",
9617
+ expected: "(boolean | undefined)",
9618
+ value: input.invalid
9619
+ }, _errorFactory)) && true; const _ao3 = (input, _path, _exceptionable = true) => ("image" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9620
+ method: "typia.assert",
9621
+ path: _path + ".type",
9622
+ expected: "\"image\"",
9623
+ value: input.type
9624
+ }, _errorFactory)) && (undefined === input.profile || ("object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9625
+ method: "typia.assert",
9626
+ path: _path + ".profile",
9627
+ expected: "(__type.o1 | undefined)",
9628
+ value: input.profile
9629
+ }, _errorFactory)) && _ao4(input.profile, _path + ".profile", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9630
+ method: "typia.assert",
9631
+ path: _path + ".profile",
9632
+ expected: "(__type.o1 | undefined)",
9633
+ value: input.profile
9634
+ }, _errorFactory)); const _ao4 = (input, _path, _exceptionable = true) => (undefined === input.format || "string" === typeof input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9635
+ method: "typia.assert",
9636
+ path: _path + ".format",
8868
9637
  expected: "(string | undefined)",
8869
- value: input.lang
8870
- }, _errorFactory)) && (undefined === input.style || "string" === typeof input.style || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9638
+ value: input.format
9639
+ }, _errorFactory)) && (undefined === input.video || ("object" === typeof input.video && null !== input.video || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9640
+ method: "typia.assert",
9641
+ path: _path + ".video",
9642
+ expected: "(__type.o2 | undefined)",
9643
+ value: input.video
9644
+ }, _errorFactory)) && _ao5(input.video, _path + ".video", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9645
+ method: "typia.assert",
9646
+ path: _path + ".video",
9647
+ expected: "(__type.o2 | undefined)",
9648
+ value: input.video
9649
+ }, _errorFactory)); const _ao5 = (input, _path, _exceptionable = true) => ("number" === typeof input.width || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9650
+ method: "typia.assert",
9651
+ path: _path + ".width",
9652
+ expected: "number",
9653
+ value: input.width
9654
+ }, _errorFactory)) && ("number" === typeof input.height || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9655
+ method: "typia.assert",
9656
+ path: _path + ".height",
9657
+ expected: "number",
9658
+ value: input.height
9659
+ }, _errorFactory)) && ("cover" === input.fit || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9660
+ method: "typia.assert",
9661
+ path: _path + ".fit",
9662
+ expected: "\"cover\"",
9663
+ value: input.fit
9664
+ }, _errorFactory)); const _ao6 = (input, _path, _exceptionable = true) => (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9665
+ method: "typia.assert",
9666
+ path: _path + ".type",
9667
+ expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
9668
+ value: input.type
9669
+ }, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9670
+ method: "typia.assert",
9671
+ path: _path + ".title",
9672
+ expected: "(string | undefined)",
9673
+ value: input.title
9674
+ }, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9675
+ method: "typia.assert",
9676
+ path: _path + ".description",
9677
+ expected: "(string | undefined)",
9678
+ value: input.description
9679
+ }, _errorFactory)) && (undefined === input.required || "boolean" === typeof input.required || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9680
+ method: "typia.assert",
9681
+ path: _path + ".required",
9682
+ expected: "(boolean | undefined)",
9683
+ value: input.required
9684
+ }, _errorFactory)) && (undefined === input.oneOf || (Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9685
+ method: "typia.assert",
9686
+ path: _path + ".oneOf",
9687
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
9688
+ value: input.oneOf
9689
+ }, _errorFactory)) && input.oneOf.every((elem, _index9) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9690
+ method: "typia.assert",
9691
+ path: _path + ".oneOf[" + _index9 + "]",
9692
+ expected: "SchemaProperty<unknown>",
9693
+ value: elem
9694
+ }, _errorFactory)) && _ao6(elem, _path + ".oneOf[" + _index9 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9695
+ method: "typia.assert",
9696
+ path: _path + ".oneOf[" + _index9 + "]",
9697
+ expected: "SchemaProperty<unknown>",
9698
+ value: elem
9699
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9700
+ method: "typia.assert",
9701
+ path: _path + ".oneOf",
9702
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
9703
+ value: input.oneOf
9704
+ }, _errorFactory)) && (undefined === input.anyOf || (Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9705
+ method: "typia.assert",
9706
+ path: _path + ".anyOf",
9707
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
9708
+ value: input.anyOf
9709
+ }, _errorFactory)) && input.anyOf.every((elem, _index10) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9710
+ method: "typia.assert",
9711
+ path: _path + ".anyOf[" + _index10 + "]",
9712
+ expected: "SchemaProperty<unknown>",
9713
+ value: elem
9714
+ }, _errorFactory)) && _ao6(elem, _path + ".anyOf[" + _index10 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9715
+ method: "typia.assert",
9716
+ path: _path + ".anyOf[" + _index10 + "]",
9717
+ expected: "SchemaProperty<unknown>",
9718
+ value: elem
9719
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9720
+ method: "typia.assert",
9721
+ path: _path + ".anyOf",
9722
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
9723
+ value: input.anyOf
9724
+ }, _errorFactory)) && (undefined === input["enum"] || Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9725
+ method: "typia.assert",
9726
+ path: _path + "[\"enum\"]",
9727
+ expected: "(ReadonlyArray<unknown> | undefined)",
9728
+ value: input["enum"]
9729
+ }, _errorFactory)) && (undefined === input.minItems || "number" === typeof input.minItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9730
+ method: "typia.assert",
9731
+ path: _path + ".minItems",
9732
+ expected: "(number | undefined)",
9733
+ value: input.minItems
9734
+ }, _errorFactory)) && (undefined === input.maxItems || "number" === typeof input.maxItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9735
+ method: "typia.assert",
9736
+ path: _path + ".maxItems",
9737
+ expected: "(number | undefined)",
9738
+ value: input.maxItems
9739
+ }, _errorFactory)) && (undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9740
+ method: "typia.assert",
9741
+ path: _path + ".items",
9742
+ expected: "(SchemaProperty<unknown> | undefined)",
9743
+ value: input.items
9744
+ }, _errorFactory)) && _ao6(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9745
+ method: "typia.assert",
9746
+ path: _path + ".items",
9747
+ expected: "(SchemaProperty<unknown> | undefined)",
9748
+ value: input.items
9749
+ }, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9750
+ method: "typia.assert",
9751
+ path: _path + ".properties",
9752
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
9753
+ value: input.properties
9754
+ }, _errorFactory)) && _ao7(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9755
+ method: "typia.assert",
9756
+ path: _path + ".properties",
9757
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
9758
+ value: input.properties
9759
+ }, _errorFactory)) && true && true && ((null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9760
+ method: "typia.assert",
9761
+ path: _path + ".widget",
9762
+ expected: "(WidgetOptions | string | undefined)",
9763
+ value: input.widget
9764
+ }, _errorFactory)) && (undefined === input.widget || "string" === typeof input.widget || ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9765
+ method: "typia.assert",
9766
+ path: _path + ".widget",
9767
+ expected: "(WidgetOptions | string | undefined)",
9768
+ value: input.widget
9769
+ }, _errorFactory)) && _ao8(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9770
+ method: "typia.assert",
9771
+ path: _path + ".widget",
9772
+ expected: "(WidgetOptions | string | undefined)",
9773
+ value: input.widget
9774
+ }, _errorFactory))) && (undefined === input.placeholder || "string" === typeof input.placeholder || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9775
+ method: "typia.assert",
9776
+ path: _path + ".placeholder",
9777
+ expected: "(string | undefined)",
9778
+ value: input.placeholder
9779
+ }, _errorFactory)) && (undefined === input.helpText || "string" === typeof input.helpText || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9780
+ method: "typia.assert",
9781
+ path: _path + ".helpText",
9782
+ expected: "(string | undefined)",
9783
+ value: input.helpText
9784
+ }, _errorFactory)) && (undefined === input.invalid || "boolean" === typeof input.invalid || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9785
+ method: "typia.assert",
9786
+ path: _path + ".invalid",
9787
+ expected: "(boolean | undefined)",
9788
+ value: input.invalid
9789
+ }, _errorFactory)) && true; const _ao7 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
9790
+ const value = input[key];
9791
+ if (undefined === value)
9792
+ return true;
9793
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9794
+ method: "typia.assert",
9795
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9796
+ expected: "SchemaProperty<unknown>",
9797
+ value: value
9798
+ }, _errorFactory)) && _ao6(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9799
+ method: "typia.assert",
9800
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9801
+ expected: "SchemaProperty<unknown>",
9802
+ value: value
9803
+ }, _errorFactory);
9804
+ }); const _ao8 = (input, _path, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9805
+ method: "typia.assert",
9806
+ path: _path + ".type",
9807
+ expected: "(string | undefined)",
9808
+ value: input.type
9809
+ }, _errorFactory)) && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9810
+ method: "typia.assert",
9811
+ path: _path + ".readOnly",
9812
+ expected: "(boolean | undefined)",
9813
+ value: input.readOnly
9814
+ }, _errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
9815
+ if (["type", "readOnly"].some(prop => key === prop))
9816
+ return true;
9817
+ const value = input[key];
9818
+ if (undefined === value)
9819
+ return true;
9820
+ return true;
9821
+ })); const _ao9 = (input, _path, _exceptionable = true) => undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8871
9822
  method: "typia.assert",
8872
- path: _path + ".style",
9823
+ path: _path + ".title",
8873
9824
  expected: "(string | undefined)",
8874
- value: input.style
8875
- }, _errorFactory)) && (undefined === input.styleOverrides || ("object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8876
- method: "typia.assert",
8877
- path: _path + ".styleOverrides",
8878
- expected: "(SubtitleEventStyleOverrides | undefined)",
8879
- value: input.styleOverrides
8880
- }, _errorFactory)) && _ao1(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9825
+ value: input.title
9826
+ }, _errorFactory); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
9827
+ if (false === __is(input)) {
9828
+ _errorFactory = errorFactory;
9829
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
9830
+ method: "typia.assert",
9831
+ path: _path + "",
9832
+ expected: "EventTemplateRecord",
9833
+ value: input
9834
+ }, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
9835
+ method: "typia.assert",
9836
+ path: _path + "",
9837
+ expected: "EventTemplateRecord",
9838
+ value: input
9839
+ }, _errorFactory))(input, "$input", true);
9840
+ }
9841
+ return input;
9842
+ }; })()(input);
9843
+ }
9844
+ case ":event.overlay?": {
9845
+ return (() => { const _io0 = input => Object.keys(input).every(key => {
9846
+ const value = input[key];
9847
+ if (undefined === value)
9848
+ return true;
9849
+ return "object" === typeof value && null !== value && _io1(value);
9850
+ }); const _io1 = input => "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && _io2(input.data); const _io2 = input => (undefined === input.source || "string" === typeof input.source) && (undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard) && (undefined === input.printRundownColor || "string" === typeof input.printRundownColor) && (undefined === input.startTime || "number" === typeof input.startTime) && (null !== input.shotboxGroup && (undefined === input.shotboxGroup || "string" === typeof input.shotboxGroup || Array.isArray(input.shotboxGroup) && input.shotboxGroup.every(elem => "string" === typeof elem))) && (undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible) && Object.keys(input).every(key => {
9851
+ if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
9852
+ return true;
9853
+ const value = input[key];
9854
+ if (undefined === value)
9855
+ return true;
9856
+ return undefined !== value && (null === value || "string" === typeof value || "number" === typeof value || "boolean" === typeof value || (Array.isArray(value) && (_ia0(value) || false) || "object" === typeof value && null !== value && false === Array.isArray(value) && _io3(value)));
9857
+ }); const _io3 = input => Object.keys(input).every(key => {
9858
+ const value = input[key];
9859
+ if (undefined === value)
9860
+ return true;
9861
+ return undefined !== value && (null === value || "string" === typeof value || "number" === typeof value || "boolean" === typeof value || (Array.isArray(value) && (_ia0(value) || false) || "object" === typeof value && null !== value && false === Array.isArray(value) && _io3(value)));
9862
+ }); const _ia0 = input => input.every(elem => undefined !== elem && (null === elem || "string" === typeof elem || "number" === typeof elem || "boolean" === typeof elem || (Array.isArray(elem) && (_ia0(elem) || false) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io3(elem)))); const _ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
9863
+ const value = input[key];
9864
+ if (undefined === value)
9865
+ return true;
9866
+ return ("object" === typeof value && null !== value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9867
+ method: "typia.assert",
9868
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9869
+ expected: "__type",
9870
+ value: value
9871
+ }, _errorFactory)) && _ao1(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9872
+ method: "typia.assert",
9873
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9874
+ expected: "__type",
9875
+ value: value
9876
+ }, _errorFactory);
9877
+ }); const _ao1 = (input, _path, _exceptionable = true) => ("object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8881
9878
  method: "typia.assert",
8882
- path: _path + ".styleOverrides",
8883
- expected: "(SubtitleEventStyleOverrides | undefined)",
8884
- value: input.styleOverrides
8885
- }, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => (undefined === input.marginL || "string" === typeof input.marginL || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9879
+ path: _path + ".data",
9880
+ expected: "EventPropsRecord",
9881
+ value: input.data
9882
+ }, _errorFactory)) && _ao2(input.data, _path + ".data", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8886
9883
  method: "typia.assert",
8887
- path: _path + ".marginL",
8888
- expected: "(string | undefined)",
8889
- value: input.marginL
8890
- }, _errorFactory)) && (undefined === input.marginR || "string" === typeof input.marginR || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9884
+ path: _path + ".data",
9885
+ expected: "EventPropsRecord",
9886
+ value: input.data
9887
+ }, _errorFactory); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.source || "string" === typeof input.source || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8891
9888
  method: "typia.assert",
8892
- path: _path + ".marginR",
9889
+ path: _path + ".source",
8893
9890
  expected: "(string | undefined)",
8894
- value: input.marginR
8895
- }, _errorFactory)) && (undefined === input.marginV || "string" === typeof input.marginV || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9891
+ value: input.source
9892
+ }, _errorFactory)) && (undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8896
9893
  method: "typia.assert",
8897
- path: _path + ".marginV",
8898
- expected: "(string | undefined)",
8899
- value: input.marginV
8900
- }, _errorFactory)) && (undefined === input.alignment || "string" === typeof input.alignment || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9894
+ path: _path + ".cueCard",
9895
+ expected: "(boolean | string | undefined)",
9896
+ value: input.cueCard
9897
+ }, _errorFactory)) && (undefined === input.printRundownColor || "string" === typeof input.printRundownColor || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8901
9898
  method: "typia.assert",
8902
- path: _path + ".alignment",
9899
+ path: _path + ".printRundownColor",
8903
9900
  expected: "(string | undefined)",
8904
- value: input.alignment
8905
- }, _errorFactory)) && (undefined === input.fontname || "string" === typeof input.fontname || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9901
+ value: input.printRundownColor
9902
+ }, _errorFactory)) && (undefined === input.startTime || "number" === typeof input.startTime || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8906
9903
  method: "typia.assert",
8907
- path: _path + ".fontname",
8908
- expected: "(string | undefined)",
8909
- value: input.fontname
8910
- }, _errorFactory)) && (undefined === input.fontsize || "string" === typeof input.fontsize || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9904
+ path: _path + ".startTime",
9905
+ expected: "(number | undefined)",
9906
+ value: input.startTime
9907
+ }, _errorFactory)) && ((null !== input.shotboxGroup || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8911
9908
  method: "typia.assert",
8912
- path: _path + ".fontsize",
8913
- expected: "(string | undefined)",
8914
- value: input.fontsize
8915
- }, _errorFactory)) && (undefined === input.primaryColour || "string" === typeof input.primaryColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9909
+ path: _path + ".shotboxGroup",
9910
+ expected: "(Array<string> | string | undefined)",
9911
+ value: input.shotboxGroup
9912
+ }, _errorFactory)) && (undefined === input.shotboxGroup || "string" === typeof input.shotboxGroup || (Array.isArray(input.shotboxGroup) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8916
9913
  method: "typia.assert",
8917
- path: _path + ".primaryColour",
8918
- expected: "(string | undefined)",
8919
- value: input.primaryColour
8920
- }, _errorFactory)) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9914
+ path: _path + ".shotboxGroup",
9915
+ expected: "(Array<string> | string | undefined)",
9916
+ value: input.shotboxGroup
9917
+ }, _errorFactory)) && input.shotboxGroup.every((elem, _index3) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8921
9918
  method: "typia.assert",
8922
- path: _path + ".secondaryColour",
8923
- expected: "(string | undefined)",
8924
- value: input.secondaryColour
8925
- }, _errorFactory)) && (undefined === input.outlineColour || "string" === typeof input.outlineColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9919
+ path: _path + ".shotboxGroup[" + _index3 + "]",
9920
+ expected: "string",
9921
+ value: elem
9922
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8926
9923
  method: "typia.assert",
8927
- path: _path + ".outlineColour",
8928
- expected: "(string | undefined)",
8929
- value: input.outlineColour
8930
- }, _errorFactory)) && (undefined === input.backColour || "string" === typeof input.backColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9924
+ path: _path + ".shotboxGroup",
9925
+ expected: "(Array<string> | string | undefined)",
9926
+ value: input.shotboxGroup
9927
+ }, _errorFactory))) && (undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8931
9928
  method: "typia.assert",
8932
- path: _path + ".backColour",
8933
- expected: "(string | undefined)",
8934
- value: input.backColour
8935
- }, _errorFactory)) && (undefined === input.bold || "string" === typeof input.bold || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9929
+ path: _path + ".shotboxVisible",
9930
+ expected: "(boolean | undefined)",
9931
+ value: input.shotboxVisible
9932
+ }, _errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
9933
+ if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
9934
+ return true;
9935
+ const value = input[key];
9936
+ if (undefined === value)
9937
+ return true;
9938
+ return (undefined !== value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9939
+ method: "typia.assert",
9940
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9941
+ expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9942
+ value: value
9943
+ }, _errorFactory)) && (null === value || "string" === typeof value || "number" === typeof value || "boolean" === typeof value || (Array.isArray(value) && (_aa0(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9944
+ method: "typia.assert",
9945
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9946
+ expected: "Array<JsonValue>",
9947
+ value: value
9948
+ }, _errorFactory)) || "object" === typeof value && null !== value && false === Array.isArray(value) && _ao3(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9949
+ method: "typia.assert",
9950
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9951
+ expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9952
+ value: value
9953
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9954
+ method: "typia.assert",
9955
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9956
+ expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9957
+ value: value
9958
+ }, _errorFactory));
9959
+ })); const _ao3 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
9960
+ const value = input[key];
9961
+ if (undefined === value)
9962
+ return true;
9963
+ return (undefined !== value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9964
+ method: "typia.assert",
9965
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9966
+ expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9967
+ value: value
9968
+ }, _errorFactory)) && (null === value || "string" === typeof value || "number" === typeof value || "boolean" === typeof value || (Array.isArray(value) && (_aa0(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9969
+ method: "typia.assert",
9970
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9971
+ expected: "Array<JsonValue>",
9972
+ value: value
9973
+ }, _errorFactory)) || "object" === typeof value && null !== value && false === Array.isArray(value) && _ao3(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9974
+ method: "typia.assert",
9975
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9976
+ expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9977
+ value: value
9978
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9979
+ method: "typia.assert",
9980
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9981
+ expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9982
+ value: value
9983
+ }, _errorFactory));
9984
+ }); const _aa0 = (input, _path, _exceptionable = true) => input.every((elem, _index4) => (undefined !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8936
9985
  method: "typia.assert",
8937
- path: _path + ".bold",
8938
- expected: "(string | undefined)",
8939
- value: input.bold
8940
- }, _errorFactory)) && (undefined === input.italic || "string" === typeof input.italic || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9986
+ path: _path + "[" + _index4 + "]",
9987
+ expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9988
+ value: elem
9989
+ }, _errorFactory)) && (null === elem || "string" === typeof elem || "number" === typeof elem || "boolean" === typeof elem || (Array.isArray(elem) && (_aa0(elem, _path + "[" + _index4 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8941
9990
  method: "typia.assert",
8942
- path: _path + ".italic",
8943
- expected: "(string | undefined)",
8944
- value: input.italic
8945
- }, _errorFactory)) && (undefined === input.underline || "string" === typeof input.underline || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9991
+ path: _path + "[" + _index4 + "]",
9992
+ expected: "Array<JsonValue>",
9993
+ value: elem
9994
+ }, _errorFactory)) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _ao3(elem, _path + "[" + _index4 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8946
9995
  method: "typia.assert",
8947
- path: _path + ".underline",
8948
- expected: "(string | undefined)",
8949
- value: input.underline
8950
- }, _errorFactory)) && (undefined === input.strikeOut || "string" === typeof input.strikeOut || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9996
+ path: _path + "[" + _index4 + "]",
9997
+ expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9998
+ value: elem
9999
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8951
10000
  method: "typia.assert",
8952
- path: _path + ".strikeOut",
8953
- expected: "(string | undefined)",
8954
- value: input.strikeOut
8955
- }, _errorFactory)); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
10001
+ path: _path + "[" + _index4 + "]",
10002
+ expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
10003
+ value: elem
10004
+ }, _errorFactory))); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
8956
10005
  if (false === __is(input)) {
8957
10006
  _errorFactory = errorFactory;
8958
10007
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
8959
10008
  method: "typia.assert",
8960
10009
  path: _path + "",
8961
- expected: "EventRecord",
10010
+ expected: "EventOverlayRecord",
8962
10011
  value: input
8963
10012
  }, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
8964
10013
  method: "typia.assert",
8965
10014
  path: _path + "",
8966
- expected: "EventRecord",
10015
+ expected: "EventOverlayRecord",
8967
10016
  value: input
8968
10017
  }, _errorFactory))(input, "$input", true);
8969
10018
  }
8970
10019
  return input;
8971
10020
  }; })()(input);
8972
10021
  }
8973
- case ":event._template?": {
8974
- return (() => { const _io0 = input => (undefined === input.mixin || Array.isArray(input.mixin) && input.mixin.every(elem => "string" === typeof elem)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io2(input.layout)) && (undefined === input.controller || "string" === typeof input.controller); const _io1 = input => true; const _io2 = input => undefined === input.title || "string" === typeof input.title; const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.mixin || (Array.isArray(input.mixin) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10022
+ case ":event.template?": {
10023
+ return (() => { const _io0 = input => (undefined === input.mixin || Array.isArray(input.mixin) && input.mixin.every(elem => "string" === typeof elem)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io9(input.layout)) && (undefined === input.controller || "string" === typeof input.controller); const _io1 = input => Object.keys(input).every(key => {
10024
+ const value = input[key];
10025
+ if (undefined === value)
10026
+ return true;
10027
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
10028
+ }); const _io2 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io3(input.render)) && (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io6(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io7(input.properties)) && true && true && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io8(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true; const _io3 = input => "image" === input.type && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) && _io4(input.profile)); const _io4 = input => (undefined === input.format || "string" === typeof input.format) && (undefined === input.video || "object" === typeof input.video && null !== input.video && _io5(input.video)); const _io5 = input => "number" === typeof input.width && "number" === typeof input.height && "cover" === input.fit; const _io6 = input => (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type) && (undefined === input.title || "string" === typeof input.title) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.required || "boolean" === typeof input.required) && (undefined === input.oneOf || Array.isArray(input.oneOf) && input.oneOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input.anyOf || Array.isArray(input.anyOf) && input.anyOf.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io6(elem))) && (undefined === input["enum"] || Array.isArray(input["enum"])) && (undefined === input.minItems || "number" === typeof input.minItems) && (undefined === input.maxItems || "number" === typeof input.maxItems) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io6(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io7(input.properties)) && true && true && (null !== input.widget && (undefined === input.widget || "string" === typeof input.widget || "object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) && _io8(input.widget))) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.helpText || "string" === typeof input.helpText) && (undefined === input.invalid || "boolean" === typeof input.invalid) && true; const _io7 = input => Object.keys(input).every(key => {
10029
+ const value = input[key];
10030
+ if (undefined === value)
10031
+ return true;
10032
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
10033
+ }); const _io8 = input => (undefined === input.type || "string" === typeof input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && Object.keys(input).every(key => {
10034
+ if (["type", "readOnly"].some(prop => key === prop))
10035
+ return true;
10036
+ const value = input[key];
10037
+ if (undefined === value)
10038
+ return true;
10039
+ return true;
10040
+ }); const _io9 = input => undefined === input.title || "string" === typeof input.title; const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.mixin || (Array.isArray(input.mixin) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8975
10041
  method: "typia.assert",
8976
10042
  path: _path + ".mixin",
8977
10043
  expected: "(Array<string> | undefined)",
8978
10044
  value: input.mixin
8979
- }, _errorFactory)) && input.mixin.every((elem, _index2) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10045
+ }, _errorFactory)) && input.mixin.every((elem, _index6) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8980
10046
  method: "typia.assert",
8981
- path: _path + ".mixin[" + _index2 + "]",
10047
+ path: _path + ".mixin[" + _index6 + "]",
8982
10048
  expected: "string",
8983
10049
  value: elem
8984
10050
  }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
@@ -8989,271 +10055,386 @@ function _assertDomainRecord(domain, input) {
8989
10055
  }, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8990
10056
  method: "typia.assert",
8991
10057
  path: _path + ".properties",
8992
- expected: "(object | undefined)",
10058
+ expected: "(Record<string, TemplateProperty> | undefined)",
8993
10059
  value: input.properties
8994
10060
  }, _errorFactory)) && _ao1(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8995
10061
  method: "typia.assert",
8996
10062
  path: _path + ".properties",
8997
- expected: "(object | undefined)",
10063
+ expected: "(Record<string, TemplateProperty> | undefined)",
8998
10064
  value: input.properties
8999
10065
  }, _errorFactory)) && (undefined === input.layout || ("object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9000
10066
  method: "typia.assert",
9001
10067
  path: _path + ".layout",
9002
- expected: "(__type | undefined)",
10068
+ expected: "(__type.o3 | undefined)",
9003
10069
  value: input.layout
9004
- }, _errorFactory)) && _ao2(input.layout, _path + ".layout", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10070
+ }, _errorFactory)) && _ao9(input.layout, _path + ".layout", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9005
10071
  method: "typia.assert",
9006
10072
  path: _path + ".layout",
9007
- expected: "(__type | undefined)",
10073
+ expected: "(__type.o3 | undefined)",
9008
10074
  value: input.layout
9009
10075
  }, _errorFactory)) && (undefined === input.controller || "string" === typeof input.controller || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9010
10076
  method: "typia.assert",
9011
10077
  path: _path + ".controller",
9012
10078
  expected: "(string | undefined)",
9013
10079
  value: input.controller
9014
- }, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => true; const _ao2 = (input, _path, _exceptionable = true) => undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9015
- method: "typia.assert",
9016
- path: _path + ".title",
9017
- expected: "(string | undefined)",
9018
- value: input.title
9019
- }, _errorFactory); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
9020
- if (false === __is(input)) {
9021
- _errorFactory = errorFactory;
9022
- ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
9023
- method: "typia.assert",
9024
- path: _path + "",
9025
- expected: "EventTemplateRecord",
9026
- value: input
9027
- }, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
9028
- method: "typia.assert",
9029
- path: _path + "",
9030
- expected: "EventTemplateRecord",
9031
- value: input
9032
- }, _errorFactory))(input, "$input", true);
9033
- }
9034
- return input;
9035
- }; })()(input);
9036
- }
9037
- case ":event.overlay?": {
9038
- return (() => { const _io0 = input => Object.keys(input).every(key => {
9039
- const value = input[key];
9040
- if (undefined === value)
9041
- return true;
9042
- return "object" === typeof value && null !== value && _io1(value);
9043
- }); const _io1 = input => "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && _io2(input.data); const _io2 = input => (undefined === input.source || "string" === typeof input.source) && (undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard) && (undefined === input.printRundownColor || "string" === typeof input.printRundownColor) && (undefined === input.startTime || "number" === typeof input.startTime) && (null !== input.shotboxGroup && (undefined === input.shotboxGroup || "string" === typeof input.shotboxGroup || Array.isArray(input.shotboxGroup) && input.shotboxGroup.every(elem => "string" === typeof elem))) && (undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible) && Object.keys(input).every(key => {
9044
- if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
9045
- return true;
9046
- const value = input[key];
9047
- if (undefined === value)
9048
- return true;
9049
- return undefined !== value && (null === value || "string" === typeof value || "number" === typeof value || "boolean" === typeof value || (Array.isArray(value) && (_ia0(value) || false) || "object" === typeof value && null !== value && false === Array.isArray(value) && _io3(value)));
9050
- }); const _io3 = input => Object.keys(input).every(key => {
9051
- const value = input[key];
9052
- if (undefined === value)
9053
- return true;
9054
- return undefined !== value && (null === value || "string" === typeof value || "number" === typeof value || "boolean" === typeof value || (Array.isArray(value) && (_ia0(value) || false) || "object" === typeof value && null !== value && false === Array.isArray(value) && _io3(value)));
9055
- }); const _ia0 = input => input.every(elem => undefined !== elem && (null === elem || "string" === typeof elem || "number" === typeof elem || "boolean" === typeof elem || (Array.isArray(elem) && (_ia0(elem) || false) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io3(elem)))); const _ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
10080
+ }, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
9056
10081
  const value = input[key];
9057
10082
  if (undefined === value)
9058
10083
  return true;
9059
- return ("object" === typeof value && null !== value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10084
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9060
10085
  method: "typia.assert",
9061
10086
  path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9062
- expected: "__type",
10087
+ expected: "TemplateProperty",
9063
10088
  value: value
9064
- }, _errorFactory)) && _ao1(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10089
+ }, _errorFactory)) && _ao2(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9065
10090
  method: "typia.assert",
9066
10091
  path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9067
- expected: "__type",
10092
+ expected: "TemplateProperty",
9068
10093
  value: value
9069
10094
  }, _errorFactory);
9070
- }); const _ao1 = (input, _path, _exceptionable = true) => ("object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10095
+ }); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9071
10096
  method: "typia.assert",
9072
- path: _path + ".data",
9073
- expected: "EventPropsRecord",
9074
- value: input.data
9075
- }, _errorFactory)) && _ao2(input.data, _path + ".data", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10097
+ path: _path + ".path",
10098
+ expected: "(string | undefined)",
10099
+ value: input.path
10100
+ }, _errorFactory)) && (undefined === input.render || ("object" === typeof input.render && null !== input.render || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9076
10101
  method: "typia.assert",
9077
- path: _path + ".data",
9078
- expected: "EventPropsRecord",
9079
- value: input.data
9080
- }, _errorFactory); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.source || "string" === typeof input.source || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10102
+ path: _path + ".render",
10103
+ expected: "(__type | undefined)",
10104
+ value: input.render
10105
+ }, _errorFactory)) && _ao3(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9081
10106
  method: "typia.assert",
9082
- path: _path + ".source",
10107
+ path: _path + ".render",
10108
+ expected: "(__type | undefined)",
10109
+ value: input.render
10110
+ }, _errorFactory)) && (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10111
+ method: "typia.assert",
10112
+ path: _path + ".type",
10113
+ expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
10114
+ value: input.type
10115
+ }, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10116
+ method: "typia.assert",
10117
+ path: _path + ".title",
9083
10118
  expected: "(string | undefined)",
9084
- value: input.source
9085
- }, _errorFactory)) && (undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10119
+ value: input.title
10120
+ }, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9086
10121
  method: "typia.assert",
9087
- path: _path + ".cueCard",
9088
- expected: "(boolean | string | undefined)",
9089
- value: input.cueCard
9090
- }, _errorFactory)) && (undefined === input.printRundownColor || "string" === typeof input.printRundownColor || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10122
+ path: _path + ".description",
10123
+ expected: "(string | undefined)",
10124
+ value: input.description
10125
+ }, _errorFactory)) && (undefined === input.required || "boolean" === typeof input.required || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9091
10126
  method: "typia.assert",
9092
- path: _path + ".printRundownColor",
10127
+ path: _path + ".required",
10128
+ expected: "(boolean | undefined)",
10129
+ value: input.required
10130
+ }, _errorFactory)) && (undefined === input.oneOf || (Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10131
+ method: "typia.assert",
10132
+ path: _path + ".oneOf",
10133
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
10134
+ value: input.oneOf
10135
+ }, _errorFactory)) && input.oneOf.every((elem, _index7) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10136
+ method: "typia.assert",
10137
+ path: _path + ".oneOf[" + _index7 + "]",
10138
+ expected: "SchemaProperty<unknown>",
10139
+ value: elem
10140
+ }, _errorFactory)) && _ao6(elem, _path + ".oneOf[" + _index7 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10141
+ method: "typia.assert",
10142
+ path: _path + ".oneOf[" + _index7 + "]",
10143
+ expected: "SchemaProperty<unknown>",
10144
+ value: elem
10145
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10146
+ method: "typia.assert",
10147
+ path: _path + ".oneOf",
10148
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
10149
+ value: input.oneOf
10150
+ }, _errorFactory)) && (undefined === input.anyOf || (Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10151
+ method: "typia.assert",
10152
+ path: _path + ".anyOf",
10153
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
10154
+ value: input.anyOf
10155
+ }, _errorFactory)) && input.anyOf.every((elem, _index8) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10156
+ method: "typia.assert",
10157
+ path: _path + ".anyOf[" + _index8 + "]",
10158
+ expected: "SchemaProperty<unknown>",
10159
+ value: elem
10160
+ }, _errorFactory)) && _ao6(elem, _path + ".anyOf[" + _index8 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10161
+ method: "typia.assert",
10162
+ path: _path + ".anyOf[" + _index8 + "]",
10163
+ expected: "SchemaProperty<unknown>",
10164
+ value: elem
10165
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10166
+ method: "typia.assert",
10167
+ path: _path + ".anyOf",
10168
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
10169
+ value: input.anyOf
10170
+ }, _errorFactory)) && (undefined === input["enum"] || Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10171
+ method: "typia.assert",
10172
+ path: _path + "[\"enum\"]",
10173
+ expected: "(ReadonlyArray<unknown> | undefined)",
10174
+ value: input["enum"]
10175
+ }, _errorFactory)) && (undefined === input.minItems || "number" === typeof input.minItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10176
+ method: "typia.assert",
10177
+ path: _path + ".minItems",
10178
+ expected: "(number | undefined)",
10179
+ value: input.minItems
10180
+ }, _errorFactory)) && (undefined === input.maxItems || "number" === typeof input.maxItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10181
+ method: "typia.assert",
10182
+ path: _path + ".maxItems",
10183
+ expected: "(number | undefined)",
10184
+ value: input.maxItems
10185
+ }, _errorFactory)) && (undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10186
+ method: "typia.assert",
10187
+ path: _path + ".items",
10188
+ expected: "(SchemaProperty<unknown> | undefined)",
10189
+ value: input.items
10190
+ }, _errorFactory)) && _ao6(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10191
+ method: "typia.assert",
10192
+ path: _path + ".items",
10193
+ expected: "(SchemaProperty<unknown> | undefined)",
10194
+ value: input.items
10195
+ }, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10196
+ method: "typia.assert",
10197
+ path: _path + ".properties",
10198
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
10199
+ value: input.properties
10200
+ }, _errorFactory)) && _ao7(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10201
+ method: "typia.assert",
10202
+ path: _path + ".properties",
10203
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
10204
+ value: input.properties
10205
+ }, _errorFactory)) && true && true && ((null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10206
+ method: "typia.assert",
10207
+ path: _path + ".widget",
10208
+ expected: "(WidgetOptions | string | undefined)",
10209
+ value: input.widget
10210
+ }, _errorFactory)) && (undefined === input.widget || "string" === typeof input.widget || ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10211
+ method: "typia.assert",
10212
+ path: _path + ".widget",
10213
+ expected: "(WidgetOptions | string | undefined)",
10214
+ value: input.widget
10215
+ }, _errorFactory)) && _ao8(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10216
+ method: "typia.assert",
10217
+ path: _path + ".widget",
10218
+ expected: "(WidgetOptions | string | undefined)",
10219
+ value: input.widget
10220
+ }, _errorFactory))) && (undefined === input.placeholder || "string" === typeof input.placeholder || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10221
+ method: "typia.assert",
10222
+ path: _path + ".placeholder",
9093
10223
  expected: "(string | undefined)",
9094
- value: input.printRundownColor
9095
- }, _errorFactory)) && (undefined === input.startTime || "number" === typeof input.startTime || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10224
+ value: input.placeholder
10225
+ }, _errorFactory)) && (undefined === input.helpText || "string" === typeof input.helpText || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10226
+ method: "typia.assert",
10227
+ path: _path + ".helpText",
10228
+ expected: "(string | undefined)",
10229
+ value: input.helpText
10230
+ }, _errorFactory)) && (undefined === input.invalid || "boolean" === typeof input.invalid || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10231
+ method: "typia.assert",
10232
+ path: _path + ".invalid",
10233
+ expected: "(boolean | undefined)",
10234
+ value: input.invalid
10235
+ }, _errorFactory)) && true; const _ao3 = (input, _path, _exceptionable = true) => ("image" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10236
+ method: "typia.assert",
10237
+ path: _path + ".type",
10238
+ expected: "\"image\"",
10239
+ value: input.type
10240
+ }, _errorFactory)) && (undefined === input.profile || ("object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10241
+ method: "typia.assert",
10242
+ path: _path + ".profile",
10243
+ expected: "(__type.o1 | undefined)",
10244
+ value: input.profile
10245
+ }, _errorFactory)) && _ao4(input.profile, _path + ".profile", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10246
+ method: "typia.assert",
10247
+ path: _path + ".profile",
10248
+ expected: "(__type.o1 | undefined)",
10249
+ value: input.profile
10250
+ }, _errorFactory)); const _ao4 = (input, _path, _exceptionable = true) => (undefined === input.format || "string" === typeof input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10251
+ method: "typia.assert",
10252
+ path: _path + ".format",
10253
+ expected: "(string | undefined)",
10254
+ value: input.format
10255
+ }, _errorFactory)) && (undefined === input.video || ("object" === typeof input.video && null !== input.video || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10256
+ method: "typia.assert",
10257
+ path: _path + ".video",
10258
+ expected: "(__type.o2 | undefined)",
10259
+ value: input.video
10260
+ }, _errorFactory)) && _ao5(input.video, _path + ".video", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10261
+ method: "typia.assert",
10262
+ path: _path + ".video",
10263
+ expected: "(__type.o2 | undefined)",
10264
+ value: input.video
10265
+ }, _errorFactory)); const _ao5 = (input, _path, _exceptionable = true) => ("number" === typeof input.width || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10266
+ method: "typia.assert",
10267
+ path: _path + ".width",
10268
+ expected: "number",
10269
+ value: input.width
10270
+ }, _errorFactory)) && ("number" === typeof input.height || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10271
+ method: "typia.assert",
10272
+ path: _path + ".height",
10273
+ expected: "number",
10274
+ value: input.height
10275
+ }, _errorFactory)) && ("cover" === input.fit || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10276
+ method: "typia.assert",
10277
+ path: _path + ".fit",
10278
+ expected: "\"cover\"",
10279
+ value: input.fit
10280
+ }, _errorFactory)); const _ao6 = (input, _path, _exceptionable = true) => (undefined === input.type || "string" === input.type || "number" === input.type || "boolean" === input.type || "object" === input.type || "array" === input.type || "asset" === input.type || "datetime" === input.type || "rpc" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10281
+ method: "typia.assert",
10282
+ path: _path + ".type",
10283
+ expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
10284
+ value: input.type
10285
+ }, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10286
+ method: "typia.assert",
10287
+ path: _path + ".title",
10288
+ expected: "(string | undefined)",
10289
+ value: input.title
10290
+ }, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10291
+ method: "typia.assert",
10292
+ path: _path + ".description",
10293
+ expected: "(string | undefined)",
10294
+ value: input.description
10295
+ }, _errorFactory)) && (undefined === input.required || "boolean" === typeof input.required || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9096
10296
  method: "typia.assert",
9097
- path: _path + ".startTime",
9098
- expected: "(number | undefined)",
9099
- value: input.startTime
9100
- }, _errorFactory)) && ((null !== input.shotboxGroup || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10297
+ path: _path + ".required",
10298
+ expected: "(boolean | undefined)",
10299
+ value: input.required
10300
+ }, _errorFactory)) && (undefined === input.oneOf || (Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9101
10301
  method: "typia.assert",
9102
- path: _path + ".shotboxGroup",
9103
- expected: "(Array<string> | string | undefined)",
9104
- value: input.shotboxGroup
9105
- }, _errorFactory)) && (undefined === input.shotboxGroup || "string" === typeof input.shotboxGroup || (Array.isArray(input.shotboxGroup) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10302
+ path: _path + ".oneOf",
10303
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
10304
+ value: input.oneOf
10305
+ }, _errorFactory)) && input.oneOf.every((elem, _index9) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9106
10306
  method: "typia.assert",
9107
- path: _path + ".shotboxGroup",
9108
- expected: "(Array<string> | string | undefined)",
9109
- value: input.shotboxGroup
9110
- }, _errorFactory)) && input.shotboxGroup.every((elem, _index3) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10307
+ path: _path + ".oneOf[" + _index9 + "]",
10308
+ expected: "SchemaProperty<unknown>",
10309
+ value: elem
10310
+ }, _errorFactory)) && _ao6(elem, _path + ".oneOf[" + _index9 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9111
10311
  method: "typia.assert",
9112
- path: _path + ".shotboxGroup[" + _index3 + "]",
9113
- expected: "string",
10312
+ path: _path + ".oneOf[" + _index9 + "]",
10313
+ expected: "SchemaProperty<unknown>",
9114
10314
  value: elem
9115
10315
  }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9116
10316
  method: "typia.assert",
9117
- path: _path + ".shotboxGroup",
9118
- expected: "(Array<string> | string | undefined)",
9119
- value: input.shotboxGroup
9120
- }, _errorFactory))) && (undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9121
- method: "typia.assert",
9122
- path: _path + ".shotboxVisible",
9123
- expected: "(boolean | undefined)",
9124
- value: input.shotboxVisible
9125
- }, _errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
9126
- if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
9127
- return true;
9128
- const value = input[key];
9129
- if (undefined === value)
9130
- return true;
9131
- return (undefined !== value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9132
- method: "typia.assert",
9133
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9134
- expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9135
- value: value
9136
- }, _errorFactory)) && (null === value || "string" === typeof value || "number" === typeof value || "boolean" === typeof value || (Array.isArray(value) && (_aa0(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9137
- method: "typia.assert",
9138
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9139
- expected: "Array<JsonValue>",
9140
- value: value
9141
- }, _errorFactory)) || "object" === typeof value && null !== value && false === Array.isArray(value) && _ao3(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9142
- method: "typia.assert",
9143
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9144
- expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9145
- value: value
9146
- }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9147
- method: "typia.assert",
9148
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9149
- expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9150
- value: value
9151
- }, _errorFactory));
9152
- })); const _ao3 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
9153
- const value = input[key];
9154
- if (undefined === value)
9155
- return true;
9156
- return (undefined !== value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9157
- method: "typia.assert",
9158
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9159
- expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9160
- value: value
9161
- }, _errorFactory)) && (null === value || "string" === typeof value || "number" === typeof value || "boolean" === typeof value || (Array.isArray(value) && (_aa0(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9162
- method: "typia.assert",
9163
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9164
- expected: "Array<JsonValue>",
9165
- value: value
9166
- }, _errorFactory)) || "object" === typeof value && null !== value && false === Array.isArray(value) && _ao3(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9167
- method: "typia.assert",
9168
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9169
- expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9170
- value: value
9171
- }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9172
- method: "typia.assert",
9173
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9174
- expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9175
- value: value
9176
- }, _errorFactory));
9177
- }); const _aa0 = (input, _path, _exceptionable = true) => input.every((elem, _index4) => (undefined !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10317
+ path: _path + ".oneOf",
10318
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
10319
+ value: input.oneOf
10320
+ }, _errorFactory)) && (undefined === input.anyOf || (Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9178
10321
  method: "typia.assert",
9179
- path: _path + "[" + _index4 + "]",
9180
- expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9181
- value: elem
9182
- }, _errorFactory)) && (null === elem || "string" === typeof elem || "number" === typeof elem || "boolean" === typeof elem || (Array.isArray(elem) && (_aa0(elem, _path + "[" + _index4 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10322
+ path: _path + ".anyOf",
10323
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
10324
+ value: input.anyOf
10325
+ }, _errorFactory)) && input.anyOf.every((elem, _index10) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9183
10326
  method: "typia.assert",
9184
- path: _path + "[" + _index4 + "]",
9185
- expected: "Array<JsonValue>",
10327
+ path: _path + ".anyOf[" + _index10 + "]",
10328
+ expected: "SchemaProperty<unknown>",
9186
10329
  value: elem
9187
- }, _errorFactory)) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _ao3(elem, _path + "[" + _index4 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10330
+ }, _errorFactory)) && _ao6(elem, _path + ".anyOf[" + _index10 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9188
10331
  method: "typia.assert",
9189
- path: _path + "[" + _index4 + "]",
9190
- expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
10332
+ path: _path + ".anyOf[" + _index10 + "]",
10333
+ expected: "SchemaProperty<unknown>",
9191
10334
  value: elem
9192
10335
  }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9193
10336
  method: "typia.assert",
9194
- path: _path + "[" + _index4 + "]",
9195
- expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9196
- value: elem
9197
- }, _errorFactory))); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
9198
- if (false === __is(input)) {
9199
- _errorFactory = errorFactory;
9200
- ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
9201
- method: "typia.assert",
9202
- path: _path + "",
9203
- expected: "EventOverlayRecord",
9204
- value: input
9205
- }, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
9206
- method: "typia.assert",
9207
- path: _path + "",
9208
- expected: "EventOverlayRecord",
9209
- value: input
9210
- }, _errorFactory))(input, "$input", true);
9211
- }
9212
- return input;
9213
- }; })()(input);
9214
- }
9215
- case ":event.template?": {
9216
- return (() => { const _io0 = input => (undefined === input.mixin || Array.isArray(input.mixin) && input.mixin.every(elem => "string" === typeof elem)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)) && (undefined === input.layout || "object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) && _io2(input.layout)) && (undefined === input.controller || "string" === typeof input.controller); const _io1 = input => true; const _io2 = input => undefined === input.title || "string" === typeof input.title; const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.mixin || (Array.isArray(input.mixin) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10337
+ path: _path + ".anyOf",
10338
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
10339
+ value: input.anyOf
10340
+ }, _errorFactory)) && (undefined === input["enum"] || Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9217
10341
  method: "typia.assert",
9218
- path: _path + ".mixin",
9219
- expected: "(Array<string> | undefined)",
9220
- value: input.mixin
9221
- }, _errorFactory)) && input.mixin.every((elem, _index2) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10342
+ path: _path + "[\"enum\"]",
10343
+ expected: "(ReadonlyArray<unknown> | undefined)",
10344
+ value: input["enum"]
10345
+ }, _errorFactory)) && (undefined === input.minItems || "number" === typeof input.minItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9222
10346
  method: "typia.assert",
9223
- path: _path + ".mixin[" + _index2 + "]",
9224
- expected: "string",
9225
- value: elem
9226
- }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10347
+ path: _path + ".minItems",
10348
+ expected: "(number | undefined)",
10349
+ value: input.minItems
10350
+ }, _errorFactory)) && (undefined === input.maxItems || "number" === typeof input.maxItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9227
10351
  method: "typia.assert",
9228
- path: _path + ".mixin",
9229
- expected: "(Array<string> | undefined)",
9230
- value: input.mixin
10352
+ path: _path + ".maxItems",
10353
+ expected: "(number | undefined)",
10354
+ value: input.maxItems
10355
+ }, _errorFactory)) && (undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10356
+ method: "typia.assert",
10357
+ path: _path + ".items",
10358
+ expected: "(SchemaProperty<unknown> | undefined)",
10359
+ value: input.items
10360
+ }, _errorFactory)) && _ao6(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10361
+ method: "typia.assert",
10362
+ path: _path + ".items",
10363
+ expected: "(SchemaProperty<unknown> | undefined)",
10364
+ value: input.items
9231
10365
  }, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9232
10366
  method: "typia.assert",
9233
10367
  path: _path + ".properties",
9234
- expected: "(object | undefined)",
10368
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
9235
10369
  value: input.properties
9236
- }, _errorFactory)) && _ao1(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10370
+ }, _errorFactory)) && _ao7(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9237
10371
  method: "typia.assert",
9238
10372
  path: _path + ".properties",
9239
- expected: "(object | undefined)",
10373
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
9240
10374
  value: input.properties
9241
- }, _errorFactory)) && (undefined === input.layout || ("object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10375
+ }, _errorFactory)) && true && true && ((null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9242
10376
  method: "typia.assert",
9243
- path: _path + ".layout",
9244
- expected: "(__type | undefined)",
9245
- value: input.layout
9246
- }, _errorFactory)) && _ao2(input.layout, _path + ".layout", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10377
+ path: _path + ".widget",
10378
+ expected: "(WidgetOptions | string | undefined)",
10379
+ value: input.widget
10380
+ }, _errorFactory)) && (undefined === input.widget || "string" === typeof input.widget || ("object" === typeof input.widget && null !== input.widget && false === Array.isArray(input.widget) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9247
10381
  method: "typia.assert",
9248
- path: _path + ".layout",
9249
- expected: "(__type | undefined)",
9250
- value: input.layout
9251
- }, _errorFactory)) && (undefined === input.controller || "string" === typeof input.controller || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10382
+ path: _path + ".widget",
10383
+ expected: "(WidgetOptions | string | undefined)",
10384
+ value: input.widget
10385
+ }, _errorFactory)) && _ao8(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9252
10386
  method: "typia.assert",
9253
- path: _path + ".controller",
10387
+ path: _path + ".widget",
10388
+ expected: "(WidgetOptions | string | undefined)",
10389
+ value: input.widget
10390
+ }, _errorFactory))) && (undefined === input.placeholder || "string" === typeof input.placeholder || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10391
+ method: "typia.assert",
10392
+ path: _path + ".placeholder",
9254
10393
  expected: "(string | undefined)",
9255
- value: input.controller
9256
- }, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => true; const _ao2 = (input, _path, _exceptionable = true) => undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10394
+ value: input.placeholder
10395
+ }, _errorFactory)) && (undefined === input.helpText || "string" === typeof input.helpText || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10396
+ method: "typia.assert",
10397
+ path: _path + ".helpText",
10398
+ expected: "(string | undefined)",
10399
+ value: input.helpText
10400
+ }, _errorFactory)) && (undefined === input.invalid || "boolean" === typeof input.invalid || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10401
+ method: "typia.assert",
10402
+ path: _path + ".invalid",
10403
+ expected: "(boolean | undefined)",
10404
+ value: input.invalid
10405
+ }, _errorFactory)) && true; const _ao7 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
10406
+ const value = input[key];
10407
+ if (undefined === value)
10408
+ return true;
10409
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10410
+ method: "typia.assert",
10411
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
10412
+ expected: "SchemaProperty<unknown>",
10413
+ value: value
10414
+ }, _errorFactory)) && _ao6(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10415
+ method: "typia.assert",
10416
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
10417
+ expected: "SchemaProperty<unknown>",
10418
+ value: value
10419
+ }, _errorFactory);
10420
+ }); const _ao8 = (input, _path, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10421
+ method: "typia.assert",
10422
+ path: _path + ".type",
10423
+ expected: "(string | undefined)",
10424
+ value: input.type
10425
+ }, _errorFactory)) && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10426
+ method: "typia.assert",
10427
+ path: _path + ".readOnly",
10428
+ expected: "(boolean | undefined)",
10429
+ value: input.readOnly
10430
+ }, _errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
10431
+ if (["type", "readOnly"].some(prop => key === prop))
10432
+ return true;
10433
+ const value = input[key];
10434
+ if (undefined === value)
10435
+ return true;
10436
+ return true;
10437
+ })); const _ao9 = (input, _path, _exceptionable = true) => undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9257
10438
  method: "typia.assert",
9258
10439
  path: _path + ".title",
9259
10440
  expected: "(string | undefined)",
@@ -11928,7 +13109,17 @@ function _assertDomainRecord(domain, input) {
11928
13109
  if (undefined === value)
11929
13110
  return true;
11930
13111
  return "object" === typeof value && null !== value && false === Array.isArray(value) && _io1(value);
11931
- }); const _io1 = input => undefined === input.patch || Array.isArray(input.patch) && input.patch.every(elem => "object" === typeof elem && null !== elem && _iu0(elem)); const _io2 = input => "add" === input.op && "string" === typeof input.path && true; const _io3 = input => "remove" === input.op && "string" === typeof input.path; const _io4 = input => "replace" === input.op && "string" === typeof input.path && true; const _io5 = input => "move" === input.op && "string" === typeof input.from && "string" === typeof input.path; const _io6 = input => "copy" === input.op && "string" === typeof input.from && "string" === typeof input.path; const _io7 = input => "test" === input.op && "string" === typeof input.path && true; const _iu0 = input => (() => {
13112
+ }); const _io1 = input => (undefined === input.patch || Array.isArray(input.patch) && input.patch.every(elem => "object" === typeof elem && null !== elem && _iu0(elem))) && (undefined === input.speakerLabels || "object" === typeof input.speakerLabels && null !== input.speakerLabels && false === Array.isArray(input.speakerLabels) && _io8(input.speakerLabels)) && (undefined === input.speakerRemaps || "object" === typeof input.speakerRemaps && null !== input.speakerRemaps && false === Array.isArray(input.speakerRemaps) && _io9(input.speakerRemaps)); const _io2 = input => "add" === input.op && "string" === typeof input.path && true; const _io3 = input => "remove" === input.op && "string" === typeof input.path; const _io4 = input => "replace" === input.op && "string" === typeof input.path && true; const _io5 = input => "move" === input.op && "string" === typeof input.from && "string" === typeof input.path; const _io6 = input => "copy" === input.op && "string" === typeof input.from && "string" === typeof input.path; const _io7 = input => "test" === input.op && "string" === typeof input.path && true; const _io8 = input => Object.keys(input).every(key => {
13113
+ const value = input[key];
13114
+ if (undefined === value)
13115
+ return true;
13116
+ return "string" === typeof value;
13117
+ }); const _io9 = input => Object.keys(input).every(key => {
13118
+ const value = input[key];
13119
+ if (undefined === value)
13120
+ return true;
13121
+ return "string" === typeof value;
13122
+ }); const _iu0 = input => (() => {
11932
13123
  if ("add" === input.op)
11933
13124
  return _io2(input);
11934
13125
  else if ("remove" === input.op)
@@ -11958,7 +13149,7 @@ function _assertDomainRecord(domain, input) {
11958
13149
  expected: "MediaTranscriptChangesRecordValue",
11959
13150
  value: value
11960
13151
  }, _errorFactory);
11961
- }); const _ao1 = (input, _path, _exceptionable = true) => undefined === input.patch || (Array.isArray(input.patch) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
13152
+ }); const _ao1 = (input, _path, _exceptionable = true) => (undefined === input.patch || (Array.isArray(input.patch) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
11962
13153
  method: "typia.assert",
11963
13154
  path: _path + ".patch",
11964
13155
  expected: "(Array<Operation> | undefined)",
@@ -11978,7 +13169,27 @@ function _assertDomainRecord(domain, input) {
11978
13169
  path: _path + ".patch",
11979
13170
  expected: "(Array<Operation> | undefined)",
11980
13171
  value: input.patch
11981
- }, _errorFactory); const _ao2 = (input, _path, _exceptionable = true) => ("add" === input.op || __typia_transform__assertGuard._assertGuard(_exceptionable, {
13172
+ }, _errorFactory)) && (undefined === input.speakerLabels || ("object" === typeof input.speakerLabels && null !== input.speakerLabels && false === Array.isArray(input.speakerLabels) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
13173
+ method: "typia.assert",
13174
+ path: _path + ".speakerLabels",
13175
+ expected: "(__type | undefined)",
13176
+ value: input.speakerLabels
13177
+ }, _errorFactory)) && _ao8(input.speakerLabels, _path + ".speakerLabels", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
13178
+ method: "typia.assert",
13179
+ path: _path + ".speakerLabels",
13180
+ expected: "(__type | undefined)",
13181
+ value: input.speakerLabels
13182
+ }, _errorFactory)) && (undefined === input.speakerRemaps || ("object" === typeof input.speakerRemaps && null !== input.speakerRemaps && false === Array.isArray(input.speakerRemaps) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
13183
+ method: "typia.assert",
13184
+ path: _path + ".speakerRemaps",
13185
+ expected: "(__type.o1 | undefined)",
13186
+ value: input.speakerRemaps
13187
+ }, _errorFactory)) && _ao9(input.speakerRemaps, _path + ".speakerRemaps", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
13188
+ method: "typia.assert",
13189
+ path: _path + ".speakerRemaps",
13190
+ expected: "(__type.o1 | undefined)",
13191
+ value: input.speakerRemaps
13192
+ }, _errorFactory)); const _ao2 = (input, _path, _exceptionable = true) => ("add" === input.op || __typia_transform__assertGuard._assertGuard(_exceptionable, {
11982
13193
  method: "typia.assert",
11983
13194
  path: _path + ".op",
11984
13195
  expected: "\"add\"",
@@ -12048,7 +13259,27 @@ function _assertDomainRecord(domain, input) {
12048
13259
  path: _path + ".path",
12049
13260
  expected: "string",
12050
13261
  value: input.path
12051
- }, _errorFactory)) && true; const _au0 = (input, _path, _exceptionable = true) => (() => {
13262
+ }, _errorFactory)) && true; const _ao8 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
13263
+ const value = input[key];
13264
+ if (undefined === value)
13265
+ return true;
13266
+ return "string" === typeof value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
13267
+ method: "typia.assert",
13268
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
13269
+ expected: "string",
13270
+ value: value
13271
+ }, _errorFactory);
13272
+ }); const _ao9 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
13273
+ const value = input[key];
13274
+ if (undefined === value)
13275
+ return true;
13276
+ return "string" === typeof value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
13277
+ method: "typia.assert",
13278
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
13279
+ expected: "string",
13280
+ value: value
13281
+ }, _errorFactory);
13282
+ }); const _au0 = (input, _path, _exceptionable = true) => (() => {
12052
13283
  if ("add" === input.op)
12053
13284
  return _ao2(input, _path, true && _exceptionable);
12054
13285
  else if ("remove" === input.op)
@@ -23345,7 +24576,7 @@ function _assertDomainRecord(domain, input) {
23345
24576
  if (undefined === value)
23346
24577
  return true;
23347
24578
  return true;
23348
- }); const _io37 = input => (undefined === input.volume || "number" === typeof input.volume) && (undefined === input.muted || "boolean" === typeof input.muted) && (undefined === input.graphics || "boolean" === typeof input.graphics) && (null === input.subtitle || undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.waveform || "boolean" === typeof input.waveform) && (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.dropFrame || "boolean" === typeof input.dropFrame) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.warnSubclipDuration || "number" === typeof input.warnSubclipDuration) && (undefined === input.displayAspectRatioPresets || Array.isArray(input.displayAspectRatioPresets) && input.displayAspectRatioPresets.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io38(elem))) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && _io39(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && _io40(input.tile)) && (undefined === input.showTimeCode || "boolean" === typeof input.showTimeCode) && (undefined === input.timecodeReference || "default" === input.timecodeReference || "subclip" === input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && _io41(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io44(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && _io45(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io46(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && _io50(input.openCommand))) && (undefined === input.recorder || "object" === typeof input.recorder && null !== input.recorder && false === Array.isArray(input.recorder) && _io51(input.recorder)); const _io38 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.value || "string" === typeof input.value); const _io39 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe); const _io40 = input => (undefined === input.preview || "disabled" === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress); const _io41 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine) && (undefined === input.suggestions || Array.isArray(input.suggestions) && input.suggestions.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io42(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io43(elem))) && (undefined === input.overridableProperties || Array.isArray(input.overridableProperties) && input.overridableProperties.every(elem => null === elem || true === _iv29.has(elem))) && (undefined === input.previewResolutionScale || "number" === typeof input.previewResolutionScale); const _io42 = input => (null === input.ifAspectRatio || undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio) && (null === input.ifLang || undefined === input.ifLang || "string" === typeof input.ifLang) && (null === input.thenStyle || undefined === input.thenStyle || "string" === typeof input.thenStyle) && (null === input.thenMaxCharactersPerLine || undefined === input.thenMaxCharactersPerLine || "number" === typeof input.thenMaxCharactersPerLine); const _io43 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color); const _io44 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.aspectRatio || "string" === typeof input.aspectRatio); const _io45 = input => (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.defaultEnterOption || "edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption) && (undefined === input.defaultExitOption || "none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption); const _io46 = input => undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && _io47(input.subtitleDisclaimer); const _io47 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && _io48(input.defaultValue)); const _io48 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io49(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration); const _io49 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.value || "string" === typeof input.value); const _io50 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io51 = input => (undefined === input.microphone || "object" === typeof input.microphone && null !== input.microphone && false === Array.isArray(input.microphone) && _io52(input.microphone)) && (undefined === input.webcam || "object" === typeof input.webcam && null !== input.webcam && false === Array.isArray(input.webcam) && _io53(input.webcam)) && (undefined === input.countdown || "number" === typeof input.countdown); const _io52 = input => (undefined === input.deviceId || "string" === typeof input.deviceId) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.monitorInput || "boolean" === typeof input.monitorInput); const _io53 = input => (undefined === input.deviceId || "string" === typeof input.deviceId) && (undefined === input.frameRate || "number" === typeof input.frameRate) && (undefined === input.aspectRatio || "number" === typeof input.aspectRatio); const _io54 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.audioMapping || "object" === typeof input.audioMapping && null !== input.audioMapping && false === Array.isArray(input.audioMapping) && _io55(input.audioMapping)) && (undefined === input.normalize || "object" === typeof input.normalize && null !== input.normalize && false === Array.isArray(input.normalize) && _io57(input.normalize)) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && _io59(input.voiceOver)); const _io55 = input => undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io56(elem)); const _io56 = input => "string" === typeof input.id && "string" === typeof input.title && (undefined === input.mapping || Array.isArray(input.mapping) && input.mapping.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem))) && (undefined === input.mute || Array.isArray(input.mute) && input.mute.every(elem => "boolean" === typeof elem)) && (undefined === input.minInChannels || "number" === typeof input.minInChannels) && (undefined === input.maxInChannels || "number" === typeof input.maxInChannels) && (undefined === input.minOutChannels || "number" === typeof input.minOutChannels) && (undefined === input.maxOutChannels || "number" === typeof input.maxOutChannels); const _io57 = input => (undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io58(elem))) && (undefined === input.defaultPresetId || "string" === typeof input.defaultPresetId); const _io58 = input => "string" === typeof input.id && "string" === typeof input.title && "number" === typeof input.i && "number" === typeof input.tp; const _io59 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.monitorInput || "boolean" === typeof input.monitorInput) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration); const _io60 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io61 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && _io62(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && _io63(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && _io67(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && _io69(input.item)); const _io62 = input => undefined === input.auto || "boolean" === typeof input.auto; const _io63 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io64(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && _io66(input.note)); const _io64 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && _io65(input.excerpt); const _io65 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.comments || "boolean" === typeof input.comments); const _io66 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io67 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io68(input.search)) && (undefined === input.sortMode || true === _iv38.has(input.sortMode)); const _io68 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed; const _io69 = input => (undefined === input.maxHeight || "number" === typeof input.maxHeight) && (undefined === input.titleLines || "number" === typeof input.titleLines); const _io70 = input => (undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every(elem => "string" === typeof elem)) && (undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _iu0(elem))); const _io71 = input => "script" === input.type && "string" === typeof input.title && "number" === typeof input.horizontalMargin && ("A5" === input.pageSize || "A4" === input.pageSize || "A3" === input.pageSize) && ("landscape" === input.orientation || "portrait" === input.orientation) && "number" === typeof input.fontSize && (undefined === input.fontFamily || "string" === typeof input.fontFamily) && (Array.isArray(input.hide) && input.hide.every(elem => "event" === elem || "event-data" === elem || "comment" === elem || "heading" === elem || "list" === elem || "quote" === elem || "paragraph" === elem || "horizontalrule" === elem)); const _io72 = input => "rundown" === input.type && (Array.isArray(input.columns) && input.columns.every(elem => "object" === typeof elem && null !== elem && _io73(elem))) && (undefined === input.rangeStart || "number" === typeof input.rangeStart) && (undefined === input.rangeEnd || "number" === typeof input.rangeEnd) && (Array.isArray(input.hide) && input.hide.every(elem => "event" === elem || "comment" === elem || "heading" === elem || "list" === elem || "quote" === elem || "paragraph" === elem || "horizontalrule" === elem)) && "string" === typeof input.title && "number" === typeof input.horizontalMargin && ("A5" === input.pageSize || "A4" === input.pageSize || "A3" === input.pageSize) && ("landscape" === input.orientation || "portrait" === input.orientation) && "number" === typeof input.fontSize && (undefined === input.fontFamily || "string" === typeof input.fontFamily); const _io73 = input => ("type" === input.key || "title" === input.key || "id" === input.key || "time" === input.key || "duration" === input.key || "position" === input.key || "accDuration" === input.key) && "string" === typeof input.label && "string" === typeof input.width && ("right" === input.textAlign || "left" === input.textAlign || "center" === input.textAlign); const _io74 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded); const _io75 = input => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io76(input.adobe)) && (undefined === input.ograf || "object" === typeof input.ograf && null !== input.ograf && false === Array.isArray(input.ograf) && _io78(input.ograf)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io79(input.rive)); const _io76 = input => (undefined === input.videoBin || "string" === typeof input.videoBin) && (undefined === input.imageBin || "string" === typeof input.imageBin) && (undefined === input.audioBin || "string" === typeof input.audioBin) && (undefined === input.timelineBin || "string" === typeof input.timelineBin) && (undefined === input.clipBin || "string" === typeof input.clipBin) && (undefined === input.downloadPath || "string" === typeof input.downloadPath) && (undefined === input.renderPath || "string" === typeof input.renderPath) && (undefined === input.renderPresetPath || "string" === typeof input.renderPresetPath) && (undefined === input.renderPresets || Array.isArray(input.renderPresets) && input.renderPresets.every(elem => "string" === typeof elem)) && (undefined === input.videoRenderPreset || "string" === typeof input.videoRenderPreset) && (undefined === input.imageRenderPreset || "string" === typeof input.imageRenderPreset) && (undefined === input.audioRenderPreset || "string" === typeof input.audioRenderPreset) && (undefined === input.forceRender || "boolean" === typeof input.forceRender) && (undefined === input.useProxies || "boolean" === typeof input.useProxies) && (undefined === input.deleteIntermediateFiles || "boolean" === typeof input.deleteIntermediateFiles) && (undefined === input.bodymovin || "object" === typeof input.bodymovin && null !== input.bodymovin && false === Array.isArray(input.bodymovin) && _io77(input.bodymovin)); const _io77 = input => undefined === input.template || "string" === typeof input.template; const _io78 = input => undefined === input.template || "string" === typeof input.template; const _io79 = input => undefined === input.template || "string" === typeof input.template; const _io80 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.aiMetadata || "boolean" === typeof input.aiMetadata) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering); const _io81 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.utilsAssetEditor || "boolean" === typeof input.utilsAssetEditor) && (undefined === input.utilsAssetPanel || "boolean" === typeof input.utilsAssetPanel) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings) && (undefined === input.downloadFiles || "boolean" === typeof input.downloadFiles) && (undefined === input.supportPortal || "boolean" === typeof input.supportPortal) && (undefined === input.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets) && (undefined === input.systemHealth || "boolean" === typeof input.systemHealth) && (undefined === input.systemHealthIgnore || "boolean" === typeof input.systemHealthIgnore); const _io82 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io83(input.events); const _io83 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && _io84(input.publishSucceeded)); const _io84 = input => Object.keys(input).every(key => {
24579
+ }); const _io37 = input => (undefined === input.volume || "number" === typeof input.volume) && (undefined === input.muted || "boolean" === typeof input.muted) && (undefined === input.graphics || "boolean" === typeof input.graphics) && (null === input.subtitle || undefined === input.subtitle || "string" === typeof input.subtitle) && (undefined === input.waveform || "boolean" === typeof input.waveform) && (undefined === input.defaultFrameRate || "number" === typeof input.defaultFrameRate) && (undefined === input.dropFrame || "boolean" === typeof input.dropFrame) && (undefined === input.placeholder || "string" === typeof input.placeholder) && (undefined === input.warnSubclipDuration || "number" === typeof input.warnSubclipDuration) && (undefined === input.displayAspectRatioPresets || Array.isArray(input.displayAspectRatioPresets) && input.displayAspectRatioPresets.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io38(elem))) && (undefined === input.guide || "object" === typeof input.guide && null !== input.guide && false === Array.isArray(input.guide) && _io39(input.guide)) && (undefined === input.stepManyFrames || "number" === typeof input.stepManyFrames) && (undefined === input.liveZoomDuration || "number" === typeof input.liveZoomDuration) && (undefined === input.importTitleTemplate || "string" === typeof input.importTitleTemplate) && (undefined === input.tile || "object" === typeof input.tile && null !== input.tile && false === Array.isArray(input.tile) && _io40(input.tile)) && (undefined === input.showTimeCode || "boolean" === typeof input.showTimeCode) && (undefined === input.timecodeReference || "default" === input.timecodeReference || "subclip" === input.timecodeReference) && (undefined === input.maxSubclipDuration || "number" === typeof input.maxSubclipDuration) && (undefined === input.rewindStep || "number" === typeof input.rewindStep) && (undefined === input.forwardStep || "number" === typeof input.forwardStep) && (undefined === input.interlacedPlayback || "string" === typeof input.interlacedPlayback) && (undefined === input.playbackRates || Array.isArray(input.playbackRates) && input.playbackRates.every(elem => "number" === typeof elem)) && (undefined === input.subtitles || "object" === typeof input.subtitles && null !== input.subtitles && false === Array.isArray(input.subtitles) && _io41(input.subtitles)) && (undefined === input.subtitleTemplateId || "string" === typeof input.subtitleTemplateId) && (undefined === input.initialVolume || "string" === typeof input.initialVolume) && (undefined === input.guides || Array.isArray(input.guides) && input.guides.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io44(elem))) && (undefined === input.download || "boolean" === typeof input.download) && (undefined === input.editMode || "object" === typeof input.editMode && null !== input.editMode && false === Array.isArray(input.editMode) && _io45(input.editMode)) && (undefined === input.transcribe || "object" === typeof input.transcribe && null !== input.transcribe && false === Array.isArray(input.transcribe) && _io46(input.transcribe)) && (null !== input.openCommand && (undefined === input.openCommand || "string" === typeof input.openCommand || "object" === typeof input.openCommand && null !== input.openCommand && false === Array.isArray(input.openCommand) && _io50(input.openCommand))) && (undefined === input.recorder || "object" === typeof input.recorder && null !== input.recorder && false === Array.isArray(input.recorder) && _io51(input.recorder)); const _io38 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.value || "string" === typeof input.value); const _io39 = input => (undefined === input.mask || "boolean" === typeof input.mask) && (undefined === input.actionSafe || "boolean" === typeof input.actionSafe) && (undefined === input.titleSafe || "boolean" === typeof input.titleSafe); const _io40 = input => (undefined === input.preview || "disabled" === input.preview || "play" === input.preview || "seek" === input.preview || "seekplay" === input.preview || "boolean" === typeof input.preview) && (undefined === input.showRenderProgress || "boolean" === typeof input.showRenderProgress); const _io41 = input => (undefined === input.spacing || "number" === typeof input.spacing) && (undefined === input.maxCharactersPerLine || "number" === typeof input.maxCharactersPerLine) && (undefined === input.suggestions || Array.isArray(input.suggestions) && input.suggestions.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io42(elem))) && (undefined === input.colors || Array.isArray(input.colors) && input.colors.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io43(elem))) && (undefined === input.overridableProperties || Array.isArray(input.overridableProperties) && input.overridableProperties.every(elem => null === elem || true === _iv29.has(elem))) && (undefined === input.previewResolutionScale || "number" === typeof input.previewResolutionScale); const _io42 = input => (null === input.ifAspectRatio || undefined === input.ifAspectRatio || "string" === typeof input.ifAspectRatio) && (null === input.ifLang || undefined === input.ifLang || "string" === typeof input.ifLang) && (null === input.thenStyle || undefined === input.thenStyle || "string" === typeof input.thenStyle) && (null === input.thenMaxCharactersPerLine || undefined === input.thenMaxCharactersPerLine || "number" === typeof input.thenMaxCharactersPerLine); const _io43 = input => (null === input.label || undefined === input.label || "string" === typeof input.label) && (null === input.color || undefined === input.color || "string" === typeof input.color); const _io44 = input => (undefined === input.label || "string" === typeof input.label) && (undefined === input.aspectRatio || "string" === typeof input.aspectRatio); const _io45 = input => (undefined === input.enabled || "boolean" === typeof input.enabled) && (undefined === input.defaultEnterOption || "edit" === input.defaultEnterOption || "createNew" === input.defaultEnterOption || "none" === input.defaultEnterOption) && (undefined === input.defaultExitOption || "none" === input.defaultExitOption || "update" === input.defaultExitOption || "leave" === input.defaultExitOption); const _io46 = input => (undefined === input.showSpeakers || "boolean" === typeof input.showSpeakers) && (undefined === input.subtitleDisclaimer || "object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) && _io47(input.subtitleDisclaimer)); const _io47 = input => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable) && (undefined === input.defaultValue || "object" === typeof input.defaultValue && null !== input.defaultValue && false === Array.isArray(input.defaultValue) && _io48(input.defaultValue)); const _io48 = input => (undefined === input.enabled || false === input.enabled) && (undefined === input.text || Array.isArray(input.text) && input.text.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _io49(elem))) && (undefined === input.offset || "number" === typeof input.offset) && (undefined === input.duration || "number" === typeof input.duration); const _io49 = input => (undefined === input.language || "string" === typeof input.language) && (undefined === input.value || "string" === typeof input.value); const _io50 = input => (undefined === input.url || "string" === typeof input.url) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.app || "string" === typeof input.app) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io51 = input => (undefined === input.microphone || "object" === typeof input.microphone && null !== input.microphone && false === Array.isArray(input.microphone) && _io52(input.microphone)) && (undefined === input.webcam || "object" === typeof input.webcam && null !== input.webcam && false === Array.isArray(input.webcam) && _io53(input.webcam)) && (undefined === input.countdown || "number" === typeof input.countdown); const _io52 = input => (undefined === input.deviceId || "string" === typeof input.deviceId) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.monitorInput || "boolean" === typeof input.monitorInput); const _io53 = input => (undefined === input.deviceId || "string" === typeof input.deviceId) && (undefined === input.frameRate || "number" === typeof input.frameRate) && (undefined === input.aspectRatio || "number" === typeof input.aspectRatio); const _io54 = input => (undefined === input.thumbnailView || "none" === input.thumbnailView || "filmStrip" === input.thumbnailView || "thumbnail" === input.thumbnailView) && (undefined === input.audioMapping || "object" === typeof input.audioMapping && null !== input.audioMapping && false === Array.isArray(input.audioMapping) && _io55(input.audioMapping)) && (undefined === input.normalize || "object" === typeof input.normalize && null !== input.normalize && false === Array.isArray(input.normalize) && _io57(input.normalize)) && (undefined === input.voiceOver || "object" === typeof input.voiceOver && null !== input.voiceOver && false === Array.isArray(input.voiceOver) && _io59(input.voiceOver)); const _io55 = input => undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io56(elem)); const _io56 = input => "string" === typeof input.id && "string" === typeof input.title && (undefined === input.mapping || Array.isArray(input.mapping) && input.mapping.every(elem => Array.isArray(elem) && elem.every(elem => "number" === typeof elem))) && (undefined === input.mute || Array.isArray(input.mute) && input.mute.every(elem => "boolean" === typeof elem)) && (undefined === input.minInChannels || "number" === typeof input.minInChannels) && (undefined === input.maxInChannels || "number" === typeof input.maxInChannels) && (undefined === input.minOutChannels || "number" === typeof input.minOutChannels) && (undefined === input.maxOutChannels || "number" === typeof input.maxOutChannels); const _io57 = input => (undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _io58(elem))) && (undefined === input.defaultPresetId || "string" === typeof input.defaultPresetId); const _io58 = input => "string" === typeof input.id && "string" === typeof input.title && "number" === typeof input.i && "number" === typeof input.tp; const _io59 = input => (undefined === input.inputDevice || "string" === typeof input.inputDevice) && (undefined === input.inputGainDb || "number" === typeof input.inputGainDb) && (undefined === input.monitorInput || "boolean" === typeof input.monitorInput) && (undefined === input.backgroundReductionDb || "number" === typeof input.backgroundReductionDb) && (undefined === input.recordMode || "instant" === input.recordMode || "punchAndRoll" === input.recordMode) && (undefined === input.preRollDuration || "number" === typeof input.preRollDuration); const _io60 = input => (undefined === input.title || "string" === typeof input.title) && (undefined === input.command || "string" === typeof input.command) && (undefined === input.args || Array.isArray(input.args) && input.args.every(elem => "string" === typeof elem)); const _io61 = input => (undefined === input.folded || "object" === typeof input.folded && null !== input.folded && false === Array.isArray(input.folded) && _io62(input.folded)) && (undefined === input.assets || "object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && _io63(input.assets)) && (undefined === input.pipeline || "object" === typeof input.pipeline && null !== input.pipeline && false === Array.isArray(input.pipeline) && _io67(input.pipeline)) && (undefined === input.item || "object" === typeof input.item && null !== input.item && false === Array.isArray(input.item) && _io69(input.item)); const _io62 = input => undefined === input.auto || "boolean" === typeof input.auto; const _io63 = input => (undefined === input.story || "object" === typeof input.story && null !== input.story && false === Array.isArray(input.story) && _io64(input.story)) && (undefined === input.note || "object" === typeof input.note && null !== input.note && false === Array.isArray(input.note) && _io66(input.note)); const _io64 = input => undefined === input.excerpt || "object" === typeof input.excerpt && null !== input.excerpt && false === Array.isArray(input.excerpt) && _io65(input.excerpt); const _io65 = input => (undefined === input.maxLines || "number" === typeof input.maxLines) && (undefined === input.mode || "string" === typeof input.mode) && (undefined === input.comments || "boolean" === typeof input.comments); const _io66 = input => undefined === input.maxHeight || "number" === typeof input.maxHeight; const _io67 = input => (undefined === input.search || "object" === typeof input.search && null !== input.search && false === Array.isArray(input.search) && _io68(input.search)) && (undefined === input.sortMode || true === _iv38.has(input.sortMode)); const _io68 = input => undefined === input.maxItemsDisplayed || "number" === typeof input.maxItemsDisplayed; const _io69 = input => (undefined === input.maxHeight || "number" === typeof input.maxHeight) && (undefined === input.titleLines || "number" === typeof input.titleLines); const _io70 = input => (undefined === input.fontFamilies || Array.isArray(input.fontFamilies) && input.fontFamilies.every(elem => "string" === typeof elem)) && (undefined === input.presets || Array.isArray(input.presets) && input.presets.every(elem => "object" === typeof elem && null !== elem && _iu0(elem))); const _io71 = input => "script" === input.type && "string" === typeof input.title && "number" === typeof input.horizontalMargin && ("A5" === input.pageSize || "A4" === input.pageSize || "A3" === input.pageSize) && ("landscape" === input.orientation || "portrait" === input.orientation) && "number" === typeof input.fontSize && (undefined === input.fontFamily || "string" === typeof input.fontFamily) && (Array.isArray(input.hide) && input.hide.every(elem => "event" === elem || "event-data" === elem || "comment" === elem || "heading" === elem || "list" === elem || "quote" === elem || "paragraph" === elem || "horizontalrule" === elem)); const _io72 = input => "rundown" === input.type && (Array.isArray(input.columns) && input.columns.every(elem => "object" === typeof elem && null !== elem && _io73(elem))) && (undefined === input.rangeStart || "number" === typeof input.rangeStart) && (undefined === input.rangeEnd || "number" === typeof input.rangeEnd) && (Array.isArray(input.hide) && input.hide.every(elem => "event" === elem || "comment" === elem || "heading" === elem || "list" === elem || "quote" === elem || "paragraph" === elem || "horizontalrule" === elem)) && "string" === typeof input.title && "number" === typeof input.horizontalMargin && ("A5" === input.pageSize || "A4" === input.pageSize || "A3" === input.pageSize) && ("landscape" === input.orientation || "portrait" === input.orientation) && "number" === typeof input.fontSize && (undefined === input.fontFamily || "string" === typeof input.fontFamily); const _io73 = input => ("type" === input.key || "title" === input.key || "id" === input.key || "time" === input.key || "duration" === input.key || "position" === input.key || "accDuration" === input.key) && "string" === typeof input.label && "string" === typeof input.width && ("right" === input.textAlign || "left" === input.textAlign || "center" === input.textAlign); const _io74 = input => (undefined === input.id || "string" === typeof input.id) && (undefined === input.folded || "boolean" === typeof input.folded); const _io75 = input => (undefined === input.adobe || "object" === typeof input.adobe && null !== input.adobe && false === Array.isArray(input.adobe) && _io76(input.adobe)) && (undefined === input.ograf || "object" === typeof input.ograf && null !== input.ograf && false === Array.isArray(input.ograf) && _io78(input.ograf)) && (undefined === input.rive || "object" === typeof input.rive && null !== input.rive && false === Array.isArray(input.rive) && _io79(input.rive)); const _io76 = input => (undefined === input.videoBin || "string" === typeof input.videoBin) && (undefined === input.imageBin || "string" === typeof input.imageBin) && (undefined === input.audioBin || "string" === typeof input.audioBin) && (undefined === input.timelineBin || "string" === typeof input.timelineBin) && (undefined === input.clipBin || "string" === typeof input.clipBin) && (undefined === input.downloadPath || "string" === typeof input.downloadPath) && (undefined === input.renderPath || "string" === typeof input.renderPath) && (undefined === input.renderPresetPath || "string" === typeof input.renderPresetPath) && (undefined === input.renderPresets || Array.isArray(input.renderPresets) && input.renderPresets.every(elem => "string" === typeof elem)) && (undefined === input.videoRenderPreset || "string" === typeof input.videoRenderPreset) && (undefined === input.imageRenderPreset || "string" === typeof input.imageRenderPreset) && (undefined === input.audioRenderPreset || "string" === typeof input.audioRenderPreset) && (undefined === input.forceRender || "boolean" === typeof input.forceRender) && (undefined === input.useProxies || "boolean" === typeof input.useProxies) && (undefined === input.deleteIntermediateFiles || "boolean" === typeof input.deleteIntermediateFiles) && (undefined === input.bodymovin || "object" === typeof input.bodymovin && null !== input.bodymovin && false === Array.isArray(input.bodymovin) && _io77(input.bodymovin)); const _io77 = input => undefined === input.template || "string" === typeof input.template; const _io78 = input => undefined === input.template || "string" === typeof input.template; const _io79 = input => undefined === input.template || "string" === typeof input.template; const _io80 = input => (undefined === input.collections || "boolean" === typeof input.collections) && (undefined === input.aiMetadata || "boolean" === typeof input.aiMetadata) && (undefined === input.semanticSearch || "boolean" === typeof input.semanticSearch) && (undefined === input.ameRemoteRendering || "boolean" === typeof input.ameRemoteRendering); const _io81 = input => (undefined === input.utils || "boolean" === typeof input.utils) && (undefined === input.utilsAssetEditor || "boolean" === typeof input.utilsAssetEditor) && (undefined === input.utilsAssetPanel || "boolean" === typeof input.utilsAssetPanel) && (undefined === input.history || "boolean" === typeof input.history) && (undefined === input.refs || "boolean" === typeof input.refs) && (undefined === input.access || "boolean" === typeof input.access) && (undefined === input.files || "boolean" === typeof input.files) && (undefined === input["export"] || "boolean" === typeof input["export"]) && (undefined === input.json || "boolean" === typeof input.json) && (undefined === input.hlsjs || "boolean" === typeof input.hlsjs) && (undefined === input.resetRenders || "boolean" === typeof input.resetRenders) && (undefined === input.resetReplicas || "boolean" === typeof input.resetReplicas) && (undefined === input.assetStatus || "boolean" === typeof input.assetStatus) && (undefined === input.consolidateMedia || "boolean" === typeof input.consolidateMedia) && (undefined === input.hideInAssetMenu || "boolean" === typeof input.hideInAssetMenu) && (undefined === input.assetRoute || "boolean" === typeof input.assetRoute) && (undefined === input.devWarnings || "boolean" === typeof input.devWarnings) && (undefined === input.downloadFiles || "boolean" === typeof input.downloadFiles) && (undefined === input.supportPortal || "boolean" === typeof input.supportPortal) && (undefined === input.multiplexWebSockets || "boolean" === typeof input.multiplexWebSockets) && (undefined === input.systemHealth || "boolean" === typeof input.systemHealth) && (undefined === input.systemHealthIgnore || "boolean" === typeof input.systemHealthIgnore); const _io82 = input => undefined === input.events || "object" === typeof input.events && null !== input.events && false === Array.isArray(input.events) && _io83(input.events); const _io83 = input => (undefined === input.comment || Array.isArray(input.comment) && input.comment.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.assigned || Array.isArray(input.assigned) && input.assigned.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.unassigned || Array.isArray(input.unassigned) && input.unassigned.every(elem => "author" === elem || "mentioned" === elem || "assigned" === elem || "participated" === elem || "always" === elem)) && (undefined === input.publishSucceeded || "object" === typeof input.publishSucceeded && null !== input.publishSucceeded && false === Array.isArray(input.publishSucceeded) && _io84(input.publishSucceeded)); const _io84 = input => Object.keys(input).every(key => {
23349
24580
  const value = input[key];
23350
24581
  if (undefined === value)
23351
24582
  return true;
@@ -24969,7 +26200,12 @@ function _assertDomainRecord(domain, input) {
24969
26200
  path: _path + ".defaultExitOption",
24970
26201
  expected: "(\"leave\" | \"none\" | \"update\" | undefined)",
24971
26202
  value: input.defaultExitOption
24972
- }, _errorFactory)); const _ao46 = (input, _path, _exceptionable = true) => undefined === input.subtitleDisclaimer || ("object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
26203
+ }, _errorFactory)); const _ao46 = (input, _path, _exceptionable = true) => (undefined === input.showSpeakers || "boolean" === typeof input.showSpeakers || __typia_transform__assertGuard._assertGuard(_exceptionable, {
26204
+ method: "typia.assert",
26205
+ path: _path + ".showSpeakers",
26206
+ expected: "(boolean | undefined)",
26207
+ value: input.showSpeakers
26208
+ }, _errorFactory)) && (undefined === input.subtitleDisclaimer || ("object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
24973
26209
  method: "typia.assert",
24974
26210
  path: _path + ".subtitleDisclaimer",
24975
26211
  expected: "(__type.o37 | undefined)",
@@ -24979,7 +26215,7 @@ function _assertDomainRecord(domain, input) {
24979
26215
  path: _path + ".subtitleDisclaimer",
24980
26216
  expected: "(__type.o37 | undefined)",
24981
26217
  value: input.subtitleDisclaimer
24982
- }, _errorFactory); const _ao47 = (input, _path, _exceptionable = true) => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
26218
+ }, _errorFactory)); const _ao47 = (input, _path, _exceptionable = true) => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
24983
26219
  method: "typia.assert",
24984
26220
  path: _path + ".isUserConfigurable",
24985
26221
  expected: "(boolean | undefined)",
@@ -27762,280 +28998,6 @@ function _assertDomainRecord(domain, input) {
27762
28998
  return input;
27763
28999
  }; })()(input);
27764
29000
  }
27765
- case ":template": {
27766
- return (() => { const _io0 = input => (undefined === input.source || "string" === typeof input.source) && (undefined === input.controller || "string" === typeof input.controller) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.mixin || Array.isArray(input.mixin) && input.mixin.every(elem => "string" === typeof elem)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io1(input.properties)); const _io1 = input => Object.keys(input).every(key => {
27767
- const value = input[key];
27768
- if (undefined === value)
27769
- return true;
27770
- return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
27771
- }); const _io2 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.label || "string" === typeof input.label) && (undefined === input.defaultValue || "string" === typeof input.defaultValue) && (undefined === input.widget || "object" === typeof input.widget && null !== input.widget && _io3(input.widget)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io4(input.properties)) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io5(input.items)) && (undefined === input.render || "object" === typeof input.render && null !== input.render && _io9(input.render)); const _io3 = input => "string" === typeof input.type; const _io4 = input => true; const _io5 = input => undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io6(input.properties); const _io6 = input => Object.keys(input).every(key => {
27772
- const value = input[key];
27773
- if (undefined === value)
27774
- return true;
27775
- return "object" === typeof value && null !== value && false === Array.isArray(value) && _io7(value);
27776
- }); const _io7 = input => (undefined === input.path || "string" === typeof input.path) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.label || "string" === typeof input.label) && (undefined === input.defaultValue || "string" === typeof input.defaultValue) && (undefined === input.widget || "object" === typeof input.widget && null !== input.widget && _io8(input.widget)) && (undefined === input.items || "object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) && _io7(input.items)) && (undefined === input.properties || "object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) && _io6(input.properties)); const _io8 = input => "string" === typeof input.type; const _io9 = input => "image" === input.type && (undefined === input.profile || "object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) && _io10(input.profile)); const _io10 = input => (undefined === input.format || "string" === typeof input.format) && (undefined === input.video || "object" === typeof input.video && null !== input.video && _io11(input.video)); const _io11 = input => "number" === typeof input.width && "number" === typeof input.height && "cover" === input.fit; const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.source || "string" === typeof input.source || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27777
- method: "typia.assert",
27778
- path: _path + ".source",
27779
- expected: "(string | undefined)",
27780
- value: input.source
27781
- }, _errorFactory)) && (undefined === input.controller || "string" === typeof input.controller || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27782
- method: "typia.assert",
27783
- path: _path + ".controller",
27784
- expected: "(string | undefined)",
27785
- value: input.controller
27786
- }, _errorFactory)) && (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27787
- method: "typia.assert",
27788
- path: _path + ".type",
27789
- expected: "(string | undefined)",
27790
- value: input.type
27791
- }, _errorFactory)) && (undefined === input.mixin || (Array.isArray(input.mixin) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27792
- method: "typia.assert",
27793
- path: _path + ".mixin",
27794
- expected: "(Array<string> | undefined)",
27795
- value: input.mixin
27796
- }, _errorFactory)) && input.mixin.every((elem, _index2) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27797
- method: "typia.assert",
27798
- path: _path + ".mixin[" + _index2 + "]",
27799
- expected: "string",
27800
- value: elem
27801
- }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27802
- method: "typia.assert",
27803
- path: _path + ".mixin",
27804
- expected: "(Array<string> | undefined)",
27805
- value: input.mixin
27806
- }, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27807
- method: "typia.assert",
27808
- path: _path + ".properties",
27809
- expected: "(Record<string, TemplateProperty> | undefined)",
27810
- value: input.properties
27811
- }, _errorFactory)) && _ao1(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27812
- method: "typia.assert",
27813
- path: _path + ".properties",
27814
- expected: "(Record<string, TemplateProperty> | undefined)",
27815
- value: input.properties
27816
- }, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
27817
- const value = input[key];
27818
- if (undefined === value)
27819
- return true;
27820
- return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27821
- method: "typia.assert",
27822
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
27823
- expected: "TemplateProperty",
27824
- value: value
27825
- }, _errorFactory)) && _ao2(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27826
- method: "typia.assert",
27827
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
27828
- expected: "TemplateProperty",
27829
- value: value
27830
- }, _errorFactory);
27831
- }); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27832
- method: "typia.assert",
27833
- path: _path + ".path",
27834
- expected: "(string | undefined)",
27835
- value: input.path
27836
- }, _errorFactory)) && (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27837
- method: "typia.assert",
27838
- path: _path + ".type",
27839
- expected: "(string | undefined)",
27840
- value: input.type
27841
- }, _errorFactory)) && (undefined === input.label || "string" === typeof input.label || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27842
- method: "typia.assert",
27843
- path: _path + ".label",
27844
- expected: "(string | undefined)",
27845
- value: input.label
27846
- }, _errorFactory)) && (undefined === input.defaultValue || "string" === typeof input.defaultValue || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27847
- method: "typia.assert",
27848
- path: _path + ".defaultValue",
27849
- expected: "(string | undefined)",
27850
- value: input.defaultValue
27851
- }, _errorFactory)) && (undefined === input.widget || ("object" === typeof input.widget && null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27852
- method: "typia.assert",
27853
- path: _path + ".widget",
27854
- expected: "(__type | undefined)",
27855
- value: input.widget
27856
- }, _errorFactory)) && _ao3(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27857
- method: "typia.assert",
27858
- path: _path + ".widget",
27859
- expected: "(__type | undefined)",
27860
- value: input.widget
27861
- }, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27862
- method: "typia.assert",
27863
- path: _path + ".properties",
27864
- expected: "(object | undefined)",
27865
- value: input.properties
27866
- }, _errorFactory)) && _ao4(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27867
- method: "typia.assert",
27868
- path: _path + ".properties",
27869
- expected: "(object | undefined)",
27870
- value: input.properties
27871
- }, _errorFactory)) && (undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27872
- method: "typia.assert",
27873
- path: _path + ".items",
27874
- expected: "(__type.o1 | undefined)",
27875
- value: input.items
27876
- }, _errorFactory)) && _ao5(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27877
- method: "typia.assert",
27878
- path: _path + ".items",
27879
- expected: "(__type.o1 | undefined)",
27880
- value: input.items
27881
- }, _errorFactory)) && (undefined === input.render || ("object" === typeof input.render && null !== input.render || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27882
- method: "typia.assert",
27883
- path: _path + ".render",
27884
- expected: "(__type.o3 | undefined)",
27885
- value: input.render
27886
- }, _errorFactory)) && _ao9(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27887
- method: "typia.assert",
27888
- path: _path + ".render",
27889
- expected: "(__type.o3 | undefined)",
27890
- value: input.render
27891
- }, _errorFactory)); const _ao3 = (input, _path, _exceptionable = true) => "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27892
- method: "typia.assert",
27893
- path: _path + ".type",
27894
- expected: "string",
27895
- value: input.type
27896
- }, _errorFactory); const _ao4 = (input, _path, _exceptionable = true) => true; const _ao5 = (input, _path, _exceptionable = true) => undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27897
- method: "typia.assert",
27898
- path: _path + ".properties",
27899
- expected: "(Record<string, TemplatePropertySchema> | undefined)",
27900
- value: input.properties
27901
- }, _errorFactory)) && _ao6(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27902
- method: "typia.assert",
27903
- path: _path + ".properties",
27904
- expected: "(Record<string, TemplatePropertySchema> | undefined)",
27905
- value: input.properties
27906
- }, _errorFactory); const _ao6 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
27907
- const value = input[key];
27908
- if (undefined === value)
27909
- return true;
27910
- return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27911
- method: "typia.assert",
27912
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
27913
- expected: "TemplatePropertySchema",
27914
- value: value
27915
- }, _errorFactory)) && _ao7(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27916
- method: "typia.assert",
27917
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
27918
- expected: "TemplatePropertySchema",
27919
- value: value
27920
- }, _errorFactory);
27921
- }); const _ao7 = (input, _path, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27922
- method: "typia.assert",
27923
- path: _path + ".path",
27924
- expected: "(string | undefined)",
27925
- value: input.path
27926
- }, _errorFactory)) && (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27927
- method: "typia.assert",
27928
- path: _path + ".type",
27929
- expected: "(string | undefined)",
27930
- value: input.type
27931
- }, _errorFactory)) && (undefined === input.label || "string" === typeof input.label || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27932
- method: "typia.assert",
27933
- path: _path + ".label",
27934
- expected: "(string | undefined)",
27935
- value: input.label
27936
- }, _errorFactory)) && (undefined === input.defaultValue || "string" === typeof input.defaultValue || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27937
- method: "typia.assert",
27938
- path: _path + ".defaultValue",
27939
- expected: "(string | undefined)",
27940
- value: input.defaultValue
27941
- }, _errorFactory)) && (undefined === input.widget || ("object" === typeof input.widget && null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27942
- method: "typia.assert",
27943
- path: _path + ".widget",
27944
- expected: "(__type.o2 | undefined)",
27945
- value: input.widget
27946
- }, _errorFactory)) && _ao8(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27947
- method: "typia.assert",
27948
- path: _path + ".widget",
27949
- expected: "(__type.o2 | undefined)",
27950
- value: input.widget
27951
- }, _errorFactory)) && (undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27952
- method: "typia.assert",
27953
- path: _path + ".items",
27954
- expected: "(TemplatePropertySchema | undefined)",
27955
- value: input.items
27956
- }, _errorFactory)) && _ao7(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27957
- method: "typia.assert",
27958
- path: _path + ".items",
27959
- expected: "(TemplatePropertySchema | undefined)",
27960
- value: input.items
27961
- }, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27962
- method: "typia.assert",
27963
- path: _path + ".properties",
27964
- expected: "(Record<string, TemplatePropertySchema> | undefined)",
27965
- value: input.properties
27966
- }, _errorFactory)) && _ao6(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27967
- method: "typia.assert",
27968
- path: _path + ".properties",
27969
- expected: "(Record<string, TemplatePropertySchema> | undefined)",
27970
- value: input.properties
27971
- }, _errorFactory)); const _ao8 = (input, _path, _exceptionable = true) => "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27972
- method: "typia.assert",
27973
- path: _path + ".type",
27974
- expected: "string",
27975
- value: input.type
27976
- }, _errorFactory); const _ao9 = (input, _path, _exceptionable = true) => ("image" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27977
- method: "typia.assert",
27978
- path: _path + ".type",
27979
- expected: "\"image\"",
27980
- value: input.type
27981
- }, _errorFactory)) && (undefined === input.profile || ("object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27982
- method: "typia.assert",
27983
- path: _path + ".profile",
27984
- expected: "(__type.o4 | undefined)",
27985
- value: input.profile
27986
- }, _errorFactory)) && _ao10(input.profile, _path + ".profile", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27987
- method: "typia.assert",
27988
- path: _path + ".profile",
27989
- expected: "(__type.o4 | undefined)",
27990
- value: input.profile
27991
- }, _errorFactory)); const _ao10 = (input, _path, _exceptionable = true) => (undefined === input.format || "string" === typeof input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27992
- method: "typia.assert",
27993
- path: _path + ".format",
27994
- expected: "(string | undefined)",
27995
- value: input.format
27996
- }, _errorFactory)) && (undefined === input.video || ("object" === typeof input.video && null !== input.video || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27997
- method: "typia.assert",
27998
- path: _path + ".video",
27999
- expected: "(__type.o5 | undefined)",
28000
- value: input.video
28001
- }, _errorFactory)) && _ao11(input.video, _path + ".video", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
28002
- method: "typia.assert",
28003
- path: _path + ".video",
28004
- expected: "(__type.o5 | undefined)",
28005
- value: input.video
28006
- }, _errorFactory)); const _ao11 = (input, _path, _exceptionable = true) => ("number" === typeof input.width || __typia_transform__assertGuard._assertGuard(_exceptionable, {
28007
- method: "typia.assert",
28008
- path: _path + ".width",
28009
- expected: "number",
28010
- value: input.width
28011
- }, _errorFactory)) && ("number" === typeof input.height || __typia_transform__assertGuard._assertGuard(_exceptionable, {
28012
- method: "typia.assert",
28013
- path: _path + ".height",
28014
- expected: "number",
28015
- value: input.height
28016
- }, _errorFactory)) && ("cover" === input.fit || __typia_transform__assertGuard._assertGuard(_exceptionable, {
28017
- method: "typia.assert",
28018
- path: _path + ".fit",
28019
- expected: "\"cover\"",
28020
- value: input.fit
28021
- }, _errorFactory)); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
28022
- if (false === __is(input)) {
28023
- _errorFactory = errorFactory;
28024
- ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
28025
- method: "typia.assert",
28026
- path: _path + "",
28027
- expected: "TemplateRecord",
28028
- value: input
28029
- }, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
28030
- method: "typia.assert",
28031
- path: _path + "",
28032
- expected: "TemplateRecord",
28033
- value: input
28034
- }, _errorFactory))(input, "$input", true);
28035
- }
28036
- return input;
28037
- }; })()(input);
28038
- }
28039
29001
  case ":_user-notification-status": {
28040
29002
  return (() => { const _io0 = input => (undefined === input.assignee || "object" === typeof input.assignee && null !== input.assignee && false === Array.isArray(input.assignee) && _io1(input.assignee)) && (undefined === input.published || "object" === typeof input.published && null !== input.published && false === Array.isArray(input.published) && _io2(input.published)) && (undefined === input.comment || "object" === typeof input.comment && null !== input.comment && false === Array.isArray(input.comment) && _io3(input.comment)); const _io1 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem); const _io2 = input => undefined === input.value || true === input.value; const _io3 = input => null !== input.value && (undefined === input.value || true === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem)); const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.assignee || ("object" === typeof input.assignee && null !== input.assignee && false === Array.isArray(input.assignee) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
28041
29003
  method: "typia.assert",