@tinyrack/tinyauth-server 0.0.12 → 0.0.14

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.
Files changed (111) hide show
  1. package/dist/entities/bootstrap-state.entity.d.ts +40 -0
  2. package/dist/entities/bootstrap-state.entity.d.ts.map +1 -0
  3. package/dist/entities/bootstrap-state.entity.js +13 -0
  4. package/dist/entities/bootstrap-state.entity.js.map +1 -0
  5. package/dist/entities/oauth-client.entity.d.ts.map +1 -1
  6. package/dist/entities/oauth-client.entity.js +2 -2
  7. package/dist/entities/oauth-client.entity.js.map +1 -1
  8. package/dist/entities/user.entity.d.ts.map +1 -1
  9. package/dist/entities/user.entity.js +2 -2
  10. package/dist/entities/user.entity.js.map +1 -1
  11. package/dist/entrypoints/app.d.ts +3 -1
  12. package/dist/entrypoints/app.d.ts.map +1 -1
  13. package/dist/entrypoints/app.js +3 -3
  14. package/dist/entrypoints/app.js.map +1 -1
  15. package/dist/entrypoints/database/postgres/cli.d.ts +3 -2
  16. package/dist/entrypoints/database/postgres/cli.d.ts.map +1 -1
  17. package/dist/entrypoints/database/postgres/cli.js +12 -1
  18. package/dist/entrypoints/database/postgres/cli.js.map +1 -1
  19. package/dist/entrypoints/database/postgres/compiled-functions.d.ts +185 -160
  20. package/dist/entrypoints/database/postgres/compiled-functions.d.ts.map +1 -1
  21. package/dist/entrypoints/database/postgres/compiled-functions.js +439 -238
  22. package/dist/entrypoints/database/postgres/compiled-functions.js.map +1 -1
  23. package/dist/entrypoints/database/postgres/postgres.d.ts.map +1 -1
  24. package/dist/entrypoints/database/postgres/postgres.js +7 -6
  25. package/dist/entrypoints/database/postgres/postgres.js.map +1 -1
  26. package/dist/entrypoints/database/sqlite/cli.d.ts +3 -2
  27. package/dist/entrypoints/database/sqlite/cli.d.ts.map +1 -1
  28. package/dist/entrypoints/database/sqlite/cli.js +9 -1
  29. package/dist/entrypoints/database/sqlite/cli.js.map +1 -1
  30. package/dist/entrypoints/database/sqlite/compiled-functions.d.ts +185 -160
  31. package/dist/entrypoints/database/sqlite/compiled-functions.d.ts.map +1 -1
  32. package/dist/entrypoints/database/sqlite/compiled-functions.js +439 -238
  33. package/dist/entrypoints/database/sqlite/compiled-functions.js.map +1 -1
  34. package/dist/entrypoints/database/sqlite/sqlite.d.ts.map +1 -1
  35. package/dist/entrypoints/database/sqlite/sqlite.js +6 -3
  36. package/dist/entrypoints/database/sqlite/sqlite.js.map +1 -1
  37. package/dist/entrypoints/frontend/index.d.ts +0 -2
  38. package/dist/entrypoints/frontend/index.d.ts.map +1 -1
  39. package/dist/entrypoints/frontend/index.js +0 -1
  40. package/dist/entrypoints/frontend/index.js.map +1 -1
  41. package/dist/entrypoints/services.d.ts +1 -1
  42. package/dist/entrypoints/services.d.ts.map +1 -1
  43. package/dist/entrypoints/services.js.map +1 -1
  44. package/dist/lib/config/client.d.ts.map +1 -1
  45. package/dist/lib/config/client.js +5 -1
  46. package/dist/lib/config/client.js.map +1 -1
  47. package/dist/lib/config/user.d.ts.map +1 -1
  48. package/dist/lib/config/user.js +5 -1
  49. package/dist/lib/config/user.js.map +1 -1
  50. package/dist/lib/database/entities.d.ts.map +1 -1
  51. package/dist/lib/database/entities.js +2 -0
  52. package/dist/lib/database/entities.js.map +1 -1
  53. package/dist/migrations/postgres/Migration20260509171036_initial.d.ts +5 -0
  54. package/dist/migrations/postgres/Migration20260509171036_initial.d.ts.map +1 -0
  55. package/dist/migrations/postgres/Migration20260509171036_initial.js +246 -0
  56. package/dist/migrations/postgres/Migration20260509171036_initial.js.map +1 -0
  57. package/dist/migrations/postgres/index.d.ts +3 -0
  58. package/dist/migrations/postgres/index.d.ts.map +1 -0
  59. package/dist/migrations/postgres/index.js +3 -0
  60. package/dist/migrations/postgres/index.js.map +1 -0
  61. package/dist/migrations/sqlite/Migration20260509171226_initial.d.ts +5 -0
  62. package/dist/migrations/sqlite/Migration20260509171226_initial.d.ts.map +1 -0
  63. package/dist/migrations/sqlite/Migration20260509171226_initial.js +62 -0
  64. package/dist/migrations/sqlite/Migration20260509171226_initial.js.map +1 -0
  65. package/dist/migrations/sqlite/index.d.ts +3 -0
  66. package/dist/migrations/sqlite/index.d.ts.map +1 -0
  67. package/dist/migrations/sqlite/index.js +3 -0
  68. package/dist/migrations/sqlite/index.js.map +1 -0
  69. package/dist/schemas/field.d.ts +2 -1
  70. package/dist/schemas/field.d.ts.map +1 -1
  71. package/dist/schemas/field.js +6 -1
  72. package/dist/schemas/field.js.map +1 -1
  73. package/dist/schemas/oauth.js +1 -1
  74. package/dist/schemas/oauth.js.map +1 -1
  75. package/dist/schemas/response.d.ts +12 -12
  76. package/dist/schemas/response.js +2 -2
  77. package/dist/schemas/response.js.map +1 -1
  78. package/dist/seeders/config.seeder.d.ts +2 -0
  79. package/dist/seeders/config.seeder.d.ts.map +1 -1
  80. package/dist/seeders/config.seeder.js +87 -0
  81. package/dist/seeders/config.seeder.js.map +1 -1
  82. package/dist/services/container.d.ts +5 -1
  83. package/dist/services/container.d.ts.map +1 -1
  84. package/dist/services/container.js +4 -3
  85. package/dist/services/container.js.map +1 -1
  86. package/package.json +7 -16
  87. package/readme.md +0 -1
  88. package/dist/entrypoints/database/d1/cli.d.ts +0 -3
  89. package/dist/entrypoints/database/d1/cli.d.ts.map +0 -1
  90. package/dist/entrypoints/database/d1/cli.js +0 -38
  91. package/dist/entrypoints/database/d1/cli.js.map +0 -1
  92. package/dist/entrypoints/database/d1/compiled-functions.d.ts +0 -666
  93. package/dist/entrypoints/database/d1/compiled-functions.d.ts.map +0 -1
  94. package/dist/entrypoints/database/d1/compiled-functions.js +0 -8365
  95. package/dist/entrypoints/database/d1/compiled-functions.js.map +0 -1
  96. package/dist/entrypoints/database/d1/d1.d.ts +0 -5
  97. package/dist/entrypoints/database/d1/d1.d.ts.map +0 -1
  98. package/dist/entrypoints/database/d1/d1.js +0 -39
  99. package/dist/entrypoints/database/d1/d1.js.map +0 -1
  100. package/dist/entrypoints/frontend/cloudflare.d.ts +0 -2
  101. package/dist/entrypoints/frontend/cloudflare.d.ts.map +0 -1
  102. package/dist/entrypoints/frontend/cloudflare.js +0 -2
  103. package/dist/entrypoints/frontend/cloudflare.js.map +0 -1
  104. package/dist/lib/database/compiled-functions.d.ts +0 -16
  105. package/dist/lib/database/compiled-functions.d.ts.map +0 -1
  106. package/dist/lib/database/compiled-functions.js +0 -66
  107. package/dist/lib/database/compiled-functions.js.map +0 -1
  108. package/dist/lib/frontend/cloudflare.d.ts +0 -12
  109. package/dist/lib/frontend/cloudflare.d.ts.map +0 -1
  110. package/dist/lib/frontend/cloudflare.js +0 -34
  111. package/dist/lib/frontend/cloudflare.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  __version: '7.0.14',
3
- 'hydrator-user_totp_recovery_code_4000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_3, user_4) {
3
+ 'hydrator-user_totp_recovery_code_5000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_3, user_4) {
4
4
  // compiled hydrator for entity UserTotpRecoveryCodeEntity ( normalized)
5
5
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
6
6
  if (data.id === null) {
@@ -82,7 +82,7 @@ export default {
82
82
  }
83
83
  };
84
84
  },
85
- 'hydrator-user_totp_recovery_code_4000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_11, user_12) {
85
+ 'hydrator-user_totp_recovery_code_5000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_11, user_12) {
86
86
  // compiled hydrator for entity UserTotpRecoveryCodeEntity ( normalized)
87
87
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
88
88
  if (data.id === null) {
@@ -164,7 +164,7 @@ export default {
164
164
  }
165
165
  };
166
166
  },
167
- 'comparator-user_totp_recovery_code_4000': function (compareArrays, compareBooleans, compareBuffers, compareObjects, equals) {
167
+ 'comparator-user_totp_recovery_code_5000': function (compareArrays, compareBooleans, compareBuffers, compareObjects, equals) {
168
168
  // compiled comparator for entity UserTotpRecoveryCodeEntity
169
169
  return function (last, current, options) {
170
170
  const diff = {};
@@ -250,7 +250,7 @@ export default {
250
250
  return diff;
251
251
  };
252
252
  },
253
- 'snapshotGenerator-user_totp_recovery_code_4000': function (clone, cloneEmbeddable, convertToDatabaseValue_id, processDateProperty, toArray, EntityIdentifier) {
253
+ 'snapshotGenerator-user_totp_recovery_code_5000': function (clone, cloneEmbeddable, convertToDatabaseValue_id, processDateProperty, toArray, EntityIdentifier) {
254
254
  return function (entity) {
255
255
  const ret = {};
256
256
  if (typeof entity.id !== 'undefined') {
@@ -285,7 +285,7 @@ export default {
285
285
  return ret;
286
286
  };
287
287
  },
288
- 'resultMapper-user_totp_recovery_code_4000': function (PolymorphicRef, parseDate) {
288
+ 'resultMapper-user_totp_recovery_code_5000': function (PolymorphicRef, parseDate) {
289
289
  // compiled mapper for entity UserTotpRecoveryCodeEntity
290
290
  return function (result) {
291
291
  const ret = {};
@@ -358,7 +358,7 @@ export default {
358
358
  return ret;
359
359
  };
360
360
  },
361
- 'hydrator-user_totp_recovery_code_4000-reference-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
361
+ 'hydrator-user_totp_recovery_code_5000-reference-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
362
362
  // compiled hydrator for entity UserTotpRecoveryCodeEntity ( normalized)
363
363
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
364
364
  if (data.id === null) {
@@ -375,7 +375,7 @@ export default {
375
375
  }
376
376
  };
377
377
  },
378
- 'hydrator-user_totp_recovery_code_4000-reference-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
378
+ 'hydrator-user_totp_recovery_code_5000-reference-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
379
379
  // compiled hydrator for entity UserTotpRecoveryCodeEntity ( normalized)
380
380
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
381
381
  if (data.id === null) {
@@ -392,26 +392,26 @@ export default {
392
392
  }
393
393
  };
394
394
  },
395
- 'pkGetter-user_totp_recovery_code_4000': function (isEntityOrRef) {
395
+ 'pkGetter-user_totp_recovery_code_5000': function (isEntityOrRef) {
396
396
  // compiled pk getter for entity UserTotpRecoveryCodeEntity
397
397
  return function (entity) {
398
398
  return entity.id;
399
399
  };
400
400
  },
401
- 'pkGetterConverted-user_totp_recovery_code_4000': function (isEntityOrRef, convertToDatabaseValue_id) {
401
+ 'pkGetterConverted-user_totp_recovery_code_5000': function (isEntityOrRef, convertToDatabaseValue_id) {
402
402
  // compiled pk getter (with converted custom types) for entity UserTotpRecoveryCodeEntity
403
403
  return function (entity) {
404
404
  return convertToDatabaseValue_id(entity.id);
405
405
  };
406
406
  },
407
- 'pkSerializer-user_totp_recovery_code_4000': function (isEntityOrRef, getCompositeKeyValue, getPrimaryKeyHash, convertToDatabaseValue_id) {
407
+ 'pkSerializer-user_totp_recovery_code_5000': function (isEntityOrRef, getCompositeKeyValue, getPrimaryKeyHash, convertToDatabaseValue_id) {
408
408
  // compiled pk serializer for entity UserTotpRecoveryCodeEntity
409
409
  return function (entity) {
410
410
  const val_0 = convertToDatabaseValue_id(entity.id);
411
411
  return getPrimaryKeyHash(val_0);
412
412
  };
413
413
  },
414
- 'hydrator-user_totp_3000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_21, user_22) {
414
+ 'hydrator-user_totp_4000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_21, user_22) {
415
415
  // compiled hydrator for entity UserTotpEntity ( normalized)
416
416
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
417
417
  if (data.id === null) {
@@ -485,7 +485,7 @@ export default {
485
485
  }
486
486
  };
487
487
  },
488
- 'hydrator-user_totp_3000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_29, user_30) {
488
+ 'hydrator-user_totp_4000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_29, user_30) {
489
489
  // compiled hydrator for entity UserTotpEntity ( normalized)
490
490
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
491
491
  if (data.id === null) {
@@ -559,7 +559,7 @@ export default {
559
559
  }
560
560
  };
561
561
  },
562
- 'comparator-user_totp_3000': function (compareArrays, compareBooleans, compareBuffers, compareObjects, equals) {
562
+ 'comparator-user_totp_4000': function (compareArrays, compareBooleans, compareBuffers, compareObjects, equals) {
563
563
  // compiled comparator for entity UserTotpEntity
564
564
  return function (last, current, options) {
565
565
  const diff = {};
@@ -645,7 +645,7 @@ export default {
645
645
  return diff;
646
646
  };
647
647
  },
648
- 'snapshotGenerator-user_totp_3000': function (clone, cloneEmbeddable, convertToDatabaseValue_id, processDateProperty, toArray, EntityIdentifier) {
648
+ 'snapshotGenerator-user_totp_4000': function (clone, cloneEmbeddable, convertToDatabaseValue_id, processDateProperty, toArray, EntityIdentifier) {
649
649
  return function (entity) {
650
650
  const ret = {};
651
651
  if (typeof entity.id !== 'undefined') {
@@ -680,7 +680,7 @@ export default {
680
680
  return ret;
681
681
  };
682
682
  },
683
- 'resultMapper-user_totp_3000': function (PolymorphicRef, parseDate) {
683
+ 'resultMapper-user_totp_4000': function (PolymorphicRef, parseDate) {
684
684
  // compiled mapper for entity UserTotpEntity
685
685
  return function (result) {
686
686
  const ret = {};
@@ -742,7 +742,7 @@ export default {
742
742
  return ret;
743
743
  };
744
744
  },
745
- 'hydrator-user_totp_3000-reference-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
745
+ 'hydrator-user_totp_4000-reference-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
746
746
  // compiled hydrator for entity UserTotpEntity ( normalized)
747
747
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
748
748
  if (data.id === null) {
@@ -759,7 +759,7 @@ export default {
759
759
  }
760
760
  };
761
761
  },
762
- 'hydrator-user_totp_3000-reference-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
762
+ 'hydrator-user_totp_4000-reference-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
763
763
  // compiled hydrator for entity UserTotpEntity ( normalized)
764
764
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
765
765
  if (data.id === null) {
@@ -776,26 +776,26 @@ export default {
776
776
  }
777
777
  };
778
778
  },
779
- 'pkGetter-user_totp_3000': function (isEntityOrRef) {
779
+ 'pkGetter-user_totp_4000': function (isEntityOrRef) {
780
780
  // compiled pk getter for entity UserTotpEntity
781
781
  return function (entity) {
782
782
  return entity.id;
783
783
  };
784
784
  },
785
- 'pkGetterConverted-user_totp_3000': function (isEntityOrRef, convertToDatabaseValue_id) {
785
+ 'pkGetterConverted-user_totp_4000': function (isEntityOrRef, convertToDatabaseValue_id) {
786
786
  // compiled pk getter (with converted custom types) for entity UserTotpEntity
787
787
  return function (entity) {
788
788
  return convertToDatabaseValue_id(entity.id);
789
789
  };
790
790
  },
791
- 'pkSerializer-user_totp_3000': function (isEntityOrRef, getCompositeKeyValue, getPrimaryKeyHash, convertToDatabaseValue_id) {
791
+ 'pkSerializer-user_totp_4000': function (isEntityOrRef, getCompositeKeyValue, getPrimaryKeyHash, convertToDatabaseValue_id) {
792
792
  // compiled pk serializer for entity UserTotpEntity
793
793
  return function (entity) {
794
794
  const val_1 = convertToDatabaseValue_id(entity.id);
795
795
  return getPrimaryKeyHash(val_1);
796
796
  };
797
797
  },
798
- 'hydrator-user_terms_consent_15000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_39, user_40, terms_41, terms_42) {
798
+ 'hydrator-user_terms_consent_16000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_39, user_40, terms_41, terms_42) {
799
799
  // compiled hydrator for entity UserTermsConsentEntity ( normalized)
800
800
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
801
801
  if (data.id === null) {
@@ -894,7 +894,7 @@ export default {
894
894
  }
895
895
  };
896
896
  },
897
- 'hydrator-user_terms_consent_15000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_50, user_51, terms_52, terms_53) {
897
+ 'hydrator-user_terms_consent_16000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_50, user_51, terms_52, terms_53) {
898
898
  // compiled hydrator for entity UserTermsConsentEntity ( normalized)
899
899
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
900
900
  if (data.id === null) {
@@ -993,7 +993,7 @@ export default {
993
993
  }
994
994
  };
995
995
  },
996
- 'comparator-user_terms_consent_15000': function (compareArrays, compareBooleans, compareBuffers, compareObjects, equals) {
996
+ 'comparator-user_terms_consent_16000': function (compareArrays, compareBooleans, compareBuffers, compareObjects, equals) {
997
997
  // compiled comparator for entity UserTermsConsentEntity
998
998
  return function (last, current, options) {
999
999
  const diff = {};
@@ -1101,7 +1101,7 @@ export default {
1101
1101
  return diff;
1102
1102
  };
1103
1103
  },
1104
- 'snapshotGenerator-user_terms_consent_15000': function (clone, cloneEmbeddable, convertToDatabaseValue_id, processDateProperty, toArray, EntityIdentifier) {
1104
+ 'snapshotGenerator-user_terms_consent_16000': function (clone, cloneEmbeddable, convertToDatabaseValue_id, processDateProperty, toArray, EntityIdentifier) {
1105
1105
  return function (entity) {
1106
1106
  const ret = {};
1107
1107
  if (typeof entity.id !== 'undefined') {
@@ -1150,7 +1150,7 @@ export default {
1150
1150
  return ret;
1151
1151
  };
1152
1152
  },
1153
- 'resultMapper-user_terms_consent_15000': function (PolymorphicRef, parseDate) {
1153
+ 'resultMapper-user_terms_consent_16000': function (PolymorphicRef, parseDate) {
1154
1154
  // compiled mapper for entity UserTermsConsentEntity
1155
1155
  return function (result) {
1156
1156
  const ret = {};
@@ -1231,7 +1231,7 @@ export default {
1231
1231
  return ret;
1232
1232
  };
1233
1233
  },
1234
- 'hydrator-user_terms_consent_15000-reference-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
1234
+ 'hydrator-user_terms_consent_16000-reference-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
1235
1235
  // compiled hydrator for entity UserTermsConsentEntity ( normalized)
1236
1236
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
1237
1237
  if (data.id === null) {
@@ -1248,7 +1248,7 @@ export default {
1248
1248
  }
1249
1249
  };
1250
1250
  },
1251
- 'hydrator-user_terms_consent_15000-reference-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
1251
+ 'hydrator-user_terms_consent_16000-reference-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
1252
1252
  // compiled hydrator for entity UserTermsConsentEntity ( normalized)
1253
1253
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
1254
1254
  if (data.id === null) {
@@ -1265,26 +1265,26 @@ export default {
1265
1265
  }
1266
1266
  };
1267
1267
  },
1268
- 'pkGetter-user_terms_consent_15000': function (isEntityOrRef) {
1268
+ 'pkGetter-user_terms_consent_16000': function (isEntityOrRef) {
1269
1269
  // compiled pk getter for entity UserTermsConsentEntity
1270
1270
  return function (entity) {
1271
1271
  return entity.id;
1272
1272
  };
1273
1273
  },
1274
- 'pkGetterConverted-user_terms_consent_15000': function (isEntityOrRef, convertToDatabaseValue_id) {
1274
+ 'pkGetterConverted-user_terms_consent_16000': function (isEntityOrRef, convertToDatabaseValue_id) {
1275
1275
  // compiled pk getter (with converted custom types) for entity UserTermsConsentEntity
1276
1276
  return function (entity) {
1277
1277
  return convertToDatabaseValue_id(entity.id);
1278
1278
  };
1279
1279
  },
1280
- 'pkSerializer-user_terms_consent_15000': function (isEntityOrRef, getCompositeKeyValue, getPrimaryKeyHash, convertToDatabaseValue_id) {
1280
+ 'pkSerializer-user_terms_consent_16000': function (isEntityOrRef, getCompositeKeyValue, getPrimaryKeyHash, convertToDatabaseValue_id) {
1281
1281
  // compiled pk serializer for entity UserTermsConsentEntity
1282
1282
  return function (entity) {
1283
1283
  const val_2 = convertToDatabaseValue_id(entity.id);
1284
1284
  return getPrimaryKeyHash(val_2);
1285
1285
  };
1286
1286
  },
1287
- 'hydrator-user_passkey_2000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_63, user_64, convertToJSValue_transports, convertToDatabaseValue_transports) {
1287
+ 'hydrator-user_passkey_3000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_63, user_64, convertToJSValue_transports, convertToDatabaseValue_transports) {
1288
1288
  // compiled hydrator for entity UserPasskeyEntity ( normalized)
1289
1289
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
1290
1290
  if (data.id === null) {
@@ -1395,7 +1395,7 @@ export default {
1395
1395
  }
1396
1396
  };
1397
1397
  },
1398
- 'hydrator-user_passkey_2000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_76, user_77, convertToJSValue_transports, convertToDatabaseValue_transports) {
1398
+ 'hydrator-user_passkey_3000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_76, user_77, convertToJSValue_transports, convertToDatabaseValue_transports) {
1399
1399
  // compiled hydrator for entity UserPasskeyEntity ( normalized)
1400
1400
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
1401
1401
  if (data.id === null) {
@@ -1506,7 +1506,7 @@ export default {
1506
1506
  }
1507
1507
  };
1508
1508
  },
1509
- 'comparator-user_passkey_2000': function (compareArrays, compareBooleans, compareBuffers, compareObjects, equals) {
1509
+ 'comparator-user_passkey_3000': function (compareArrays, compareBooleans, compareBuffers, compareObjects, equals) {
1510
1510
  // compiled comparator for entity UserPasskeyEntity
1511
1511
  return function (last, current, options) {
1512
1512
  const diff = {};
@@ -1647,7 +1647,7 @@ export default {
1647
1647
  return diff;
1648
1648
  };
1649
1649
  },
1650
- 'snapshotGenerator-user_passkey_2000': function (clone, cloneEmbeddable, convertToDatabaseValue_id, processDateProperty, toArray, EntityIdentifier, convertToDatabaseValue_transports) {
1650
+ 'snapshotGenerator-user_passkey_3000': function (clone, cloneEmbeddable, convertToDatabaseValue_id, processDateProperty, toArray, EntityIdentifier, convertToDatabaseValue_transports) {
1651
1651
  return function (entity) {
1652
1652
  const ret = {};
1653
1653
  if (typeof entity.id !== 'undefined') {
@@ -1697,7 +1697,7 @@ export default {
1697
1697
  return ret;
1698
1698
  };
1699
1699
  },
1700
- 'resultMapper-user_passkey_2000': function (PolymorphicRef, parseDate) {
1700
+ 'resultMapper-user_passkey_3000': function (PolymorphicRef, parseDate) {
1701
1701
  // compiled mapper for entity UserPasskeyEntity
1702
1702
  return function (result) {
1703
1703
  const ret = {};
@@ -1779,7 +1779,7 @@ export default {
1779
1779
  return ret;
1780
1780
  };
1781
1781
  },
1782
- 'hydrator-user_passkey_2000-reference-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
1782
+ 'hydrator-user_passkey_3000-reference-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
1783
1783
  // compiled hydrator for entity UserPasskeyEntity ( normalized)
1784
1784
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
1785
1785
  if (data.id === null) {
@@ -1796,7 +1796,7 @@ export default {
1796
1796
  }
1797
1797
  };
1798
1798
  },
1799
- 'hydrator-user_passkey_2000-reference-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
1799
+ 'hydrator-user_passkey_3000-reference-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
1800
1800
  // compiled hydrator for entity UserPasskeyEntity ( normalized)
1801
1801
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
1802
1802
  if (data.id === null) {
@@ -1813,26 +1813,26 @@ export default {
1813
1813
  }
1814
1814
  };
1815
1815
  },
1816
- 'pkGetter-user_passkey_2000': function (isEntityOrRef) {
1816
+ 'pkGetter-user_passkey_3000': function (isEntityOrRef) {
1817
1817
  // compiled pk getter for entity UserPasskeyEntity
1818
1818
  return function (entity) {
1819
1819
  return entity.id;
1820
1820
  };
1821
1821
  },
1822
- 'pkGetterConverted-user_passkey_2000': function (isEntityOrRef, convertToDatabaseValue_id) {
1822
+ 'pkGetterConverted-user_passkey_3000': function (isEntityOrRef, convertToDatabaseValue_id) {
1823
1823
  // compiled pk getter (with converted custom types) for entity UserPasskeyEntity
1824
1824
  return function (entity) {
1825
1825
  return convertToDatabaseValue_id(entity.id);
1826
1826
  };
1827
1827
  },
1828
- 'pkSerializer-user_passkey_2000': function (isEntityOrRef, getCompositeKeyValue, getPrimaryKeyHash, convertToDatabaseValue_id) {
1828
+ 'pkSerializer-user_passkey_3000': function (isEntityOrRef, getCompositeKeyValue, getPrimaryKeyHash, convertToDatabaseValue_id) {
1829
1829
  // compiled pk serializer for entity UserPasskeyEntity
1830
1830
  return function (entity) {
1831
1831
  const val_3 = convertToDatabaseValue_id(entity.id);
1832
1832
  return getPrimaryKeyHash(val_3);
1833
1833
  };
1834
1834
  },
1835
- 'hydrator-user_oauth_1000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_91, user_92) {
1835
+ 'hydrator-user_oauth_2000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_91, user_92) {
1836
1836
  // compiled hydrator for entity UserOAuthEntity ( normalized)
1837
1837
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
1838
1838
  if (data.id === null) {
@@ -1927,7 +1927,7 @@ export default {
1927
1927
  }
1928
1928
  };
1929
1929
  },
1930
- 'hydrator-user_oauth_1000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_101, user_102) {
1930
+ 'hydrator-user_oauth_2000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_101, user_102) {
1931
1931
  // compiled hydrator for entity UserOAuthEntity ( normalized)
1932
1932
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
1933
1933
  if (data.id === null) {
@@ -2022,7 +2022,7 @@ export default {
2022
2022
  }
2023
2023
  };
2024
2024
  },
2025
- 'comparator-user_oauth_1000': function (compareArrays, compareBooleans, compareBuffers, compareObjects, equals, compareValues_4) {
2025
+ 'comparator-user_oauth_2000': function (compareArrays, compareBooleans, compareBuffers, compareObjects, equals, compareValues_4) {
2026
2026
  // compiled comparator for entity UserOAuthEntity
2027
2027
  return function (last, current, options) {
2028
2028
  const diff = {};
@@ -2130,7 +2130,7 @@ export default {
2130
2130
  return diff;
2131
2131
  };
2132
2132
  },
2133
- 'snapshotGenerator-user_oauth_1000': function (clone, cloneEmbeddable, convertToDatabaseValue_id, processDateProperty, toArray, EntityIdentifier) {
2133
+ 'snapshotGenerator-user_oauth_2000': function (clone, cloneEmbeddable, convertToDatabaseValue_id, processDateProperty, toArray, EntityIdentifier) {
2134
2134
  return function (entity) {
2135
2135
  const ret = {};
2136
2136
  if (typeof entity.id !== 'undefined') {
@@ -2171,7 +2171,7 @@ export default {
2171
2171
  return ret;
2172
2172
  };
2173
2173
  },
2174
- 'resultMapper-user_oauth_1000': function (PolymorphicRef, parseDate) {
2174
+ 'resultMapper-user_oauth_2000': function (PolymorphicRef, parseDate) {
2175
2175
  // compiled mapper for entity UserOAuthEntity
2176
2176
  return function (result) {
2177
2177
  const ret = {};
@@ -2252,7 +2252,7 @@ export default {
2252
2252
  return ret;
2253
2253
  };
2254
2254
  },
2255
- 'hydrator-user_oauth_1000-reference-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
2255
+ 'hydrator-user_oauth_2000-reference-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
2256
2256
  // compiled hydrator for entity UserOAuthEntity ( normalized)
2257
2257
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
2258
2258
  if (data.id === null) {
@@ -2270,7 +2270,7 @@ export default {
2270
2270
  }
2271
2271
  };
2272
2272
  },
2273
- 'hydrator-user_oauth_1000-reference-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
2273
+ 'hydrator-user_oauth_2000-reference-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
2274
2274
  // compiled hydrator for entity UserOAuthEntity ( normalized)
2275
2275
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
2276
2276
  if (data.id === null) {
@@ -2288,39 +2288,33 @@ export default {
2288
2288
  }
2289
2289
  };
2290
2290
  },
2291
- 'pkGetter-user_oauth_1000': function (isEntityOrRef) {
2291
+ 'pkGetter-user_oauth_2000': function (isEntityOrRef) {
2292
2292
  // compiled pk getter for entity UserOAuthEntity
2293
2293
  return function (entity) {
2294
2294
  return entity.id;
2295
2295
  };
2296
2296
  },
2297
- 'pkGetterConverted-user_oauth_1000': function (isEntityOrRef, convertToDatabaseValue_id) {
2297
+ 'pkGetterConverted-user_oauth_2000': function (isEntityOrRef, convertToDatabaseValue_id) {
2298
2298
  // compiled pk getter (with converted custom types) for entity UserOAuthEntity
2299
2299
  return function (entity) {
2300
2300
  return convertToDatabaseValue_id(entity.id);
2301
2301
  };
2302
2302
  },
2303
- 'pkSerializer-user_oauth_1000': function (isEntityOrRef, getCompositeKeyValue, getPrimaryKeyHash, convertToDatabaseValue_id) {
2303
+ 'pkSerializer-user_oauth_2000': function (isEntityOrRef, getCompositeKeyValue, getPrimaryKeyHash, convertToDatabaseValue_id) {
2304
2304
  // compiled pk serializer for entity UserOAuthEntity
2305
2305
  return function (entity) {
2306
2306
  const val_5 = convertToDatabaseValue_id(entity.id);
2307
2307
  return getPrimaryKeyHash(val_5);
2308
2308
  };
2309
2309
  },
2310
- 'hydrator-user_5000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_sub, convertToDatabaseValue_sub, user_oauth_119, user_passkey_120, user_totp_121, user_totp_recovery_code_122) {
2310
+ 'hydrator-user_6000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, user_oauth_119, user_passkey_120, user_totp_121, user_totp_recovery_code_122) {
2311
2311
  // compiled hydrator for entity UserEntity ( normalized)
2312
2312
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
2313
2313
  if (data.sub === null) {
2314
2314
  entity.sub = null;
2315
2315
  }
2316
2316
  else if (typeof data.sub !== 'undefined') {
2317
- if (convertCustomTypes) {
2318
- const value = convertToJSValue_sub(data.sub);
2319
- entity.sub = value;
2320
- }
2321
- else {
2322
- entity.sub = data.sub;
2323
- }
2317
+ entity.sub = data.sub;
2324
2318
  }
2325
2319
  if (data.created_at === null) {
2326
2320
  entity.created_at = null;
@@ -2504,20 +2498,14 @@ export default {
2504
2498
  }
2505
2499
  };
2506
2500
  },
2507
- 'hydrator-user_5000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_sub, convertToDatabaseValue_sub, user_oauth_132, user_passkey_133, user_totp_134, user_totp_recovery_code_135) {
2501
+ 'hydrator-user_6000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, user_oauth_132, user_passkey_133, user_totp_134, user_totp_recovery_code_135) {
2508
2502
  // compiled hydrator for entity UserEntity ( normalized)
2509
2503
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
2510
2504
  if (data.sub === null) {
2511
2505
  entity.sub = null;
2512
2506
  }
2513
2507
  else if (typeof data.sub !== 'undefined') {
2514
- if (convertCustomTypes) {
2515
- const value = convertToJSValue_sub(data.sub);
2516
- entity.sub = value;
2517
- }
2518
- else {
2519
- entity.sub = data.sub;
2520
- }
2508
+ entity.sub = data.sub;
2521
2509
  }
2522
2510
  if (data.created_at === null) {
2523
2511
  entity.created_at = null;
@@ -2701,7 +2689,7 @@ export default {
2701
2689
  }
2702
2690
  };
2703
2691
  },
2704
- 'comparator-user_5000': function (compareArrays, compareBooleans, compareBuffers, compareObjects, equals) {
2692
+ 'comparator-user_6000': function (compareArrays, compareBooleans, compareBuffers, compareObjects, equals) {
2705
2693
  // compiled comparator for entity UserEntity
2706
2694
  return function (last, current, options) {
2707
2695
  const diff = {};
@@ -2809,11 +2797,11 @@ export default {
2809
2797
  return diff;
2810
2798
  };
2811
2799
  },
2812
- 'snapshotGenerator-user_5000': function (clone, cloneEmbeddable, convertToDatabaseValue_sub, processDateProperty) {
2800
+ 'snapshotGenerator-user_6000': function (clone, cloneEmbeddable, processDateProperty) {
2813
2801
  return function (entity) {
2814
2802
  const ret = {};
2815
2803
  if (typeof entity.sub !== 'undefined') {
2816
- ret.sub = convertToDatabaseValue_sub(entity.sub);
2804
+ ret.sub = entity.sub;
2817
2805
  }
2818
2806
  if (typeof entity.created_at !== 'undefined') {
2819
2807
  ret.created_at = clone(processDateProperty(entity.created_at));
@@ -2842,7 +2830,7 @@ export default {
2842
2830
  return ret;
2843
2831
  };
2844
2832
  },
2845
- 'resultMapper-user_5000': function (PolymorphicRef, parseDate) {
2833
+ 'resultMapper-user_6000': function (PolymorphicRef, parseDate) {
2846
2834
  // compiled mapper for entity UserEntity
2847
2835
  return function (result) {
2848
2836
  const ret = {};
@@ -2923,60 +2911,47 @@ export default {
2923
2911
  return ret;
2924
2912
  };
2925
2913
  },
2926
- 'hydrator-user_5000-reference-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_sub, convertToDatabaseValue_sub) {
2914
+ 'hydrator-user_6000-reference-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError) {
2927
2915
  // compiled hydrator for entity UserEntity ( normalized)
2928
2916
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
2929
2917
  if (data.sub === null) {
2930
2918
  entity.sub = null;
2931
2919
  }
2932
2920
  else if (typeof data.sub !== 'undefined') {
2933
- if (convertCustomTypes) {
2934
- const value = convertToJSValue_sub(data.sub);
2935
- entity.sub = value;
2936
- }
2937
- else {
2938
- entity.sub = data.sub;
2939
- }
2921
+ entity.sub = data.sub;
2940
2922
  }
2941
2923
  };
2942
2924
  },
2943
- 'hydrator-user_5000-reference-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_sub, convertToDatabaseValue_sub) {
2925
+ 'hydrator-user_6000-reference-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError) {
2944
2926
  // compiled hydrator for entity UserEntity ( normalized)
2945
2927
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
2946
2928
  if (data.sub === null) {
2947
2929
  entity.sub = null;
2948
2930
  }
2949
2931
  else if (typeof data.sub !== 'undefined') {
2950
- if (convertCustomTypes) {
2951
- const value = convertToJSValue_sub(data.sub);
2952
- entity.sub = value;
2953
- }
2954
- else {
2955
- entity.sub = data.sub;
2956
- }
2932
+ entity.sub = data.sub;
2957
2933
  }
2958
2934
  };
2959
2935
  },
2960
- 'pkGetter-user_5000': function (isEntityOrRef) {
2936
+ 'pkGetter-user_6000': function (isEntityOrRef) {
2961
2937
  // compiled pk getter for entity UserEntity
2962
2938
  return function (entity) {
2963
2939
  return entity.sub;
2964
2940
  };
2965
2941
  },
2966
- 'pkGetterConverted-user_5000': function (isEntityOrRef, convertToDatabaseValue_sub) {
2942
+ 'pkGetterConverted-user_6000': function (isEntityOrRef) {
2967
2943
  // compiled pk getter (with converted custom types) for entity UserEntity
2968
2944
  return function (entity) {
2969
- return convertToDatabaseValue_sub(entity.sub);
2945
+ return entity.sub;
2970
2946
  };
2971
2947
  },
2972
- 'pkSerializer-user_5000': function (isEntityOrRef, getCompositeKeyValue, getPrimaryKeyHash, convertToDatabaseValue_sub) {
2948
+ 'pkSerializer-user_6000': function (isEntityOrRef, getCompositeKeyValue, getPrimaryKeyHash) {
2973
2949
  // compiled pk serializer for entity UserEntity
2974
2950
  return function (entity) {
2975
- const val_6 = convertToDatabaseValue_sub(entity.sub);
2976
- return getPrimaryKeyHash(val_6);
2951
+ return '' + entity.sub;
2977
2952
  };
2978
2953
  },
2979
- 'hydrator-user_consent_10000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_141, user_142, oauth_client_143, oauth_client_144, convertToJSValue_scopes, convertToDatabaseValue_scopes) {
2954
+ 'hydrator-user_consent_11000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_141, user_142, oauth_client_143, oauth_client_144, convertToJSValue_scopes, convertToDatabaseValue_scopes) {
2980
2955
  // compiled hydrator for entity UserConsentEntity ( normalized)
2981
2956
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
2982
2957
  if (data.id === null) {
@@ -3084,7 +3059,7 @@ export default {
3084
3059
  }
3085
3060
  };
3086
3061
  },
3087
- 'hydrator-user_consent_10000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_151, user_152, oauth_client_153, oauth_client_154, convertToJSValue_scopes, convertToDatabaseValue_scopes) {
3062
+ 'hydrator-user_consent_11000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_151, user_152, oauth_client_153, oauth_client_154, convertToJSValue_scopes, convertToDatabaseValue_scopes) {
3088
3063
  // compiled hydrator for entity UserConsentEntity ( normalized)
3089
3064
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
3090
3065
  if (data.id === null) {
@@ -3192,7 +3167,7 @@ export default {
3192
3167
  }
3193
3168
  };
3194
3169
  },
3195
- 'comparator-user_consent_10000': function (compareArrays, compareBooleans, compareBuffers, compareObjects, equals) {
3170
+ 'comparator-user_consent_11000': function (compareArrays, compareBooleans, compareBuffers, compareObjects, equals) {
3196
3171
  // compiled comparator for entity UserConsentEntity
3197
3172
  return function (last, current, options) {
3198
3173
  const diff = {};
@@ -3289,7 +3264,7 @@ export default {
3289
3264
  return diff;
3290
3265
  };
3291
3266
  },
3292
- 'snapshotGenerator-user_consent_10000': function (clone, cloneEmbeddable, convertToDatabaseValue_id, processDateProperty, toArray, EntityIdentifier, convertToDatabaseValue_scopes) {
3267
+ 'snapshotGenerator-user_consent_11000': function (clone, cloneEmbeddable, convertToDatabaseValue_id, processDateProperty, toArray, EntityIdentifier, convertToDatabaseValue_scopes) {
3293
3268
  return function (entity) {
3294
3269
  const ret = {};
3295
3270
  if (typeof entity.id !== 'undefined') {
@@ -3335,7 +3310,7 @@ export default {
3335
3310
  return ret;
3336
3311
  };
3337
3312
  },
3338
- 'resultMapper-user_consent_10000': function (PolymorphicRef, parseDate) {
3313
+ 'resultMapper-user_consent_11000': function (PolymorphicRef, parseDate) {
3339
3314
  // compiled mapper for entity UserConsentEntity
3340
3315
  return function (result) {
3341
3316
  const ret = {};
@@ -3423,7 +3398,7 @@ export default {
3423
3398
  return ret;
3424
3399
  };
3425
3400
  },
3426
- 'hydrator-user_consent_10000-reference-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
3401
+ 'hydrator-user_consent_11000-reference-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
3427
3402
  // compiled hydrator for entity UserConsentEntity ( normalized)
3428
3403
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
3429
3404
  if (data.id === null) {
@@ -3440,7 +3415,7 @@ export default {
3440
3415
  }
3441
3416
  };
3442
3417
  },
3443
- 'hydrator-user_consent_10000-reference-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
3418
+ 'hydrator-user_consent_11000-reference-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
3444
3419
  // compiled hydrator for entity UserConsentEntity ( normalized)
3445
3420
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
3446
3421
  if (data.id === null) {
@@ -3457,26 +3432,26 @@ export default {
3457
3432
  }
3458
3433
  };
3459
3434
  },
3460
- 'pkGetter-user_consent_10000': function (isEntityOrRef) {
3435
+ 'pkGetter-user_consent_11000': function (isEntityOrRef) {
3461
3436
  // compiled pk getter for entity UserConsentEntity
3462
3437
  return function (entity) {
3463
3438
  return entity.id;
3464
3439
  };
3465
3440
  },
3466
- 'pkGetterConverted-user_consent_10000': function (isEntityOrRef, convertToDatabaseValue_id) {
3441
+ 'pkGetterConverted-user_consent_11000': function (isEntityOrRef, convertToDatabaseValue_id) {
3467
3442
  // compiled pk getter (with converted custom types) for entity UserConsentEntity
3468
3443
  return function (entity) {
3469
3444
  return convertToDatabaseValue_id(entity.id);
3470
3445
  };
3471
3446
  },
3472
- 'pkSerializer-user_consent_10000': function (isEntityOrRef, getCompositeKeyValue, getPrimaryKeyHash, convertToDatabaseValue_id) {
3447
+ 'pkSerializer-user_consent_11000': function (isEntityOrRef, getCompositeKeyValue, getPrimaryKeyHash, convertToDatabaseValue_id) {
3473
3448
  // compiled pk serializer for entity UserConsentEntity
3474
3449
  return function (entity) {
3475
- const val_7 = convertToDatabaseValue_id(entity.id);
3476
- return getPrimaryKeyHash(val_7);
3450
+ const val_6 = convertToDatabaseValue_id(entity.id);
3451
+ return getPrimaryKeyHash(val_6);
3477
3452
  };
3478
3453
  },
3479
- 'hydrator-terms_16000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, terms_content_167, user_terms_consent_168) {
3454
+ 'hydrator-terms_17000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, terms_content_167, user_terms_consent_168) {
3480
3455
  // compiled hydrator for entity TermsEntity ( normalized)
3481
3456
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
3482
3457
  if (data.id === null) {
@@ -3593,7 +3568,7 @@ export default {
3593
3568
  }
3594
3569
  };
3595
3570
  },
3596
- 'hydrator-terms_16000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, terms_content_176, user_terms_consent_177) {
3571
+ 'hydrator-terms_17000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, terms_content_176, user_terms_consent_177) {
3597
3572
  // compiled hydrator for entity TermsEntity ( normalized)
3598
3573
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
3599
3574
  if (data.id === null) {
@@ -3710,7 +3685,7 @@ export default {
3710
3685
  }
3711
3686
  };
3712
3687
  },
3713
- 'comparator-terms_16000': function (compareArrays, compareBooleans, compareBuffers, compareObjects, equals) {
3688
+ 'comparator-terms_17000': function (compareArrays, compareBooleans, compareBuffers, compareObjects, equals) {
3714
3689
  // compiled comparator for entity TermsEntity
3715
3690
  return function (last, current, options) {
3716
3691
  const diff = {};
@@ -3796,7 +3771,7 @@ export default {
3796
3771
  return diff;
3797
3772
  };
3798
3773
  },
3799
- 'snapshotGenerator-terms_16000': function (clone, cloneEmbeddable, processDateProperty) {
3774
+ 'snapshotGenerator-terms_17000': function (clone, cloneEmbeddable, processDateProperty) {
3800
3775
  return function (entity) {
3801
3776
  const ret = {};
3802
3777
  if (typeof entity.id !== 'undefined') {
@@ -3823,7 +3798,7 @@ export default {
3823
3798
  return ret;
3824
3799
  };
3825
3800
  },
3826
- 'resultMapper-terms_16000': function (PolymorphicRef, parseDate) {
3801
+ 'resultMapper-terms_17000': function (PolymorphicRef, parseDate) {
3827
3802
  // compiled mapper for entity TermsEntity
3828
3803
  return function (result) {
3829
3804
  const ret = {};
@@ -3885,7 +3860,7 @@ export default {
3885
3860
  return ret;
3886
3861
  };
3887
3862
  },
3888
- 'hydrator-terms_16000-reference-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError) {
3863
+ 'hydrator-terms_17000-reference-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError) {
3889
3864
  // compiled hydrator for entity TermsEntity ( normalized)
3890
3865
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
3891
3866
  if (data.id === null) {
@@ -3896,7 +3871,7 @@ export default {
3896
3871
  }
3897
3872
  };
3898
3873
  },
3899
- 'hydrator-terms_16000-reference-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError) {
3874
+ 'hydrator-terms_17000-reference-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError) {
3900
3875
  // compiled hydrator for entity TermsEntity ( normalized)
3901
3876
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
3902
3877
  if (data.id === null) {
@@ -3907,25 +3882,25 @@ export default {
3907
3882
  }
3908
3883
  };
3909
3884
  },
3910
- 'pkGetter-terms_16000': function (isEntityOrRef) {
3885
+ 'pkGetter-terms_17000': function (isEntityOrRef) {
3911
3886
  // compiled pk getter for entity TermsEntity
3912
3887
  return function (entity) {
3913
3888
  return entity.id;
3914
3889
  };
3915
3890
  },
3916
- 'pkGetterConverted-terms_16000': function (isEntityOrRef) {
3891
+ 'pkGetterConverted-terms_17000': function (isEntityOrRef) {
3917
3892
  // compiled pk getter (with converted custom types) for entity TermsEntity
3918
3893
  return function (entity) {
3919
3894
  return entity.id;
3920
3895
  };
3921
3896
  },
3922
- 'pkSerializer-terms_16000': function (isEntityOrRef, getCompositeKeyValue, getPrimaryKeyHash) {
3897
+ 'pkSerializer-terms_17000': function (isEntityOrRef, getCompositeKeyValue, getPrimaryKeyHash) {
3923
3898
  // compiled pk serializer for entity TermsEntity
3924
3899
  return function (entity) {
3925
3900
  return '' + entity.id;
3926
3901
  };
3927
3902
  },
3928
- 'hydrator-terms_content_14000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, terms_183, terms_184) {
3903
+ 'hydrator-terms_content_15000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, terms_183, terms_184) {
3929
3904
  // compiled hydrator for entity TermsContentEntity ( normalized)
3930
3905
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
3931
3906
  if (data.id === null) {
@@ -4005,7 +3980,7 @@ export default {
4005
3980
  }
4006
3981
  };
4007
3982
  },
4008
- 'hydrator-terms_content_14000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, terms_192, terms_193) {
3983
+ 'hydrator-terms_content_15000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, terms_192, terms_193) {
4009
3984
  // compiled hydrator for entity TermsContentEntity ( normalized)
4010
3985
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
4011
3986
  if (data.id === null) {
@@ -4085,7 +4060,7 @@ export default {
4085
4060
  }
4086
4061
  };
4087
4062
  },
4088
- 'comparator-terms_content_14000': function (compareArrays, compareBooleans, compareBuffers, compareObjects, equals) {
4063
+ 'comparator-terms_content_15000': function (compareArrays, compareBooleans, compareBuffers, compareObjects, equals) {
4089
4064
  // compiled comparator for entity TermsContentEntity
4090
4065
  return function (last, current, options) {
4091
4066
  const diff = {};
@@ -4182,7 +4157,7 @@ export default {
4182
4157
  return diff;
4183
4158
  };
4184
4159
  },
4185
- 'snapshotGenerator-terms_content_14000': function (clone, cloneEmbeddable, convertToDatabaseValue_id, processDateProperty, toArray, EntityIdentifier) {
4160
+ 'snapshotGenerator-terms_content_15000': function (clone, cloneEmbeddable, convertToDatabaseValue_id, processDateProperty, toArray, EntityIdentifier) {
4186
4161
  return function (entity) {
4187
4162
  const ret = {};
4188
4163
  if (typeof entity.id !== 'undefined') {
@@ -4220,7 +4195,7 @@ export default {
4220
4195
  return ret;
4221
4196
  };
4222
4197
  },
4223
- 'resultMapper-terms_content_14000': function (PolymorphicRef, parseDate) {
4198
+ 'resultMapper-terms_content_15000': function (PolymorphicRef, parseDate) {
4224
4199
  // compiled mapper for entity TermsContentEntity
4225
4200
  return function (result) {
4226
4201
  const ret = {};
@@ -4286,7 +4261,7 @@ export default {
4286
4261
  return ret;
4287
4262
  };
4288
4263
  },
4289
- 'hydrator-terms_content_14000-reference-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
4264
+ 'hydrator-terms_content_15000-reference-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
4290
4265
  // compiled hydrator for entity TermsContentEntity ( normalized)
4291
4266
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
4292
4267
  if (data.id === null) {
@@ -4303,7 +4278,7 @@ export default {
4303
4278
  }
4304
4279
  };
4305
4280
  },
4306
- 'hydrator-terms_content_14000-reference-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
4281
+ 'hydrator-terms_content_15000-reference-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
4307
4282
  // compiled hydrator for entity TermsContentEntity ( normalized)
4308
4283
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
4309
4284
  if (data.id === null) {
@@ -4320,26 +4295,26 @@ export default {
4320
4295
  }
4321
4296
  };
4322
4297
  },
4323
- 'pkGetter-terms_content_14000': function (isEntityOrRef) {
4298
+ 'pkGetter-terms_content_15000': function (isEntityOrRef) {
4324
4299
  // compiled pk getter for entity TermsContentEntity
4325
4300
  return function (entity) {
4326
4301
  return entity.id;
4327
4302
  };
4328
4303
  },
4329
- 'pkGetterConverted-terms_content_14000': function (isEntityOrRef, convertToDatabaseValue_id) {
4304
+ 'pkGetterConverted-terms_content_15000': function (isEntityOrRef, convertToDatabaseValue_id) {
4330
4305
  // compiled pk getter (with converted custom types) for entity TermsContentEntity
4331
4306
  return function (entity) {
4332
4307
  return convertToDatabaseValue_id(entity.id);
4333
4308
  };
4334
4309
  },
4335
- 'pkSerializer-terms_content_14000': function (isEntityOrRef, getCompositeKeyValue, getPrimaryKeyHash, convertToDatabaseValue_id) {
4310
+ 'pkSerializer-terms_content_15000': function (isEntityOrRef, getCompositeKeyValue, getPrimaryKeyHash, convertToDatabaseValue_id) {
4336
4311
  // compiled pk serializer for entity TermsContentEntity
4337
4312
  return function (entity) {
4338
- const val_8 = convertToDatabaseValue_id(entity.id);
4339
- return getPrimaryKeyHash(val_8);
4313
+ const val_7 = convertToDatabaseValue_id(entity.id);
4314
+ return getPrimaryKeyHash(val_7);
4340
4315
  };
4341
4316
  },
4342
- 'hydrator-revoked_tokens_9000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, oauth_client_205, oauth_client_206, user_207, user_208) {
4317
+ 'hydrator-revoked_tokens_10000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, oauth_client_205, oauth_client_206, user_207, user_208) {
4343
4318
  // compiled hydrator for entity RevokedTokenEntity ( normalized)
4344
4319
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
4345
4320
  if (data.id === null) {
@@ -4446,7 +4421,7 @@ export default {
4446
4421
  }
4447
4422
  };
4448
4423
  },
4449
- 'hydrator-revoked_tokens_9000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, oauth_client_216, oauth_client_217, user_218, user_219) {
4424
+ 'hydrator-revoked_tokens_10000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, oauth_client_216, oauth_client_217, user_218, user_219) {
4450
4425
  // compiled hydrator for entity RevokedTokenEntity ( normalized)
4451
4426
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
4452
4427
  if (data.id === null) {
@@ -4553,7 +4528,7 @@ export default {
4553
4528
  }
4554
4529
  };
4555
4530
  },
4556
- 'comparator-revoked_tokens_9000': function (compareArrays, compareBooleans, compareBuffers, compareObjects, equals) {
4531
+ 'comparator-revoked_tokens_10000': function (compareArrays, compareBooleans, compareBuffers, compareObjects, equals) {
4557
4532
  // compiled comparator for entity RevokedTokenEntity
4558
4533
  return function (last, current, options) {
4559
4534
  const diff = {};
@@ -4661,7 +4636,7 @@ export default {
4661
4636
  return diff;
4662
4637
  };
4663
4638
  },
4664
- 'snapshotGenerator-revoked_tokens_9000': function (clone, cloneEmbeddable, convertToDatabaseValue_id, processDateProperty, toArray, EntityIdentifier) {
4639
+ 'snapshotGenerator-revoked_tokens_10000': function (clone, cloneEmbeddable, convertToDatabaseValue_id, processDateProperty, toArray, EntityIdentifier) {
4665
4640
  return function (entity) {
4666
4641
  const ret = {};
4667
4642
  if (typeof entity.id !== 'undefined') {
@@ -4710,7 +4685,7 @@ export default {
4710
4685
  return ret;
4711
4686
  };
4712
4687
  },
4713
- 'resultMapper-revoked_tokens_9000': function (PolymorphicRef, parseDate) {
4688
+ 'resultMapper-revoked_tokens_10000': function (PolymorphicRef, parseDate) {
4714
4689
  // compiled mapper for entity RevokedTokenEntity
4715
4690
  return function (result) {
4716
4691
  const ret = {};
@@ -4802,7 +4777,7 @@ export default {
4802
4777
  return ret;
4803
4778
  };
4804
4779
  },
4805
- 'hydrator-revoked_tokens_9000-reference-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
4780
+ 'hydrator-revoked_tokens_10000-reference-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
4806
4781
  // compiled hydrator for entity RevokedTokenEntity ( normalized)
4807
4782
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
4808
4783
  if (data.id === null) {
@@ -4819,7 +4794,7 @@ export default {
4819
4794
  }
4820
4795
  };
4821
4796
  },
4822
- 'hydrator-revoked_tokens_9000-reference-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
4797
+ 'hydrator-revoked_tokens_10000-reference-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
4823
4798
  // compiled hydrator for entity RevokedTokenEntity ( normalized)
4824
4799
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
4825
4800
  if (data.id === null) {
@@ -4836,26 +4811,26 @@ export default {
4836
4811
  }
4837
4812
  };
4838
4813
  },
4839
- 'pkGetter-revoked_tokens_9000': function (isEntityOrRef) {
4814
+ 'pkGetter-revoked_tokens_10000': function (isEntityOrRef) {
4840
4815
  // compiled pk getter for entity RevokedTokenEntity
4841
4816
  return function (entity) {
4842
4817
  return entity.id;
4843
4818
  };
4844
4819
  },
4845
- 'pkGetterConverted-revoked_tokens_9000': function (isEntityOrRef, convertToDatabaseValue_id) {
4820
+ 'pkGetterConverted-revoked_tokens_10000': function (isEntityOrRef, convertToDatabaseValue_id) {
4846
4821
  // compiled pk getter (with converted custom types) for entity RevokedTokenEntity
4847
4822
  return function (entity) {
4848
4823
  return convertToDatabaseValue_id(entity.id);
4849
4824
  };
4850
4825
  },
4851
- 'pkSerializer-revoked_tokens_9000': function (isEntityOrRef, getCompositeKeyValue, getPrimaryKeyHash, convertToDatabaseValue_id) {
4826
+ 'pkSerializer-revoked_tokens_10000': function (isEntityOrRef, getCompositeKeyValue, getPrimaryKeyHash, convertToDatabaseValue_id) {
4852
4827
  // compiled pk serializer for entity RevokedTokenEntity
4853
4828
  return function (entity) {
4854
- const val_9 = convertToDatabaseValue_id(entity.id);
4855
- return getPrimaryKeyHash(val_9);
4829
+ const val_8 = convertToDatabaseValue_id(entity.id);
4830
+ return getPrimaryKeyHash(val_8);
4856
4831
  };
4857
4832
  },
4858
- 'hydrator-pending_oauth_registration_13000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, convertToJSValue_userInfo, convertToDatabaseValue_userInfo) {
4833
+ 'hydrator-pending_oauth_registration_14000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, convertToJSValue_userInfo, convertToDatabaseValue_userInfo) {
4859
4834
  // compiled hydrator for entity PendingOAuthRegistrationEntity ( normalized)
4860
4835
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
4861
4836
  if (data.id === null) {
@@ -4969,7 +4944,7 @@ export default {
4969
4944
  }
4970
4945
  };
4971
4946
  },
4972
- 'hydrator-pending_oauth_registration_13000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, convertToJSValue_userInfo, convertToDatabaseValue_userInfo) {
4947
+ 'hydrator-pending_oauth_registration_14000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, convertToJSValue_userInfo, convertToDatabaseValue_userInfo) {
4973
4948
  // compiled hydrator for entity PendingOAuthRegistrationEntity ( normalized)
4974
4949
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
4975
4950
  if (data.id === null) {
@@ -5083,7 +5058,7 @@ export default {
5083
5058
  }
5084
5059
  };
5085
5060
  },
5086
- 'comparator-pending_oauth_registration_13000': function (compareArrays, compareBooleans, compareBuffers, compareObjects, equals) {
5061
+ 'comparator-pending_oauth_registration_14000': function (compareArrays, compareBooleans, compareBuffers, compareObjects, equals) {
5087
5062
  // compiled comparator for entity PendingOAuthRegistrationEntity
5088
5063
  return function (last, current, options) {
5089
5064
  const diff = {};
@@ -5224,7 +5199,7 @@ export default {
5224
5199
  return diff;
5225
5200
  };
5226
5201
  },
5227
- 'snapshotGenerator-pending_oauth_registration_13000': function (clone, cloneEmbeddable, convertToDatabaseValue_id, processDateProperty, convertToDatabaseValue_userInfo) {
5202
+ 'snapshotGenerator-pending_oauth_registration_14000': function (clone, cloneEmbeddable, convertToDatabaseValue_id, processDateProperty, convertToDatabaseValue_userInfo) {
5228
5203
  return function (entity) {
5229
5204
  const ret = {};
5230
5205
  if (typeof entity.id !== 'undefined') {
@@ -5266,7 +5241,7 @@ export default {
5266
5241
  return ret;
5267
5242
  };
5268
5243
  },
5269
- 'resultMapper-pending_oauth_registration_13000': function (PolymorphicRef, parseDate) {
5244
+ 'resultMapper-pending_oauth_registration_14000': function (PolymorphicRef, parseDate) {
5270
5245
  // compiled mapper for entity PendingOAuthRegistrationEntity
5271
5246
  return function (result) {
5272
5247
  const ret = {};
@@ -5359,7 +5334,7 @@ export default {
5359
5334
  return ret;
5360
5335
  };
5361
5336
  },
5362
- 'hydrator-pending_oauth_registration_13000-reference-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
5337
+ 'hydrator-pending_oauth_registration_14000-reference-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
5363
5338
  // compiled hydrator for entity PendingOAuthRegistrationEntity ( normalized)
5364
5339
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
5365
5340
  if (data.id === null) {
@@ -5376,7 +5351,7 @@ export default {
5376
5351
  }
5377
5352
  };
5378
5353
  },
5379
- 'hydrator-pending_oauth_registration_13000-reference-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
5354
+ 'hydrator-pending_oauth_registration_14000-reference-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
5380
5355
  // compiled hydrator for entity PendingOAuthRegistrationEntity ( normalized)
5381
5356
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
5382
5357
  if (data.id === null) {
@@ -5393,26 +5368,26 @@ export default {
5393
5368
  }
5394
5369
  };
5395
5370
  },
5396
- 'pkGetter-pending_oauth_registration_13000': function (isEntityOrRef) {
5371
+ 'pkGetter-pending_oauth_registration_14000': function (isEntityOrRef) {
5397
5372
  // compiled pk getter for entity PendingOAuthRegistrationEntity
5398
5373
  return function (entity) {
5399
5374
  return entity.id;
5400
5375
  };
5401
5376
  },
5402
- 'pkGetterConverted-pending_oauth_registration_13000': function (isEntityOrRef, convertToDatabaseValue_id) {
5377
+ 'pkGetterConverted-pending_oauth_registration_14000': function (isEntityOrRef, convertToDatabaseValue_id) {
5403
5378
  // compiled pk getter (with converted custom types) for entity PendingOAuthRegistrationEntity
5404
5379
  return function (entity) {
5405
5380
  return convertToDatabaseValue_id(entity.id);
5406
5381
  };
5407
5382
  },
5408
- 'pkSerializer-pending_oauth_registration_13000': function (isEntityOrRef, getCompositeKeyValue, getPrimaryKeyHash, convertToDatabaseValue_id) {
5383
+ 'pkSerializer-pending_oauth_registration_14000': function (isEntityOrRef, getCompositeKeyValue, getPrimaryKeyHash, convertToDatabaseValue_id) {
5409
5384
  // compiled pk serializer for entity PendingOAuthRegistrationEntity
5410
5385
  return function (entity) {
5411
- const val_10 = convertToDatabaseValue_id(entity.id);
5412
- return getPrimaryKeyHash(val_10);
5386
+ const val_9 = convertToDatabaseValue_id(entity.id);
5387
+ return getPrimaryKeyHash(val_9);
5413
5388
  };
5414
5389
  },
5415
- 'hydrator-password_reset_12000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_253, user_254) {
5390
+ 'hydrator-password_reset_13000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_253, user_254) {
5416
5391
  // compiled hydrator for entity PasswordResetEntity ( normalized)
5417
5392
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
5418
5393
  if (data.id === null) {
@@ -5508,7 +5483,7 @@ export default {
5508
5483
  }
5509
5484
  };
5510
5485
  },
5511
- 'hydrator-password_reset_12000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_262, user_263) {
5486
+ 'hydrator-password_reset_13000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_262, user_263) {
5512
5487
  // compiled hydrator for entity PasswordResetEntity ( normalized)
5513
5488
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
5514
5489
  if (data.id === null) {
@@ -5604,7 +5579,7 @@ export default {
5604
5579
  }
5605
5580
  };
5606
5581
  },
5607
- 'comparator-password_reset_12000': function (compareArrays, compareBooleans, compareBuffers, compareObjects, equals) {
5582
+ 'comparator-password_reset_13000': function (compareArrays, compareBooleans, compareBuffers, compareObjects, equals) {
5608
5583
  // compiled comparator for entity PasswordResetEntity
5609
5584
  return function (last, current, options) {
5610
5585
  const diff = {};
@@ -5701,7 +5676,7 @@ export default {
5701
5676
  return diff;
5702
5677
  };
5703
5678
  },
5704
- 'snapshotGenerator-password_reset_12000': function (clone, cloneEmbeddable, convertToDatabaseValue_id, processDateProperty, toArray, EntityIdentifier) {
5679
+ 'snapshotGenerator-password_reset_13000': function (clone, cloneEmbeddable, convertToDatabaseValue_id, processDateProperty, toArray, EntityIdentifier) {
5705
5680
  return function (entity) {
5706
5681
  const ret = {};
5707
5682
  if (typeof entity.id !== 'undefined') {
@@ -5739,7 +5714,7 @@ export default {
5739
5714
  return ret;
5740
5715
  };
5741
5716
  },
5742
- 'resultMapper-password_reset_12000': function (PolymorphicRef, parseDate) {
5717
+ 'resultMapper-password_reset_13000': function (PolymorphicRef, parseDate) {
5743
5718
  // compiled mapper for entity PasswordResetEntity
5744
5719
  return function (result) {
5745
5720
  const ret = {};
@@ -5827,7 +5802,7 @@ export default {
5827
5802
  return ret;
5828
5803
  };
5829
5804
  },
5830
- 'hydrator-password_reset_12000-reference-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
5805
+ 'hydrator-password_reset_13000-reference-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
5831
5806
  // compiled hydrator for entity PasswordResetEntity ( normalized)
5832
5807
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
5833
5808
  if (data.id === null) {
@@ -5844,7 +5819,7 @@ export default {
5844
5819
  }
5845
5820
  };
5846
5821
  },
5847
- 'hydrator-password_reset_12000-reference-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
5822
+ 'hydrator-password_reset_13000-reference-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
5848
5823
  // compiled hydrator for entity PasswordResetEntity ( normalized)
5849
5824
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
5850
5825
  if (data.id === null) {
@@ -5861,26 +5836,26 @@ export default {
5861
5836
  }
5862
5837
  };
5863
5838
  },
5864
- 'pkGetter-password_reset_12000': function (isEntityOrRef) {
5839
+ 'pkGetter-password_reset_13000': function (isEntityOrRef) {
5865
5840
  // compiled pk getter for entity PasswordResetEntity
5866
5841
  return function (entity) {
5867
5842
  return entity.id;
5868
5843
  };
5869
5844
  },
5870
- 'pkGetterConverted-password_reset_12000': function (isEntityOrRef, convertToDatabaseValue_id) {
5845
+ 'pkGetterConverted-password_reset_13000': function (isEntityOrRef, convertToDatabaseValue_id) {
5871
5846
  // compiled pk getter (with converted custom types) for entity PasswordResetEntity
5872
5847
  return function (entity) {
5873
5848
  return convertToDatabaseValue_id(entity.id);
5874
5849
  };
5875
5850
  },
5876
- 'pkSerializer-password_reset_12000': function (isEntityOrRef, getCompositeKeyValue, getPrimaryKeyHash, convertToDatabaseValue_id) {
5851
+ 'pkSerializer-password_reset_13000': function (isEntityOrRef, getCompositeKeyValue, getPrimaryKeyHash, convertToDatabaseValue_id) {
5877
5852
  // compiled pk serializer for entity PasswordResetEntity
5878
5853
  return function (entity) {
5879
- const val_11 = convertToDatabaseValue_id(entity.id);
5880
- return getPrimaryKeyHash(val_11);
5854
+ const val_10 = convertToDatabaseValue_id(entity.id);
5855
+ return getPrimaryKeyHash(val_10);
5881
5856
  };
5882
5857
  },
5883
- 'hydrator-oauth_code_8000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, oauth_client_274, oauth_client_275, user_276, user_277, convertToJSValue_scope, convertToDatabaseValue_scope) {
5858
+ 'hydrator-oauth_code_9000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, oauth_client_274, oauth_client_275, user_276, user_277, convertToJSValue_scope, convertToDatabaseValue_scope) {
5884
5859
  // compiled hydrator for entity OAuthCodeEntity ( normalized)
5885
5860
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
5886
5861
  if (data.id === null) {
@@ -6024,7 +5999,7 @@ export default {
6024
5999
  }
6025
6000
  };
6026
6001
  },
6027
- 'hydrator-oauth_code_8000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, oauth_client_290, oauth_client_291, user_292, user_293, convertToJSValue_scope, convertToDatabaseValue_scope) {
6002
+ 'hydrator-oauth_code_9000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, oauth_client_290, oauth_client_291, user_292, user_293, convertToJSValue_scope, convertToDatabaseValue_scope) {
6028
6003
  // compiled hydrator for entity OAuthCodeEntity ( normalized)
6029
6004
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
6030
6005
  if (data.id === null) {
@@ -6168,7 +6143,7 @@ export default {
6168
6143
  }
6169
6144
  };
6170
6145
  },
6171
- 'comparator-oauth_code_8000': function (compareArrays, compareBooleans, compareBuffers, compareObjects, equals) {
6146
+ 'comparator-oauth_code_9000': function (compareArrays, compareBooleans, compareBuffers, compareObjects, equals) {
6172
6147
  // compiled comparator for entity OAuthCodeEntity
6173
6148
  return function (last, current, options) {
6174
6149
  const diff = {};
@@ -6331,7 +6306,7 @@ export default {
6331
6306
  return diff;
6332
6307
  };
6333
6308
  },
6334
- 'snapshotGenerator-oauth_code_8000': function (clone, cloneEmbeddable, convertToDatabaseValue_id, processDateProperty, toArray, EntityIdentifier, convertToDatabaseValue_scope) {
6309
+ 'snapshotGenerator-oauth_code_9000': function (clone, cloneEmbeddable, convertToDatabaseValue_id, processDateProperty, toArray, EntityIdentifier, convertToDatabaseValue_scope) {
6335
6310
  return function (entity) {
6336
6311
  const ret = {};
6337
6312
  if (typeof entity.id !== 'undefined') {
@@ -6395,7 +6370,7 @@ export default {
6395
6370
  return ret;
6396
6371
  };
6397
6372
  },
6398
- 'resultMapper-oauth_code_8000': function (PolymorphicRef, parseDate) {
6373
+ 'resultMapper-oauth_code_9000': function (PolymorphicRef, parseDate) {
6399
6374
  // compiled mapper for entity OAuthCodeEntity
6400
6375
  return function (result) {
6401
6376
  const ret = {};
@@ -6507,7 +6482,7 @@ export default {
6507
6482
  return ret;
6508
6483
  };
6509
6484
  },
6510
- 'hydrator-oauth_code_8000-reference-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
6485
+ 'hydrator-oauth_code_9000-reference-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
6511
6486
  // compiled hydrator for entity OAuthCodeEntity ( normalized)
6512
6487
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
6513
6488
  if (data.id === null) {
@@ -6524,7 +6499,7 @@ export default {
6524
6499
  }
6525
6500
  };
6526
6501
  },
6527
- 'hydrator-oauth_code_8000-reference-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
6502
+ 'hydrator-oauth_code_9000-reference-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
6528
6503
  // compiled hydrator for entity OAuthCodeEntity ( normalized)
6529
6504
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
6530
6505
  if (data.id === null) {
@@ -6541,39 +6516,33 @@ export default {
6541
6516
  }
6542
6517
  };
6543
6518
  },
6544
- 'pkGetter-oauth_code_8000': function (isEntityOrRef) {
6519
+ 'pkGetter-oauth_code_9000': function (isEntityOrRef) {
6545
6520
  // compiled pk getter for entity OAuthCodeEntity
6546
6521
  return function (entity) {
6547
6522
  return entity.id;
6548
6523
  };
6549
6524
  },
6550
- 'pkGetterConverted-oauth_code_8000': function (isEntityOrRef, convertToDatabaseValue_id) {
6525
+ 'pkGetterConverted-oauth_code_9000': function (isEntityOrRef, convertToDatabaseValue_id) {
6551
6526
  // compiled pk getter (with converted custom types) for entity OAuthCodeEntity
6552
6527
  return function (entity) {
6553
6528
  return convertToDatabaseValue_id(entity.id);
6554
6529
  };
6555
6530
  },
6556
- 'pkSerializer-oauth_code_8000': function (isEntityOrRef, getCompositeKeyValue, getPrimaryKeyHash, convertToDatabaseValue_id) {
6531
+ 'pkSerializer-oauth_code_9000': function (isEntityOrRef, getCompositeKeyValue, getPrimaryKeyHash, convertToDatabaseValue_id) {
6557
6532
  // compiled pk serializer for entity OAuthCodeEntity
6558
6533
  return function (entity) {
6559
- const val_12 = convertToDatabaseValue_id(entity.id);
6560
- return getPrimaryKeyHash(val_12);
6534
+ const val_11 = convertToDatabaseValue_id(entity.id);
6535
+ return getPrimaryKeyHash(val_11);
6561
6536
  };
6562
6537
  },
6563
- 'hydrator-oauth_client_11000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, convertToJSValue_grantTypes, convertToDatabaseValue_grantTypes, convertToJSValue_responseTypes, convertToDatabaseValue_responseTypes, convertToJSValue_scopes, convertToDatabaseValue_scopes, convertToJSValue_redirectUris, convertToDatabaseValue_redirectUris, oauth_code_317, user_consent_318, revoked_tokens_319) {
6538
+ 'hydrator-oauth_client_12000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_grantTypes, convertToDatabaseValue_grantTypes, convertToJSValue_responseTypes, convertToDatabaseValue_responseTypes, convertToJSValue_scopes, convertToDatabaseValue_scopes, convertToJSValue_redirectUris, convertToDatabaseValue_redirectUris, oauth_code_317, user_consent_318, revoked_tokens_319) {
6564
6539
  // compiled hydrator for entity OAuthClientEntity ( normalized)
6565
6540
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
6566
6541
  if (data.id === null) {
6567
6542
  entity.id = null;
6568
6543
  }
6569
6544
  else if (typeof data.id !== 'undefined') {
6570
- if (convertCustomTypes) {
6571
- const value = convertToJSValue_id(data.id);
6572
- entity.id = value;
6573
- }
6574
- else {
6575
- entity.id = data.id;
6576
- }
6545
+ entity.id = data.id;
6577
6546
  }
6578
6547
  if (data.created_at === null) {
6579
6548
  entity.created_at = null;
@@ -6774,20 +6743,14 @@ export default {
6774
6743
  }
6775
6744
  };
6776
6745
  },
6777
- 'hydrator-oauth_client_11000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, convertToJSValue_grantTypes, convertToDatabaseValue_grantTypes, convertToJSValue_responseTypes, convertToDatabaseValue_responseTypes, convertToJSValue_scopes, convertToDatabaseValue_scopes, convertToJSValue_redirectUris, convertToDatabaseValue_redirectUris, oauth_code_333, user_consent_334, revoked_tokens_335) {
6746
+ 'hydrator-oauth_client_12000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_grantTypes, convertToDatabaseValue_grantTypes, convertToJSValue_responseTypes, convertToDatabaseValue_responseTypes, convertToJSValue_scopes, convertToDatabaseValue_scopes, convertToJSValue_redirectUris, convertToDatabaseValue_redirectUris, oauth_code_333, user_consent_334, revoked_tokens_335) {
6778
6747
  // compiled hydrator for entity OAuthClientEntity ( normalized)
6779
6748
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
6780
6749
  if (data.id === null) {
6781
6750
  entity.id = null;
6782
6751
  }
6783
6752
  else if (typeof data.id !== 'undefined') {
6784
- if (convertCustomTypes) {
6785
- const value = convertToJSValue_id(data.id);
6786
- entity.id = value;
6787
- }
6788
- else {
6789
- entity.id = data.id;
6790
- }
6753
+ entity.id = data.id;
6791
6754
  }
6792
6755
  if (data.created_at === null) {
6793
6756
  entity.created_at = null;
@@ -6988,7 +6951,7 @@ export default {
6988
6951
  }
6989
6952
  };
6990
6953
  },
6991
- 'comparator-oauth_client_11000': function (compareArrays, compareBooleans, compareBuffers, compareObjects, equals) {
6954
+ 'comparator-oauth_client_12000': function (compareArrays, compareBooleans, compareBuffers, compareObjects, equals) {
6992
6955
  // compiled comparator for entity OAuthClientEntity
6993
6956
  return function (last, current, options) {
6994
6957
  const diff = {};
@@ -7140,11 +7103,11 @@ export default {
7140
7103
  return diff;
7141
7104
  };
7142
7105
  },
7143
- 'snapshotGenerator-oauth_client_11000': function (clone, cloneEmbeddable, convertToDatabaseValue_id, processDateProperty, convertToDatabaseValue_grantTypes, convertToDatabaseValue_responseTypes, convertToDatabaseValue_scopes, convertToDatabaseValue_redirectUris) {
7106
+ 'snapshotGenerator-oauth_client_12000': function (clone, cloneEmbeddable, processDateProperty, convertToDatabaseValue_grantTypes, convertToDatabaseValue_responseTypes, convertToDatabaseValue_scopes, convertToDatabaseValue_redirectUris) {
7144
7107
  return function (entity) {
7145
7108
  const ret = {};
7146
7109
  if (typeof entity.id !== 'undefined') {
7147
- ret.id = convertToDatabaseValue_id(entity.id);
7110
+ ret.id = entity.id;
7148
7111
  }
7149
7112
  if (typeof entity.created_at !== 'undefined') {
7150
7113
  ret.created_at = clone(processDateProperty(entity.created_at));
@@ -7185,7 +7148,7 @@ export default {
7185
7148
  return ret;
7186
7149
  };
7187
7150
  },
7188
- 'resultMapper-oauth_client_11000': function (PolymorphicRef, parseDate) {
7151
+ 'resultMapper-oauth_client_12000': function (PolymorphicRef, parseDate) {
7189
7152
  // compiled mapper for entity OAuthClientEntity
7190
7153
  return function (result) {
7191
7154
  const ret = {};
@@ -7271,60 +7234,47 @@ export default {
7271
7234
  return ret;
7272
7235
  };
7273
7236
  },
7274
- 'hydrator-oauth_client_11000-reference-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
7237
+ 'hydrator-oauth_client_12000-reference-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError) {
7275
7238
  // compiled hydrator for entity OAuthClientEntity ( normalized)
7276
7239
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
7277
7240
  if (data.id === null) {
7278
7241
  entity.id = null;
7279
7242
  }
7280
7243
  else if (typeof data.id !== 'undefined') {
7281
- if (convertCustomTypes) {
7282
- const value = convertToJSValue_id(data.id);
7283
- entity.id = value;
7284
- }
7285
- else {
7286
- entity.id = data.id;
7287
- }
7244
+ entity.id = data.id;
7288
7245
  }
7289
7246
  };
7290
7247
  },
7291
- 'hydrator-oauth_client_11000-reference-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
7248
+ 'hydrator-oauth_client_12000-reference-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError) {
7292
7249
  // compiled hydrator for entity OAuthClientEntity ( normalized)
7293
7250
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
7294
7251
  if (data.id === null) {
7295
7252
  entity.id = null;
7296
7253
  }
7297
7254
  else if (typeof data.id !== 'undefined') {
7298
- if (convertCustomTypes) {
7299
- const value = convertToJSValue_id(data.id);
7300
- entity.id = value;
7301
- }
7302
- else {
7303
- entity.id = data.id;
7304
- }
7255
+ entity.id = data.id;
7305
7256
  }
7306
7257
  };
7307
7258
  },
7308
- 'pkGetter-oauth_client_11000': function (isEntityOrRef) {
7259
+ 'pkGetter-oauth_client_12000': function (isEntityOrRef) {
7309
7260
  // compiled pk getter for entity OAuthClientEntity
7310
7261
  return function (entity) {
7311
7262
  return entity.id;
7312
7263
  };
7313
7264
  },
7314
- 'pkGetterConverted-oauth_client_11000': function (isEntityOrRef, convertToDatabaseValue_id) {
7265
+ 'pkGetterConverted-oauth_client_12000': function (isEntityOrRef) {
7315
7266
  // compiled pk getter (with converted custom types) for entity OAuthClientEntity
7316
7267
  return function (entity) {
7317
- return convertToDatabaseValue_id(entity.id);
7268
+ return entity.id;
7318
7269
  };
7319
7270
  },
7320
- 'pkSerializer-oauth_client_11000': function (isEntityOrRef, getCompositeKeyValue, getPrimaryKeyHash, convertToDatabaseValue_id) {
7271
+ 'pkSerializer-oauth_client_12000': function (isEntityOrRef, getCompositeKeyValue, getPrimaryKeyHash) {
7321
7272
  // compiled pk serializer for entity OAuthClientEntity
7322
7273
  return function (entity) {
7323
- const val_13 = convertToDatabaseValue_id(entity.id);
7324
- return getPrimaryKeyHash(val_13);
7274
+ return '' + entity.id;
7325
7275
  };
7326
7276
  },
7327
- 'hydrator-jwt_key_7000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError) {
7277
+ 'hydrator-jwt_key_8000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError) {
7328
7278
  // compiled hydrator for entity JwtKeyEntity ( normalized)
7329
7279
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
7330
7280
  if (data.kid === null) {
@@ -7443,7 +7393,7 @@ export default {
7443
7393
  }
7444
7394
  };
7445
7395
  },
7446
- 'hydrator-jwt_key_7000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError) {
7396
+ 'hydrator-jwt_key_8000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError) {
7447
7397
  // compiled hydrator for entity JwtKeyEntity ( normalized)
7448
7398
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
7449
7399
  if (data.kid === null) {
@@ -7562,7 +7512,7 @@ export default {
7562
7512
  }
7563
7513
  };
7564
7514
  },
7565
- 'comparator-jwt_key_7000': function (compareArrays, compareBooleans, compareBuffers, compareObjects, equals) {
7515
+ 'comparator-jwt_key_8000': function (compareArrays, compareBooleans, compareBuffers, compareObjects, equals) {
7566
7516
  // compiled comparator for entity JwtKeyEntity
7567
7517
  return function (last, current, options) {
7568
7518
  const diff = {};
@@ -7692,7 +7642,7 @@ export default {
7692
7642
  return diff;
7693
7643
  };
7694
7644
  },
7695
- 'snapshotGenerator-jwt_key_7000': function (clone, cloneEmbeddable, processDateProperty) {
7645
+ 'snapshotGenerator-jwt_key_8000': function (clone, cloneEmbeddable, processDateProperty) {
7696
7646
  return function (entity) {
7697
7647
  const ret = {};
7698
7648
  if (typeof entity.kid !== 'undefined') {
@@ -7731,7 +7681,7 @@ export default {
7731
7681
  return ret;
7732
7682
  };
7733
7683
  },
7734
- 'resultMapper-jwt_key_7000': function (PolymorphicRef, parseDate) {
7684
+ 'resultMapper-jwt_key_8000': function (PolymorphicRef, parseDate) {
7735
7685
  // compiled mapper for entity JwtKeyEntity
7736
7686
  return function (result) {
7737
7687
  const ret = {};
@@ -7853,7 +7803,7 @@ export default {
7853
7803
  return ret;
7854
7804
  };
7855
7805
  },
7856
- 'hydrator-jwt_key_7000-reference-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError) {
7806
+ 'hydrator-jwt_key_8000-reference-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError) {
7857
7807
  // compiled hydrator for entity JwtKeyEntity ( normalized)
7858
7808
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
7859
7809
  if (data.kid === null) {
@@ -7864,7 +7814,7 @@ export default {
7864
7814
  }
7865
7815
  };
7866
7816
  },
7867
- 'hydrator-jwt_key_7000-reference-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError) {
7817
+ 'hydrator-jwt_key_8000-reference-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError) {
7868
7818
  // compiled hydrator for entity JwtKeyEntity ( normalized)
7869
7819
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
7870
7820
  if (data.kid === null) {
@@ -7875,25 +7825,25 @@ export default {
7875
7825
  }
7876
7826
  };
7877
7827
  },
7878
- 'pkGetter-jwt_key_7000': function (isEntityOrRef) {
7828
+ 'pkGetter-jwt_key_8000': function (isEntityOrRef) {
7879
7829
  // compiled pk getter for entity JwtKeyEntity
7880
7830
  return function (entity) {
7881
7831
  return entity.kid;
7882
7832
  };
7883
7833
  },
7884
- 'pkGetterConverted-jwt_key_7000': function (isEntityOrRef) {
7834
+ 'pkGetterConverted-jwt_key_8000': function (isEntityOrRef) {
7885
7835
  // compiled pk getter (with converted custom types) for entity JwtKeyEntity
7886
7836
  return function (entity) {
7887
7837
  return entity.kid;
7888
7838
  };
7889
7839
  },
7890
- 'pkSerializer-jwt_key_7000': function (isEntityOrRef, getCompositeKeyValue, getPrimaryKeyHash) {
7840
+ 'pkSerializer-jwt_key_8000': function (isEntityOrRef, getCompositeKeyValue, getPrimaryKeyHash) {
7891
7841
  // compiled pk serializer for entity JwtKeyEntity
7892
7842
  return function (entity) {
7893
7843
  return '' + entity.kid;
7894
7844
  };
7895
7845
  },
7896
- 'hydrator-email_verification_6000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_365, user_366) {
7846
+ 'hydrator-email_verification_7000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_365, user_366) {
7897
7847
  // compiled hydrator for entity EmailVerificationEntity ( normalized)
7898
7848
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
7899
7849
  if (data.id === null) {
@@ -7989,7 +7939,7 @@ export default {
7989
7939
  }
7990
7940
  };
7991
7941
  },
7992
- 'hydrator-email_verification_6000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_374, user_375) {
7942
+ 'hydrator-email_verification_7000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id, user_374, user_375) {
7993
7943
  // compiled hydrator for entity EmailVerificationEntity ( normalized)
7994
7944
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
7995
7945
  if (data.id === null) {
@@ -8085,7 +8035,7 @@ export default {
8085
8035
  }
8086
8036
  };
8087
8037
  },
8088
- 'comparator-email_verification_6000': function (compareArrays, compareBooleans, compareBuffers, compareObjects, equals) {
8038
+ 'comparator-email_verification_7000': function (compareArrays, compareBooleans, compareBuffers, compareObjects, equals) {
8089
8039
  // compiled comparator for entity EmailVerificationEntity
8090
8040
  return function (last, current, options) {
8091
8041
  const diff = {};
@@ -8182,7 +8132,7 @@ export default {
8182
8132
  return diff;
8183
8133
  };
8184
8134
  },
8185
- 'snapshotGenerator-email_verification_6000': function (clone, cloneEmbeddable, convertToDatabaseValue_id, processDateProperty, toArray, EntityIdentifier) {
8135
+ 'snapshotGenerator-email_verification_7000': function (clone, cloneEmbeddable, convertToDatabaseValue_id, processDateProperty, toArray, EntityIdentifier) {
8186
8136
  return function (entity) {
8187
8137
  const ret = {};
8188
8138
  if (typeof entity.id !== 'undefined') {
@@ -8220,7 +8170,7 @@ export default {
8220
8170
  return ret;
8221
8171
  };
8222
8172
  },
8223
- 'resultMapper-email_verification_6000': function (PolymorphicRef, parseDate) {
8173
+ 'resultMapper-email_verification_7000': function (PolymorphicRef, parseDate) {
8224
8174
  // compiled mapper for entity EmailVerificationEntity
8225
8175
  return function (result) {
8226
8176
  const ret = {};
@@ -8308,7 +8258,7 @@ export default {
8308
8258
  return ret;
8309
8259
  };
8310
8260
  },
8311
- 'hydrator-email_verification_6000-reference-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
8261
+ 'hydrator-email_verification_7000-reference-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
8312
8262
  // compiled hydrator for entity EmailVerificationEntity ( normalized)
8313
8263
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
8314
8264
  if (data.id === null) {
@@ -8325,7 +8275,7 @@ export default {
8325
8275
  }
8326
8276
  };
8327
8277
  },
8328
- 'hydrator-email_verification_6000-reference-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
8278
+ 'hydrator-email_verification_7000-reference-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError, convertToJSValue_id, convertToDatabaseValue_id) {
8329
8279
  // compiled hydrator for entity EmailVerificationEntity ( normalized)
8330
8280
  return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
8331
8281
  if (data.id === null) {
@@ -8342,23 +8292,274 @@ export default {
8342
8292
  }
8343
8293
  };
8344
8294
  },
8345
- 'pkGetter-email_verification_6000': function (isEntityOrRef) {
8295
+ 'pkGetter-email_verification_7000': function (isEntityOrRef) {
8346
8296
  // compiled pk getter for entity EmailVerificationEntity
8347
8297
  return function (entity) {
8348
8298
  return entity.id;
8349
8299
  };
8350
8300
  },
8351
- 'pkGetterConverted-email_verification_6000': function (isEntityOrRef, convertToDatabaseValue_id) {
8301
+ 'pkGetterConverted-email_verification_7000': function (isEntityOrRef, convertToDatabaseValue_id) {
8352
8302
  // compiled pk getter (with converted custom types) for entity EmailVerificationEntity
8353
8303
  return function (entity) {
8354
8304
  return convertToDatabaseValue_id(entity.id);
8355
8305
  };
8356
8306
  },
8357
- 'pkSerializer-email_verification_6000': function (isEntityOrRef, getCompositeKeyValue, getPrimaryKeyHash, convertToDatabaseValue_id) {
8307
+ 'pkSerializer-email_verification_7000': function (isEntityOrRef, getCompositeKeyValue, getPrimaryKeyHash, convertToDatabaseValue_id) {
8358
8308
  // compiled pk serializer for entity EmailVerificationEntity
8359
8309
  return function (entity) {
8360
- const val_14 = convertToDatabaseValue_id(entity.id);
8361
- return getPrimaryKeyHash(val_14);
8310
+ const val_12 = convertToDatabaseValue_id(entity.id);
8311
+ return getPrimaryKeyHash(val_12);
8312
+ };
8313
+ },
8314
+ 'hydrator-bootstrap_state_1000-full-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError) {
8315
+ // compiled hydrator for entity BootstrapStateEntity ( normalized)
8316
+ return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
8317
+ if (data.id === null) {
8318
+ entity.id = null;
8319
+ }
8320
+ else if (typeof data.id !== 'undefined') {
8321
+ entity.id = data.id;
8322
+ }
8323
+ if (data.created_at === null) {
8324
+ entity.created_at = null;
8325
+ }
8326
+ else if (typeof data.created_at !== 'undefined') {
8327
+ if (data.created_at instanceof Date) {
8328
+ entity.created_at = data.created_at;
8329
+ }
8330
+ else if (typeof data.created_at === 'number' || data.created_at.includes('+') || data.created_at.lastIndexOf('-') > 10 || data.created_at.endsWith('Z')) {
8331
+ entity.created_at = new Date(data.created_at);
8332
+ }
8333
+ else {
8334
+ entity.created_at = new Date(data.created_at + 'Z');
8335
+ }
8336
+ }
8337
+ if (data.updated_at === null) {
8338
+ entity.updated_at = null;
8339
+ }
8340
+ else if (typeof data.updated_at !== 'undefined') {
8341
+ if (data.updated_at instanceof Date) {
8342
+ entity.updated_at = data.updated_at;
8343
+ }
8344
+ else if (typeof data.updated_at === 'number' || data.updated_at.includes('+') || data.updated_at.lastIndexOf('-') > 10 || data.updated_at.endsWith('Z')) {
8345
+ entity.updated_at = new Date(data.updated_at);
8346
+ }
8347
+ else {
8348
+ entity.updated_at = new Date(data.updated_at + 'Z');
8349
+ }
8350
+ }
8351
+ if (data.value === null) {
8352
+ entity.value = null;
8353
+ }
8354
+ else if (typeof data.value !== 'undefined') {
8355
+ entity.value = data.value;
8356
+ }
8357
+ };
8358
+ },
8359
+ 'hydrator-bootstrap_state_1000-full-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError) {
8360
+ // compiled hydrator for entity BootstrapStateEntity ( normalized)
8361
+ return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
8362
+ if (data.id === null) {
8363
+ entity.id = null;
8364
+ }
8365
+ else if (typeof data.id !== 'undefined') {
8366
+ entity.id = data.id;
8367
+ }
8368
+ if (data.created_at === null) {
8369
+ entity.created_at = null;
8370
+ }
8371
+ else if (typeof data.created_at !== 'undefined') {
8372
+ if (data.created_at instanceof Date) {
8373
+ entity.created_at = data.created_at;
8374
+ }
8375
+ else if (typeof data.created_at === 'number' || data.created_at.includes('+') || data.created_at.lastIndexOf('-') > 10 || data.created_at.endsWith('Z')) {
8376
+ entity.created_at = new Date(data.created_at);
8377
+ }
8378
+ else {
8379
+ entity.created_at = new Date(data.created_at + 'Z');
8380
+ }
8381
+ }
8382
+ if (data.updated_at === null) {
8383
+ entity.updated_at = null;
8384
+ }
8385
+ else if (typeof data.updated_at !== 'undefined') {
8386
+ if (data.updated_at instanceof Date) {
8387
+ entity.updated_at = data.updated_at;
8388
+ }
8389
+ else if (typeof data.updated_at === 'number' || data.updated_at.includes('+') || data.updated_at.lastIndexOf('-') > 10 || data.updated_at.endsWith('Z')) {
8390
+ entity.updated_at = new Date(data.updated_at);
8391
+ }
8392
+ else {
8393
+ entity.updated_at = new Date(data.updated_at + 'Z');
8394
+ }
8395
+ }
8396
+ if (data.value === null) {
8397
+ entity.value = null;
8398
+ }
8399
+ else if (typeof data.value !== 'undefined') {
8400
+ entity.value = data.value;
8401
+ }
8402
+ };
8403
+ },
8404
+ 'comparator-bootstrap_state_1000': function (compareArrays, compareBooleans, compareBuffers, compareObjects, equals) {
8405
+ // compiled comparator for entity BootstrapStateEntity
8406
+ return function (last, current, options) {
8407
+ const diff = {};
8408
+ if (current.id === null && last.id === undefined) {
8409
+ diff.id = current.id;
8410
+ }
8411
+ else if (current.id == null && last.id == null) {
8412
+ }
8413
+ else if ((current.id != null && last.id == null) || (current.id == null && last.id != null)) {
8414
+ diff.id = current.id;
8415
+ }
8416
+ else if (last.id !== current.id) {
8417
+ diff.id = current.id;
8418
+ }
8419
+ if (current.created_at === null && last.created_at === undefined) {
8420
+ diff.created_at = current.created_at;
8421
+ }
8422
+ else if (current.created_at == null && last.created_at == null) {
8423
+ }
8424
+ else if ((current.created_at != null && last.created_at == null) || (current.created_at == null && last.created_at != null)) {
8425
+ diff.created_at = current.created_at;
8426
+ }
8427
+ else if (last.created_at.valueOf() !== current.created_at.valueOf()) {
8428
+ diff.created_at = current.created_at;
8429
+ }
8430
+ if (current.updated_at === null && last.updated_at === undefined) {
8431
+ diff.updated_at = current.updated_at;
8432
+ }
8433
+ else if (current.updated_at == null && last.updated_at == null) {
8434
+ }
8435
+ else if ((current.updated_at != null && last.updated_at == null) || (current.updated_at == null && last.updated_at != null)) {
8436
+ diff.updated_at = current.updated_at;
8437
+ }
8438
+ else if (last.updated_at.valueOf() !== current.updated_at.valueOf()) {
8439
+ diff.updated_at = current.updated_at;
8440
+ }
8441
+ if (current.value === null && last.value === undefined) {
8442
+ diff.value = current.value;
8443
+ }
8444
+ else if (current.value == null && last.value == null) {
8445
+ }
8446
+ else if ((current.value != null && last.value == null) || (current.value == null && last.value != null)) {
8447
+ diff.value = current.value;
8448
+ }
8449
+ else if (last.value !== current.value) {
8450
+ diff.value = current.value;
8451
+ }
8452
+ if (options?.includeInverseSides) {
8453
+ }
8454
+ return diff;
8455
+ };
8456
+ },
8457
+ 'snapshotGenerator-bootstrap_state_1000': function (clone, cloneEmbeddable, processDateProperty) {
8458
+ return function (entity) {
8459
+ const ret = {};
8460
+ if (typeof entity.id !== 'undefined') {
8461
+ ret.id = entity.id;
8462
+ }
8463
+ if (typeof entity.created_at !== 'undefined') {
8464
+ ret.created_at = clone(processDateProperty(entity.created_at));
8465
+ }
8466
+ if (typeof entity.updated_at !== 'undefined') {
8467
+ ret.updated_at = clone(processDateProperty(entity.updated_at));
8468
+ }
8469
+ if (typeof entity.value !== 'undefined') {
8470
+ ret.value = entity.value;
8471
+ }
8472
+ return ret;
8473
+ };
8474
+ },
8475
+ 'resultMapper-bootstrap_state_1000': function (PolymorphicRef, parseDate) {
8476
+ // compiled mapper for entity BootstrapStateEntity
8477
+ return function (result) {
8478
+ const ret = {};
8479
+ const mapped = {};
8480
+ if (typeof result.id !== 'undefined') {
8481
+ ret.id = result.id;
8482
+ mapped.id = true;
8483
+ }
8484
+ if (typeof result.created_at !== 'undefined') {
8485
+ if (result.created_at == null || result.created_at instanceof Date) {
8486
+ ret.created_at = result.created_at;
8487
+ }
8488
+ else if (typeof result.created_at === 'bigint') {
8489
+ ret.created_at = parseDate(Number(result.created_at));
8490
+ }
8491
+ else if (typeof result.created_at === 'number' || result.created_at.includes('+') || result.created_at.lastIndexOf('-') > 10 || result.created_at.endsWith('Z')) {
8492
+ ret.created_at = parseDate(result.created_at);
8493
+ }
8494
+ else {
8495
+ ret.created_at = parseDate(result.created_at + 'Z');
8496
+ }
8497
+ mapped.created_at = true;
8498
+ }
8499
+ if (typeof result.updated_at !== 'undefined') {
8500
+ if (result.updated_at == null || result.updated_at instanceof Date) {
8501
+ ret.updated_at = result.updated_at;
8502
+ }
8503
+ else if (typeof result.updated_at === 'bigint') {
8504
+ ret.updated_at = parseDate(Number(result.updated_at));
8505
+ }
8506
+ else if (typeof result.updated_at === 'number' || result.updated_at.includes('+') || result.updated_at.lastIndexOf('-') > 10 || result.updated_at.endsWith('Z')) {
8507
+ ret.updated_at = parseDate(result.updated_at);
8508
+ }
8509
+ else {
8510
+ ret.updated_at = parseDate(result.updated_at + 'Z');
8511
+ }
8512
+ mapped.updated_at = true;
8513
+ }
8514
+ if (typeof result.value !== 'undefined') {
8515
+ ret.value = result.value;
8516
+ mapped.value = true;
8517
+ }
8518
+ for (let k in result) {
8519
+ if (Object.hasOwn(result, k) && !mapped[k] && ret[k] === undefined)
8520
+ ret[k] = result[k];
8521
+ }
8522
+ return ret;
8523
+ };
8524
+ },
8525
+ 'hydrator-bootstrap_state_1000-reference-false': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError) {
8526
+ // compiled hydrator for entity BootstrapStateEntity ( normalized)
8527
+ return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
8528
+ if (data.id === null) {
8529
+ entity.id = null;
8530
+ }
8531
+ else if (typeof data.id !== 'undefined') {
8532
+ entity.id = data.id;
8533
+ }
8534
+ };
8535
+ },
8536
+ 'hydrator-bootstrap_state_1000-reference-true': function (isPrimaryKey, isEntity, isScalarReference, Collection, Reference, PolymorphicRef, ValidationError) {
8537
+ // compiled hydrator for entity BootstrapStateEntity ( normalized)
8538
+ return function (entity, data, factory, newEntity, convertCustomTypes, schema, parentSchema, normalizeAccessors) {
8539
+ if (data.id === null) {
8540
+ entity.id = null;
8541
+ }
8542
+ else if (typeof data.id !== 'undefined') {
8543
+ entity.id = data.id;
8544
+ }
8545
+ };
8546
+ },
8547
+ 'pkGetter-bootstrap_state_1000': function (isEntityOrRef) {
8548
+ // compiled pk getter for entity BootstrapStateEntity
8549
+ return function (entity) {
8550
+ return entity.id;
8551
+ };
8552
+ },
8553
+ 'pkGetterConverted-bootstrap_state_1000': function (isEntityOrRef) {
8554
+ // compiled pk getter (with converted custom types) for entity BootstrapStateEntity
8555
+ return function (entity) {
8556
+ return entity.id;
8557
+ };
8558
+ },
8559
+ 'pkSerializer-bootstrap_state_1000': function (isEntityOrRef, getCompositeKeyValue, getPrimaryKeyHash) {
8560
+ // compiled pk serializer for entity BootstrapStateEntity
8561
+ return function (entity) {
8562
+ return '' + entity.id;
8362
8563
  };
8363
8564
  }
8364
8565
  };