@nxtedition/types 23.0.45 → 23.0.46

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.
@@ -421,7 +421,7 @@ declare interface DesignDomainRecord<Id = string, Key = string, Value = unknown>
421
421
  }
422
422
 
423
423
  declare interface DesignDomainRecords {
424
- ":design": DesignDomainRecord;
424
+ ":design?": DesignDomainRecord;
425
425
  }
426
426
 
427
427
  declare interface DesignViewRow<Id = string, Key = string, Value = void> {
@@ -1,5 +1,5 @@
1
1
  export interface DesignDomainRecords {
2
- ":design": DesignDomainRecord;
2
+ ":design?": DesignDomainRecord;
3
3
  }
4
4
  export interface DesignDomainRecord<Id = string, Key = string, Value = unknown> {
5
5
  rows: DesignViewRow<Id, Key, Value>[];
@@ -4108,7 +4108,7 @@ function _assertGuardDomainRecord(domain, input) {
4108
4108
  }
4109
4109
  }; })()(input);
4110
4110
  }
4111
- case ":design": {
4111
+ case ":design?": {
4112
4112
  return (() => { const _io0 = input => Array.isArray(input.rows) && input.rows.every(elem => "object" === typeof elem && null !== elem && _io1(elem)); const _io1 = input => "string" === typeof input.id && "string" === typeof input.key && true; const _ao0 = (input, _path, _exceptionable = true) => (Array.isArray(input.rows) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
4113
4113
  method: "typia.assertGuard",
4114
4114
  path: _path + ".rows",
@@ -4165,7 +4165,7 @@ function _assertDomainRecord(domain, input) {
4165
4165
  return input;
4166
4166
  }; })()(input);
4167
4167
  }
4168
- case ":design": {
4168
+ case ":design?": {
4169
4169
  return (() => { const _io0 = input => Array.isArray(input.rows) && input.rows.every(elem => "object" === typeof elem && null !== elem && _io1(elem)); const _io1 = input => "string" === typeof input.id && "string" === typeof input.key && true; const _ao0 = (input, _path, _exceptionable = true) => (Array.isArray(input.rows) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
4170
4170
  method: "typia.assert",
4171
4171
  path: _path + ".rows",
@@ -319,7 +319,7 @@ function _isDomainRecord(domain, input) {
319
319
  case ":deepstream.replicate": {
320
320
  return (() => { const _io0 = input => (undefined === input.synced || "boolean" === typeof input.synced) && (null === input.since || undefined === input.since || 0 === input.since || "string" === typeof input.since) && (undefined === input.version || "number" === typeof input.version); return input => "object" === typeof input && null !== input && false === Array.isArray(input) && _io0(input); })()(input);
321
321
  }
322
- case ":design": {
322
+ case ":design?": {
323
323
  return (() => { const _io0 = input => Array.isArray(input.rows) && input.rows.every(elem => "object" === typeof elem && null !== elem && _io1(elem)); const _io1 = input => "string" === typeof input.id && "string" === typeof input.key && true; return input => "object" === typeof input && null !== input && _io0(input); })()(input);
324
324
  }
325
325
  case ":edit": {
@@ -3510,7 +3510,7 @@ function _schemasDomainRecord(domain) {
3510
3510
  ]
3511
3511
  };
3512
3512
  }
3513
- case ":design": {
3513
+ case ":design?": {
3514
3514
  return {
3515
3515
  version: "3.1",
3516
3516
  components: {
@@ -671,7 +671,7 @@ function _stringifyDomainRecord(domain, input) {
671
671
  });
672
672
  })() : "null" : undefined},`}${undefined === input.version ? "" : `"version":${undefined !== input.version ? input.version : undefined}`}`)}}`; return input => _so0(input); })()(input);
673
673
  }
674
- case ":design": {
674
+ case ":design?": {
675
675
  return (() => { const _so0 = input => `{"rows":${`[${input.rows.map(elem => _so1(elem)).join(",")}]`}}`; const _so1 = input => `{${undefined === input.value || "function" === typeof input.value ? "" : `"value":${undefined !== input.value ? JSON.stringify(input.value) : undefined},`}"id":${__typia_transform__jsonStringifyString._jsonStringifyString(input.id)},"key":${__typia_transform__jsonStringifyString._jsonStringifyString(input.key)}}`; const _io1 = input => "string" === typeof input.id && "string" === typeof input.key && true; return input => _so0(input); })()(input);
676
676
  }
677
677
  case ":edit": {
@@ -6854,7 +6854,7 @@ function _validateEqualsDomainRecord(domain, input) {
6854
6854
  };
6855
6855
  }; })()(input);
6856
6856
  }
6857
- case ":design": {
6857
+ case ":design?": {
6858
6858
  return (() => { const _io0 = (input, _exceptionable = true) => Array.isArray(input.rows) && input.rows.every((elem, _index1) => "object" === typeof elem && null !== elem && _io1(elem, true && _exceptionable)) && (1 === Object.keys(input).length || Object.keys(input).every(key => {
6859
6859
  if (["rows"].some(prop => key === prop))
6860
6860
  return true;
@@ -4236,7 +4236,7 @@ function _validateDomainRecord(domain, input) {
4236
4236
  };
4237
4237
  }; })()(input);
4238
4238
  }
4239
- case ":design": {
4239
+ case ":design?": {
4240
4240
  return (() => { const _io0 = input => Array.isArray(input.rows) && input.rows.every(elem => "object" === typeof elem && null !== elem && _io1(elem)); const _io1 = input => "string" === typeof input.id && "string" === typeof input.key && true; const _vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.rows) || _report(_exceptionable, {
4241
4241
  path: _path + ".rows",
4242
4242
  expected: "Array<DesignViewRow<string, string, unknown>>",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/types",
3
- "version": "23.0.45",
3
+ "version": "23.0.46",
4
4
  "description": "TypeScript types to be shared between nxtedition packages.",
5
5
  "license": "MIT",
6
6
  "type": "module",