@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.
@@ -8766,148 +8766,1211 @@ function _assertGuardDomainRecord(domain, input) {
8766
8766
  }
8767
8767
  }; })()(input);
8768
8768
  }
8769
+ case ":template": {
8770
+ 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 => {
8771
+ const value = input[key];
8772
+ if (undefined === value)
8773
+ return true;
8774
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
8775
+ }); 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 => {
8776
+ const value = input[key];
8777
+ if (undefined === value)
8778
+ return true;
8779
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
8780
+ }); const _io8 = input => (undefined === input.type || "string" === typeof input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && Object.keys(input).every(key => {
8781
+ if (["type", "readOnly"].some(prop => key === prop))
8782
+ return true;
8783
+ const value = input[key];
8784
+ if (undefined === value)
8785
+ return true;
8786
+ return true;
8787
+ }); const _ao0 = (input, _path, _exceptionable = true) => (undefined === input.source || "string" === typeof input.source || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8788
+ method: "typia.assertGuard",
8789
+ path: _path + ".source",
8790
+ expected: "(string | undefined)",
8791
+ value: input.source
8792
+ }, _errorFactory)) && (undefined === input.controller || "string" === typeof input.controller || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8793
+ method: "typia.assertGuard",
8794
+ path: _path + ".controller",
8795
+ expected: "(string | undefined)",
8796
+ value: input.controller
8797
+ }, _errorFactory)) && (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8798
+ method: "typia.assertGuard",
8799
+ path: _path + ".type",
8800
+ expected: "(string | undefined)",
8801
+ value: input.type
8802
+ }, _errorFactory)) && (undefined === input.mixin || (Array.isArray(input.mixin) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8803
+ method: "typia.assertGuard",
8804
+ path: _path + ".mixin",
8805
+ expected: "(Array<string> | undefined)",
8806
+ value: input.mixin
8807
+ }, _errorFactory)) && input.mixin.every((elem, _index6) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8808
+ method: "typia.assertGuard",
8809
+ path: _path + ".mixin[" + _index6 + "]",
8810
+ expected: "string",
8811
+ value: elem
8812
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8813
+ method: "typia.assertGuard",
8814
+ path: _path + ".mixin",
8815
+ expected: "(Array<string> | undefined)",
8816
+ value: input.mixin
8817
+ }, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8818
+ method: "typia.assertGuard",
8819
+ path: _path + ".properties",
8820
+ expected: "(Record<string, TemplateProperty> | undefined)",
8821
+ value: input.properties
8822
+ }, _errorFactory)) && _ao1(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8823
+ method: "typia.assertGuard",
8824
+ path: _path + ".properties",
8825
+ expected: "(Record<string, TemplateProperty> | undefined)",
8826
+ value: input.properties
8827
+ }, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
8828
+ const value = input[key];
8829
+ if (undefined === value)
8830
+ return true;
8831
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8832
+ method: "typia.assertGuard",
8833
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
8834
+ expected: "TemplateProperty",
8835
+ value: value
8836
+ }, _errorFactory)) && _ao2(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8837
+ method: "typia.assertGuard",
8838
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
8839
+ expected: "TemplateProperty",
8840
+ value: value
8841
+ }, _errorFactory);
8842
+ }); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8843
+ method: "typia.assertGuard",
8844
+ path: _path + ".path",
8845
+ expected: "(string | undefined)",
8846
+ value: input.path
8847
+ }, _errorFactory)) && (undefined === input.render || ("object" === typeof input.render && null !== input.render || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8848
+ method: "typia.assertGuard",
8849
+ path: _path + ".render",
8850
+ expected: "(__type | undefined)",
8851
+ value: input.render
8852
+ }, _errorFactory)) && _ao3(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8853
+ method: "typia.assertGuard",
8854
+ path: _path + ".render",
8855
+ expected: "(__type | undefined)",
8856
+ value: input.render
8857
+ }, _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, {
8858
+ method: "typia.assertGuard",
8859
+ path: _path + ".type",
8860
+ expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
8861
+ value: input.type
8862
+ }, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8863
+ method: "typia.assertGuard",
8864
+ path: _path + ".title",
8865
+ expected: "(string | undefined)",
8866
+ value: input.title
8867
+ }, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8868
+ method: "typia.assertGuard",
8869
+ path: _path + ".description",
8870
+ expected: "(string | undefined)",
8871
+ value: input.description
8872
+ }, _errorFactory)) && (undefined === input.required || "boolean" === typeof input.required || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8873
+ method: "typia.assertGuard",
8874
+ path: _path + ".required",
8875
+ expected: "(boolean | undefined)",
8876
+ value: input.required
8877
+ }, _errorFactory)) && (undefined === input.oneOf || (Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8878
+ method: "typia.assertGuard",
8879
+ path: _path + ".oneOf",
8880
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
8881
+ value: input.oneOf
8882
+ }, _errorFactory)) && input.oneOf.every((elem, _index7) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8883
+ method: "typia.assertGuard",
8884
+ path: _path + ".oneOf[" + _index7 + "]",
8885
+ expected: "SchemaProperty<unknown>",
8886
+ value: elem
8887
+ }, _errorFactory)) && _ao6(elem, _path + ".oneOf[" + _index7 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8888
+ method: "typia.assertGuard",
8889
+ path: _path + ".oneOf[" + _index7 + "]",
8890
+ expected: "SchemaProperty<unknown>",
8891
+ value: elem
8892
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8893
+ method: "typia.assertGuard",
8894
+ path: _path + ".oneOf",
8895
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
8896
+ value: input.oneOf
8897
+ }, _errorFactory)) && (undefined === input.anyOf || (Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8898
+ method: "typia.assertGuard",
8899
+ path: _path + ".anyOf",
8900
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
8901
+ value: input.anyOf
8902
+ }, _errorFactory)) && input.anyOf.every((elem, _index8) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8903
+ method: "typia.assertGuard",
8904
+ path: _path + ".anyOf[" + _index8 + "]",
8905
+ expected: "SchemaProperty<unknown>",
8906
+ value: elem
8907
+ }, _errorFactory)) && _ao6(elem, _path + ".anyOf[" + _index8 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8908
+ method: "typia.assertGuard",
8909
+ path: _path + ".anyOf[" + _index8 + "]",
8910
+ expected: "SchemaProperty<unknown>",
8911
+ value: elem
8912
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8913
+ method: "typia.assertGuard",
8914
+ path: _path + ".anyOf",
8915
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
8916
+ value: input.anyOf
8917
+ }, _errorFactory)) && (undefined === input["enum"] || Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8918
+ method: "typia.assertGuard",
8919
+ path: _path + "[\"enum\"]",
8920
+ expected: "(ReadonlyArray<unknown> | undefined)",
8921
+ value: input["enum"]
8922
+ }, _errorFactory)) && (undefined === input.minItems || "number" === typeof input.minItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8923
+ method: "typia.assertGuard",
8924
+ path: _path + ".minItems",
8925
+ expected: "(number | undefined)",
8926
+ value: input.minItems
8927
+ }, _errorFactory)) && (undefined === input.maxItems || "number" === typeof input.maxItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8928
+ method: "typia.assertGuard",
8929
+ path: _path + ".maxItems",
8930
+ expected: "(number | undefined)",
8931
+ value: input.maxItems
8932
+ }, _errorFactory)) && (undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8933
+ method: "typia.assertGuard",
8934
+ path: _path + ".items",
8935
+ expected: "(SchemaProperty<unknown> | undefined)",
8936
+ value: input.items
8937
+ }, _errorFactory)) && _ao6(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8938
+ method: "typia.assertGuard",
8939
+ path: _path + ".items",
8940
+ expected: "(SchemaProperty<unknown> | undefined)",
8941
+ value: input.items
8942
+ }, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8943
+ method: "typia.assertGuard",
8944
+ path: _path + ".properties",
8945
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
8946
+ value: input.properties
8947
+ }, _errorFactory)) && _ao7(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8948
+ method: "typia.assertGuard",
8949
+ path: _path + ".properties",
8950
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
8951
+ value: input.properties
8952
+ }, _errorFactory)) && true && true && ((null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8953
+ method: "typia.assertGuard",
8954
+ path: _path + ".widget",
8955
+ expected: "(WidgetOptions | string | undefined)",
8956
+ value: input.widget
8957
+ }, _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, {
8958
+ method: "typia.assertGuard",
8959
+ path: _path + ".widget",
8960
+ expected: "(WidgetOptions | string | undefined)",
8961
+ value: input.widget
8962
+ }, _errorFactory)) && _ao8(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8963
+ method: "typia.assertGuard",
8964
+ path: _path + ".widget",
8965
+ expected: "(WidgetOptions | string | undefined)",
8966
+ value: input.widget
8967
+ }, _errorFactory))) && (undefined === input.placeholder || "string" === typeof input.placeholder || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8968
+ method: "typia.assertGuard",
8969
+ path: _path + ".placeholder",
8970
+ expected: "(string | undefined)",
8971
+ value: input.placeholder
8972
+ }, _errorFactory)) && (undefined === input.helpText || "string" === typeof input.helpText || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8973
+ method: "typia.assertGuard",
8974
+ path: _path + ".helpText",
8975
+ expected: "(string | undefined)",
8976
+ value: input.helpText
8977
+ }, _errorFactory)) && (undefined === input.invalid || "boolean" === typeof input.invalid || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8978
+ method: "typia.assertGuard",
8979
+ path: _path + ".invalid",
8980
+ expected: "(boolean | undefined)",
8981
+ value: input.invalid
8982
+ }, _errorFactory)) && true; const _ao3 = (input, _path, _exceptionable = true) => ("image" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8983
+ method: "typia.assertGuard",
8984
+ path: _path + ".type",
8985
+ expected: "\"image\"",
8986
+ value: input.type
8987
+ }, _errorFactory)) && (undefined === input.profile || ("object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8988
+ method: "typia.assertGuard",
8989
+ path: _path + ".profile",
8990
+ expected: "(__type.o1 | undefined)",
8991
+ value: input.profile
8992
+ }, _errorFactory)) && _ao4(input.profile, _path + ".profile", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8993
+ method: "typia.assertGuard",
8994
+ path: _path + ".profile",
8995
+ expected: "(__type.o1 | undefined)",
8996
+ value: input.profile
8997
+ }, _errorFactory)); const _ao4 = (input, _path, _exceptionable = true) => (undefined === input.format || "string" === typeof input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8998
+ method: "typia.assertGuard",
8999
+ path: _path + ".format",
9000
+ expected: "(string | undefined)",
9001
+ value: input.format
9002
+ }, _errorFactory)) && (undefined === input.video || ("object" === typeof input.video && null !== input.video || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9003
+ method: "typia.assertGuard",
9004
+ path: _path + ".video",
9005
+ expected: "(__type.o2 | undefined)",
9006
+ value: input.video
9007
+ }, _errorFactory)) && _ao5(input.video, _path + ".video", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9008
+ method: "typia.assertGuard",
9009
+ path: _path + ".video",
9010
+ expected: "(__type.o2 | undefined)",
9011
+ value: input.video
9012
+ }, _errorFactory)); const _ao5 = (input, _path, _exceptionable = true) => ("number" === typeof input.width || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9013
+ method: "typia.assertGuard",
9014
+ path: _path + ".width",
9015
+ expected: "number",
9016
+ value: input.width
9017
+ }, _errorFactory)) && ("number" === typeof input.height || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9018
+ method: "typia.assertGuard",
9019
+ path: _path + ".height",
9020
+ expected: "number",
9021
+ value: input.height
9022
+ }, _errorFactory)) && ("cover" === input.fit || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9023
+ method: "typia.assertGuard",
9024
+ path: _path + ".fit",
9025
+ expected: "\"cover\"",
9026
+ value: input.fit
9027
+ }, _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, {
9028
+ method: "typia.assertGuard",
9029
+ path: _path + ".type",
9030
+ expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
9031
+ value: input.type
9032
+ }, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9033
+ method: "typia.assertGuard",
9034
+ path: _path + ".title",
9035
+ expected: "(string | undefined)",
9036
+ value: input.title
9037
+ }, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9038
+ method: "typia.assertGuard",
9039
+ path: _path + ".description",
9040
+ expected: "(string | undefined)",
9041
+ value: input.description
9042
+ }, _errorFactory)) && (undefined === input.required || "boolean" === typeof input.required || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9043
+ method: "typia.assertGuard",
9044
+ path: _path + ".required",
9045
+ expected: "(boolean | undefined)",
9046
+ value: input.required
9047
+ }, _errorFactory)) && (undefined === input.oneOf || (Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9048
+ method: "typia.assertGuard",
9049
+ path: _path + ".oneOf",
9050
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
9051
+ value: input.oneOf
9052
+ }, _errorFactory)) && input.oneOf.every((elem, _index9) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9053
+ method: "typia.assertGuard",
9054
+ path: _path + ".oneOf[" + _index9 + "]",
9055
+ expected: "SchemaProperty<unknown>",
9056
+ value: elem
9057
+ }, _errorFactory)) && _ao6(elem, _path + ".oneOf[" + _index9 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9058
+ method: "typia.assertGuard",
9059
+ path: _path + ".oneOf[" + _index9 + "]",
9060
+ expected: "SchemaProperty<unknown>",
9061
+ value: elem
9062
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9063
+ method: "typia.assertGuard",
9064
+ path: _path + ".oneOf",
9065
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
9066
+ value: input.oneOf
9067
+ }, _errorFactory)) && (undefined === input.anyOf || (Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9068
+ method: "typia.assertGuard",
9069
+ path: _path + ".anyOf",
9070
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
9071
+ value: input.anyOf
9072
+ }, _errorFactory)) && input.anyOf.every((elem, _index10) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9073
+ method: "typia.assertGuard",
9074
+ path: _path + ".anyOf[" + _index10 + "]",
9075
+ expected: "SchemaProperty<unknown>",
9076
+ value: elem
9077
+ }, _errorFactory)) && _ao6(elem, _path + ".anyOf[" + _index10 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9078
+ method: "typia.assertGuard",
9079
+ path: _path + ".anyOf[" + _index10 + "]",
9080
+ expected: "SchemaProperty<unknown>",
9081
+ value: elem
9082
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9083
+ method: "typia.assertGuard",
9084
+ path: _path + ".anyOf",
9085
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
9086
+ value: input.anyOf
9087
+ }, _errorFactory)) && (undefined === input["enum"] || Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9088
+ method: "typia.assertGuard",
9089
+ path: _path + "[\"enum\"]",
9090
+ expected: "(ReadonlyArray<unknown> | undefined)",
9091
+ value: input["enum"]
9092
+ }, _errorFactory)) && (undefined === input.minItems || "number" === typeof input.minItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9093
+ method: "typia.assertGuard",
9094
+ path: _path + ".minItems",
9095
+ expected: "(number | undefined)",
9096
+ value: input.minItems
9097
+ }, _errorFactory)) && (undefined === input.maxItems || "number" === typeof input.maxItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9098
+ method: "typia.assertGuard",
9099
+ path: _path + ".maxItems",
9100
+ expected: "(number | undefined)",
9101
+ value: input.maxItems
9102
+ }, _errorFactory)) && (undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9103
+ method: "typia.assertGuard",
9104
+ path: _path + ".items",
9105
+ expected: "(SchemaProperty<unknown> | undefined)",
9106
+ value: input.items
9107
+ }, _errorFactory)) && _ao6(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9108
+ method: "typia.assertGuard",
9109
+ path: _path + ".items",
9110
+ expected: "(SchemaProperty<unknown> | undefined)",
9111
+ value: input.items
9112
+ }, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9113
+ method: "typia.assertGuard",
9114
+ path: _path + ".properties",
9115
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
9116
+ value: input.properties
9117
+ }, _errorFactory)) && _ao7(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9118
+ method: "typia.assertGuard",
9119
+ path: _path + ".properties",
9120
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
9121
+ value: input.properties
9122
+ }, _errorFactory)) && true && true && ((null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9123
+ method: "typia.assertGuard",
9124
+ path: _path + ".widget",
9125
+ expected: "(WidgetOptions | string | undefined)",
9126
+ value: input.widget
9127
+ }, _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, {
9128
+ method: "typia.assertGuard",
9129
+ path: _path + ".widget",
9130
+ expected: "(WidgetOptions | string | undefined)",
9131
+ value: input.widget
9132
+ }, _errorFactory)) && _ao8(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9133
+ method: "typia.assertGuard",
9134
+ path: _path + ".widget",
9135
+ expected: "(WidgetOptions | string | undefined)",
9136
+ value: input.widget
9137
+ }, _errorFactory))) && (undefined === input.placeholder || "string" === typeof input.placeholder || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9138
+ method: "typia.assertGuard",
9139
+ path: _path + ".placeholder",
9140
+ expected: "(string | undefined)",
9141
+ value: input.placeholder
9142
+ }, _errorFactory)) && (undefined === input.helpText || "string" === typeof input.helpText || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9143
+ method: "typia.assertGuard",
9144
+ path: _path + ".helpText",
9145
+ expected: "(string | undefined)",
9146
+ value: input.helpText
9147
+ }, _errorFactory)) && (undefined === input.invalid || "boolean" === typeof input.invalid || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9148
+ method: "typia.assertGuard",
9149
+ path: _path + ".invalid",
9150
+ expected: "(boolean | undefined)",
9151
+ value: input.invalid
9152
+ }, _errorFactory)) && true; const _ao7 = (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 ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9157
+ method: "typia.assertGuard",
9158
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9159
+ expected: "SchemaProperty<unknown>",
9160
+ value: value
9161
+ }, _errorFactory)) && _ao6(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9162
+ method: "typia.assertGuard",
9163
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9164
+ expected: "SchemaProperty<unknown>",
9165
+ value: value
9166
+ }, _errorFactory);
9167
+ }); const _ao8 = (input, _path, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9168
+ method: "typia.assertGuard",
9169
+ path: _path + ".type",
9170
+ expected: "(string | undefined)",
9171
+ value: input.type
9172
+ }, _errorFactory)) && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9173
+ method: "typia.assertGuard",
9174
+ path: _path + ".readOnly",
9175
+ expected: "(boolean | undefined)",
9176
+ value: input.readOnly
9177
+ }, _errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
9178
+ if (["type", "readOnly"].some(prop => key === prop))
9179
+ return true;
9180
+ const value = input[key];
9181
+ if (undefined === value)
9182
+ return true;
9183
+ return true;
9184
+ })); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
9185
+ if (false === __is(input)) {
9186
+ _errorFactory = errorFactory;
9187
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
9188
+ method: "typia.assertGuard",
9189
+ path: _path + "",
9190
+ expected: "TemplateRecord",
9191
+ value: input
9192
+ }, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
9193
+ method: "typia.assertGuard",
9194
+ path: _path + "",
9195
+ expected: "TemplateRecord",
9196
+ value: input
9197
+ }, _errorFactory))(input, "$input", true);
9198
+ }
9199
+ }; })()(input);
9200
+ }
8769
9201
  case ":event": {
8770
9202
  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, {
8771
9203
  method: "typia.assertGuard",
8772
- path: _path + ".start",
8773
- expected: "(null | number | undefined)",
8774
- value: input.start
8775
- }, _errorFactory)) && (null === input.end || undefined === input.end || "number" === typeof input.end || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9204
+ path: _path + ".start",
9205
+ expected: "(null | number | undefined)",
9206
+ value: input.start
9207
+ }, _errorFactory)) && (null === input.end || undefined === input.end || "number" === typeof input.end || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9208
+ method: "typia.assertGuard",
9209
+ path: _path + ".end",
9210
+ expected: "(null | number | undefined)",
9211
+ value: input.end
9212
+ }, _errorFactory)) && (null === input.duration || undefined === input.duration || "number" === typeof input.duration || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9213
+ method: "typia.assertGuard",
9214
+ path: _path + ".duration",
9215
+ expected: "(null | number | undefined)",
9216
+ value: input.duration
9217
+ }, _errorFactory)) && (undefined === input.position || "string" === typeof input.position || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9218
+ method: "typia.assertGuard",
9219
+ path: _path + ".position",
9220
+ expected: "(string | undefined)",
9221
+ value: input.position
9222
+ }, _errorFactory)) && (undefined === input.text || "string" === typeof input.text || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9223
+ method: "typia.assertGuard",
9224
+ path: _path + ".text",
9225
+ expected: "(string | undefined)",
9226
+ value: input.text
9227
+ }, _errorFactory)) && (undefined === input.lang || "string" === typeof input.lang || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9228
+ method: "typia.assertGuard",
9229
+ path: _path + ".lang",
9230
+ expected: "(string | undefined)",
9231
+ value: input.lang
9232
+ }, _errorFactory)) && (undefined === input.style || "string" === typeof input.style || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9233
+ method: "typia.assertGuard",
9234
+ path: _path + ".style",
9235
+ expected: "(string | undefined)",
9236
+ value: input.style
9237
+ }, _errorFactory)) && (undefined === input.styleOverrides || ("object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9238
+ method: "typia.assertGuard",
9239
+ path: _path + ".styleOverrides",
9240
+ expected: "(SubtitleEventStyleOverrides | undefined)",
9241
+ value: input.styleOverrides
9242
+ }, _errorFactory)) && _ao1(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9243
+ method: "typia.assertGuard",
9244
+ path: _path + ".styleOverrides",
9245
+ expected: "(SubtitleEventStyleOverrides | undefined)",
9246
+ value: input.styleOverrides
9247
+ }, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => (undefined === input.marginL || "string" === typeof input.marginL || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9248
+ method: "typia.assertGuard",
9249
+ path: _path + ".marginL",
9250
+ expected: "(string | undefined)",
9251
+ value: input.marginL
9252
+ }, _errorFactory)) && (undefined === input.marginR || "string" === typeof input.marginR || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9253
+ method: "typia.assertGuard",
9254
+ path: _path + ".marginR",
9255
+ expected: "(string | undefined)",
9256
+ value: input.marginR
9257
+ }, _errorFactory)) && (undefined === input.marginV || "string" === typeof input.marginV || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9258
+ method: "typia.assertGuard",
9259
+ path: _path + ".marginV",
9260
+ expected: "(string | undefined)",
9261
+ value: input.marginV
9262
+ }, _errorFactory)) && (undefined === input.alignment || "string" === typeof input.alignment || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9263
+ method: "typia.assertGuard",
9264
+ path: _path + ".alignment",
9265
+ expected: "(string | undefined)",
9266
+ value: input.alignment
9267
+ }, _errorFactory)) && (undefined === input.fontname || "string" === typeof input.fontname || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9268
+ method: "typia.assertGuard",
9269
+ path: _path + ".fontname",
9270
+ expected: "(string | undefined)",
9271
+ value: input.fontname
9272
+ }, _errorFactory)) && (undefined === input.fontsize || "string" === typeof input.fontsize || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9273
+ method: "typia.assertGuard",
9274
+ path: _path + ".fontsize",
9275
+ expected: "(string | undefined)",
9276
+ value: input.fontsize
9277
+ }, _errorFactory)) && (undefined === input.primaryColour || "string" === typeof input.primaryColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9278
+ method: "typia.assertGuard",
9279
+ path: _path + ".primaryColour",
9280
+ expected: "(string | undefined)",
9281
+ value: input.primaryColour
9282
+ }, _errorFactory)) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9283
+ method: "typia.assertGuard",
9284
+ path: _path + ".secondaryColour",
9285
+ expected: "(string | undefined)",
9286
+ value: input.secondaryColour
9287
+ }, _errorFactory)) && (undefined === input.outlineColour || "string" === typeof input.outlineColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9288
+ method: "typia.assertGuard",
9289
+ path: _path + ".outlineColour",
9290
+ expected: "(string | undefined)",
9291
+ value: input.outlineColour
9292
+ }, _errorFactory)) && (undefined === input.backColour || "string" === typeof input.backColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9293
+ method: "typia.assertGuard",
9294
+ path: _path + ".backColour",
9295
+ expected: "(string | undefined)",
9296
+ value: input.backColour
9297
+ }, _errorFactory)) && (undefined === input.bold || "string" === typeof input.bold || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9298
+ method: "typia.assertGuard",
9299
+ path: _path + ".bold",
9300
+ expected: "(string | undefined)",
9301
+ value: input.bold
9302
+ }, _errorFactory)) && (undefined === input.italic || "string" === typeof input.italic || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9303
+ method: "typia.assertGuard",
9304
+ path: _path + ".italic",
9305
+ expected: "(string | undefined)",
9306
+ value: input.italic
9307
+ }, _errorFactory)) && (undefined === input.underline || "string" === typeof input.underline || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9308
+ method: "typia.assertGuard",
9309
+ path: _path + ".underline",
9310
+ expected: "(string | undefined)",
9311
+ value: input.underline
9312
+ }, _errorFactory)) && (undefined === input.strikeOut || "string" === typeof input.strikeOut || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9313
+ method: "typia.assertGuard",
9314
+ path: _path + ".strikeOut",
9315
+ expected: "(string | undefined)",
9316
+ value: input.strikeOut
9317
+ }, _errorFactory)); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
9318
+ if (false === __is(input)) {
9319
+ _errorFactory = errorFactory;
9320
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
9321
+ method: "typia.assertGuard",
9322
+ path: _path + "",
9323
+ expected: "EventRecord",
9324
+ value: input
9325
+ }, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
9326
+ method: "typia.assertGuard",
9327
+ path: _path + "",
9328
+ expected: "EventRecord",
9329
+ value: input
9330
+ }, _errorFactory))(input, "$input", true);
9331
+ }
9332
+ }; })()(input);
9333
+ }
9334
+ case ":event._template?": {
9335
+ 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 => {
9336
+ const value = input[key];
9337
+ if (undefined === value)
9338
+ return true;
9339
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
9340
+ }); 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 => {
9341
+ const value = input[key];
9342
+ if (undefined === value)
9343
+ return true;
9344
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
9345
+ }); const _io8 = input => (undefined === input.type || "string" === typeof input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && Object.keys(input).every(key => {
9346
+ if (["type", "readOnly"].some(prop => key === prop))
9347
+ return true;
9348
+ const value = input[key];
9349
+ if (undefined === value)
9350
+ return true;
9351
+ return true;
9352
+ }); 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, {
9353
+ method: "typia.assertGuard",
9354
+ path: _path + ".mixin",
9355
+ expected: "(Array<string> | undefined)",
9356
+ value: input.mixin
9357
+ }, _errorFactory)) && input.mixin.every((elem, _index6) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9358
+ method: "typia.assertGuard",
9359
+ path: _path + ".mixin[" + _index6 + "]",
9360
+ expected: "string",
9361
+ value: elem
9362
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9363
+ method: "typia.assertGuard",
9364
+ path: _path + ".mixin",
9365
+ expected: "(Array<string> | undefined)",
9366
+ value: input.mixin
9367
+ }, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9368
+ method: "typia.assertGuard",
9369
+ path: _path + ".properties",
9370
+ expected: "(Record<string, TemplateProperty> | undefined)",
9371
+ value: input.properties
9372
+ }, _errorFactory)) && _ao1(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9373
+ method: "typia.assertGuard",
9374
+ path: _path + ".properties",
9375
+ expected: "(Record<string, TemplateProperty> | undefined)",
9376
+ value: input.properties
9377
+ }, _errorFactory)) && (undefined === input.layout || ("object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9378
+ method: "typia.assertGuard",
9379
+ path: _path + ".layout",
9380
+ expected: "(__type.o3 | undefined)",
9381
+ value: input.layout
9382
+ }, _errorFactory)) && _ao9(input.layout, _path + ".layout", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9383
+ method: "typia.assertGuard",
9384
+ path: _path + ".layout",
9385
+ expected: "(__type.o3 | undefined)",
9386
+ value: input.layout
9387
+ }, _errorFactory)) && (undefined === input.controller || "string" === typeof input.controller || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9388
+ method: "typia.assertGuard",
9389
+ path: _path + ".controller",
9390
+ expected: "(string | undefined)",
9391
+ value: input.controller
9392
+ }, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
9393
+ const value = input[key];
9394
+ if (undefined === value)
9395
+ return true;
9396
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9397
+ method: "typia.assertGuard",
9398
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9399
+ expected: "TemplateProperty",
9400
+ value: value
9401
+ }, _errorFactory)) && _ao2(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9402
+ method: "typia.assertGuard",
9403
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9404
+ expected: "TemplateProperty",
9405
+ value: value
9406
+ }, _errorFactory);
9407
+ }); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9408
+ method: "typia.assertGuard",
9409
+ path: _path + ".path",
9410
+ expected: "(string | undefined)",
9411
+ value: input.path
9412
+ }, _errorFactory)) && (undefined === input.render || ("object" === typeof input.render && null !== input.render || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9413
+ method: "typia.assertGuard",
9414
+ path: _path + ".render",
9415
+ expected: "(__type | undefined)",
9416
+ value: input.render
9417
+ }, _errorFactory)) && _ao3(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9418
+ method: "typia.assertGuard",
9419
+ path: _path + ".render",
9420
+ expected: "(__type | undefined)",
9421
+ value: input.render
9422
+ }, _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, {
9423
+ method: "typia.assertGuard",
9424
+ path: _path + ".type",
9425
+ expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
9426
+ value: input.type
9427
+ }, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9428
+ method: "typia.assertGuard",
9429
+ path: _path + ".title",
9430
+ expected: "(string | undefined)",
9431
+ value: input.title
9432
+ }, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9433
+ method: "typia.assertGuard",
9434
+ path: _path + ".description",
9435
+ expected: "(string | undefined)",
9436
+ value: input.description
9437
+ }, _errorFactory)) && (undefined === input.required || "boolean" === typeof input.required || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9438
+ method: "typia.assertGuard",
9439
+ path: _path + ".required",
9440
+ expected: "(boolean | undefined)",
9441
+ value: input.required
9442
+ }, _errorFactory)) && (undefined === input.oneOf || (Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9443
+ method: "typia.assertGuard",
9444
+ path: _path + ".oneOf",
9445
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
9446
+ value: input.oneOf
9447
+ }, _errorFactory)) && input.oneOf.every((elem, _index7) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9448
+ method: "typia.assertGuard",
9449
+ path: _path + ".oneOf[" + _index7 + "]",
9450
+ expected: "SchemaProperty<unknown>",
9451
+ value: elem
9452
+ }, _errorFactory)) && _ao6(elem, _path + ".oneOf[" + _index7 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9453
+ method: "typia.assertGuard",
9454
+ path: _path + ".oneOf[" + _index7 + "]",
9455
+ expected: "SchemaProperty<unknown>",
9456
+ value: elem
9457
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9458
+ method: "typia.assertGuard",
9459
+ path: _path + ".oneOf",
9460
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
9461
+ value: input.oneOf
9462
+ }, _errorFactory)) && (undefined === input.anyOf || (Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9463
+ method: "typia.assertGuard",
9464
+ path: _path + ".anyOf",
9465
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
9466
+ value: input.anyOf
9467
+ }, _errorFactory)) && input.anyOf.every((elem, _index8) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9468
+ method: "typia.assertGuard",
9469
+ path: _path + ".anyOf[" + _index8 + "]",
9470
+ expected: "SchemaProperty<unknown>",
9471
+ value: elem
9472
+ }, _errorFactory)) && _ao6(elem, _path + ".anyOf[" + _index8 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9473
+ method: "typia.assertGuard",
9474
+ path: _path + ".anyOf[" + _index8 + "]",
9475
+ expected: "SchemaProperty<unknown>",
9476
+ value: elem
9477
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9478
+ method: "typia.assertGuard",
9479
+ path: _path + ".anyOf",
9480
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
9481
+ value: input.anyOf
9482
+ }, _errorFactory)) && (undefined === input["enum"] || Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9483
+ method: "typia.assertGuard",
9484
+ path: _path + "[\"enum\"]",
9485
+ expected: "(ReadonlyArray<unknown> | undefined)",
9486
+ value: input["enum"]
9487
+ }, _errorFactory)) && (undefined === input.minItems || "number" === typeof input.minItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9488
+ method: "typia.assertGuard",
9489
+ path: _path + ".minItems",
9490
+ expected: "(number | undefined)",
9491
+ value: input.minItems
9492
+ }, _errorFactory)) && (undefined === input.maxItems || "number" === typeof input.maxItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8776
9493
  method: "typia.assertGuard",
8777
- path: _path + ".end",
8778
- expected: "(null | number | undefined)",
8779
- value: input.end
8780
- }, _errorFactory)) && (null === input.duration || undefined === input.duration || "number" === typeof input.duration || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9494
+ path: _path + ".maxItems",
9495
+ expected: "(number | undefined)",
9496
+ value: input.maxItems
9497
+ }, _errorFactory)) && (undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8781
9498
  method: "typia.assertGuard",
8782
- path: _path + ".duration",
8783
- expected: "(null | number | undefined)",
8784
- value: input.duration
8785
- }, _errorFactory)) && (undefined === input.position || "string" === typeof input.position || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9499
+ path: _path + ".items",
9500
+ expected: "(SchemaProperty<unknown> | undefined)",
9501
+ value: input.items
9502
+ }, _errorFactory)) && _ao6(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8786
9503
  method: "typia.assertGuard",
8787
- path: _path + ".position",
9504
+ path: _path + ".items",
9505
+ expected: "(SchemaProperty<unknown> | undefined)",
9506
+ value: input.items
9507
+ }, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9508
+ method: "typia.assertGuard",
9509
+ path: _path + ".properties",
9510
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
9511
+ value: input.properties
9512
+ }, _errorFactory)) && _ao7(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9513
+ method: "typia.assertGuard",
9514
+ path: _path + ".properties",
9515
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
9516
+ value: input.properties
9517
+ }, _errorFactory)) && true && true && ((null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9518
+ method: "typia.assertGuard",
9519
+ path: _path + ".widget",
9520
+ expected: "(WidgetOptions | string | undefined)",
9521
+ value: input.widget
9522
+ }, _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, {
9523
+ method: "typia.assertGuard",
9524
+ path: _path + ".widget",
9525
+ expected: "(WidgetOptions | string | undefined)",
9526
+ value: input.widget
9527
+ }, _errorFactory)) && _ao8(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9528
+ method: "typia.assertGuard",
9529
+ path: _path + ".widget",
9530
+ expected: "(WidgetOptions | string | undefined)",
9531
+ value: input.widget
9532
+ }, _errorFactory))) && (undefined === input.placeholder || "string" === typeof input.placeholder || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9533
+ method: "typia.assertGuard",
9534
+ path: _path + ".placeholder",
8788
9535
  expected: "(string | undefined)",
8789
- value: input.position
8790
- }, _errorFactory)) && (undefined === input.text || "string" === typeof input.text || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9536
+ value: input.placeholder
9537
+ }, _errorFactory)) && (undefined === input.helpText || "string" === typeof input.helpText || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8791
9538
  method: "typia.assertGuard",
8792
- path: _path + ".text",
9539
+ path: _path + ".helpText",
8793
9540
  expected: "(string | undefined)",
8794
- value: input.text
8795
- }, _errorFactory)) && (undefined === input.lang || "string" === typeof input.lang || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9541
+ value: input.helpText
9542
+ }, _errorFactory)) && (undefined === input.invalid || "boolean" === typeof input.invalid || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8796
9543
  method: "typia.assertGuard",
8797
- path: _path + ".lang",
9544
+ path: _path + ".invalid",
9545
+ expected: "(boolean | undefined)",
9546
+ value: input.invalid
9547
+ }, _errorFactory)) && true; const _ao3 = (input, _path, _exceptionable = true) => ("image" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9548
+ method: "typia.assertGuard",
9549
+ path: _path + ".type",
9550
+ expected: "\"image\"",
9551
+ value: input.type
9552
+ }, _errorFactory)) && (undefined === input.profile || ("object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9553
+ method: "typia.assertGuard",
9554
+ path: _path + ".profile",
9555
+ expected: "(__type.o1 | undefined)",
9556
+ value: input.profile
9557
+ }, _errorFactory)) && _ao4(input.profile, _path + ".profile", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9558
+ method: "typia.assertGuard",
9559
+ path: _path + ".profile",
9560
+ expected: "(__type.o1 | undefined)",
9561
+ value: input.profile
9562
+ }, _errorFactory)); const _ao4 = (input, _path, _exceptionable = true) => (undefined === input.format || "string" === typeof input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9563
+ method: "typia.assertGuard",
9564
+ path: _path + ".format",
8798
9565
  expected: "(string | undefined)",
8799
- value: input.lang
8800
- }, _errorFactory)) && (undefined === input.style || "string" === typeof input.style || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9566
+ value: input.format
9567
+ }, _errorFactory)) && (undefined === input.video || ("object" === typeof input.video && null !== input.video || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9568
+ method: "typia.assertGuard",
9569
+ path: _path + ".video",
9570
+ expected: "(__type.o2 | undefined)",
9571
+ value: input.video
9572
+ }, _errorFactory)) && _ao5(input.video, _path + ".video", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9573
+ method: "typia.assertGuard",
9574
+ path: _path + ".video",
9575
+ expected: "(__type.o2 | undefined)",
9576
+ value: input.video
9577
+ }, _errorFactory)); const _ao5 = (input, _path, _exceptionable = true) => ("number" === typeof input.width || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9578
+ method: "typia.assertGuard",
9579
+ path: _path + ".width",
9580
+ expected: "number",
9581
+ value: input.width
9582
+ }, _errorFactory)) && ("number" === typeof input.height || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9583
+ method: "typia.assertGuard",
9584
+ path: _path + ".height",
9585
+ expected: "number",
9586
+ value: input.height
9587
+ }, _errorFactory)) && ("cover" === input.fit || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9588
+ method: "typia.assertGuard",
9589
+ path: _path + ".fit",
9590
+ expected: "\"cover\"",
9591
+ value: input.fit
9592
+ }, _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, {
9593
+ method: "typia.assertGuard",
9594
+ path: _path + ".type",
9595
+ expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
9596
+ value: input.type
9597
+ }, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9598
+ method: "typia.assertGuard",
9599
+ path: _path + ".title",
9600
+ expected: "(string | undefined)",
9601
+ value: input.title
9602
+ }, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9603
+ method: "typia.assertGuard",
9604
+ path: _path + ".description",
9605
+ expected: "(string | undefined)",
9606
+ value: input.description
9607
+ }, _errorFactory)) && (undefined === input.required || "boolean" === typeof input.required || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9608
+ method: "typia.assertGuard",
9609
+ path: _path + ".required",
9610
+ expected: "(boolean | undefined)",
9611
+ value: input.required
9612
+ }, _errorFactory)) && (undefined === input.oneOf || (Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9613
+ method: "typia.assertGuard",
9614
+ path: _path + ".oneOf",
9615
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
9616
+ value: input.oneOf
9617
+ }, _errorFactory)) && input.oneOf.every((elem, _index9) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9618
+ method: "typia.assertGuard",
9619
+ path: _path + ".oneOf[" + _index9 + "]",
9620
+ expected: "SchemaProperty<unknown>",
9621
+ value: elem
9622
+ }, _errorFactory)) && _ao6(elem, _path + ".oneOf[" + _index9 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9623
+ method: "typia.assertGuard",
9624
+ path: _path + ".oneOf[" + _index9 + "]",
9625
+ expected: "SchemaProperty<unknown>",
9626
+ value: elem
9627
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9628
+ method: "typia.assertGuard",
9629
+ path: _path + ".oneOf",
9630
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
9631
+ value: input.oneOf
9632
+ }, _errorFactory)) && (undefined === input.anyOf || (Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9633
+ method: "typia.assertGuard",
9634
+ path: _path + ".anyOf",
9635
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
9636
+ value: input.anyOf
9637
+ }, _errorFactory)) && input.anyOf.every((elem, _index10) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9638
+ method: "typia.assertGuard",
9639
+ path: _path + ".anyOf[" + _index10 + "]",
9640
+ expected: "SchemaProperty<unknown>",
9641
+ value: elem
9642
+ }, _errorFactory)) && _ao6(elem, _path + ".anyOf[" + _index10 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9643
+ method: "typia.assertGuard",
9644
+ path: _path + ".anyOf[" + _index10 + "]",
9645
+ expected: "SchemaProperty<unknown>",
9646
+ value: elem
9647
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9648
+ method: "typia.assertGuard",
9649
+ path: _path + ".anyOf",
9650
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
9651
+ value: input.anyOf
9652
+ }, _errorFactory)) && (undefined === input["enum"] || Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9653
+ method: "typia.assertGuard",
9654
+ path: _path + "[\"enum\"]",
9655
+ expected: "(ReadonlyArray<unknown> | undefined)",
9656
+ value: input["enum"]
9657
+ }, _errorFactory)) && (undefined === input.minItems || "number" === typeof input.minItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9658
+ method: "typia.assertGuard",
9659
+ path: _path + ".minItems",
9660
+ expected: "(number | undefined)",
9661
+ value: input.minItems
9662
+ }, _errorFactory)) && (undefined === input.maxItems || "number" === typeof input.maxItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9663
+ method: "typia.assertGuard",
9664
+ path: _path + ".maxItems",
9665
+ expected: "(number | undefined)",
9666
+ value: input.maxItems
9667
+ }, _errorFactory)) && (undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9668
+ method: "typia.assertGuard",
9669
+ path: _path + ".items",
9670
+ expected: "(SchemaProperty<unknown> | undefined)",
9671
+ value: input.items
9672
+ }, _errorFactory)) && _ao6(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9673
+ method: "typia.assertGuard",
9674
+ path: _path + ".items",
9675
+ expected: "(SchemaProperty<unknown> | undefined)",
9676
+ value: input.items
9677
+ }, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9678
+ method: "typia.assertGuard",
9679
+ path: _path + ".properties",
9680
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
9681
+ value: input.properties
9682
+ }, _errorFactory)) && _ao7(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9683
+ method: "typia.assertGuard",
9684
+ path: _path + ".properties",
9685
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
9686
+ value: input.properties
9687
+ }, _errorFactory)) && true && true && ((null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9688
+ method: "typia.assertGuard",
9689
+ path: _path + ".widget",
9690
+ expected: "(WidgetOptions | string | undefined)",
9691
+ value: input.widget
9692
+ }, _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, {
9693
+ method: "typia.assertGuard",
9694
+ path: _path + ".widget",
9695
+ expected: "(WidgetOptions | string | undefined)",
9696
+ value: input.widget
9697
+ }, _errorFactory)) && _ao8(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9698
+ method: "typia.assertGuard",
9699
+ path: _path + ".widget",
9700
+ expected: "(WidgetOptions | string | undefined)",
9701
+ value: input.widget
9702
+ }, _errorFactory))) && (undefined === input.placeholder || "string" === typeof input.placeholder || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9703
+ method: "typia.assertGuard",
9704
+ path: _path + ".placeholder",
9705
+ expected: "(string | undefined)",
9706
+ value: input.placeholder
9707
+ }, _errorFactory)) && (undefined === input.helpText || "string" === typeof input.helpText || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9708
+ method: "typia.assertGuard",
9709
+ path: _path + ".helpText",
9710
+ expected: "(string | undefined)",
9711
+ value: input.helpText
9712
+ }, _errorFactory)) && (undefined === input.invalid || "boolean" === typeof input.invalid || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9713
+ method: "typia.assertGuard",
9714
+ path: _path + ".invalid",
9715
+ expected: "(boolean | undefined)",
9716
+ value: input.invalid
9717
+ }, _errorFactory)) && true; const _ao7 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
9718
+ const value = input[key];
9719
+ if (undefined === value)
9720
+ return true;
9721
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9722
+ method: "typia.assertGuard",
9723
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9724
+ expected: "SchemaProperty<unknown>",
9725
+ value: value
9726
+ }, _errorFactory)) && _ao6(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9727
+ method: "typia.assertGuard",
9728
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9729
+ expected: "SchemaProperty<unknown>",
9730
+ value: value
9731
+ }, _errorFactory);
9732
+ }); const _ao8 = (input, _path, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9733
+ method: "typia.assertGuard",
9734
+ path: _path + ".type",
9735
+ expected: "(string | undefined)",
9736
+ value: input.type
9737
+ }, _errorFactory)) && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9738
+ method: "typia.assertGuard",
9739
+ path: _path + ".readOnly",
9740
+ expected: "(boolean | undefined)",
9741
+ value: input.readOnly
9742
+ }, _errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
9743
+ if (["type", "readOnly"].some(prop => key === prop))
9744
+ return true;
9745
+ const value = input[key];
9746
+ if (undefined === value)
9747
+ return true;
9748
+ return true;
9749
+ })); const _ao9 = (input, _path, _exceptionable = true) => undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8801
9750
  method: "typia.assertGuard",
8802
- path: _path + ".style",
9751
+ path: _path + ".title",
8803
9752
  expected: "(string | undefined)",
8804
- value: input.style
8805
- }, _errorFactory)) && (undefined === input.styleOverrides || ("object" === typeof input.styleOverrides && null !== input.styleOverrides && false === Array.isArray(input.styleOverrides) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8806
- method: "typia.assertGuard",
8807
- path: _path + ".styleOverrides",
8808
- expected: "(SubtitleEventStyleOverrides | undefined)",
8809
- value: input.styleOverrides
8810
- }, _errorFactory)) && _ao1(input.styleOverrides, _path + ".styleOverrides", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9753
+ value: input.title
9754
+ }, _errorFactory); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
9755
+ if (false === __is(input)) {
9756
+ _errorFactory = errorFactory;
9757
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
9758
+ method: "typia.assertGuard",
9759
+ path: _path + "",
9760
+ expected: "EventTemplateRecord",
9761
+ value: input
9762
+ }, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
9763
+ method: "typia.assertGuard",
9764
+ path: _path + "",
9765
+ expected: "EventTemplateRecord",
9766
+ value: input
9767
+ }, _errorFactory))(input, "$input", true);
9768
+ }
9769
+ }; })()(input);
9770
+ }
9771
+ case ":event.overlay?": {
9772
+ return (() => { const _io0 = input => Object.keys(input).every(key => {
9773
+ const value = input[key];
9774
+ if (undefined === value)
9775
+ return true;
9776
+ return "object" === typeof value && null !== value && _io1(value);
9777
+ }); 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 => {
9778
+ if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
9779
+ return true;
9780
+ const value = input[key];
9781
+ if (undefined === value)
9782
+ return true;
9783
+ 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)));
9784
+ }); const _io3 = input => Object.keys(input).every(key => {
9785
+ const value = input[key];
9786
+ if (undefined === value)
9787
+ return true;
9788
+ 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)));
9789
+ }); 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 => {
9790
+ const value = input[key];
9791
+ if (undefined === value)
9792
+ return true;
9793
+ return ("object" === typeof value && null !== value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9794
+ method: "typia.assertGuard",
9795
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9796
+ expected: "__type",
9797
+ value: value
9798
+ }, _errorFactory)) && _ao1(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9799
+ method: "typia.assertGuard",
9800
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9801
+ expected: "__type",
9802
+ value: value
9803
+ }, _errorFactory);
9804
+ }); const _ao1 = (input, _path, _exceptionable = true) => ("object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8811
9805
  method: "typia.assertGuard",
8812
- path: _path + ".styleOverrides",
8813
- expected: "(SubtitleEventStyleOverrides | undefined)",
8814
- value: input.styleOverrides
8815
- }, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => (undefined === input.marginL || "string" === typeof input.marginL || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9806
+ path: _path + ".data",
9807
+ expected: "EventPropsRecord",
9808
+ value: input.data
9809
+ }, _errorFactory)) && _ao2(input.data, _path + ".data", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8816
9810
  method: "typia.assertGuard",
8817
- path: _path + ".marginL",
8818
- expected: "(string | undefined)",
8819
- value: input.marginL
8820
- }, _errorFactory)) && (undefined === input.marginR || "string" === typeof input.marginR || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9811
+ path: _path + ".data",
9812
+ expected: "EventPropsRecord",
9813
+ value: input.data
9814
+ }, _errorFactory); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.source || "string" === typeof input.source || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8821
9815
  method: "typia.assertGuard",
8822
- path: _path + ".marginR",
9816
+ path: _path + ".source",
8823
9817
  expected: "(string | undefined)",
8824
- value: input.marginR
8825
- }, _errorFactory)) && (undefined === input.marginV || "string" === typeof input.marginV || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9818
+ value: input.source
9819
+ }, _errorFactory)) && (undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8826
9820
  method: "typia.assertGuard",
8827
- path: _path + ".marginV",
8828
- expected: "(string | undefined)",
8829
- value: input.marginV
8830
- }, _errorFactory)) && (undefined === input.alignment || "string" === typeof input.alignment || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9821
+ path: _path + ".cueCard",
9822
+ expected: "(boolean | string | undefined)",
9823
+ value: input.cueCard
9824
+ }, _errorFactory)) && (undefined === input.printRundownColor || "string" === typeof input.printRundownColor || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8831
9825
  method: "typia.assertGuard",
8832
- path: _path + ".alignment",
9826
+ path: _path + ".printRundownColor",
8833
9827
  expected: "(string | undefined)",
8834
- value: input.alignment
8835
- }, _errorFactory)) && (undefined === input.fontname || "string" === typeof input.fontname || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9828
+ value: input.printRundownColor
9829
+ }, _errorFactory)) && (undefined === input.startTime || "number" === typeof input.startTime || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8836
9830
  method: "typia.assertGuard",
8837
- path: _path + ".fontname",
8838
- expected: "(string | undefined)",
8839
- value: input.fontname
8840
- }, _errorFactory)) && (undefined === input.fontsize || "string" === typeof input.fontsize || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9831
+ path: _path + ".startTime",
9832
+ expected: "(number | undefined)",
9833
+ value: input.startTime
9834
+ }, _errorFactory)) && ((null !== input.shotboxGroup || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8841
9835
  method: "typia.assertGuard",
8842
- path: _path + ".fontsize",
8843
- expected: "(string | undefined)",
8844
- value: input.fontsize
8845
- }, _errorFactory)) && (undefined === input.primaryColour || "string" === typeof input.primaryColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9836
+ path: _path + ".shotboxGroup",
9837
+ expected: "(Array<string> | string | undefined)",
9838
+ value: input.shotboxGroup
9839
+ }, _errorFactory)) && (undefined === input.shotboxGroup || "string" === typeof input.shotboxGroup || (Array.isArray(input.shotboxGroup) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8846
9840
  method: "typia.assertGuard",
8847
- path: _path + ".primaryColour",
8848
- expected: "(string | undefined)",
8849
- value: input.primaryColour
8850
- }, _errorFactory)) && (undefined === input.secondaryColour || "string" === typeof input.secondaryColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9841
+ path: _path + ".shotboxGroup",
9842
+ expected: "(Array<string> | string | undefined)",
9843
+ value: input.shotboxGroup
9844
+ }, _errorFactory)) && input.shotboxGroup.every((elem, _index3) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8851
9845
  method: "typia.assertGuard",
8852
- path: _path + ".secondaryColour",
8853
- expected: "(string | undefined)",
8854
- value: input.secondaryColour
8855
- }, _errorFactory)) && (undefined === input.outlineColour || "string" === typeof input.outlineColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9846
+ path: _path + ".shotboxGroup[" + _index3 + "]",
9847
+ expected: "string",
9848
+ value: elem
9849
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8856
9850
  method: "typia.assertGuard",
8857
- path: _path + ".outlineColour",
8858
- expected: "(string | undefined)",
8859
- value: input.outlineColour
8860
- }, _errorFactory)) && (undefined === input.backColour || "string" === typeof input.backColour || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9851
+ path: _path + ".shotboxGroup",
9852
+ expected: "(Array<string> | string | undefined)",
9853
+ value: input.shotboxGroup
9854
+ }, _errorFactory))) && (undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8861
9855
  method: "typia.assertGuard",
8862
- path: _path + ".backColour",
8863
- expected: "(string | undefined)",
8864
- value: input.backColour
8865
- }, _errorFactory)) && (undefined === input.bold || "string" === typeof input.bold || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9856
+ path: _path + ".shotboxVisible",
9857
+ expected: "(boolean | undefined)",
9858
+ value: input.shotboxVisible
9859
+ }, _errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
9860
+ if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
9861
+ return true;
9862
+ const value = input[key];
9863
+ if (undefined === value)
9864
+ return true;
9865
+ return (undefined !== value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9866
+ method: "typia.assertGuard",
9867
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9868
+ expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9869
+ value: value
9870
+ }, _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, {
9871
+ method: "typia.assertGuard",
9872
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9873
+ expected: "Array<JsonValue>",
9874
+ value: value
9875
+ }, _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, {
9876
+ method: "typia.assertGuard",
9877
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9878
+ expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9879
+ value: value
9880
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9881
+ method: "typia.assertGuard",
9882
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9883
+ expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9884
+ value: value
9885
+ }, _errorFactory));
9886
+ })); const _ao3 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
9887
+ const value = input[key];
9888
+ if (undefined === value)
9889
+ return true;
9890
+ return (undefined !== value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9891
+ method: "typia.assertGuard",
9892
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9893
+ expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9894
+ value: value
9895
+ }, _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, {
9896
+ method: "typia.assertGuard",
9897
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9898
+ expected: "Array<JsonValue>",
9899
+ value: value
9900
+ }, _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, {
9901
+ method: "typia.assertGuard",
9902
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9903
+ expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9904
+ value: value
9905
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9906
+ method: "typia.assertGuard",
9907
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9908
+ expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9909
+ value: value
9910
+ }, _errorFactory));
9911
+ }); const _aa0 = (input, _path, _exceptionable = true) => input.every((elem, _index4) => (undefined !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8866
9912
  method: "typia.assertGuard",
8867
- path: _path + ".bold",
8868
- expected: "(string | undefined)",
8869
- value: input.bold
8870
- }, _errorFactory)) && (undefined === input.italic || "string" === typeof input.italic || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9913
+ path: _path + "[" + _index4 + "]",
9914
+ expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9915
+ value: elem
9916
+ }, _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, {
8871
9917
  method: "typia.assertGuard",
8872
- path: _path + ".italic",
8873
- expected: "(string | undefined)",
8874
- value: input.italic
8875
- }, _errorFactory)) && (undefined === input.underline || "string" === typeof input.underline || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9918
+ path: _path + "[" + _index4 + "]",
9919
+ expected: "Array<JsonValue>",
9920
+ value: elem
9921
+ }, _errorFactory)) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _ao3(elem, _path + "[" + _index4 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8876
9922
  method: "typia.assertGuard",
8877
- path: _path + ".underline",
8878
- expected: "(string | undefined)",
8879
- value: input.underline
8880
- }, _errorFactory)) && (undefined === input.strikeOut || "string" === typeof input.strikeOut || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9923
+ path: _path + "[" + _index4 + "]",
9924
+ expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9925
+ value: elem
9926
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8881
9927
  method: "typia.assertGuard",
8882
- path: _path + ".strikeOut",
8883
- expected: "(string | undefined)",
8884
- value: input.strikeOut
8885
- }, _errorFactory)); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
9928
+ path: _path + "[" + _index4 + "]",
9929
+ expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9930
+ value: elem
9931
+ }, _errorFactory))); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
8886
9932
  if (false === __is(input)) {
8887
9933
  _errorFactory = errorFactory;
8888
9934
  ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
8889
9935
  method: "typia.assertGuard",
8890
9936
  path: _path + "",
8891
- expected: "EventRecord",
9937
+ expected: "EventOverlayRecord",
8892
9938
  value: input
8893
9939
  }, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
8894
9940
  method: "typia.assertGuard",
8895
9941
  path: _path + "",
8896
- expected: "EventRecord",
9942
+ expected: "EventOverlayRecord",
8897
9943
  value: input
8898
9944
  }, _errorFactory))(input, "$input", true);
8899
9945
  }
8900
9946
  }; })()(input);
8901
9947
  }
8902
- case ":event._template?": {
8903
- 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, {
9948
+ case ":event.template?": {
9949
+ 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 => {
9950
+ const value = input[key];
9951
+ if (undefined === value)
9952
+ return true;
9953
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
9954
+ }); 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 => {
9955
+ const value = input[key];
9956
+ if (undefined === value)
9957
+ return true;
9958
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
9959
+ }); const _io8 = input => (undefined === input.type || "string" === typeof input.type) && (undefined === input.readOnly || "boolean" === typeof input.readOnly) && Object.keys(input).every(key => {
9960
+ if (["type", "readOnly"].some(prop => key === prop))
9961
+ return true;
9962
+ const value = input[key];
9963
+ if (undefined === value)
9964
+ return true;
9965
+ return true;
9966
+ }); 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, {
8904
9967
  method: "typia.assertGuard",
8905
9968
  path: _path + ".mixin",
8906
9969
  expected: "(Array<string> | undefined)",
8907
9970
  value: input.mixin
8908
- }, _errorFactory)) && input.mixin.every((elem, _index2) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9971
+ }, _errorFactory)) && input.mixin.every((elem, _index6) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8909
9972
  method: "typia.assertGuard",
8910
- path: _path + ".mixin[" + _index2 + "]",
9973
+ path: _path + ".mixin[" + _index6 + "]",
8911
9974
  expected: "string",
8912
9975
  value: elem
8913
9976
  }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
@@ -8918,269 +9981,386 @@ function _assertGuardDomainRecord(domain, input) {
8918
9981
  }, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8919
9982
  method: "typia.assertGuard",
8920
9983
  path: _path + ".properties",
8921
- expected: "(object | undefined)",
9984
+ expected: "(Record<string, TemplateProperty> | undefined)",
8922
9985
  value: input.properties
8923
9986
  }, _errorFactory)) && _ao1(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8924
9987
  method: "typia.assertGuard",
8925
9988
  path: _path + ".properties",
8926
- expected: "(object | undefined)",
9989
+ expected: "(Record<string, TemplateProperty> | undefined)",
8927
9990
  value: input.properties
8928
9991
  }, _errorFactory)) && (undefined === input.layout || ("object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8929
9992
  method: "typia.assertGuard",
8930
9993
  path: _path + ".layout",
8931
- expected: "(__type | undefined)",
9994
+ expected: "(__type.o3 | undefined)",
8932
9995
  value: input.layout
8933
- }, _errorFactory)) && _ao2(input.layout, _path + ".layout", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9996
+ }, _errorFactory)) && _ao9(input.layout, _path + ".layout", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8934
9997
  method: "typia.assertGuard",
8935
9998
  path: _path + ".layout",
8936
- expected: "(__type | undefined)",
9999
+ expected: "(__type.o3 | undefined)",
8937
10000
  value: input.layout
8938
10001
  }, _errorFactory)) && (undefined === input.controller || "string" === typeof input.controller || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8939
10002
  method: "typia.assertGuard",
8940
10003
  path: _path + ".controller",
8941
10004
  expected: "(string | undefined)",
8942
10005
  value: input.controller
8943
- }, _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, {
8944
- method: "typia.assertGuard",
8945
- path: _path + ".title",
8946
- expected: "(string | undefined)",
8947
- value: input.title
8948
- }, _errorFactory); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
8949
- if (false === __is(input)) {
8950
- _errorFactory = errorFactory;
8951
- ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
8952
- method: "typia.assertGuard",
8953
- path: _path + "",
8954
- expected: "EventTemplateRecord",
8955
- value: input
8956
- }, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
8957
- method: "typia.assertGuard",
8958
- path: _path + "",
8959
- expected: "EventTemplateRecord",
8960
- value: input
8961
- }, _errorFactory))(input, "$input", true);
8962
- }
8963
- }; })()(input);
8964
- }
8965
- case ":event.overlay?": {
8966
- return (() => { const _io0 = input => Object.keys(input).every(key => {
8967
- const value = input[key];
8968
- if (undefined === value)
8969
- return true;
8970
- return "object" === typeof value && null !== value && _io1(value);
8971
- }); 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 => {
8972
- if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
8973
- return true;
8974
- const value = input[key];
8975
- if (undefined === value)
8976
- return true;
8977
- 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)));
8978
- }); const _io3 = input => Object.keys(input).every(key => {
8979
- const value = input[key];
8980
- if (undefined === value)
8981
- return true;
8982
- 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)));
8983
- }); 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 => {
10006
+ }, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
8984
10007
  const value = input[key];
8985
10008
  if (undefined === value)
8986
10009
  return true;
8987
- return ("object" === typeof value && null !== value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10010
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8988
10011
  method: "typia.assertGuard",
8989
10012
  path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
8990
- expected: "__type",
10013
+ expected: "TemplateProperty",
8991
10014
  value: value
8992
- }, _errorFactory)) && _ao1(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10015
+ }, _errorFactory)) && _ao2(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8993
10016
  method: "typia.assertGuard",
8994
10017
  path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
8995
- expected: "__type",
10018
+ expected: "TemplateProperty",
8996
10019
  value: value
8997
10020
  }, _errorFactory);
8998
- }); const _ao1 = (input, _path, _exceptionable = true) => ("object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10021
+ }); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path || __typia_transform__assertGuard._assertGuard(_exceptionable, {
8999
10022
  method: "typia.assertGuard",
9000
- path: _path + ".data",
9001
- expected: "EventPropsRecord",
9002
- value: input.data
9003
- }, _errorFactory)) && _ao2(input.data, _path + ".data", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10023
+ path: _path + ".path",
10024
+ expected: "(string | undefined)",
10025
+ value: input.path
10026
+ }, _errorFactory)) && (undefined === input.render || ("object" === typeof input.render && null !== input.render || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9004
10027
  method: "typia.assertGuard",
9005
- path: _path + ".data",
9006
- expected: "EventPropsRecord",
9007
- value: input.data
9008
- }, _errorFactory); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.source || "string" === typeof input.source || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10028
+ path: _path + ".render",
10029
+ expected: "(__type | undefined)",
10030
+ value: input.render
10031
+ }, _errorFactory)) && _ao3(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9009
10032
  method: "typia.assertGuard",
9010
- path: _path + ".source",
10033
+ path: _path + ".render",
10034
+ expected: "(__type | undefined)",
10035
+ value: input.render
10036
+ }, _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, {
10037
+ method: "typia.assertGuard",
10038
+ path: _path + ".type",
10039
+ expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
10040
+ value: input.type
10041
+ }, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10042
+ method: "typia.assertGuard",
10043
+ path: _path + ".title",
9011
10044
  expected: "(string | undefined)",
9012
- value: input.source
9013
- }, _errorFactory)) && (undefined === input.cueCard || "string" === typeof input.cueCard || "boolean" === typeof input.cueCard || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10045
+ value: input.title
10046
+ }, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9014
10047
  method: "typia.assertGuard",
9015
- path: _path + ".cueCard",
9016
- expected: "(boolean | string | undefined)",
9017
- value: input.cueCard
9018
- }, _errorFactory)) && (undefined === input.printRundownColor || "string" === typeof input.printRundownColor || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10048
+ path: _path + ".description",
10049
+ expected: "(string | undefined)",
10050
+ value: input.description
10051
+ }, _errorFactory)) && (undefined === input.required || "boolean" === typeof input.required || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9019
10052
  method: "typia.assertGuard",
9020
- path: _path + ".printRundownColor",
10053
+ path: _path + ".required",
10054
+ expected: "(boolean | undefined)",
10055
+ value: input.required
10056
+ }, _errorFactory)) && (undefined === input.oneOf || (Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10057
+ method: "typia.assertGuard",
10058
+ path: _path + ".oneOf",
10059
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
10060
+ value: input.oneOf
10061
+ }, _errorFactory)) && input.oneOf.every((elem, _index7) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10062
+ method: "typia.assertGuard",
10063
+ path: _path + ".oneOf[" + _index7 + "]",
10064
+ expected: "SchemaProperty<unknown>",
10065
+ value: elem
10066
+ }, _errorFactory)) && _ao6(elem, _path + ".oneOf[" + _index7 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10067
+ method: "typia.assertGuard",
10068
+ path: _path + ".oneOf[" + _index7 + "]",
10069
+ expected: "SchemaProperty<unknown>",
10070
+ value: elem
10071
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10072
+ method: "typia.assertGuard",
10073
+ path: _path + ".oneOf",
10074
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
10075
+ value: input.oneOf
10076
+ }, _errorFactory)) && (undefined === input.anyOf || (Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10077
+ method: "typia.assertGuard",
10078
+ path: _path + ".anyOf",
10079
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
10080
+ value: input.anyOf
10081
+ }, _errorFactory)) && input.anyOf.every((elem, _index8) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10082
+ method: "typia.assertGuard",
10083
+ path: _path + ".anyOf[" + _index8 + "]",
10084
+ expected: "SchemaProperty<unknown>",
10085
+ value: elem
10086
+ }, _errorFactory)) && _ao6(elem, _path + ".anyOf[" + _index8 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10087
+ method: "typia.assertGuard",
10088
+ path: _path + ".anyOf[" + _index8 + "]",
10089
+ expected: "SchemaProperty<unknown>",
10090
+ value: elem
10091
+ }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10092
+ method: "typia.assertGuard",
10093
+ path: _path + ".anyOf",
10094
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
10095
+ value: input.anyOf
10096
+ }, _errorFactory)) && (undefined === input["enum"] || Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10097
+ method: "typia.assertGuard",
10098
+ path: _path + "[\"enum\"]",
10099
+ expected: "(ReadonlyArray<unknown> | undefined)",
10100
+ value: input["enum"]
10101
+ }, _errorFactory)) && (undefined === input.minItems || "number" === typeof input.minItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10102
+ method: "typia.assertGuard",
10103
+ path: _path + ".minItems",
10104
+ expected: "(number | undefined)",
10105
+ value: input.minItems
10106
+ }, _errorFactory)) && (undefined === input.maxItems || "number" === typeof input.maxItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10107
+ method: "typia.assertGuard",
10108
+ path: _path + ".maxItems",
10109
+ expected: "(number | undefined)",
10110
+ value: input.maxItems
10111
+ }, _errorFactory)) && (undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10112
+ method: "typia.assertGuard",
10113
+ path: _path + ".items",
10114
+ expected: "(SchemaProperty<unknown> | undefined)",
10115
+ value: input.items
10116
+ }, _errorFactory)) && _ao6(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10117
+ method: "typia.assertGuard",
10118
+ path: _path + ".items",
10119
+ expected: "(SchemaProperty<unknown> | undefined)",
10120
+ value: input.items
10121
+ }, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10122
+ method: "typia.assertGuard",
10123
+ path: _path + ".properties",
10124
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
10125
+ value: input.properties
10126
+ }, _errorFactory)) && _ao7(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10127
+ method: "typia.assertGuard",
10128
+ path: _path + ".properties",
10129
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
10130
+ value: input.properties
10131
+ }, _errorFactory)) && true && true && ((null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10132
+ method: "typia.assertGuard",
10133
+ path: _path + ".widget",
10134
+ expected: "(WidgetOptions | string | undefined)",
10135
+ value: input.widget
10136
+ }, _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, {
10137
+ method: "typia.assertGuard",
10138
+ path: _path + ".widget",
10139
+ expected: "(WidgetOptions | string | undefined)",
10140
+ value: input.widget
10141
+ }, _errorFactory)) && _ao8(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10142
+ method: "typia.assertGuard",
10143
+ path: _path + ".widget",
10144
+ expected: "(WidgetOptions | string | undefined)",
10145
+ value: input.widget
10146
+ }, _errorFactory))) && (undefined === input.placeholder || "string" === typeof input.placeholder || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10147
+ method: "typia.assertGuard",
10148
+ path: _path + ".placeholder",
9021
10149
  expected: "(string | undefined)",
9022
- value: input.printRundownColor
9023
- }, _errorFactory)) && (undefined === input.startTime || "number" === typeof input.startTime || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10150
+ value: input.placeholder
10151
+ }, _errorFactory)) && (undefined === input.helpText || "string" === typeof input.helpText || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10152
+ method: "typia.assertGuard",
10153
+ path: _path + ".helpText",
10154
+ expected: "(string | undefined)",
10155
+ value: input.helpText
10156
+ }, _errorFactory)) && (undefined === input.invalid || "boolean" === typeof input.invalid || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10157
+ method: "typia.assertGuard",
10158
+ path: _path + ".invalid",
10159
+ expected: "(boolean | undefined)",
10160
+ value: input.invalid
10161
+ }, _errorFactory)) && true; const _ao3 = (input, _path, _exceptionable = true) => ("image" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10162
+ method: "typia.assertGuard",
10163
+ path: _path + ".type",
10164
+ expected: "\"image\"",
10165
+ value: input.type
10166
+ }, _errorFactory)) && (undefined === input.profile || ("object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10167
+ method: "typia.assertGuard",
10168
+ path: _path + ".profile",
10169
+ expected: "(__type.o1 | undefined)",
10170
+ value: input.profile
10171
+ }, _errorFactory)) && _ao4(input.profile, _path + ".profile", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10172
+ method: "typia.assertGuard",
10173
+ path: _path + ".profile",
10174
+ expected: "(__type.o1 | undefined)",
10175
+ value: input.profile
10176
+ }, _errorFactory)); const _ao4 = (input, _path, _exceptionable = true) => (undefined === input.format || "string" === typeof input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10177
+ method: "typia.assertGuard",
10178
+ path: _path + ".format",
10179
+ expected: "(string | undefined)",
10180
+ value: input.format
10181
+ }, _errorFactory)) && (undefined === input.video || ("object" === typeof input.video && null !== input.video || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10182
+ method: "typia.assertGuard",
10183
+ path: _path + ".video",
10184
+ expected: "(__type.o2 | undefined)",
10185
+ value: input.video
10186
+ }, _errorFactory)) && _ao5(input.video, _path + ".video", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10187
+ method: "typia.assertGuard",
10188
+ path: _path + ".video",
10189
+ expected: "(__type.o2 | undefined)",
10190
+ value: input.video
10191
+ }, _errorFactory)); const _ao5 = (input, _path, _exceptionable = true) => ("number" === typeof input.width || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10192
+ method: "typia.assertGuard",
10193
+ path: _path + ".width",
10194
+ expected: "number",
10195
+ value: input.width
10196
+ }, _errorFactory)) && ("number" === typeof input.height || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10197
+ method: "typia.assertGuard",
10198
+ path: _path + ".height",
10199
+ expected: "number",
10200
+ value: input.height
10201
+ }, _errorFactory)) && ("cover" === input.fit || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10202
+ method: "typia.assertGuard",
10203
+ path: _path + ".fit",
10204
+ expected: "\"cover\"",
10205
+ value: input.fit
10206
+ }, _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, {
10207
+ method: "typia.assertGuard",
10208
+ path: _path + ".type",
10209
+ expected: "(\"array\" | \"asset\" | \"boolean\" | \"datetime\" | \"number\" | \"object\" | \"rpc\" | \"string\" | undefined)",
10210
+ value: input.type
10211
+ }, _errorFactory)) && (undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10212
+ method: "typia.assertGuard",
10213
+ path: _path + ".title",
10214
+ expected: "(string | undefined)",
10215
+ value: input.title
10216
+ }, _errorFactory)) && (undefined === input.description || "string" === typeof input.description || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10217
+ method: "typia.assertGuard",
10218
+ path: _path + ".description",
10219
+ expected: "(string | undefined)",
10220
+ value: input.description
10221
+ }, _errorFactory)) && (undefined === input.required || "boolean" === typeof input.required || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9024
10222
  method: "typia.assertGuard",
9025
- path: _path + ".startTime",
9026
- expected: "(number | undefined)",
9027
- value: input.startTime
9028
- }, _errorFactory)) && ((null !== input.shotboxGroup || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10223
+ path: _path + ".required",
10224
+ expected: "(boolean | undefined)",
10225
+ value: input.required
10226
+ }, _errorFactory)) && (undefined === input.oneOf || (Array.isArray(input.oneOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9029
10227
  method: "typia.assertGuard",
9030
- path: _path + ".shotboxGroup",
9031
- expected: "(Array<string> | string | undefined)",
9032
- value: input.shotboxGroup
9033
- }, _errorFactory)) && (undefined === input.shotboxGroup || "string" === typeof input.shotboxGroup || (Array.isArray(input.shotboxGroup) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10228
+ path: _path + ".oneOf",
10229
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
10230
+ value: input.oneOf
10231
+ }, _errorFactory)) && input.oneOf.every((elem, _index9) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9034
10232
  method: "typia.assertGuard",
9035
- path: _path + ".shotboxGroup",
9036
- expected: "(Array<string> | string | undefined)",
9037
- value: input.shotboxGroup
9038
- }, _errorFactory)) && input.shotboxGroup.every((elem, _index3) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10233
+ path: _path + ".oneOf[" + _index9 + "]",
10234
+ expected: "SchemaProperty<unknown>",
10235
+ value: elem
10236
+ }, _errorFactory)) && _ao6(elem, _path + ".oneOf[" + _index9 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9039
10237
  method: "typia.assertGuard",
9040
- path: _path + ".shotboxGroup[" + _index3 + "]",
9041
- expected: "string",
10238
+ path: _path + ".oneOf[" + _index9 + "]",
10239
+ expected: "SchemaProperty<unknown>",
9042
10240
  value: elem
9043
10241
  }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9044
10242
  method: "typia.assertGuard",
9045
- path: _path + ".shotboxGroup",
9046
- expected: "(Array<string> | string | undefined)",
9047
- value: input.shotboxGroup
9048
- }, _errorFactory))) && (undefined === input.shotboxVisible || "boolean" === typeof input.shotboxVisible || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9049
- method: "typia.assertGuard",
9050
- path: _path + ".shotboxVisible",
9051
- expected: "(boolean | undefined)",
9052
- value: input.shotboxVisible
9053
- }, _errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
9054
- if (["source", "cueCard", "printRundownColor", "startTime", "shotboxGroup", "shotboxVisible"].some(prop => key === prop))
9055
- return true;
9056
- const value = input[key];
9057
- if (undefined === value)
9058
- return true;
9059
- return (undefined !== value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9060
- method: "typia.assertGuard",
9061
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9062
- expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9063
- value: value
9064
- }, _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, {
9065
- method: "typia.assertGuard",
9066
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9067
- expected: "Array<JsonValue>",
9068
- value: value
9069
- }, _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, {
9070
- method: "typia.assertGuard",
9071
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9072
- expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9073
- value: value
9074
- }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9075
- method: "typia.assertGuard",
9076
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9077
- expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9078
- value: value
9079
- }, _errorFactory));
9080
- })); const _ao3 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
9081
- const value = input[key];
9082
- if (undefined === value)
9083
- return true;
9084
- return (undefined !== value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9085
- method: "typia.assertGuard",
9086
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9087
- expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9088
- value: value
9089
- }, _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, {
9090
- method: "typia.assertGuard",
9091
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9092
- expected: "Array<JsonValue>",
9093
- value: value
9094
- }, _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, {
9095
- method: "typia.assertGuard",
9096
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9097
- expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9098
- value: value
9099
- }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9100
- method: "typia.assertGuard",
9101
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
9102
- expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9103
- value: value
9104
- }, _errorFactory));
9105
- }); const _aa0 = (input, _path, _exceptionable = true) => input.every((elem, _index4) => (undefined !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10243
+ path: _path + ".oneOf",
10244
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
10245
+ value: input.oneOf
10246
+ }, _errorFactory)) && (undefined === input.anyOf || (Array.isArray(input.anyOf) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9106
10247
  method: "typia.assertGuard",
9107
- path: _path + "[" + _index4 + "]",
9108
- expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9109
- value: elem
9110
- }, _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, {
10248
+ path: _path + ".anyOf",
10249
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
10250
+ value: input.anyOf
10251
+ }, _errorFactory)) && input.anyOf.every((elem, _index10) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9111
10252
  method: "typia.assertGuard",
9112
- path: _path + "[" + _index4 + "]",
9113
- expected: "Array<JsonValue>",
10253
+ path: _path + ".anyOf[" + _index10 + "]",
10254
+ expected: "SchemaProperty<unknown>",
9114
10255
  value: elem
9115
- }, _errorFactory)) || "object" === typeof elem && null !== elem && false === Array.isArray(elem) && _ao3(elem, _path + "[" + _index4 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10256
+ }, _errorFactory)) && _ao6(elem, _path + ".anyOf[" + _index10 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9116
10257
  method: "typia.assertGuard",
9117
- path: _path + "[" + _index4 + "]",
9118
- expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
10258
+ path: _path + ".anyOf[" + _index10 + "]",
10259
+ expected: "SchemaProperty<unknown>",
9119
10260
  value: elem
9120
10261
  }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9121
10262
  method: "typia.assertGuard",
9122
- path: _path + "[" + _index4 + "]",
9123
- expected: "(Array<JsonValue> | __type.o1 | boolean | null | number | string)",
9124
- value: elem
9125
- }, _errorFactory))); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
9126
- if (false === __is(input)) {
9127
- _errorFactory = errorFactory;
9128
- ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
9129
- method: "typia.assertGuard",
9130
- path: _path + "",
9131
- expected: "EventOverlayRecord",
9132
- value: input
9133
- }, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
9134
- method: "typia.assertGuard",
9135
- path: _path + "",
9136
- expected: "EventOverlayRecord",
9137
- value: input
9138
- }, _errorFactory))(input, "$input", true);
9139
- }
9140
- }; })()(input);
9141
- }
9142
- case ":event.template?": {
9143
- 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, {
10263
+ path: _path + ".anyOf",
10264
+ expected: "(Array<SchemaProperty<unknown>> | undefined)",
10265
+ value: input.anyOf
10266
+ }, _errorFactory)) && (undefined === input["enum"] || Array.isArray(input["enum"]) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9144
10267
  method: "typia.assertGuard",
9145
- path: _path + ".mixin",
9146
- expected: "(Array<string> | undefined)",
9147
- value: input.mixin
9148
- }, _errorFactory)) && input.mixin.every((elem, _index2) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10268
+ path: _path + "[\"enum\"]",
10269
+ expected: "(ReadonlyArray<unknown> | undefined)",
10270
+ value: input["enum"]
10271
+ }, _errorFactory)) && (undefined === input.minItems || "number" === typeof input.minItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9149
10272
  method: "typia.assertGuard",
9150
- path: _path + ".mixin[" + _index2 + "]",
9151
- expected: "string",
9152
- value: elem
9153
- }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10273
+ path: _path + ".minItems",
10274
+ expected: "(number | undefined)",
10275
+ value: input.minItems
10276
+ }, _errorFactory)) && (undefined === input.maxItems || "number" === typeof input.maxItems || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9154
10277
  method: "typia.assertGuard",
9155
- path: _path + ".mixin",
9156
- expected: "(Array<string> | undefined)",
9157
- value: input.mixin
10278
+ path: _path + ".maxItems",
10279
+ expected: "(number | undefined)",
10280
+ value: input.maxItems
10281
+ }, _errorFactory)) && (undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10282
+ method: "typia.assertGuard",
10283
+ path: _path + ".items",
10284
+ expected: "(SchemaProperty<unknown> | undefined)",
10285
+ value: input.items
10286
+ }, _errorFactory)) && _ao6(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10287
+ method: "typia.assertGuard",
10288
+ path: _path + ".items",
10289
+ expected: "(SchemaProperty<unknown> | undefined)",
10290
+ value: input.items
9158
10291
  }, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9159
10292
  method: "typia.assertGuard",
9160
10293
  path: _path + ".properties",
9161
- expected: "(object | undefined)",
10294
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
9162
10295
  value: input.properties
9163
- }, _errorFactory)) && _ao1(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10296
+ }, _errorFactory)) && _ao7(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9164
10297
  method: "typia.assertGuard",
9165
10298
  path: _path + ".properties",
9166
- expected: "(object | undefined)",
10299
+ expected: "(Record<string, SchemaProperty<unknown>> | undefined)",
9167
10300
  value: input.properties
9168
- }, _errorFactory)) && (undefined === input.layout || ("object" === typeof input.layout && null !== input.layout && false === Array.isArray(input.layout) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10301
+ }, _errorFactory)) && true && true && ((null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9169
10302
  method: "typia.assertGuard",
9170
- path: _path + ".layout",
9171
- expected: "(__type | undefined)",
9172
- value: input.layout
9173
- }, _errorFactory)) && _ao2(input.layout, _path + ".layout", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10303
+ path: _path + ".widget",
10304
+ expected: "(WidgetOptions | string | undefined)",
10305
+ value: input.widget
10306
+ }, _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, {
9174
10307
  method: "typia.assertGuard",
9175
- path: _path + ".layout",
9176
- expected: "(__type | undefined)",
9177
- value: input.layout
9178
- }, _errorFactory)) && (undefined === input.controller || "string" === typeof input.controller || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10308
+ path: _path + ".widget",
10309
+ expected: "(WidgetOptions | string | undefined)",
10310
+ value: input.widget
10311
+ }, _errorFactory)) && _ao8(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9179
10312
  method: "typia.assertGuard",
9180
- path: _path + ".controller",
10313
+ path: _path + ".widget",
10314
+ expected: "(WidgetOptions | string | undefined)",
10315
+ value: input.widget
10316
+ }, _errorFactory))) && (undefined === input.placeholder || "string" === typeof input.placeholder || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10317
+ method: "typia.assertGuard",
10318
+ path: _path + ".placeholder",
9181
10319
  expected: "(string | undefined)",
9182
- value: input.controller
9183
- }, _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, {
10320
+ value: input.placeholder
10321
+ }, _errorFactory)) && (undefined === input.helpText || "string" === typeof input.helpText || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10322
+ method: "typia.assertGuard",
10323
+ path: _path + ".helpText",
10324
+ expected: "(string | undefined)",
10325
+ value: input.helpText
10326
+ }, _errorFactory)) && (undefined === input.invalid || "boolean" === typeof input.invalid || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10327
+ method: "typia.assertGuard",
10328
+ path: _path + ".invalid",
10329
+ expected: "(boolean | undefined)",
10330
+ value: input.invalid
10331
+ }, _errorFactory)) && true; const _ao7 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
10332
+ const value = input[key];
10333
+ if (undefined === value)
10334
+ return true;
10335
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10336
+ method: "typia.assertGuard",
10337
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
10338
+ expected: "SchemaProperty<unknown>",
10339
+ value: value
10340
+ }, _errorFactory)) && _ao6(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10341
+ method: "typia.assertGuard",
10342
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
10343
+ expected: "SchemaProperty<unknown>",
10344
+ value: value
10345
+ }, _errorFactory);
10346
+ }); const _ao8 = (input, _path, _exceptionable = true) => (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10347
+ method: "typia.assertGuard",
10348
+ path: _path + ".type",
10349
+ expected: "(string | undefined)",
10350
+ value: input.type
10351
+ }, _errorFactory)) && (undefined === input.readOnly || "boolean" === typeof input.readOnly || __typia_transform__assertGuard._assertGuard(_exceptionable, {
10352
+ method: "typia.assertGuard",
10353
+ path: _path + ".readOnly",
10354
+ expected: "(boolean | undefined)",
10355
+ value: input.readOnly
10356
+ }, _errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
10357
+ if (["type", "readOnly"].some(prop => key === prop))
10358
+ return true;
10359
+ const value = input[key];
10360
+ if (undefined === value)
10361
+ return true;
10362
+ return true;
10363
+ })); const _ao9 = (input, _path, _exceptionable = true) => undefined === input.title || "string" === typeof input.title || __typia_transform__assertGuard._assertGuard(_exceptionable, {
9184
10364
  method: "typia.assertGuard",
9185
10365
  path: _path + ".title",
9186
10366
  expected: "(string | undefined)",
@@ -11826,7 +13006,17 @@ function _assertGuardDomainRecord(domain, input) {
11826
13006
  if (undefined === value)
11827
13007
  return true;
11828
13008
  return "object" === typeof value && null !== value && false === Array.isArray(value) && _io1(value);
11829
- }); 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 => (() => {
13009
+ }); 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 => {
13010
+ const value = input[key];
13011
+ if (undefined === value)
13012
+ return true;
13013
+ return "string" === typeof value;
13014
+ }); const _io9 = input => Object.keys(input).every(key => {
13015
+ const value = input[key];
13016
+ if (undefined === value)
13017
+ return true;
13018
+ return "string" === typeof value;
13019
+ }); const _iu0 = input => (() => {
11830
13020
  if ("add" === input.op)
11831
13021
  return _io2(input);
11832
13022
  else if ("remove" === input.op)
@@ -11856,7 +13046,7 @@ function _assertGuardDomainRecord(domain, input) {
11856
13046
  expected: "MediaTranscriptChangesRecordValue",
11857
13047
  value: value
11858
13048
  }, _errorFactory);
11859
- }); const _ao1 = (input, _path, _exceptionable = true) => undefined === input.patch || (Array.isArray(input.patch) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
13049
+ }); const _ao1 = (input, _path, _exceptionable = true) => (undefined === input.patch || (Array.isArray(input.patch) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
11860
13050
  method: "typia.assertGuard",
11861
13051
  path: _path + ".patch",
11862
13052
  expected: "(Array<Operation> | undefined)",
@@ -11876,7 +13066,27 @@ function _assertGuardDomainRecord(domain, input) {
11876
13066
  path: _path + ".patch",
11877
13067
  expected: "(Array<Operation> | undefined)",
11878
13068
  value: input.patch
11879
- }, _errorFactory); const _ao2 = (input, _path, _exceptionable = true) => ("add" === input.op || __typia_transform__assertGuard._assertGuard(_exceptionable, {
13069
+ }, _errorFactory)) && (undefined === input.speakerLabels || ("object" === typeof input.speakerLabels && null !== input.speakerLabels && false === Array.isArray(input.speakerLabels) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
13070
+ method: "typia.assertGuard",
13071
+ path: _path + ".speakerLabels",
13072
+ expected: "(__type | undefined)",
13073
+ value: input.speakerLabels
13074
+ }, _errorFactory)) && _ao8(input.speakerLabels, _path + ".speakerLabels", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
13075
+ method: "typia.assertGuard",
13076
+ path: _path + ".speakerLabels",
13077
+ expected: "(__type | undefined)",
13078
+ value: input.speakerLabels
13079
+ }, _errorFactory)) && (undefined === input.speakerRemaps || ("object" === typeof input.speakerRemaps && null !== input.speakerRemaps && false === Array.isArray(input.speakerRemaps) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
13080
+ method: "typia.assertGuard",
13081
+ path: _path + ".speakerRemaps",
13082
+ expected: "(__type.o1 | undefined)",
13083
+ value: input.speakerRemaps
13084
+ }, _errorFactory)) && _ao9(input.speakerRemaps, _path + ".speakerRemaps", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
13085
+ method: "typia.assertGuard",
13086
+ path: _path + ".speakerRemaps",
13087
+ expected: "(__type.o1 | undefined)",
13088
+ value: input.speakerRemaps
13089
+ }, _errorFactory)); const _ao2 = (input, _path, _exceptionable = true) => ("add" === input.op || __typia_transform__assertGuard._assertGuard(_exceptionable, {
11880
13090
  method: "typia.assertGuard",
11881
13091
  path: _path + ".op",
11882
13092
  expected: "\"add\"",
@@ -11946,7 +13156,27 @@ function _assertGuardDomainRecord(domain, input) {
11946
13156
  path: _path + ".path",
11947
13157
  expected: "string",
11948
13158
  value: input.path
11949
- }, _errorFactory)) && true; const _au0 = (input, _path, _exceptionable = true) => (() => {
13159
+ }, _errorFactory)) && true; const _ao8 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
13160
+ const value = input[key];
13161
+ if (undefined === value)
13162
+ return true;
13163
+ return "string" === typeof value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
13164
+ method: "typia.assertGuard",
13165
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
13166
+ expected: "string",
13167
+ value: value
13168
+ }, _errorFactory);
13169
+ }); const _ao9 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
13170
+ const value = input[key];
13171
+ if (undefined === value)
13172
+ return true;
13173
+ return "string" === typeof value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
13174
+ method: "typia.assertGuard",
13175
+ path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
13176
+ expected: "string",
13177
+ value: value
13178
+ }, _errorFactory);
13179
+ }); const _au0 = (input, _path, _exceptionable = true) => (() => {
11950
13180
  if ("add" === input.op)
11951
13181
  return _ao2(input, _path, true && _exceptionable);
11952
13182
  else if ("remove" === input.op)
@@ -23197,7 +24427,7 @@ function _assertGuardDomainRecord(domain, input) {
23197
24427
  if (undefined === value)
23198
24428
  return true;
23199
24429
  return true;
23200
- }); 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 => {
24430
+ }); 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 => {
23201
24431
  const value = input[key];
23202
24432
  if (undefined === value)
23203
24433
  return true;
@@ -24821,7 +26051,12 @@ function _assertGuardDomainRecord(domain, input) {
24821
26051
  path: _path + ".defaultExitOption",
24822
26052
  expected: "(\"leave\" | \"none\" | \"update\" | undefined)",
24823
26053
  value: input.defaultExitOption
24824
- }, _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, {
26054
+ }, _errorFactory)); const _ao46 = (input, _path, _exceptionable = true) => (undefined === input.showSpeakers || "boolean" === typeof input.showSpeakers || __typia_transform__assertGuard._assertGuard(_exceptionable, {
26055
+ method: "typia.assertGuard",
26056
+ path: _path + ".showSpeakers",
26057
+ expected: "(boolean | undefined)",
26058
+ value: input.showSpeakers
26059
+ }, _errorFactory)) && (undefined === input.subtitleDisclaimer || ("object" === typeof input.subtitleDisclaimer && null !== input.subtitleDisclaimer && false === Array.isArray(input.subtitleDisclaimer) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
24825
26060
  method: "typia.assertGuard",
24826
26061
  path: _path + ".subtitleDisclaimer",
24827
26062
  expected: "(__type.o37 | undefined)",
@@ -24831,7 +26066,7 @@ function _assertGuardDomainRecord(domain, input) {
24831
26066
  path: _path + ".subtitleDisclaimer",
24832
26067
  expected: "(__type.o37 | undefined)",
24833
26068
  value: input.subtitleDisclaimer
24834
- }, _errorFactory); const _ao47 = (input, _path, _exceptionable = true) => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
26069
+ }, _errorFactory)); const _ao47 = (input, _path, _exceptionable = true) => (undefined === input.isUserConfigurable || "boolean" === typeof input.isUserConfigurable || __typia_transform__assertGuard._assertGuard(_exceptionable, {
24835
26070
  method: "typia.assertGuard",
24836
26071
  path: _path + ".isUserConfigurable",
24837
26072
  expected: "(boolean | undefined)",
@@ -27598,279 +28833,6 @@ function _assertGuardDomainRecord(domain, input) {
27598
28833
  }
27599
28834
  }; })()(input);
27600
28835
  }
27601
- case ":template": {
27602
- 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 => {
27603
- const value = input[key];
27604
- if (undefined === value)
27605
- return true;
27606
- return "object" === typeof value && null !== value && false === Array.isArray(value) && _io2(value);
27607
- }); 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 => {
27608
- const value = input[key];
27609
- if (undefined === value)
27610
- return true;
27611
- return "object" === typeof value && null !== value && false === Array.isArray(value) && _io7(value);
27612
- }); 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, {
27613
- method: "typia.assertGuard",
27614
- path: _path + ".source",
27615
- expected: "(string | undefined)",
27616
- value: input.source
27617
- }, _errorFactory)) && (undefined === input.controller || "string" === typeof input.controller || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27618
- method: "typia.assertGuard",
27619
- path: _path + ".controller",
27620
- expected: "(string | undefined)",
27621
- value: input.controller
27622
- }, _errorFactory)) && (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27623
- method: "typia.assertGuard",
27624
- path: _path + ".type",
27625
- expected: "(string | undefined)",
27626
- value: input.type
27627
- }, _errorFactory)) && (undefined === input.mixin || (Array.isArray(input.mixin) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27628
- method: "typia.assertGuard",
27629
- path: _path + ".mixin",
27630
- expected: "(Array<string> | undefined)",
27631
- value: input.mixin
27632
- }, _errorFactory)) && input.mixin.every((elem, _index2) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27633
- method: "typia.assertGuard",
27634
- path: _path + ".mixin[" + _index2 + "]",
27635
- expected: "string",
27636
- value: elem
27637
- }, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27638
- method: "typia.assertGuard",
27639
- path: _path + ".mixin",
27640
- expected: "(Array<string> | undefined)",
27641
- value: input.mixin
27642
- }, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27643
- method: "typia.assertGuard",
27644
- path: _path + ".properties",
27645
- expected: "(Record<string, TemplateProperty> | undefined)",
27646
- value: input.properties
27647
- }, _errorFactory)) && _ao1(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27648
- method: "typia.assertGuard",
27649
- path: _path + ".properties",
27650
- expected: "(Record<string, TemplateProperty> | undefined)",
27651
- value: input.properties
27652
- }, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
27653
- const value = input[key];
27654
- if (undefined === value)
27655
- return true;
27656
- return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27657
- method: "typia.assertGuard",
27658
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
27659
- expected: "TemplateProperty",
27660
- value: value
27661
- }, _errorFactory)) && _ao2(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27662
- method: "typia.assertGuard",
27663
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
27664
- expected: "TemplateProperty",
27665
- value: value
27666
- }, _errorFactory);
27667
- }); const _ao2 = (input, _path, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27668
- method: "typia.assertGuard",
27669
- path: _path + ".path",
27670
- expected: "(string | undefined)",
27671
- value: input.path
27672
- }, _errorFactory)) && (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27673
- method: "typia.assertGuard",
27674
- path: _path + ".type",
27675
- expected: "(string | undefined)",
27676
- value: input.type
27677
- }, _errorFactory)) && (undefined === input.label || "string" === typeof input.label || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27678
- method: "typia.assertGuard",
27679
- path: _path + ".label",
27680
- expected: "(string | undefined)",
27681
- value: input.label
27682
- }, _errorFactory)) && (undefined === input.defaultValue || "string" === typeof input.defaultValue || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27683
- method: "typia.assertGuard",
27684
- path: _path + ".defaultValue",
27685
- expected: "(string | undefined)",
27686
- value: input.defaultValue
27687
- }, _errorFactory)) && (undefined === input.widget || ("object" === typeof input.widget && null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27688
- method: "typia.assertGuard",
27689
- path: _path + ".widget",
27690
- expected: "(__type | undefined)",
27691
- value: input.widget
27692
- }, _errorFactory)) && _ao3(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27693
- method: "typia.assertGuard",
27694
- path: _path + ".widget",
27695
- expected: "(__type | undefined)",
27696
- value: input.widget
27697
- }, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27698
- method: "typia.assertGuard",
27699
- path: _path + ".properties",
27700
- expected: "(object | undefined)",
27701
- value: input.properties
27702
- }, _errorFactory)) && _ao4(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27703
- method: "typia.assertGuard",
27704
- path: _path + ".properties",
27705
- expected: "(object | undefined)",
27706
- value: input.properties
27707
- }, _errorFactory)) && (undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27708
- method: "typia.assertGuard",
27709
- path: _path + ".items",
27710
- expected: "(__type.o1 | undefined)",
27711
- value: input.items
27712
- }, _errorFactory)) && _ao5(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27713
- method: "typia.assertGuard",
27714
- path: _path + ".items",
27715
- expected: "(__type.o1 | undefined)",
27716
- value: input.items
27717
- }, _errorFactory)) && (undefined === input.render || ("object" === typeof input.render && null !== input.render || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27718
- method: "typia.assertGuard",
27719
- path: _path + ".render",
27720
- expected: "(__type.o3 | undefined)",
27721
- value: input.render
27722
- }, _errorFactory)) && _ao9(input.render, _path + ".render", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27723
- method: "typia.assertGuard",
27724
- path: _path + ".render",
27725
- expected: "(__type.o3 | undefined)",
27726
- value: input.render
27727
- }, _errorFactory)); const _ao3 = (input, _path, _exceptionable = true) => "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27728
- method: "typia.assertGuard",
27729
- path: _path + ".type",
27730
- expected: "string",
27731
- value: input.type
27732
- }, _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, {
27733
- method: "typia.assertGuard",
27734
- path: _path + ".properties",
27735
- expected: "(Record<string, TemplatePropertySchema> | undefined)",
27736
- value: input.properties
27737
- }, _errorFactory)) && _ao6(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27738
- method: "typia.assertGuard",
27739
- path: _path + ".properties",
27740
- expected: "(Record<string, TemplatePropertySchema> | undefined)",
27741
- value: input.properties
27742
- }, _errorFactory); const _ao6 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
27743
- const value = input[key];
27744
- if (undefined === value)
27745
- return true;
27746
- return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27747
- method: "typia.assertGuard",
27748
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
27749
- expected: "TemplatePropertySchema",
27750
- value: value
27751
- }, _errorFactory)) && _ao7(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27752
- method: "typia.assertGuard",
27753
- path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
27754
- expected: "TemplatePropertySchema",
27755
- value: value
27756
- }, _errorFactory);
27757
- }); const _ao7 = (input, _path, _exceptionable = true) => (undefined === input.path || "string" === typeof input.path || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27758
- method: "typia.assertGuard",
27759
- path: _path + ".path",
27760
- expected: "(string | undefined)",
27761
- value: input.path
27762
- }, _errorFactory)) && (undefined === input.type || "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27763
- method: "typia.assertGuard",
27764
- path: _path + ".type",
27765
- expected: "(string | undefined)",
27766
- value: input.type
27767
- }, _errorFactory)) && (undefined === input.label || "string" === typeof input.label || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27768
- method: "typia.assertGuard",
27769
- path: _path + ".label",
27770
- expected: "(string | undefined)",
27771
- value: input.label
27772
- }, _errorFactory)) && (undefined === input.defaultValue || "string" === typeof input.defaultValue || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27773
- method: "typia.assertGuard",
27774
- path: _path + ".defaultValue",
27775
- expected: "(string | undefined)",
27776
- value: input.defaultValue
27777
- }, _errorFactory)) && (undefined === input.widget || ("object" === typeof input.widget && null !== input.widget || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27778
- method: "typia.assertGuard",
27779
- path: _path + ".widget",
27780
- expected: "(__type.o2 | undefined)",
27781
- value: input.widget
27782
- }, _errorFactory)) && _ao8(input.widget, _path + ".widget", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27783
- method: "typia.assertGuard",
27784
- path: _path + ".widget",
27785
- expected: "(__type.o2 | undefined)",
27786
- value: input.widget
27787
- }, _errorFactory)) && (undefined === input.items || ("object" === typeof input.items && null !== input.items && false === Array.isArray(input.items) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27788
- method: "typia.assertGuard",
27789
- path: _path + ".items",
27790
- expected: "(TemplatePropertySchema | undefined)",
27791
- value: input.items
27792
- }, _errorFactory)) && _ao7(input.items, _path + ".items", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27793
- method: "typia.assertGuard",
27794
- path: _path + ".items",
27795
- expected: "(TemplatePropertySchema | undefined)",
27796
- value: input.items
27797
- }, _errorFactory)) && (undefined === input.properties || ("object" === typeof input.properties && null !== input.properties && false === Array.isArray(input.properties) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27798
- method: "typia.assertGuard",
27799
- path: _path + ".properties",
27800
- expected: "(Record<string, TemplatePropertySchema> | undefined)",
27801
- value: input.properties
27802
- }, _errorFactory)) && _ao6(input.properties, _path + ".properties", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27803
- method: "typia.assertGuard",
27804
- path: _path + ".properties",
27805
- expected: "(Record<string, TemplatePropertySchema> | undefined)",
27806
- value: input.properties
27807
- }, _errorFactory)); const _ao8 = (input, _path, _exceptionable = true) => "string" === typeof input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27808
- method: "typia.assertGuard",
27809
- path: _path + ".type",
27810
- expected: "string",
27811
- value: input.type
27812
- }, _errorFactory); const _ao9 = (input, _path, _exceptionable = true) => ("image" === input.type || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27813
- method: "typia.assertGuard",
27814
- path: _path + ".type",
27815
- expected: "\"image\"",
27816
- value: input.type
27817
- }, _errorFactory)) && (undefined === input.profile || ("object" === typeof input.profile && null !== input.profile && false === Array.isArray(input.profile) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27818
- method: "typia.assertGuard",
27819
- path: _path + ".profile",
27820
- expected: "(__type.o4 | undefined)",
27821
- value: input.profile
27822
- }, _errorFactory)) && _ao10(input.profile, _path + ".profile", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27823
- method: "typia.assertGuard",
27824
- path: _path + ".profile",
27825
- expected: "(__type.o4 | undefined)",
27826
- value: input.profile
27827
- }, _errorFactory)); const _ao10 = (input, _path, _exceptionable = true) => (undefined === input.format || "string" === typeof input.format || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27828
- method: "typia.assertGuard",
27829
- path: _path + ".format",
27830
- expected: "(string | undefined)",
27831
- value: input.format
27832
- }, _errorFactory)) && (undefined === input.video || ("object" === typeof input.video && null !== input.video || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27833
- method: "typia.assertGuard",
27834
- path: _path + ".video",
27835
- expected: "(__type.o5 | undefined)",
27836
- value: input.video
27837
- }, _errorFactory)) && _ao11(input.video, _path + ".video", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27838
- method: "typia.assertGuard",
27839
- path: _path + ".video",
27840
- expected: "(__type.o5 | undefined)",
27841
- value: input.video
27842
- }, _errorFactory)); const _ao11 = (input, _path, _exceptionable = true) => ("number" === typeof input.width || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27843
- method: "typia.assertGuard",
27844
- path: _path + ".width",
27845
- expected: "number",
27846
- value: input.width
27847
- }, _errorFactory)) && ("number" === typeof input.height || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27848
- method: "typia.assertGuard",
27849
- path: _path + ".height",
27850
- expected: "number",
27851
- value: input.height
27852
- }, _errorFactory)) && ("cover" === input.fit || __typia_transform__assertGuard._assertGuard(_exceptionable, {
27853
- method: "typia.assertGuard",
27854
- path: _path + ".fit",
27855
- expected: "\"cover\"",
27856
- value: input.fit
27857
- }, _errorFactory)); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let _errorFactory; return (input, errorFactory) => {
27858
- if (false === __is(input)) {
27859
- _errorFactory = errorFactory;
27860
- ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
27861
- method: "typia.assertGuard",
27862
- path: _path + "",
27863
- expected: "TemplateRecord",
27864
- value: input
27865
- }, _errorFactory)) && _ao0(input, _path + "", true) || __typia_transform__assertGuard._assertGuard(true, {
27866
- method: "typia.assertGuard",
27867
- path: _path + "",
27868
- expected: "TemplateRecord",
27869
- value: input
27870
- }, _errorFactory))(input, "$input", true);
27871
- }
27872
- }; })()(input);
27873
- }
27874
28836
  case ":_user-notification-status": {
27875
28837
  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, {
27876
28838
  method: "typia.assertGuard",