@nxtedition/types 23.1.4 → 23.1.5
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/common/block.d.ts +1 -0
- package/dist/common/block.js +31 -13
- package/dist/common/file.js +9 -8
- package/dist/common/location.js +1 -1
- package/dist/common/rule.js +2 -2
- package/dist/nxtpression.d.ts +114 -163
- package/dist/records/domains/event.d.ts +14 -0
- package/dist/records/validate/assert-guard.js +74 -3
- package/dist/records/validate/assert.js +76 -3
- package/dist/records/validate/is.js +7 -1
- package/dist/records/validate/schemas.js +85 -4
- package/dist/records/validate/stringify.js +240 -233
- package/dist/records/validate/utils.js +1 -1
- package/dist/records/validate/validate-equals.js +137 -3
- package/dist/records/validate/validate.js +91 -3
- package/dist/rpc.js +2 -2
- package/dist/tsdoc-metadata.json +1 -1
- package/package.json +13 -14
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const _exactRecordNames = new Set(["asset.assignees", "asset.clone", "asset.deadlines", "asset.duration", "asset.dynamicProperties?", "asset.embedding", "asset.icon", "asset.locations", "asset.media", "asset.tags", "asset.title", "asset.types", "asset.http", "storage.locations?", "storage.zones?", "nxt.status?", "media.subtitles", "media.subtitles?", "media.transcribe", "media.transcribe?", "media.fonts?", "media.consolidate", "asset-daemon", "asset-daemon:user-notify.state", "asset-daemon:validate.state", "deepstream-replicator.stats?"]);
|
|
2
|
-
const _domainNames = new Set([":asset.title?", ":asset.rawTypes?", ":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?", ":asset.presence?", ":asset.comments?", ":asset.record?", ":auth", ":bundle", ":bundle.revisions", ":calendarevent", ":clone", ":comment-reaction", ":comment-read-mark", ":comment", ":comment.reactions?", ":comment.replies?", ":comment.readMarks?", ":condition", ":connection", ":connection.methods?", ":connection.stats?", ":contact", ":deepstream.replicate", ":design?", ":device", ":device.status?", ":edit", ":event", ":event._template?", ":event.overlay?", ":event.template?", ":event.duration?", ":event.children?", ":event.props?", ":event.stats?", ":file.replicate", ":file.restrictions", ":file.stats?", ":folder.items", ":gallery", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":general._asset", ":general._embedding", ":harvest", ":ingestclip", ":ingestschedule", ":ingestschedule.stats?", ":media.source", ":media.consolidate", ":media.consolidate?", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":media.probe?", ":media.updateSubtitles?", ":media.updateGraphics?", ":media.revisions", ":monitor.stats?", ":note", ":panel", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":prompter", ":publish", ":publish.stats?", ":publish.methods?", ":publish.accepts", ":published", ":render-preset", ":render.stats?", ":render.query?", ":render.result?", ":render.schedulers?", ":revs?", ":role", ":role.users?", ":role.tags", ":schema", ":script", ":script?", ":script.revisions?", ":script.revision", ":script.revision?", ":script.content?", ":script.text?", ":script.children", ":search", ":search?", ":search.conditions", ":search.visibleColumnKeys", ":settings", ":settings.node", ":shotbox", ":storage", ":storage.stats", ":storage-zone", ":storyboard", ":storyboard.pipelines", ":storyboard.descendants?", ":storyboard.ancestors?", ":stream", ":stream.stats?", ":stream.ingest", ":stream.ingest.stats?", ":subtitle-style", ":subtitle", ":template", ":_user-notification-status", ":user-notification", ":user-notification.readAt", ":user", ":user.latestSeenNotification", ":user.receivedNotifications?", ":user.unseenNotifications?", ":username?"]);
|
|
2
|
+
const _domainNames = new Set([":asset.title?", ":asset.rawTypes?", ":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?", ":asset.presence?", ":asset.comments?", ":asset.record?", ":auth", ":bundle", ":bundle.revisions", ":calendarevent", ":clone", ":comment-reaction", ":comment-read-mark", ":comment", ":comment.reactions?", ":comment.replies?", ":comment.readMarks?", ":condition", ":connection", ":connection.methods?", ":connection.stats?", ":contact", ":deepstream.replicate", ":design?", ":device", ":device.status?", ":edit", ":event", ":event._template?", ":event.overlay?", ":event.template?", ":event.duration?", ":event.children?", ":event.props?", ":event.stats?", ":event.readDuration?", ":event.readRate?", ":file.replicate", ":file.restrictions", ":file.stats?", ":folder.items", ":gallery", ":general.title", ":general.tags", ":general.created", ":general.poster", ":general.status", ":general.description", ":general._asset", ":general._embedding", ":harvest", ":ingestclip", ":ingestschedule", ":ingestschedule.stats?", ":media.source", ":media.consolidate", ":media.consolidate?", ":media.renders?", ":media.transcriptChanges", ":media.font", ":media.restrictions?", ":media.probe?", ":media.updateSubtitles?", ":media.updateGraphics?", ":media.revisions", ":monitor.stats?", ":note", ":panel", ":permission?", ":permission", ":pipeline-preset", ":pipeline", ":pipeline.items", ":planning", ":planning.assignees", ":planning.deadline", ":prompter", ":publish", ":publish.stats?", ":publish.methods?", ":publish.accepts", ":published", ":render-preset", ":render.stats?", ":render.query?", ":render.result?", ":render.schedulers?", ":revs?", ":role", ":role.users?", ":role.tags", ":schema", ":script", ":script?", ":script.revisions?", ":script.revision", ":script.revision?", ":script.content?", ":script.text?", ":script.children", ":search", ":search?", ":search.conditions", ":search.visibleColumnKeys", ":settings", ":settings.node", ":shotbox", ":storage", ":storage.stats", ":storage-zone", ":storyboard", ":storyboard.pipelines", ":storyboard.descendants?", ":storyboard.ancestors?", ":stream", ":stream.stats?", ":stream.ingest", ":stream.ingest.stats?", ":subtitle-style", ":subtitle", ":template", ":_user-notification-status", ":user-notification", ":user-notification.readAt", ":user", ":user.latestSeenNotification", ":user.receivedNotifications?", ":user.unseenNotifications?", ":username?"]);
|
|
3
3
|
export const exactRecordNames = _exactRecordNames;
|
|
4
4
|
export const domainNames = _domainNames;
|
|
5
5
|
export function isEmptyRecord(data) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as __typia_transform__accessExpressionAsString from "typia/lib/internal/_accessExpressionAsString
|
|
2
|
-
import * as __typia_transform__validateReport from "typia/lib/internal/_validateReport
|
|
3
|
-
import * as __typia_transform__isTypeUint64 from "typia/lib/internal/_isTypeUint64
|
|
1
|
+
import * as __typia_transform__accessExpressionAsString from "typia/lib/internal/_accessExpressionAsString";
|
|
2
|
+
import * as __typia_transform__validateReport from "typia/lib/internal/_validateReport";
|
|
3
|
+
import * as __typia_transform__isTypeUint64 from "typia/lib/internal/_isTypeUint64";
|
|
4
4
|
import { isEmptyRecord, parseRecordName } from "./utils.js";
|
|
5
5
|
import typia from 'typia';
|
|
6
6
|
export function validateEqualsRecord(name, input) {
|
|
@@ -14546,6 +14546,140 @@ function _validateEqualsDomainRecord(domain, input) {
|
|
|
14546
14546
|
};
|
|
14547
14547
|
}; })()(input);
|
|
14548
14548
|
}
|
|
14549
|
+
case ":event.readDuration?": {
|
|
14550
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.numChars || "number" === typeof input.numChars) && (undefined === input.numWords || "number" === typeof input.numWords) && (undefined === input.readRate || "number" === typeof input.readRate) && (undefined === input.readDuration || "number" === typeof input.readDuration) && (undefined === input.readType || "characters" === input.readType || "words" === input.readType || "wordsPerMinute" === input.readType) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
14551
|
+
if (["numChars", "numWords", "readRate", "readDuration", "readType"].some(prop => key === prop))
|
|
14552
|
+
return true;
|
|
14553
|
+
const value = input[key];
|
|
14554
|
+
if (undefined === value)
|
|
14555
|
+
return true;
|
|
14556
|
+
return false;
|
|
14557
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.numChars || "number" === typeof input.numChars || _report(_exceptionable, {
|
|
14558
|
+
path: _path + ".numChars",
|
|
14559
|
+
expected: "(number | undefined)",
|
|
14560
|
+
value: input.numChars
|
|
14561
|
+
}), undefined === input.numWords || "number" === typeof input.numWords || _report(_exceptionable, {
|
|
14562
|
+
path: _path + ".numWords",
|
|
14563
|
+
expected: "(number | undefined)",
|
|
14564
|
+
value: input.numWords
|
|
14565
|
+
}), undefined === input.readRate || "number" === typeof input.readRate || _report(_exceptionable, {
|
|
14566
|
+
path: _path + ".readRate",
|
|
14567
|
+
expected: "(number | undefined)",
|
|
14568
|
+
value: input.readRate
|
|
14569
|
+
}), undefined === input.readDuration || "number" === typeof input.readDuration || _report(_exceptionable, {
|
|
14570
|
+
path: _path + ".readDuration",
|
|
14571
|
+
expected: "(number | undefined)",
|
|
14572
|
+
value: input.readDuration
|
|
14573
|
+
}), undefined === input.readType || "characters" === input.readType || "words" === input.readType || "wordsPerMinute" === input.readType || _report(_exceptionable, {
|
|
14574
|
+
path: _path + ".readType",
|
|
14575
|
+
expected: "(\"characters\" | \"words\" | \"wordsPerMinute\" | undefined)",
|
|
14576
|
+
value: input.readType
|
|
14577
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
14578
|
+
if (["numChars", "numWords", "readRate", "readDuration", "readType"].some(prop => key === prop))
|
|
14579
|
+
return true;
|
|
14580
|
+
const value = input[key];
|
|
14581
|
+
if (undefined === value)
|
|
14582
|
+
return true;
|
|
14583
|
+
return _report(_exceptionable, {
|
|
14584
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14585
|
+
expected: "undefined",
|
|
14586
|
+
value: value,
|
|
14587
|
+
description: [
|
|
14588
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
14589
|
+
"",
|
|
14590
|
+
"Please remove the property next time."
|
|
14591
|
+
].join("\n")
|
|
14592
|
+
});
|
|
14593
|
+
}).every(flag => flag))].every(flag => flag); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input, true); let errors; let _report; return input => {
|
|
14594
|
+
if (false === __is(input)) {
|
|
14595
|
+
errors = [];
|
|
14596
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
14597
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
14598
|
+
path: _path + "",
|
|
14599
|
+
expected: "EventReadDurationRecord",
|
|
14600
|
+
value: input
|
|
14601
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
14602
|
+
path: _path + "",
|
|
14603
|
+
expected: "EventReadDurationRecord",
|
|
14604
|
+
value: input
|
|
14605
|
+
}))(input, "$input", true);
|
|
14606
|
+
const success = 0 === errors.length;
|
|
14607
|
+
return success ? {
|
|
14608
|
+
success,
|
|
14609
|
+
data: input
|
|
14610
|
+
} : {
|
|
14611
|
+
success,
|
|
14612
|
+
errors,
|
|
14613
|
+
data: input
|
|
14614
|
+
};
|
|
14615
|
+
}
|
|
14616
|
+
return {
|
|
14617
|
+
success: true,
|
|
14618
|
+
data: input
|
|
14619
|
+
};
|
|
14620
|
+
}; })()(input);
|
|
14621
|
+
}
|
|
14622
|
+
case ":event.readRate?": {
|
|
14623
|
+
return (() => { const _io0 = (input, _exceptionable = true) => (undefined === input.readRate || "number" === typeof input.readRate) && (undefined === input.readType || "characters" === input.readType || "words" === input.readType || "wordsPerMinute" === input.readType) && (0 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
14624
|
+
if (["readRate", "readType"].some(prop => key === prop))
|
|
14625
|
+
return true;
|
|
14626
|
+
const value = input[key];
|
|
14627
|
+
if (undefined === value)
|
|
14628
|
+
return true;
|
|
14629
|
+
return false;
|
|
14630
|
+
})); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.readRate || "number" === typeof input.readRate || _report(_exceptionable, {
|
|
14631
|
+
path: _path + ".readRate",
|
|
14632
|
+
expected: "(number | undefined)",
|
|
14633
|
+
value: input.readRate
|
|
14634
|
+
}), undefined === input.readType || "characters" === input.readType || "words" === input.readType || "wordsPerMinute" === input.readType || _report(_exceptionable, {
|
|
14635
|
+
path: _path + ".readType",
|
|
14636
|
+
expected: "(\"characters\" | \"words\" | \"wordsPerMinute\" | undefined)",
|
|
14637
|
+
value: input.readType
|
|
14638
|
+
}), 0 === Object.keys(input).length || (false === _exceptionable || Object.keys(input).map(key => {
|
|
14639
|
+
if (["readRate", "readType"].some(prop => key === prop))
|
|
14640
|
+
return true;
|
|
14641
|
+
const value = input[key];
|
|
14642
|
+
if (undefined === value)
|
|
14643
|
+
return true;
|
|
14644
|
+
return _report(_exceptionable, {
|
|
14645
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
14646
|
+
expected: "undefined",
|
|
14647
|
+
value: value,
|
|
14648
|
+
description: [
|
|
14649
|
+
`The property \`${key}\` is not defined in the object type.`,
|
|
14650
|
+
"",
|
|
14651
|
+
"Please remove the property next time."
|
|
14652
|
+
].join("\n")
|
|
14653
|
+
});
|
|
14654
|
+
}).every(flag => flag))].every(flag => flag); const __is = (input, _exceptionable = true) => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input, true); let errors; let _report; return input => {
|
|
14655
|
+
if (false === __is(input)) {
|
|
14656
|
+
errors = [];
|
|
14657
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
14658
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
14659
|
+
path: _path + "",
|
|
14660
|
+
expected: "EventReadRateRecord",
|
|
14661
|
+
value: input
|
|
14662
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
14663
|
+
path: _path + "",
|
|
14664
|
+
expected: "EventReadRateRecord",
|
|
14665
|
+
value: input
|
|
14666
|
+
}))(input, "$input", true);
|
|
14667
|
+
const success = 0 === errors.length;
|
|
14668
|
+
return success ? {
|
|
14669
|
+
success,
|
|
14670
|
+
data: input
|
|
14671
|
+
} : {
|
|
14672
|
+
success,
|
|
14673
|
+
errors,
|
|
14674
|
+
data: input
|
|
14675
|
+
};
|
|
14676
|
+
}
|
|
14677
|
+
return {
|
|
14678
|
+
success: true,
|
|
14679
|
+
data: input
|
|
14680
|
+
};
|
|
14681
|
+
}; })()(input);
|
|
14682
|
+
}
|
|
14549
14683
|
case ":file.replicate": {
|
|
14550
14684
|
return (() => { const _io0 = (input, _exceptionable = true) => Array.isArray(input.replicas) && input.replicas.every((elem, _index1) => "string" === typeof elem) && (null === input.error || "object" === typeof input.error && null !== input.error && _io1(input.error, true && _exceptionable)) && (2 === Object.keys(input).length || Object.keys(input).every(key => {
|
|
14551
14685
|
if (["replicas", "error"].some(prop => key === prop))
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as __typia_transform__validateReport from "typia/lib/internal/_validateReport
|
|
2
|
-
import * as __typia_transform__accessExpressionAsString from "typia/lib/internal/_accessExpressionAsString
|
|
3
|
-
import * as __typia_transform__isTypeUint64 from "typia/lib/internal/_isTypeUint64
|
|
1
|
+
import * as __typia_transform__validateReport from "typia/lib/internal/_validateReport";
|
|
2
|
+
import * as __typia_transform__accessExpressionAsString from "typia/lib/internal/_accessExpressionAsString";
|
|
3
|
+
import * as __typia_transform__isTypeUint64 from "typia/lib/internal/_isTypeUint64";
|
|
4
4
|
import { parseRecordName, isEmptyRecord } from "./utils.js";
|
|
5
5
|
import typia from 'typia';
|
|
6
6
|
export function validateRecord(name, input) {
|
|
@@ -8882,6 +8882,94 @@ function _validateDomainRecord(domain, input) {
|
|
|
8882
8882
|
};
|
|
8883
8883
|
}; })()(input);
|
|
8884
8884
|
}
|
|
8885
|
+
case ":event.readDuration?": {
|
|
8886
|
+
return (() => { const _io0 = input => (undefined === input.numChars || "number" === typeof input.numChars) && (undefined === input.numWords || "number" === typeof input.numWords) && (undefined === input.readRate || "number" === typeof input.readRate) && (undefined === input.readDuration || "number" === typeof input.readDuration) && (undefined === input.readType || "characters" === input.readType || "words" === input.readType || "wordsPerMinute" === input.readType); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.numChars || "number" === typeof input.numChars || _report(_exceptionable, {
|
|
8887
|
+
path: _path + ".numChars",
|
|
8888
|
+
expected: "(number | undefined)",
|
|
8889
|
+
value: input.numChars
|
|
8890
|
+
}), undefined === input.numWords || "number" === typeof input.numWords || _report(_exceptionable, {
|
|
8891
|
+
path: _path + ".numWords",
|
|
8892
|
+
expected: "(number | undefined)",
|
|
8893
|
+
value: input.numWords
|
|
8894
|
+
}), undefined === input.readRate || "number" === typeof input.readRate || _report(_exceptionable, {
|
|
8895
|
+
path: _path + ".readRate",
|
|
8896
|
+
expected: "(number | undefined)",
|
|
8897
|
+
value: input.readRate
|
|
8898
|
+
}), undefined === input.readDuration || "number" === typeof input.readDuration || _report(_exceptionable, {
|
|
8899
|
+
path: _path + ".readDuration",
|
|
8900
|
+
expected: "(number | undefined)",
|
|
8901
|
+
value: input.readDuration
|
|
8902
|
+
}), undefined === input.readType || "characters" === input.readType || "words" === input.readType || "wordsPerMinute" === input.readType || _report(_exceptionable, {
|
|
8903
|
+
path: _path + ".readType",
|
|
8904
|
+
expected: "(\"characters\" | \"words\" | \"wordsPerMinute\" | undefined)",
|
|
8905
|
+
value: input.readType
|
|
8906
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
8907
|
+
if (false === __is(input)) {
|
|
8908
|
+
errors = [];
|
|
8909
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
8910
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
8911
|
+
path: _path + "",
|
|
8912
|
+
expected: "EventReadDurationRecord",
|
|
8913
|
+
value: input
|
|
8914
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
8915
|
+
path: _path + "",
|
|
8916
|
+
expected: "EventReadDurationRecord",
|
|
8917
|
+
value: input
|
|
8918
|
+
}))(input, "$input", true);
|
|
8919
|
+
const success = 0 === errors.length;
|
|
8920
|
+
return success ? {
|
|
8921
|
+
success,
|
|
8922
|
+
data: input
|
|
8923
|
+
} : {
|
|
8924
|
+
success,
|
|
8925
|
+
errors,
|
|
8926
|
+
data: input
|
|
8927
|
+
};
|
|
8928
|
+
}
|
|
8929
|
+
return {
|
|
8930
|
+
success: true,
|
|
8931
|
+
data: input
|
|
8932
|
+
};
|
|
8933
|
+
}; })()(input);
|
|
8934
|
+
}
|
|
8935
|
+
case ":event.readRate?": {
|
|
8936
|
+
return (() => { const _io0 = input => (undefined === input.readRate || "number" === typeof input.readRate) && (undefined === input.readType || "characters" === input.readType || "words" === input.readType || "wordsPerMinute" === input.readType); const _vo0 = (input, _path, _exceptionable = true) => [undefined === input.readRate || "number" === typeof input.readRate || _report(_exceptionable, {
|
|
8937
|
+
path: _path + ".readRate",
|
|
8938
|
+
expected: "(number | undefined)",
|
|
8939
|
+
value: input.readRate
|
|
8940
|
+
}), undefined === input.readType || "characters" === input.readType || "words" === input.readType || "wordsPerMinute" === input.readType || _report(_exceptionable, {
|
|
8941
|
+
path: _path + ".readType",
|
|
8942
|
+
expected: "(\"characters\" | \"words\" | \"wordsPerMinute\" | undefined)",
|
|
8943
|
+
value: input.readType
|
|
8944
|
+
})].every(flag => flag); const __is = input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); let errors; let _report; return input => {
|
|
8945
|
+
if (false === __is(input)) {
|
|
8946
|
+
errors = [];
|
|
8947
|
+
_report = __typia_transform__validateReport._validateReport(errors);
|
|
8948
|
+
((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input && false === Array.isArray(input) || _report(true, {
|
|
8949
|
+
path: _path + "",
|
|
8950
|
+
expected: "EventReadRateRecord",
|
|
8951
|
+
value: input
|
|
8952
|
+
})) && _vo0(input, _path + "", true) || _report(true, {
|
|
8953
|
+
path: _path + "",
|
|
8954
|
+
expected: "EventReadRateRecord",
|
|
8955
|
+
value: input
|
|
8956
|
+
}))(input, "$input", true);
|
|
8957
|
+
const success = 0 === errors.length;
|
|
8958
|
+
return success ? {
|
|
8959
|
+
success,
|
|
8960
|
+
data: input
|
|
8961
|
+
} : {
|
|
8962
|
+
success,
|
|
8963
|
+
errors,
|
|
8964
|
+
data: input
|
|
8965
|
+
};
|
|
8966
|
+
}
|
|
8967
|
+
return {
|
|
8968
|
+
success: true,
|
|
8969
|
+
data: input
|
|
8970
|
+
};
|
|
8971
|
+
}; })()(input);
|
|
8972
|
+
}
|
|
8885
8973
|
case ":file.replicate": {
|
|
8886
8974
|
return (() => { const _io0 = input => Array.isArray(input.replicas) && input.replicas.every(elem => "string" === typeof elem) && (null === input.error || "object" === typeof input.error && null !== input.error && _io1(input.error)); const _io1 = input => "string" === typeof input.message && (undefined === input.type || "string" === typeof input.type) && (undefined === input.code || "string" === typeof input.code) && (undefined === input.exitCode || "number" === typeof input.exitCode) && (undefined === input.signalCode || "number" === typeof input.signalCode) && (undefined === input.statusCode || "number" === typeof input.statusCode) && (undefined === input.headers || "object" === typeof input.headers && null !== input.headers && false === Array.isArray(input.headers) && _io2(input.headers)) && (undefined === input.data || "object" === typeof input.data && null !== input.data && false === Array.isArray(input.data) && _io3(input.data)) && (null === input.cause || undefined === input.cause || "object" === typeof input.cause && null !== input.cause && _io1(input.cause)) && (null === input.errors || undefined === input.errors || Array.isArray(input.errors) && input.errors.every(elem => "object" === typeof elem && null !== elem && _io1(elem))); const _io2 = input => Object.keys(input).every(key => {
|
|
8887
8975
|
const value = input[key];
|
package/dist/rpc.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as __typia_transform__assertGuard from "typia/lib/internal/_assertGuard
|
|
2
|
-
import * as __typia_transform__accessExpressionAsString from "typia/lib/internal/_accessExpressionAsString
|
|
1
|
+
import * as __typia_transform__assertGuard from "typia/lib/internal/_assertGuard";
|
|
2
|
+
import * as __typia_transform__accessExpressionAsString from "typia/lib/internal/_accessExpressionAsString";
|
|
3
3
|
import typia from 'typia';
|
|
4
4
|
export const assertGuardNxtExport = (() => { const _io0 = input => "number" === typeof input.version && (undefined === input.date || "string" === typeof input.date) && (undefined === input.root || Array.isArray(input.root) && input.root.every(elem => "string" === typeof elem)) && ("object" === typeof input.assets && null !== input.assets && false === Array.isArray(input.assets) && _io1(input.assets)) && (undefined === input.files || Array.isArray(input.files) && input.files.every(elem => "string" === typeof elem)); const _io1 = input => Object.keys(input).every(key => {
|
|
5
5
|
const value = input[key];
|
package/dist/tsdoc-metadata.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nxtedition/types",
|
|
3
|
-
"version": "23.1.
|
|
3
|
+
"version": "23.1.5",
|
|
4
4
|
"description": "TypeScript types to be shared between nxtedition packages.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -39,24 +39,23 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@types/lodash": "^4.17.17",
|
|
41
41
|
"lodash": "^4.17.21",
|
|
42
|
-
"rfc6902": "^5.
|
|
43
|
-
"rxjs": "^7.8.
|
|
44
|
-
"type-fest": "^5.
|
|
45
|
-
"typia": "^
|
|
42
|
+
"rfc6902": "^5.2.0",
|
|
43
|
+
"rxjs": "^7.8.2",
|
|
44
|
+
"type-fest": "^5.4.4",
|
|
45
|
+
"typia": "^12.0.1"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@microsoft/api-extractor": "7.
|
|
49
|
-
"@
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"rimraf": "^5.0.8",
|
|
48
|
+
"@microsoft/api-extractor": "7.57.7",
|
|
49
|
+
"@types/node": "^25.5.0",
|
|
50
|
+
"fast-json-stringify": "^6.3.0",
|
|
51
|
+
"lexical": "^0.41.0",
|
|
52
|
+
"mitata": "^1.0.34",
|
|
53
|
+
"nodemon": "^3.1.14",
|
|
54
|
+
"rimraf": "^6.1.3",
|
|
56
55
|
"spark-md5": "^3.0.2",
|
|
57
56
|
"ts-node": "^10.9.2",
|
|
58
57
|
"ts-patch": "^3.3.0",
|
|
59
58
|
"tsd": "^0.33.0",
|
|
60
|
-
"typescript": "5.
|
|
59
|
+
"typescript": "5.9.3"
|
|
61
60
|
}
|
|
62
61
|
}
|