@nxtedition/types 23.0.5 → 23.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/domains/asset.d.ts +12 -0
- package/dist/domains/asset.js +192 -12
- package/dist/domains/publish.d.ts +10 -0
- package/dist/domains/publish.js +85 -0
- package/dist/index.js +14 -12
- package/dist/schema.json +42 -0
- package/package.json +1 -1
package/dist/domains/asset.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export interface AssetDomainRecords {
|
|
|
12
12
|
":asset.status?": AssetDomainStatusProvidedRecord;
|
|
13
13
|
":asset.icon?": AssetDomainIconProvidedRecord;
|
|
14
14
|
":asset.deadlines?": AssetDomainDeadlinesProvidedRecord;
|
|
15
|
+
":asset.publish?": AssetDomainPublishProvidedRecord;
|
|
15
16
|
":asset.published?": AssetDomainPublishedProvidedRecord;
|
|
16
17
|
":asset.duration?": AssetDomainDurationProvidedRecord;
|
|
17
18
|
":asset.locations?": AssetDomainLocationsProvidedRecord;
|
|
@@ -81,6 +82,7 @@ export declare const assertStringifyAssetFileRefsProvidedRecord: (input: unknown
|
|
|
81
82
|
export interface AssetCreatedProvidedRecord {
|
|
82
83
|
time?: string;
|
|
83
84
|
user?: string;
|
|
85
|
+
origin?: string;
|
|
84
86
|
}
|
|
85
87
|
export declare const isAssetCreatedProvidedRecord: (input: unknown) => input is AssetCreatedProvidedRecord;
|
|
86
88
|
export declare const assertAssetCreatedProvidedRecord: (input: unknown) => AssetCreatedProvidedRecord;
|
|
@@ -91,6 +93,7 @@ export declare const assertStringifyAssetCreatedProvidedRecord: (input: unknown)
|
|
|
91
93
|
export interface AssetModifiedProvidedRecord {
|
|
92
94
|
time?: string;
|
|
93
95
|
user?: string;
|
|
96
|
+
users?: string[];
|
|
94
97
|
}
|
|
95
98
|
export declare const isAssetModifiedProvidedRecord: (input: unknown) => input is AssetModifiedProvidedRecord;
|
|
96
99
|
export declare const assertAssetModifiedProvidedRecord: (input: unknown) => AssetModifiedProvidedRecord;
|
|
@@ -132,6 +135,15 @@ export declare const randomAssetDomainDeadlinesProvidedRecord: () => AssetDomain
|
|
|
132
135
|
export declare const assertGuardAssetDomainDeadlinesProvidedRecord: __AssertionGuard<AssetDomainDeadlinesProvidedRecord>;
|
|
133
136
|
export declare const stringifyAssetDomainDeadlinesProvidedRecord: (input: AssetDomainDeadlinesProvidedRecord) => string;
|
|
134
137
|
export declare const assertStringifyAssetDomainDeadlinesProvidedRecord: (input: unknown) => string;
|
|
138
|
+
export interface AssetDomainPublishProvidedRecord {
|
|
139
|
+
value?: string[];
|
|
140
|
+
}
|
|
141
|
+
export declare const isAssetDomainPublishProvidedRecord: (input: unknown) => input is AssetDomainPublishProvidedRecord;
|
|
142
|
+
export declare const assertAssetDomainPublishProvidedRecord: (input: unknown) => AssetDomainPublishProvidedRecord;
|
|
143
|
+
export declare const randomAssetDomainPublishProvidedRecord: () => AssetDomainPublishProvidedRecord;
|
|
144
|
+
export declare const assertGuardAssetDomainPublishProvidedRecord: __AssertionGuard<AssetDomainPublishProvidedRecord>;
|
|
145
|
+
export declare const stringifyAssetDomainPublishProvidedRecord: (input: AssetDomainPublishProvidedRecord) => string;
|
|
146
|
+
export declare const assertStringifyAssetDomainPublishProvidedRecord: (input: unknown) => string;
|
|
135
147
|
export interface AssetDomainPublishedProvidedRecord {
|
|
136
148
|
[publishedRecordId: string]: IsoTimestamp;
|
|
137
149
|
}
|
package/dist/domains/asset.js
CHANGED
|
@@ -782,12 +782,12 @@ export const assertStringifyAssetFileRefsProvidedRecord = (input, errorFactory)
|
|
|
782
782
|
return $so0(input);
|
|
783
783
|
}; return stringify(assert(input, errorFactory)); };
|
|
784
784
|
export const isAssetCreatedProvidedRecord = input => {
|
|
785
|
-
const $io0 = input => (undefined === input.time || "string" === typeof input.time) && (undefined === input.user || "string" === typeof input.user);
|
|
785
|
+
const $io0 = input => (undefined === input.time || "string" === typeof input.time) && (undefined === input.user || "string" === typeof input.user) && (undefined === input.origin || "string" === typeof input.origin);
|
|
786
786
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
787
787
|
};
|
|
788
788
|
export const assertAssetCreatedProvidedRecord = (input, errorFactory) => {
|
|
789
789
|
const __is = input => {
|
|
790
|
-
const $io0 = input => (undefined === input.time || "string" === typeof input.time) && (undefined === input.user || "string" === typeof input.user);
|
|
790
|
+
const $io0 = input => (undefined === input.time || "string" === typeof input.time) && (undefined === input.user || "string" === typeof input.user) && (undefined === input.origin || "string" === typeof input.origin);
|
|
791
791
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
792
792
|
};
|
|
793
793
|
if (false === __is(input))
|
|
@@ -801,6 +801,10 @@ export const assertAssetCreatedProvidedRecord = (input, errorFactory) => {
|
|
|
801
801
|
path: _path + ".user",
|
|
802
802
|
expected: "(string | undefined)",
|
|
803
803
|
value: input.user
|
|
804
|
+
}, errorFactory)) && (undefined === input.origin || "string" === typeof input.origin || $guard(_exceptionable, {
|
|
805
|
+
path: _path + ".origin",
|
|
806
|
+
expected: "(string | undefined)",
|
|
807
|
+
value: input.origin
|
|
804
808
|
}, errorFactory));
|
|
805
809
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
806
810
|
path: _path + "",
|
|
@@ -825,13 +829,17 @@ export const randomAssetCreatedProvidedRecord = generator => {
|
|
|
825
829
|
user: $pick([
|
|
826
830
|
() => undefined,
|
|
827
831
|
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
832
|
+
])(),
|
|
833
|
+
origin: $pick([
|
|
834
|
+
() => undefined,
|
|
835
|
+
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
828
836
|
])()
|
|
829
837
|
});
|
|
830
838
|
return $ro0();
|
|
831
839
|
};
|
|
832
840
|
export const assertGuardAssetCreatedProvidedRecord = (input, errorFactory) => {
|
|
833
841
|
const __is = input => {
|
|
834
|
-
const $io0 = input => (undefined === input.time || "string" === typeof input.time) && (undefined === input.user || "string" === typeof input.user);
|
|
842
|
+
const $io0 = input => (undefined === input.time || "string" === typeof input.time) && (undefined === input.user || "string" === typeof input.user) && (undefined === input.origin || "string" === typeof input.origin);
|
|
835
843
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
836
844
|
};
|
|
837
845
|
if (false === __is(input))
|
|
@@ -845,6 +853,10 @@ export const assertGuardAssetCreatedProvidedRecord = (input, errorFactory) => {
|
|
|
845
853
|
path: _path + ".user",
|
|
846
854
|
expected: "(string | undefined)",
|
|
847
855
|
value: input.user
|
|
856
|
+
}, errorFactory)) && (undefined === input.origin || "string" === typeof input.origin || $guard(_exceptionable, {
|
|
857
|
+
path: _path + ".origin",
|
|
858
|
+
expected: "(string | undefined)",
|
|
859
|
+
value: input.origin
|
|
848
860
|
}, errorFactory));
|
|
849
861
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
850
862
|
path: _path + "",
|
|
@@ -860,12 +872,12 @@ export const assertGuardAssetCreatedProvidedRecord = (input, errorFactory) => {
|
|
|
860
872
|
export const stringifyAssetCreatedProvidedRecord = input => {
|
|
861
873
|
const $string = __typia.json.createStringify.string;
|
|
862
874
|
const $tail = __typia.json.createStringify.tail;
|
|
863
|
-
const $so0 = input => `{${$tail(`${undefined === input.time ? "" : `"time":${undefined !== input.time ? $string(input.time) : undefined},`}${undefined === input.user ? "" : `"user":${undefined !== input.user ? $string(input.user) : undefined}`}`)}}`;
|
|
875
|
+
const $so0 = input => `{${$tail(`${undefined === input.time ? "" : `"time":${undefined !== input.time ? $string(input.time) : undefined},`}${undefined === input.user ? "" : `"user":${undefined !== input.user ? $string(input.user) : undefined},`}${undefined === input.origin ? "" : `"origin":${undefined !== input.origin ? $string(input.origin) : undefined}`}`)}}`;
|
|
864
876
|
return $so0(input);
|
|
865
877
|
};
|
|
866
878
|
export const assertStringifyAssetCreatedProvidedRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
867
879
|
const __is = input => {
|
|
868
|
-
const $io0 = input => (undefined === input.time || "string" === typeof input.time) && (undefined === input.user || "string" === typeof input.user);
|
|
880
|
+
const $io0 = input => (undefined === input.time || "string" === typeof input.time) && (undefined === input.user || "string" === typeof input.user) && (undefined === input.origin || "string" === typeof input.origin);
|
|
869
881
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
870
882
|
};
|
|
871
883
|
if (false === __is(input))
|
|
@@ -879,6 +891,10 @@ export const assertStringifyAssetCreatedProvidedRecord = (input, errorFactory) =
|
|
|
879
891
|
path: _path + ".user",
|
|
880
892
|
expected: "(string | undefined)",
|
|
881
893
|
value: input.user
|
|
894
|
+
}, errorFactory)) && (undefined === input.origin || "string" === typeof input.origin || $guard(_exceptionable, {
|
|
895
|
+
path: _path + ".origin",
|
|
896
|
+
expected: "(string | undefined)",
|
|
897
|
+
value: input.origin
|
|
882
898
|
}, errorFactory));
|
|
883
899
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
884
900
|
path: _path + "",
|
|
@@ -894,16 +910,16 @@ export const assertStringifyAssetCreatedProvidedRecord = (input, errorFactory) =
|
|
|
894
910
|
}; const stringify = input => {
|
|
895
911
|
const $string = __typia.json.createAssertStringify.string;
|
|
896
912
|
const $tail = __typia.json.createAssertStringify.tail;
|
|
897
|
-
const $so0 = input => `{${$tail(`${undefined === input.time ? "" : `"time":${undefined !== input.time ? $string(input.time) : undefined},`}${undefined === input.user ? "" : `"user":${undefined !== input.user ? $string(input.user) : undefined}`}`)}}`;
|
|
913
|
+
const $so0 = input => `{${$tail(`${undefined === input.time ? "" : `"time":${undefined !== input.time ? $string(input.time) : undefined},`}${undefined === input.user ? "" : `"user":${undefined !== input.user ? $string(input.user) : undefined},`}${undefined === input.origin ? "" : `"origin":${undefined !== input.origin ? $string(input.origin) : undefined}`}`)}}`;
|
|
898
914
|
return $so0(input);
|
|
899
915
|
}; return stringify(assert(input, errorFactory)); };
|
|
900
916
|
export const isAssetModifiedProvidedRecord = input => {
|
|
901
|
-
const $io0 = input => (undefined === input.time || "string" === typeof input.time) && (undefined === input.user || "string" === typeof input.user);
|
|
917
|
+
const $io0 = input => (undefined === input.time || "string" === typeof input.time) && (undefined === input.user || "string" === typeof input.user) && (undefined === input.users || Array.isArray(input.users) && input.users.every(elem => "string" === typeof elem));
|
|
902
918
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
903
919
|
};
|
|
904
920
|
export const assertAssetModifiedProvidedRecord = (input, errorFactory) => {
|
|
905
921
|
const __is = input => {
|
|
906
|
-
const $io0 = input => (undefined === input.time || "string" === typeof input.time) && (undefined === input.user || "string" === typeof input.user);
|
|
922
|
+
const $io0 = input => (undefined === input.time || "string" === typeof input.time) && (undefined === input.user || "string" === typeof input.user) && (undefined === input.users || Array.isArray(input.users) && input.users.every(elem => "string" === typeof elem));
|
|
907
923
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
908
924
|
};
|
|
909
925
|
if (false === __is(input))
|
|
@@ -917,6 +933,18 @@ export const assertAssetModifiedProvidedRecord = (input, errorFactory) => {
|
|
|
917
933
|
path: _path + ".user",
|
|
918
934
|
expected: "(string | undefined)",
|
|
919
935
|
value: input.user
|
|
936
|
+
}, errorFactory)) && (undefined === input.users || (Array.isArray(input.users) || $guard(_exceptionable, {
|
|
937
|
+
path: _path + ".users",
|
|
938
|
+
expected: "(Array<string> | undefined)",
|
|
939
|
+
value: input.users
|
|
940
|
+
}, errorFactory)) && input.users.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
|
|
941
|
+
path: _path + ".users[" + _index1 + "]",
|
|
942
|
+
expected: "string",
|
|
943
|
+
value: elem
|
|
944
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
945
|
+
path: _path + ".users",
|
|
946
|
+
expected: "(Array<string> | undefined)",
|
|
947
|
+
value: input.users
|
|
920
948
|
}, errorFactory));
|
|
921
949
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
922
950
|
path: _path + "",
|
|
@@ -941,13 +969,17 @@ export const randomAssetModifiedProvidedRecord = generator => {
|
|
|
941
969
|
user: $pick([
|
|
942
970
|
() => undefined,
|
|
943
971
|
() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
|
|
972
|
+
])(),
|
|
973
|
+
users: $pick([
|
|
974
|
+
() => undefined,
|
|
975
|
+
() => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
|
|
944
976
|
])()
|
|
945
977
|
});
|
|
946
978
|
return $ro0();
|
|
947
979
|
};
|
|
948
980
|
export const assertGuardAssetModifiedProvidedRecord = (input, errorFactory) => {
|
|
949
981
|
const __is = input => {
|
|
950
|
-
const $io0 = input => (undefined === input.time || "string" === typeof input.time) && (undefined === input.user || "string" === typeof input.user);
|
|
982
|
+
const $io0 = input => (undefined === input.time || "string" === typeof input.time) && (undefined === input.user || "string" === typeof input.user) && (undefined === input.users || Array.isArray(input.users) && input.users.every(elem => "string" === typeof elem));
|
|
951
983
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
952
984
|
};
|
|
953
985
|
if (false === __is(input))
|
|
@@ -961,6 +993,18 @@ export const assertGuardAssetModifiedProvidedRecord = (input, errorFactory) => {
|
|
|
961
993
|
path: _path + ".user",
|
|
962
994
|
expected: "(string | undefined)",
|
|
963
995
|
value: input.user
|
|
996
|
+
}, errorFactory)) && (undefined === input.users || (Array.isArray(input.users) || $guard(_exceptionable, {
|
|
997
|
+
path: _path + ".users",
|
|
998
|
+
expected: "(Array<string> | undefined)",
|
|
999
|
+
value: input.users
|
|
1000
|
+
}, errorFactory)) && input.users.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
|
|
1001
|
+
path: _path + ".users[" + _index1 + "]",
|
|
1002
|
+
expected: "string",
|
|
1003
|
+
value: elem
|
|
1004
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1005
|
+
path: _path + ".users",
|
|
1006
|
+
expected: "(Array<string> | undefined)",
|
|
1007
|
+
value: input.users
|
|
964
1008
|
}, errorFactory));
|
|
965
1009
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
966
1010
|
path: _path + "",
|
|
@@ -976,12 +1020,12 @@ export const assertGuardAssetModifiedProvidedRecord = (input, errorFactory) => {
|
|
|
976
1020
|
export const stringifyAssetModifiedProvidedRecord = input => {
|
|
977
1021
|
const $string = __typia.json.createStringify.string;
|
|
978
1022
|
const $tail = __typia.json.createStringify.tail;
|
|
979
|
-
const $so0 = input => `{${$tail(`${undefined === input.time ? "" : `"time":${undefined !== input.time ? $string(input.time) : undefined},`}${undefined === input.user ? "" : `"user":${undefined !== input.user ? $string(input.user) : undefined}`}`)}}`;
|
|
1023
|
+
const $so0 = input => `{${$tail(`${undefined === input.time ? "" : `"time":${undefined !== input.time ? $string(input.time) : undefined},`}${undefined === input.user ? "" : `"user":${undefined !== input.user ? $string(input.user) : undefined},`}${undefined === input.users ? "" : `"users":${undefined !== input.users ? `[${input.users.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
980
1024
|
return $so0(input);
|
|
981
1025
|
};
|
|
982
1026
|
export const assertStringifyAssetModifiedProvidedRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
983
1027
|
const __is = input => {
|
|
984
|
-
const $io0 = input => (undefined === input.time || "string" === typeof input.time) && (undefined === input.user || "string" === typeof input.user);
|
|
1028
|
+
const $io0 = input => (undefined === input.time || "string" === typeof input.time) && (undefined === input.user || "string" === typeof input.user) && (undefined === input.users || Array.isArray(input.users) && input.users.every(elem => "string" === typeof elem));
|
|
985
1029
|
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
986
1030
|
};
|
|
987
1031
|
if (false === __is(input))
|
|
@@ -995,6 +1039,18 @@ export const assertStringifyAssetModifiedProvidedRecord = (input, errorFactory)
|
|
|
995
1039
|
path: _path + ".user",
|
|
996
1040
|
expected: "(string | undefined)",
|
|
997
1041
|
value: input.user
|
|
1042
|
+
}, errorFactory)) && (undefined === input.users || (Array.isArray(input.users) || $guard(_exceptionable, {
|
|
1043
|
+
path: _path + ".users",
|
|
1044
|
+
expected: "(Array<string> | undefined)",
|
|
1045
|
+
value: input.users
|
|
1046
|
+
}, errorFactory)) && input.users.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
|
|
1047
|
+
path: _path + ".users[" + _index1 + "]",
|
|
1048
|
+
expected: "string",
|
|
1049
|
+
value: elem
|
|
1050
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1051
|
+
path: _path + ".users",
|
|
1052
|
+
expected: "(Array<string> | undefined)",
|
|
1053
|
+
value: input.users
|
|
998
1054
|
}, errorFactory));
|
|
999
1055
|
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
1000
1056
|
path: _path + "",
|
|
@@ -1010,7 +1066,7 @@ export const assertStringifyAssetModifiedProvidedRecord = (input, errorFactory)
|
|
|
1010
1066
|
}; const stringify = input => {
|
|
1011
1067
|
const $string = __typia.json.createAssertStringify.string;
|
|
1012
1068
|
const $tail = __typia.json.createAssertStringify.tail;
|
|
1013
|
-
const $so0 = input => `{${$tail(`${undefined === input.time ? "" : `"time":${undefined !== input.time ? $string(input.time) : undefined},`}${undefined === input.user ? "" : `"user":${undefined !== input.user ? $string(input.user) : undefined}`}`)}}`;
|
|
1069
|
+
const $so0 = input => `{${$tail(`${undefined === input.time ? "" : `"time":${undefined !== input.time ? $string(input.time) : undefined},`}${undefined === input.user ? "" : `"user":${undefined !== input.user ? $string(input.user) : undefined},`}${undefined === input.users ? "" : `"users":${undefined !== input.users ? `[${input.users.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
1014
1070
|
return $so0(input);
|
|
1015
1071
|
}; return stringify(assert(input, errorFactory)); };
|
|
1016
1072
|
export const isAssetDomainStatusProvidedRecord = input => {
|
|
@@ -1467,6 +1523,130 @@ export const assertStringifyAssetDomainDeadlinesProvidedRecord = (input, errorFa
|
|
|
1467
1523
|
const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
1468
1524
|
return $so0(input);
|
|
1469
1525
|
}; return stringify(assert(input, errorFactory)); };
|
|
1526
|
+
export const isAssetDomainPublishProvidedRecord = input => {
|
|
1527
|
+
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
|
|
1528
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
1529
|
+
};
|
|
1530
|
+
export const assertAssetDomainPublishProvidedRecord = (input, errorFactory) => {
|
|
1531
|
+
const __is = input => {
|
|
1532
|
+
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
|
|
1533
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
1534
|
+
};
|
|
1535
|
+
if (false === __is(input))
|
|
1536
|
+
((input, _path, _exceptionable = true) => {
|
|
1537
|
+
const $guard = __typia.createAssert.guard;
|
|
1538
|
+
const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
|
|
1539
|
+
path: _path + ".value",
|
|
1540
|
+
expected: "(Array<string> | undefined)",
|
|
1541
|
+
value: input.value
|
|
1542
|
+
}, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
|
|
1543
|
+
path: _path + ".value[" + _index1 + "]",
|
|
1544
|
+
expected: "string",
|
|
1545
|
+
value: elem
|
|
1546
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1547
|
+
path: _path + ".value",
|
|
1548
|
+
expected: "(Array<string> | undefined)",
|
|
1549
|
+
value: input.value
|
|
1550
|
+
}, errorFactory);
|
|
1551
|
+
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
1552
|
+
path: _path + "",
|
|
1553
|
+
expected: "AssetDomainPublishProvidedRecord",
|
|
1554
|
+
value: input
|
|
1555
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
1556
|
+
path: _path + "",
|
|
1557
|
+
expected: "AssetDomainPublishProvidedRecord",
|
|
1558
|
+
value: input
|
|
1559
|
+
}, errorFactory);
|
|
1560
|
+
})(input, "$input", true);
|
|
1561
|
+
return input;
|
|
1562
|
+
};
|
|
1563
|
+
export const randomAssetDomainPublishProvidedRecord = generator => {
|
|
1564
|
+
const $generator = __typia.createRandom.generator;
|
|
1565
|
+
const $pick = __typia.createRandom.pick;
|
|
1566
|
+
const $ro0 = (_recursive = false, _depth = 0) => ({
|
|
1567
|
+
value: $pick([
|
|
1568
|
+
() => undefined,
|
|
1569
|
+
() => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
|
|
1570
|
+
])()
|
|
1571
|
+
});
|
|
1572
|
+
return $ro0();
|
|
1573
|
+
};
|
|
1574
|
+
export const assertGuardAssetDomainPublishProvidedRecord = (input, errorFactory) => {
|
|
1575
|
+
const __is = input => {
|
|
1576
|
+
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
|
|
1577
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
1578
|
+
};
|
|
1579
|
+
if (false === __is(input))
|
|
1580
|
+
((input, _path, _exceptionable = true) => {
|
|
1581
|
+
const $guard = __typia.createAssertGuard.guard;
|
|
1582
|
+
const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
|
|
1583
|
+
path: _path + ".value",
|
|
1584
|
+
expected: "(Array<string> | undefined)",
|
|
1585
|
+
value: input.value
|
|
1586
|
+
}, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
|
|
1587
|
+
path: _path + ".value[" + _index1 + "]",
|
|
1588
|
+
expected: "string",
|
|
1589
|
+
value: elem
|
|
1590
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1591
|
+
path: _path + ".value",
|
|
1592
|
+
expected: "(Array<string> | undefined)",
|
|
1593
|
+
value: input.value
|
|
1594
|
+
}, errorFactory);
|
|
1595
|
+
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
1596
|
+
path: _path + "",
|
|
1597
|
+
expected: "AssetDomainPublishProvidedRecord",
|
|
1598
|
+
value: input
|
|
1599
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
1600
|
+
path: _path + "",
|
|
1601
|
+
expected: "AssetDomainPublishProvidedRecord",
|
|
1602
|
+
value: input
|
|
1603
|
+
}, errorFactory);
|
|
1604
|
+
})(input, "$input", true);
|
|
1605
|
+
};
|
|
1606
|
+
export const stringifyAssetDomainPublishProvidedRecord = input => {
|
|
1607
|
+
const $string = __typia.json.createStringify.string;
|
|
1608
|
+
const $tail = __typia.json.createStringify.tail;
|
|
1609
|
+
const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
1610
|
+
return $so0(input);
|
|
1611
|
+
};
|
|
1612
|
+
export const assertStringifyAssetDomainPublishProvidedRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
1613
|
+
const __is = input => {
|
|
1614
|
+
const $io0 = input => undefined === input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem);
|
|
1615
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
1616
|
+
};
|
|
1617
|
+
if (false === __is(input))
|
|
1618
|
+
((input, _path, _exceptionable = true) => {
|
|
1619
|
+
const $guard = __typia.json.createAssertStringify.guard;
|
|
1620
|
+
const $ao0 = (input, _path, _exceptionable = true) => undefined === input.value || (Array.isArray(input.value) || $guard(_exceptionable, {
|
|
1621
|
+
path: _path + ".value",
|
|
1622
|
+
expected: "(Array<string> | undefined)",
|
|
1623
|
+
value: input.value
|
|
1624
|
+
}, errorFactory)) && input.value.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
|
|
1625
|
+
path: _path + ".value[" + _index1 + "]",
|
|
1626
|
+
expected: "string",
|
|
1627
|
+
value: elem
|
|
1628
|
+
}, errorFactory)) || $guard(_exceptionable, {
|
|
1629
|
+
path: _path + ".value",
|
|
1630
|
+
expected: "(Array<string> | undefined)",
|
|
1631
|
+
value: input.value
|
|
1632
|
+
}, errorFactory);
|
|
1633
|
+
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
1634
|
+
path: _path + "",
|
|
1635
|
+
expected: "AssetDomainPublishProvidedRecord",
|
|
1636
|
+
value: input
|
|
1637
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
1638
|
+
path: _path + "",
|
|
1639
|
+
expected: "AssetDomainPublishProvidedRecord",
|
|
1640
|
+
value: input
|
|
1641
|
+
}, errorFactory);
|
|
1642
|
+
})(input, "$input", true);
|
|
1643
|
+
return input;
|
|
1644
|
+
}; const stringify = input => {
|
|
1645
|
+
const $string = __typia.json.createAssertStringify.string;
|
|
1646
|
+
const $tail = __typia.json.createAssertStringify.tail;
|
|
1647
|
+
const $so0 = input => `{${$tail(`${undefined === input.value ? "" : `"value":${undefined !== input.value ? `[${input.value.map(elem => $string(elem)).join(",")}]` : undefined}`}`)}}`;
|
|
1648
|
+
return $so0(input);
|
|
1649
|
+
}; return stringify(assert(input, errorFactory)); };
|
|
1470
1650
|
export const isAssetDomainPublishedProvidedRecord = input => {
|
|
1471
1651
|
const $io0 = input => Object.keys(input).every(key => {
|
|
1472
1652
|
const value = input[key];
|
|
@@ -7,6 +7,7 @@ export interface PublishDomainRecords {
|
|
|
7
7
|
rpcId: string;
|
|
8
8
|
rpcData: Record<string, unknown>;
|
|
9
9
|
}>;
|
|
10
|
+
[":publish.accepts"]: PublishDomainAcceptsProvidedRecord;
|
|
10
11
|
}
|
|
11
12
|
export type PublishRecord = YoutubePublishRecord | FacebookPublishRecord | FilePublishRecord;
|
|
12
13
|
export declare const isPublishRecord: (input: unknown) => input is PublishRecord;
|
|
@@ -205,4 +206,13 @@ export declare const randomFilePublishDefaults: () => FilePublishDefaults;
|
|
|
205
206
|
export declare const assertGuardFilePublishDefaults: __AssertionGuard<FilePublishDefaults>;
|
|
206
207
|
export declare const stringifyFilePublishDefaults: (input: FilePublishDefaults) => string;
|
|
207
208
|
export declare const assertStringifyFilePublishDefaults: (input: unknown) => string;
|
|
209
|
+
export interface PublishDomainAcceptsProvidedRecord {
|
|
210
|
+
value?: unknown;
|
|
211
|
+
}
|
|
212
|
+
export declare const isPublishDomainAcceptsProvidedRecord: (input: unknown) => input is PublishDomainAcceptsProvidedRecord;
|
|
213
|
+
export declare const assertPublishDomainAcceptsProvidedRecord: (input: unknown) => PublishDomainAcceptsProvidedRecord;
|
|
214
|
+
export declare const randomPublishDomainAcceptsProvidedRecord: () => PublishDomainAcceptsProvidedRecord;
|
|
215
|
+
export declare const assertGuardPublishDomainAcceptsProvidedRecord: __AssertionGuard<PublishDomainAcceptsProvidedRecord>;
|
|
216
|
+
export declare const stringifyPublishDomainAcceptsProvidedRecord: (input: PublishDomainAcceptsProvidedRecord) => string;
|
|
217
|
+
export declare const assertStringifyPublishDomainAcceptsProvidedRecord: (input: unknown) => string;
|
|
208
218
|
export {};
|
package/dist/domains/publish.js
CHANGED
|
@@ -9895,3 +9895,88 @@ export const assertStringifyFilePublishDefaults = (input, errorFactory) => { con
|
|
|
9895
9895
|
})() : undefined},`}${undefined === input.preset ? "" : `"preset":${undefined !== input.preset ? $string(input.preset) : undefined},`}${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.profile || "function" === typeof input.profile ? "" : `"profile":${undefined !== input.profile ? JSON.stringify(input.profile) : undefined},`}${undefined === input.scene ? "" : `"scene":${undefined !== input.scene ? $string(input.scene) : undefined}`}`)}}`;
|
|
9896
9896
|
return $so0(input);
|
|
9897
9897
|
}; return stringify(assert(input, errorFactory)); };
|
|
9898
|
+
export const isPublishDomainAcceptsProvidedRecord = input => {
|
|
9899
|
+
const $io0 = input => true;
|
|
9900
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
9901
|
+
};
|
|
9902
|
+
export const assertPublishDomainAcceptsProvidedRecord = (input, errorFactory) => {
|
|
9903
|
+
const __is = input => {
|
|
9904
|
+
const $io0 = input => true;
|
|
9905
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
9906
|
+
};
|
|
9907
|
+
if (false === __is(input))
|
|
9908
|
+
((input, _path, _exceptionable = true) => {
|
|
9909
|
+
const $guard = __typia.createAssert.guard;
|
|
9910
|
+
const $ao0 = (input, _path, _exceptionable = true) => true;
|
|
9911
|
+
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
9912
|
+
path: _path + "",
|
|
9913
|
+
expected: "PublishDomainAcceptsProvidedRecord",
|
|
9914
|
+
value: input
|
|
9915
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
9916
|
+
path: _path + "",
|
|
9917
|
+
expected: "PublishDomainAcceptsProvidedRecord",
|
|
9918
|
+
value: input
|
|
9919
|
+
}, errorFactory);
|
|
9920
|
+
})(input, "$input", true);
|
|
9921
|
+
return input;
|
|
9922
|
+
};
|
|
9923
|
+
export const randomPublishDomainAcceptsProvidedRecord = generator => {
|
|
9924
|
+
const $pick = __typia.createRandom.pick;
|
|
9925
|
+
const $ro0 = (_recursive = false, _depth = 0) => ({
|
|
9926
|
+
value: $pick([
|
|
9927
|
+
() => "any type used...",
|
|
9928
|
+
() => undefined
|
|
9929
|
+
])()
|
|
9930
|
+
});
|
|
9931
|
+
return $ro0();
|
|
9932
|
+
};
|
|
9933
|
+
export const assertGuardPublishDomainAcceptsProvidedRecord = (input, errorFactory) => {
|
|
9934
|
+
const __is = input => {
|
|
9935
|
+
const $io0 = input => true;
|
|
9936
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
9937
|
+
};
|
|
9938
|
+
if (false === __is(input))
|
|
9939
|
+
((input, _path, _exceptionable = true) => {
|
|
9940
|
+
const $guard = __typia.createAssertGuard.guard;
|
|
9941
|
+
const $ao0 = (input, _path, _exceptionable = true) => true;
|
|
9942
|
+
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
9943
|
+
path: _path + "",
|
|
9944
|
+
expected: "PublishDomainAcceptsProvidedRecord",
|
|
9945
|
+
value: input
|
|
9946
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
9947
|
+
path: _path + "",
|
|
9948
|
+
expected: "PublishDomainAcceptsProvidedRecord",
|
|
9949
|
+
value: input
|
|
9950
|
+
}, errorFactory);
|
|
9951
|
+
})(input, "$input", true);
|
|
9952
|
+
};
|
|
9953
|
+
export const stringifyPublishDomainAcceptsProvidedRecord = input => {
|
|
9954
|
+
const $tail = __typia.json.createStringify.tail;
|
|
9955
|
+
const $so0 = input => `{${$tail(`${undefined === input.value || "function" === typeof input.value ? "" : `"value":${undefined !== input.value ? JSON.stringify(input.value) : undefined}`}`)}}`;
|
|
9956
|
+
return $so0(input);
|
|
9957
|
+
};
|
|
9958
|
+
export const assertStringifyPublishDomainAcceptsProvidedRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
9959
|
+
const __is = input => {
|
|
9960
|
+
const $io0 = input => true;
|
|
9961
|
+
return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
|
|
9962
|
+
};
|
|
9963
|
+
if (false === __is(input))
|
|
9964
|
+
((input, _path, _exceptionable = true) => {
|
|
9965
|
+
const $guard = __typia.json.createAssertStringify.guard;
|
|
9966
|
+
const $ao0 = (input, _path, _exceptionable = true) => true;
|
|
9967
|
+
return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
|
|
9968
|
+
path: _path + "",
|
|
9969
|
+
expected: "PublishDomainAcceptsProvidedRecord",
|
|
9970
|
+
value: input
|
|
9971
|
+
}, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
|
|
9972
|
+
path: _path + "",
|
|
9973
|
+
expected: "PublishDomainAcceptsProvidedRecord",
|
|
9974
|
+
value: input
|
|
9975
|
+
}, errorFactory);
|
|
9976
|
+
})(input, "$input", true);
|
|
9977
|
+
return input;
|
|
9978
|
+
}; const stringify = input => {
|
|
9979
|
+
const $tail = __typia.json.createAssertStringify.tail;
|
|
9980
|
+
const $so0 = input => `{${$tail(`${undefined === input.value || "function" === typeof input.value ? "" : `"value":${undefined !== input.value ? JSON.stringify(input.value) : undefined}`}`)}}`;
|
|
9981
|
+
return $so0(input);
|
|
9982
|
+
}; return stringify(assert(input, errorFactory)); };
|
package/dist/index.js
CHANGED
|
@@ -5,21 +5,21 @@ export * from './app.js';
|
|
|
5
5
|
export * from './rpc.js';
|
|
6
6
|
export * from './asset.js';
|
|
7
7
|
export const isDomains = input => {
|
|
8
|
-
const $iv1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":clone", ":contact", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":media.probe?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":template", ":user"]);
|
|
8
|
+
const $iv1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":publish.accepts", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.publish?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":clone", ":contact", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":media.probe?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":template", ":user"]);
|
|
9
9
|
return true === $iv1.has(input);
|
|
10
10
|
};
|
|
11
11
|
export const assertDomains = (input, errorFactory) => {
|
|
12
12
|
const __is = input => {
|
|
13
|
-
const $iv1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":clone", ":contact", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":media.probe?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":template", ":user"]);
|
|
13
|
+
const $iv1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":publish.accepts", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.publish?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":clone", ":contact", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":media.probe?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":template", ":user"]);
|
|
14
14
|
return true === $iv1.has(input);
|
|
15
15
|
};
|
|
16
16
|
if (false === __is(input))
|
|
17
17
|
((input, _path, _exceptionable = true) => {
|
|
18
18
|
const $guard = __typia.createAssert.guard;
|
|
19
|
-
const $av1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":clone", ":contact", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":media.probe?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":template", ":user"]);
|
|
19
|
+
const $av1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":publish.accepts", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.publish?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":clone", ":contact", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":media.probe?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":template", ":user"]);
|
|
20
20
|
return true === $av1.has(input) || $guard(true, {
|
|
21
21
|
path: _path + "",
|
|
22
|
-
expected: "(\":asset.assignees?\" | \":asset.controllers?\" | \":asset.created?\" | \":asset.deadlines?\" | \":asset.duration?\" | \":asset.embedding?\" | \":asset.fileRefs?\" | \":asset.icon?\" | \":asset.locations?\" | \":asset.media?\" | \":asset.modified?\" | \":asset.published?\" | \":asset.refs?\" | \":asset.status?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":general.created\" | \":general.description\" | \":general.poster\" | \":general.status\" | \":general.tags\" | \":general.title\" | \":media.consolidate\" | \":media.font\" | \":media.probe?\" | \":media.renders?\" | \":media.restrictions?\" | \":media.source\" | \":media.transcriptChanges\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":template\" | \":user\")",
|
|
22
|
+
expected: "(\":asset.assignees?\" | \":asset.controllers?\" | \":asset.created?\" | \":asset.deadlines?\" | \":asset.duration?\" | \":asset.embedding?\" | \":asset.fileRefs?\" | \":asset.icon?\" | \":asset.locations?\" | \":asset.media?\" | \":asset.modified?\" | \":asset.publish?\" | \":asset.published?\" | \":asset.refs?\" | \":asset.status?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":general.created\" | \":general.description\" | \":general.poster\" | \":general.status\" | \":general.tags\" | \":general.title\" | \":media.consolidate\" | \":media.font\" | \":media.probe?\" | \":media.renders?\" | \":media.restrictions?\" | \":media.source\" | \":media.transcriptChanges\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.accepts\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":template\" | \":user\")",
|
|
23
23
|
value: input
|
|
24
24
|
}, errorFactory);
|
|
25
25
|
})(input, "$input", true);
|
|
@@ -36,6 +36,7 @@ export const randomDomains = generator => {
|
|
|
36
36
|
() => ":publish",
|
|
37
37
|
() => ":publish.stats?",
|
|
38
38
|
() => ":publish.methods?",
|
|
39
|
+
() => ":publish.accepts",
|
|
39
40
|
() => ":published",
|
|
40
41
|
() => ":asset.title?",
|
|
41
42
|
() => ":asset.types?",
|
|
@@ -48,6 +49,7 @@ export const randomDomains = generator => {
|
|
|
48
49
|
() => ":asset.status?",
|
|
49
50
|
() => ":asset.icon?",
|
|
50
51
|
() => ":asset.deadlines?",
|
|
52
|
+
() => ":asset.publish?",
|
|
51
53
|
() => ":asset.published?",
|
|
52
54
|
() => ":asset.duration?",
|
|
53
55
|
() => ":asset.locations?",
|
|
@@ -95,16 +97,16 @@ export const randomDomains = generator => {
|
|
|
95
97
|
};
|
|
96
98
|
export const assertGuardDomains = (input, errorFactory) => {
|
|
97
99
|
const __is = input => {
|
|
98
|
-
const $iv1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":clone", ":contact", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":media.probe?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":template", ":user"]);
|
|
100
|
+
const $iv1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":publish.accepts", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.publish?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":clone", ":contact", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":media.probe?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":template", ":user"]);
|
|
99
101
|
return true === $iv1.has(input);
|
|
100
102
|
};
|
|
101
103
|
if (false === __is(input))
|
|
102
104
|
((input, _path, _exceptionable = true) => {
|
|
103
105
|
const $guard = __typia.createAssertGuard.guard;
|
|
104
|
-
const $av1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":clone", ":contact", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":media.probe?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":template", ":user"]);
|
|
106
|
+
const $av1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":publish.accepts", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.publish?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":clone", ":contact", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":media.probe?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":template", ":user"]);
|
|
105
107
|
return true === $av1.has(input) || $guard(true, {
|
|
106
108
|
path: _path + "",
|
|
107
|
-
expected: "(\":asset.assignees?\" | \":asset.controllers?\" | \":asset.created?\" | \":asset.deadlines?\" | \":asset.duration?\" | \":asset.embedding?\" | \":asset.fileRefs?\" | \":asset.icon?\" | \":asset.locations?\" | \":asset.media?\" | \":asset.modified?\" | \":asset.published?\" | \":asset.refs?\" | \":asset.status?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":general.created\" | \":general.description\" | \":general.poster\" | \":general.status\" | \":general.tags\" | \":general.title\" | \":media.consolidate\" | \":media.font\" | \":media.probe?\" | \":media.renders?\" | \":media.restrictions?\" | \":media.source\" | \":media.transcriptChanges\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":template\" | \":user\")",
|
|
109
|
+
expected: "(\":asset.assignees?\" | \":asset.controllers?\" | \":asset.created?\" | \":asset.deadlines?\" | \":asset.duration?\" | \":asset.embedding?\" | \":asset.fileRefs?\" | \":asset.icon?\" | \":asset.locations?\" | \":asset.media?\" | \":asset.modified?\" | \":asset.publish?\" | \":asset.published?\" | \":asset.refs?\" | \":asset.status?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":general.created\" | \":general.description\" | \":general.poster\" | \":general.status\" | \":general.tags\" | \":general.title\" | \":media.consolidate\" | \":media.font\" | \":media.probe?\" | \":media.renders?\" | \":media.restrictions?\" | \":media.source\" | \":media.transcriptChanges\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.accepts\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":template\" | \":user\")",
|
|
108
110
|
value: input
|
|
109
111
|
}, errorFactory);
|
|
110
112
|
})(input, "$input", true);
|
|
@@ -118,23 +120,23 @@ export const stringifyDomains = input => {
|
|
|
118
120
|
if ("string" === typeof input)
|
|
119
121
|
return "\"" + input + "\"";
|
|
120
122
|
$throws({
|
|
121
|
-
expected: "(\":asset.assignees?\" | \":asset.controllers?\" | \":asset.created?\" | \":asset.deadlines?\" | \":asset.duration?\" | \":asset.embedding?\" | \":asset.fileRefs?\" | \":asset.icon?\" | \":asset.locations?\" | \":asset.media?\" | \":asset.modified?\" | \":asset.published?\" | \":asset.refs?\" | \":asset.status?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":general.created\" | \":general.description\" | \":general.poster\" | \":general.status\" | \":general.tags\" | \":general.title\" | \":media.consolidate\" | \":media.font\" | \":media.probe?\" | \":media.renders?\" | \":media.restrictions?\" | \":media.source\" | \":media.transcriptChanges\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":template\" | \":user\")",
|
|
123
|
+
expected: "(\":asset.assignees?\" | \":asset.controllers?\" | \":asset.created?\" | \":asset.deadlines?\" | \":asset.duration?\" | \":asset.embedding?\" | \":asset.fileRefs?\" | \":asset.icon?\" | \":asset.locations?\" | \":asset.media?\" | \":asset.modified?\" | \":asset.publish?\" | \":asset.published?\" | \":asset.refs?\" | \":asset.status?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":general.created\" | \":general.description\" | \":general.poster\" | \":general.status\" | \":general.tags\" | \":general.title\" | \":media.consolidate\" | \":media.font\" | \":media.probe?\" | \":media.renders?\" | \":media.restrictions?\" | \":media.source\" | \":media.transcriptChanges\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.accepts\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":template\" | \":user\")",
|
|
122
124
|
value: input
|
|
123
125
|
});
|
|
124
126
|
})();
|
|
125
127
|
};
|
|
126
128
|
export const assertStringifyDomains = (input, errorFactory) => { const assert = (input, errorFactory) => {
|
|
127
129
|
const __is = input => {
|
|
128
|
-
const $iv1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":clone", ":contact", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":media.probe?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":template", ":user"]);
|
|
130
|
+
const $iv1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":publish.accepts", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.publish?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":clone", ":contact", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":media.probe?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":template", ":user"]);
|
|
129
131
|
return true === $iv1.has(input);
|
|
130
132
|
};
|
|
131
133
|
if (false === __is(input))
|
|
132
134
|
((input, _path, _exceptionable = true) => {
|
|
133
135
|
const $guard = __typia.json.createAssertStringify.guard;
|
|
134
|
-
const $av1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":clone", ":contact", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":media.probe?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":template", ":user"]);
|
|
136
|
+
const $av1 = new Set([":bundle", ":bundle.revisions", ":connection", ":connection.methods?", ":connection.stats?", ":publish", ":publish.stats?", ":publish.methods?", ":publish.accepts", ":published", ":asset.title?", ":asset.types?", ":asset.assignees?", ":asset.refs?", ":asset.tags?", ":asset.fileRefs?", ":asset.created?", ":asset.modified?", ":asset.status?", ":asset.icon?", ":asset.deadlines?", ":asset.publish?", ":asset.published?", ":asset.duration?", ":asset.locations?", ":asset.controllers?", ":asset.embedding?", ":asset.media?", ":clone", ":contact", ":event", ":event._template?", ":file.replicate", ":file.restrictions", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":media.source", ":media.consolidate", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":media.probe?", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":render-preset", ":revs?", ":role.tags", ":script.children", ":search", ":settings", ":storyboard", ":storyboard.pipelines", ":template", ":user"]);
|
|
135
137
|
return true === $av1.has(input) || $guard(true, {
|
|
136
138
|
path: _path + "",
|
|
137
|
-
expected: "(\":asset.assignees?\" | \":asset.controllers?\" | \":asset.created?\" | \":asset.deadlines?\" | \":asset.duration?\" | \":asset.embedding?\" | \":asset.fileRefs?\" | \":asset.icon?\" | \":asset.locations?\" | \":asset.media?\" | \":asset.modified?\" | \":asset.published?\" | \":asset.refs?\" | \":asset.status?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":general.created\" | \":general.description\" | \":general.poster\" | \":general.status\" | \":general.tags\" | \":general.title\" | \":media.consolidate\" | \":media.font\" | \":media.probe?\" | \":media.renders?\" | \":media.restrictions?\" | \":media.source\" | \":media.transcriptChanges\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":template\" | \":user\")",
|
|
139
|
+
expected: "(\":asset.assignees?\" | \":asset.controllers?\" | \":asset.created?\" | \":asset.deadlines?\" | \":asset.duration?\" | \":asset.embedding?\" | \":asset.fileRefs?\" | \":asset.icon?\" | \":asset.locations?\" | \":asset.media?\" | \":asset.modified?\" | \":asset.publish?\" | \":asset.published?\" | \":asset.refs?\" | \":asset.status?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":general.created\" | \":general.description\" | \":general.poster\" | \":general.status\" | \":general.tags\" | \":general.title\" | \":media.consolidate\" | \":media.font\" | \":media.probe?\" | \":media.renders?\" | \":media.restrictions?\" | \":media.source\" | \":media.transcriptChanges\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.accepts\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":template\" | \":user\")",
|
|
138
140
|
value: input
|
|
139
141
|
}, errorFactory);
|
|
140
142
|
})(input, "$input", true);
|
|
@@ -148,7 +150,7 @@ export const assertStringifyDomains = (input, errorFactory) => { const assert =
|
|
|
148
150
|
if ("string" === typeof input)
|
|
149
151
|
return "\"" + input + "\"";
|
|
150
152
|
$throws({
|
|
151
|
-
expected: "(\":asset.assignees?\" | \":asset.controllers?\" | \":asset.created?\" | \":asset.deadlines?\" | \":asset.duration?\" | \":asset.embedding?\" | \":asset.fileRefs?\" | \":asset.icon?\" | \":asset.locations?\" | \":asset.media?\" | \":asset.modified?\" | \":asset.published?\" | \":asset.refs?\" | \":asset.status?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":general.created\" | \":general.description\" | \":general.poster\" | \":general.status\" | \":general.tags\" | \":general.title\" | \":media.consolidate\" | \":media.font\" | \":media.probe?\" | \":media.renders?\" | \":media.restrictions?\" | \":media.source\" | \":media.transcriptChanges\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":template\" | \":user\")",
|
|
153
|
+
expected: "(\":asset.assignees?\" | \":asset.controllers?\" | \":asset.created?\" | \":asset.deadlines?\" | \":asset.duration?\" | \":asset.embedding?\" | \":asset.fileRefs?\" | \":asset.icon?\" | \":asset.locations?\" | \":asset.media?\" | \":asset.modified?\" | \":asset.publish?\" | \":asset.published?\" | \":asset.refs?\" | \":asset.status?\" | \":asset.tags?\" | \":asset.title?\" | \":asset.types?\" | \":bundle\" | \":bundle.revisions\" | \":clone\" | \":connection\" | \":connection.methods?\" | \":connection.stats?\" | \":contact\" | \":event\" | \":event._template?\" | \":file.replicate\" | \":file.restrictions\" | \":general.created\" | \":general.description\" | \":general.poster\" | \":general.status\" | \":general.tags\" | \":general.title\" | \":media.consolidate\" | \":media.font\" | \":media.probe?\" | \":media.renders?\" | \":media.restrictions?\" | \":media.source\" | \":media.transcriptChanges\" | \":permission\" | \":permission?\" | \":pipeline\" | \":pipeline-preset\" | \":pipeline.items\" | \":planning\" | \":planning.assignees\" | \":planning.deadline\" | \":publish\" | \":publish.accepts\" | \":publish.methods?\" | \":publish.stats?\" | \":published\" | \":render-preset\" | \":revs?\" | \":role.tags\" | \":script.children\" | \":search\" | \":settings\" | \":storyboard\" | \":storyboard.pipelines\" | \":template\" | \":user\")",
|
|
152
154
|
value: input
|
|
153
155
|
});
|
|
154
156
|
})();
|
package/dist/schema.json
CHANGED
|
@@ -36,6 +36,9 @@
|
|
|
36
36
|
"AssetCreatedProvidedRecord": {
|
|
37
37
|
"additionalProperties": false,
|
|
38
38
|
"properties": {
|
|
39
|
+
"origin": {
|
|
40
|
+
"type": "string"
|
|
41
|
+
},
|
|
39
42
|
"time": {
|
|
40
43
|
"type": "string"
|
|
41
44
|
},
|
|
@@ -128,6 +131,18 @@
|
|
|
128
131
|
"additionalProperties": {},
|
|
129
132
|
"type": "object"
|
|
130
133
|
},
|
|
134
|
+
"AssetDomainPublishProvidedRecord": {
|
|
135
|
+
"additionalProperties": false,
|
|
136
|
+
"properties": {
|
|
137
|
+
"value": {
|
|
138
|
+
"items": {
|
|
139
|
+
"type": "string"
|
|
140
|
+
},
|
|
141
|
+
"type": "array"
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"type": "object"
|
|
145
|
+
},
|
|
131
146
|
"AssetDomainPublishedProvidedRecord": {
|
|
132
147
|
"additionalProperties": {
|
|
133
148
|
"type": "string"
|
|
@@ -170,6 +185,9 @@
|
|
|
170
185
|
":asset.modified?": {
|
|
171
186
|
"$ref": "#/definitions/AssetModifiedProvidedRecord"
|
|
172
187
|
},
|
|
188
|
+
":asset.publish?": {
|
|
189
|
+
"$ref": "#/definitions/AssetDomainPublishProvidedRecord"
|
|
190
|
+
},
|
|
173
191
|
":asset.published?": {
|
|
174
192
|
"$ref": "#/definitions/AssetDomainPublishedProvidedRecord"
|
|
175
193
|
},
|
|
@@ -201,6 +219,7 @@
|
|
|
201
219
|
":asset.locations?",
|
|
202
220
|
":asset.media?",
|
|
203
221
|
":asset.modified?",
|
|
222
|
+
":asset.publish?",
|
|
204
223
|
":asset.published?",
|
|
205
224
|
":asset.refs?",
|
|
206
225
|
":asset.status?",
|
|
@@ -272,6 +291,12 @@
|
|
|
272
291
|
},
|
|
273
292
|
"user": {
|
|
274
293
|
"type": "string"
|
|
294
|
+
},
|
|
295
|
+
"users": {
|
|
296
|
+
"items": {
|
|
297
|
+
"type": "string"
|
|
298
|
+
},
|
|
299
|
+
"type": "array"
|
|
275
300
|
}
|
|
276
301
|
},
|
|
277
302
|
"type": "object"
|
|
@@ -755,6 +780,9 @@
|
|
|
755
780
|
":asset.modified?": {
|
|
756
781
|
"$ref": "#/definitions/AssetModifiedProvidedRecord"
|
|
757
782
|
},
|
|
783
|
+
":asset.publish?": {
|
|
784
|
+
"$ref": "#/definitions/AssetDomainPublishProvidedRecord"
|
|
785
|
+
},
|
|
758
786
|
":asset.published?": {
|
|
759
787
|
"$ref": "#/definitions/AssetDomainPublishedProvidedRecord"
|
|
760
788
|
},
|
|
@@ -881,6 +909,9 @@
|
|
|
881
909
|
":publish": {
|
|
882
910
|
"$ref": "#/definitions/PublishRecord"
|
|
883
911
|
},
|
|
912
|
+
":publish.accepts": {
|
|
913
|
+
"$ref": "#/definitions/PublishDomainAcceptsProvidedRecord"
|
|
914
|
+
},
|
|
884
915
|
":publish.methods?": {
|
|
885
916
|
"$ref": "#/definitions/Record<string,{rpcId:string;rpcData:Record<string,unknown>;}>"
|
|
886
917
|
},
|
|
@@ -933,6 +964,7 @@
|
|
|
933
964
|
":asset.locations?",
|
|
934
965
|
":asset.media?",
|
|
935
966
|
":asset.modified?",
|
|
967
|
+
":asset.publish?",
|
|
936
968
|
":asset.published?",
|
|
937
969
|
":asset.refs?",
|
|
938
970
|
":asset.status?",
|
|
@@ -973,6 +1005,7 @@
|
|
|
973
1005
|
":planning.assignees",
|
|
974
1006
|
":planning.deadline",
|
|
975
1007
|
":publish",
|
|
1008
|
+
":publish.accepts",
|
|
976
1009
|
":publish.methods?",
|
|
977
1010
|
":publish.stats?",
|
|
978
1011
|
":published",
|
|
@@ -1017,6 +1050,7 @@
|
|
|
1017
1050
|
":asset.locations?",
|
|
1018
1051
|
":asset.media?",
|
|
1019
1052
|
":asset.modified?",
|
|
1053
|
+
":asset.publish?",
|
|
1020
1054
|
":asset.published?",
|
|
1021
1055
|
":asset.refs?",
|
|
1022
1056
|
":asset.status?",
|
|
@@ -1056,6 +1090,7 @@
|
|
|
1056
1090
|
":planning.assignees",
|
|
1057
1091
|
":planning.deadline",
|
|
1058
1092
|
":publish",
|
|
1093
|
+
":publish.accepts",
|
|
1059
1094
|
":publish.methods?",
|
|
1060
1095
|
":publish.stats?",
|
|
1061
1096
|
":published",
|
|
@@ -3197,6 +3232,13 @@
|
|
|
3197
3232
|
],
|
|
3198
3233
|
"type": "object"
|
|
3199
3234
|
},
|
|
3235
|
+
"PublishDomainAcceptsProvidedRecord": {
|
|
3236
|
+
"additionalProperties": false,
|
|
3237
|
+
"properties": {
|
|
3238
|
+
"value": {}
|
|
3239
|
+
},
|
|
3240
|
+
"type": "object"
|
|
3241
|
+
},
|
|
3200
3242
|
"PublishRecord": {
|
|
3201
3243
|
"anyOf": [
|
|
3202
3244
|
{
|