@terreno/api 57.2.0 → 57.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -7
- package/dist/actions.js +19 -7
- package/dist/api.d.ts +4 -0
- package/dist/api.js +12 -24
- package/dist/auth.d.ts +23 -10
- package/dist/auth.js +97 -32
- package/dist/authRecovery.d.ts +5 -0
- package/dist/authRecovery.js +350 -0
- package/dist/authTokens.d.ts +8 -0
- package/dist/authTokens.js +162 -0
- package/dist/betterAuth.d.ts +33 -0
- package/dist/betterAuthApp.d.ts +4 -0
- package/dist/betterAuthApp.js +26 -8
- package/dist/betterAuthSetup.d.ts +44 -2
- package/dist/betterAuthSetup.js +288 -18
- package/dist/collectionRegistry.d.ts +38 -0
- package/dist/collectionRegistry.js +72 -0
- package/dist/configurationApp.d.ts +11 -2
- package/dist/configurationApp.js +2 -4
- package/dist/docLoader.js +35 -6
- package/dist/expressServer.d.ts +26 -3
- package/dist/expressServer.js +79 -11
- package/dist/index.d.ts +16 -0
- package/dist/index.js +38 -2
- package/dist/mcp/auth.d.ts +1 -0
- package/dist/mcp/auth.js +47 -25
- package/dist/mcp/handlers.d.ts +1 -1
- package/dist/mcp/handlers.js +67 -233
- package/dist/mcp/query.d.ts +2 -2
- package/dist/mcp/registry.d.ts +1 -5
- package/dist/mcp/registry.js +31 -20
- package/dist/mcp/schemaGenerator.d.ts +2 -7
- package/dist/mcp/schemaGenerator.js +41 -116
- package/dist/mcp/server.d.ts +1 -0
- package/dist/mcp/server.js +1 -0
- package/dist/mcp/serviceTokens.d.ts +16 -0
- package/dist/mcp/serviceTokens.js +345 -0
- package/dist/mcp/types.d.ts +2 -2
- package/dist/models/mcpServiceToken.d.ts +3 -0
- package/dist/models/mcpServiceToken.js +208 -0
- package/dist/openApiBuilder.d.ts +5 -4
- package/dist/openApiBuilder.js +61 -8
- package/dist/openApiCompat.js +1 -1
- package/dist/openApiValidator.js +0 -2
- package/dist/plugins.d.ts +14 -1
- package/dist/plugins.js +17 -6
- package/dist/populate.d.ts +2 -2
- package/dist/populate.js +47 -42
- package/dist/rateLimit/applyTrustProxy.d.ts +3 -0
- package/dist/rateLimit/applyTrustProxy.js +17 -0
- package/dist/rateLimit/createStore.d.ts +2 -0
- package/dist/rateLimit/createStore.js +28 -0
- package/dist/rateLimit/memoryStore.d.ts +2 -0
- package/dist/rateLimit/memoryStore.js +108 -0
- package/dist/rateLimit/middleware.d.ts +11 -0
- package/dist/rateLimit/middleware.js +110 -0
- package/dist/rateLimit/mongoStore.d.ts +3 -0
- package/dist/rateLimit/mongoStore.js +122 -0
- package/dist/rateLimit/policies.d.ts +14 -0
- package/dist/rateLimit/policies.js +151 -0
- package/dist/rateLimit/redisStore.d.ts +3 -0
- package/dist/rateLimit/redisStore.js +155 -0
- package/dist/rateLimit/types.d.ts +54 -0
- package/dist/rateLimit/types.js +9 -0
- package/dist/rbac/access.js +5 -1
- package/dist/rbac/assertAllowed.d.ts +9 -0
- package/dist/rbac/assertAllowed.js +182 -0
- package/dist/rbac/modelRouterAccess.d.ts +1 -0
- package/dist/rbac/modelRouterAccess.js +8 -4
- package/dist/rbac/permissionUtils.js +3 -2
- package/dist/rbac/resolve.js +5 -4
- package/dist/rbac/routes.js +15 -6
- package/dist/realtime/deprecation.d.ts +12 -0
- package/dist/realtime/deprecation.js +32 -0
- package/dist/realtime/realtimeApp.d.ts +1 -1
- package/dist/realtime/realtimeApp.js +10 -11
- package/dist/realtime/registry.d.ts +0 -31
- package/dist/realtime/registry.js +44 -31
- package/dist/realtime/socketAuth.d.ts +5 -5
- package/dist/realtime/socketAuth.js +11 -1
- package/dist/realtime/socketUser.d.ts +5 -1
- package/dist/realtime/types.d.ts +14 -4
- package/dist/schemaMetadata.d.ts +56 -0
- package/dist/schemaMetadata.js +513 -0
- package/dist/seedRunner.d.ts +88 -0
- package/dist/seedRunner.js +627 -0
- package/dist/sync/executors.d.ts +12 -2
- package/dist/sync/executors.js +8 -10
- package/dist/sync/loadHarness.js +28 -19
- package/dist/sync/models.js +26 -24
- package/dist/sync/mutationHandler.d.ts +9 -0
- package/dist/sync/mutationHandler.js +11 -6
- package/dist/sync/registrationSideEffects.d.ts +35 -0
- package/dist/sync/registrationSideEffects.js +151 -0
- package/dist/sync/registry.d.ts +2 -52
- package/dist/sync/registry.js +38 -187
- package/dist/sync/routes.js +3 -2
- package/dist/sync/scripts/compactTombstones.js +0 -2
- package/dist/sync/syncApp.d.ts +3 -3
- package/dist/sync/syncApp.js +4 -4
- package/dist/sync/syncBatch.js +3 -2
- package/dist/sync/syncSeqPlugin.d.ts +1 -1
- package/dist/sync/syncSeqPlugin.js +20 -16
- package/dist/terrenoApp.d.ts +19 -5
- package/dist/terrenoApp.js +66 -18
- package/dist/tests/models.d.ts +2 -0
- package/dist/tests/models.js +6 -0
- package/dist/types/authToken.d.ts +33 -0
- package/dist/types/authToken.js +2 -0
- package/dist/types/mcpServiceToken.d.ts +41 -0
- package/dist/types/mcpServiceToken.js +2 -0
- package/dist/webhooks/headerValue.d.ts +2 -0
- package/dist/webhooks/headerValue.js +14 -0
- package/dist/webhooks/idempotency/memoryStore.d.ts +10 -0
- package/dist/webhooks/idempotency/memoryStore.js +65 -0
- package/dist/webhooks/idempotency/mongoStore.d.ts +4 -0
- package/dist/webhooks/idempotency/mongoStore.js +150 -0
- package/dist/webhooks/idempotency/webhookReceipt.d.ts +62 -0
- package/dist/webhooks/idempotency/webhookReceipt.js +39 -0
- package/dist/webhooks/rawBody.d.ts +14 -0
- package/dist/webhooks/rawBody.js +22 -0
- package/dist/webhooks/timingSafeEqual.d.ts +4 -0
- package/dist/webhooks/timingSafeEqual.js +17 -0
- package/dist/webhooks/verifiers/hmac.d.ts +15 -0
- package/dist/webhooks/verifiers/hmac.js +49 -0
- package/dist/webhooks/verifiers/sendgrid.d.ts +10 -0
- package/dist/webhooks/verifiers/sendgrid.js +56 -0
- package/dist/webhooks/verifiers/stripe.d.ts +9 -0
- package/dist/webhooks/verifiers/stripe.js +99 -0
- package/dist/webhooks/verifiers/twilio.d.ts +9 -0
- package/dist/webhooks/verifiers/twilio.js +112 -0
- package/dist/webhooks/webhooksApp.d.ts +33 -0
- package/dist/webhooks/webhooksApp.js +195 -0
- package/package.json +4 -5
- package/src/__snapshots__/openApi.test.ts.snap +270 -0
- package/src/__snapshots__/openApiBuilder.test.ts.snap +30 -12
- package/src/__snapshots__/schemaMetadata.test.ts.snap +197 -0
- package/src/actions.ts +20 -13
- package/src/adminModelRouter.test.ts +133 -0
- package/src/api.arrayOperations.test.ts +43 -31
- package/src/api.hooks.test.ts +38 -29
- package/src/api.query.test.ts +31 -31
- package/src/api.test.ts +95 -96
- package/src/api.ts +16 -27
- package/src/auth.test.ts +107 -51
- package/src/auth.ts +98 -29
- package/src/authRecovery.test.ts +281 -0
- package/src/authRecovery.ts +279 -0
- package/src/authTokens.test.ts +94 -0
- package/src/authTokens.ts +118 -0
- package/src/authVerification.test.ts +293 -0
- package/src/betterAuth.ts +24 -0
- package/src/betterAuthApp.test.ts +1 -0
- package/src/betterAuthApp.ts +27 -9
- package/src/betterAuthSetup.test.ts +568 -38
- package/src/betterAuthSetup.ts +260 -5
- package/src/collectionRegistry.test.ts +165 -0
- package/src/collectionRegistry.ts +115 -0
- package/src/configurationApp.ts +13 -7
- package/src/docLoader.test.ts +45 -1
- package/src/docLoader.ts +37 -6
- package/src/express.d.ts +1 -0
- package/src/expressServer.test.ts +130 -66
- package/src/expressServer.ts +75 -19
- package/src/githubAuth.test.ts +60 -55
- package/src/index.ts +58 -0
- package/src/mcp/auth.test.ts +47 -0
- package/src/mcp/auth.ts +32 -11
- package/src/mcp/handlers.ts +45 -172
- package/src/mcp/integration.test.ts +59 -9
- package/src/mcp/query.ts +2 -4
- package/src/mcp/registry.ts +29 -20
- package/src/mcp/schemaGenerator.test.ts +8 -0
- package/src/mcp/schemaGenerator.ts +49 -131
- package/src/mcp/server.ts +2 -0
- package/src/mcp/serviceTokens.test.ts +330 -0
- package/src/mcp/serviceTokens.ts +307 -0
- package/src/mcp/toolGenerator.test.ts +1 -1
- package/src/mcp/types.ts +2 -6
- package/src/models/mcpServiceToken.test.ts +129 -0
- package/src/models/mcpServiceToken.ts +158 -0
- package/src/openApi.test.ts +80 -64
- package/src/openApiBuilder.test.ts +95 -7
- package/src/openApiBuilder.ts +46 -9
- package/src/openApiCompat.ts +1 -1
- package/src/openApiValidator.test.ts +49 -54
- package/src/openApiValidator.ts +1 -3
- package/src/plugins.test.ts +14 -0
- package/src/plugins.ts +34 -9
- package/src/populate.test.ts +34 -0
- package/src/populate.ts +40 -29
- package/src/rateLimit/applyTrustProxy.ts +17 -0
- package/src/rateLimit/createStore.ts +25 -0
- package/src/rateLimit/memoryStore.ts +40 -0
- package/src/rateLimit/middleware.ts +79 -0
- package/src/rateLimit/mongoStore.test.ts +80 -0
- package/src/rateLimit/mongoStore.ts +76 -0
- package/src/rateLimit/policies.ts +130 -0
- package/src/rateLimit/rateLimit.test.ts +328 -0
- package/src/rateLimit/redisStore.ioredis.test.ts +29 -0
- package/src/rateLimit/redisStore.test.ts +114 -0
- package/src/rateLimit/redisStore.ts +85 -0
- package/src/rateLimit/types.ts +64 -0
- package/src/rbac/access.ts +5 -1
- package/src/rbac/assertAllowed.test.ts +325 -0
- package/src/rbac/assertAllowed.ts +157 -0
- package/src/rbac/backfillAdmins.test.ts +124 -0
- package/src/rbac/fieldViews.test.ts +89 -0
- package/src/rbac/modelRouterAccess.test.ts +126 -0
- package/src/rbac/modelRouterAccess.ts +5 -2
- package/src/rbac/permissionUtils.ts +3 -2
- package/src/rbac/realtimeAccess.test.ts +109 -1
- package/src/rbac/resolve.ts +5 -4
- package/src/rbac/roleManager.test.ts +169 -0
- package/src/rbac/routes.test.ts +233 -0
- package/src/rbac/routes.ts +16 -6
- package/src/realtime/deprecation.test.ts +60 -0
- package/src/realtime/deprecation.ts +32 -0
- package/src/realtime/realtime.test.ts +8 -4
- package/src/realtime/realtimeApp.ts +10 -11
- package/src/realtime/realtimeAppSetup.test.ts +32 -5
- package/src/realtime/registry.ts +48 -42
- package/src/realtime/sessionRevalidation.test.ts +57 -44
- package/src/realtime/socketAuth.test.ts +75 -23
- package/src/realtime/socketAuth.ts +17 -6
- package/src/realtime/socketUser.ts +5 -3
- package/src/realtime/types.ts +14 -4
- package/src/schemaMetadata.test.ts +405 -0
- package/src/schemaMetadata.ts +593 -0
- package/src/scrubAdminFields.test.ts +105 -0
- package/src/seedRunner.test.ts +591 -0
- package/src/seedRunner.ts +464 -0
- package/src/sync/docMatchesMutationData.test.ts +16 -0
- package/src/sync/ensureSyncIndexes.test.ts +54 -15
- package/src/sync/executors.test.ts +40 -0
- package/src/sync/executors.ts +24 -12
- package/src/sync/integration.test.ts +15 -7
- package/src/sync/loadHarness.ts +28 -19
- package/src/sync/models.ts +32 -18
- package/src/sync/mutationHandler.test.ts +16 -16
- package/src/sync/mutationHandler.ts +9 -7
- package/src/sync/registrationSideEffects.test.ts +126 -0
- package/src/sync/registrationSideEffects.ts +131 -0
- package/src/sync/registry.ts +45 -171
- package/src/sync/routes.ts +3 -2
- package/src/sync/scripts/compactTombstones.ts +0 -2
- package/src/sync/sessionRevalidationIntegration.test.ts +12 -11
- package/src/sync/sync.test.ts +25 -23
- package/src/sync/syncApp.ts +4 -4
- package/src/sync/syncBatch.ts +3 -2
- package/src/sync/syncFrontier.test.ts +17 -15
- package/src/sync/syncPhaseC.test.ts +54 -43
- package/src/sync/syncRoutes.test.ts +51 -36
- package/src/sync/syncSeqPlugin.ts +66 -44
- package/src/sync/syncSocket.test.ts +112 -81
- package/src/terrenoApp.mcpServiceTokens.test.ts +173 -0
- package/src/terrenoApp.ts +87 -15
- package/src/tests/models.ts +14 -1
- package/src/types/authToken.ts +43 -0
- package/src/types/mcpServiceToken.ts +54 -0
- package/src/webhooks/headerValue.test.ts +22 -0
- package/src/webhooks/headerValue.ts +12 -0
- package/src/webhooks/idempotency/memoryStore.ts +34 -0
- package/src/webhooks/idempotency/mongoStore.test.ts +274 -0
- package/src/webhooks/idempotency/mongoStore.ts +83 -0
- package/src/webhooks/idempotency/webhookReceipt.ts +70 -0
- package/src/webhooks/rawBody.test.ts +74 -0
- package/src/webhooks/rawBody.ts +23 -0
- package/src/webhooks/timingSafeEqual.ts +16 -0
- package/src/webhooks/verifiers/hmac.test.ts +110 -0
- package/src/webhooks/verifiers/hmac.ts +54 -0
- package/src/webhooks/verifiers/providerVerifiers.test.ts +388 -0
- package/src/webhooks/verifiers/sendgrid.ts +59 -0
- package/src/webhooks/verifiers/stripe.ts +67 -0
- package/src/webhooks/verifiers/twilio.ts +69 -0
- package/src/webhooks/webhooksApp.test.ts +221 -0
- package/src/webhooks/webhooksApp.ts +144 -0
|
@@ -233,6 +233,11 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
233
233
|
"email": {
|
|
234
234
|
"type": "string",
|
|
235
235
|
},
|
|
236
|
+
"emailVerified": {
|
|
237
|
+
"default": false,
|
|
238
|
+
"description": "Whether the user has verified their email address",
|
|
239
|
+
"type": "boolean",
|
|
240
|
+
},
|
|
236
241
|
"hash": {
|
|
237
242
|
"type": "string",
|
|
238
243
|
},
|
|
@@ -255,6 +260,11 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
255
260
|
"salt": {
|
|
256
261
|
"type": "string",
|
|
257
262
|
},
|
|
263
|
+
"tokenEpoch": {
|
|
264
|
+
"default": 0,
|
|
265
|
+
"description": "Incremented on password reset to invalidate outstanding refresh tokens",
|
|
266
|
+
"type": "number",
|
|
267
|
+
},
|
|
258
268
|
"updated": {
|
|
259
269
|
"description": "When this document was last updated",
|
|
260
270
|
"format": "date-time",
|
|
@@ -301,6 +311,7 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
301
311
|
},
|
|
302
312
|
"userId": {
|
|
303
313
|
"description": "The user who liked the item",
|
|
314
|
+
"format": "objectid",
|
|
304
315
|
"type": "string",
|
|
305
316
|
},
|
|
306
317
|
},
|
|
@@ -347,6 +358,11 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
347
358
|
"email": {
|
|
348
359
|
"type": "string",
|
|
349
360
|
},
|
|
361
|
+
"emailVerified": {
|
|
362
|
+
"default": false,
|
|
363
|
+
"description": "Whether the user has verified their email address",
|
|
364
|
+
"type": "boolean",
|
|
365
|
+
},
|
|
350
366
|
"hash": {
|
|
351
367
|
"type": "string",
|
|
352
368
|
},
|
|
@@ -369,6 +385,11 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
369
385
|
"salt": {
|
|
370
386
|
"type": "string",
|
|
371
387
|
},
|
|
388
|
+
"tokenEpoch": {
|
|
389
|
+
"default": 0,
|
|
390
|
+
"description": "Incremented on password reset to invalidate outstanding refresh tokens",
|
|
391
|
+
"type": "number",
|
|
392
|
+
},
|
|
372
393
|
"updated": {
|
|
373
394
|
"description": "When this document was last updated",
|
|
374
395
|
"format": "date-time",
|
|
@@ -396,6 +417,7 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
396
417
|
"type": "string",
|
|
397
418
|
},
|
|
398
419
|
},
|
|
420
|
+
"required": [],
|
|
399
421
|
"type": "object",
|
|
400
422
|
},
|
|
401
423
|
"tags": {
|
|
@@ -568,6 +590,11 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
568
590
|
"email": {
|
|
569
591
|
"type": "string",
|
|
570
592
|
},
|
|
593
|
+
"emailVerified": {
|
|
594
|
+
"default": false,
|
|
595
|
+
"description": "Whether the user has verified their email address",
|
|
596
|
+
"type": "boolean",
|
|
597
|
+
},
|
|
571
598
|
"hash": {
|
|
572
599
|
"type": "string",
|
|
573
600
|
},
|
|
@@ -590,6 +617,11 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
590
617
|
"salt": {
|
|
591
618
|
"type": "string",
|
|
592
619
|
},
|
|
620
|
+
"tokenEpoch": {
|
|
621
|
+
"default": 0,
|
|
622
|
+
"description": "Incremented on password reset to invalidate outstanding refresh tokens",
|
|
623
|
+
"type": "number",
|
|
624
|
+
},
|
|
593
625
|
"updated": {
|
|
594
626
|
"description": "When this document was last updated",
|
|
595
627
|
"format": "date-time",
|
|
@@ -636,6 +668,7 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
636
668
|
},
|
|
637
669
|
"userId": {
|
|
638
670
|
"description": "The user who liked the item",
|
|
671
|
+
"format": "objectid",
|
|
639
672
|
"type": "string",
|
|
640
673
|
},
|
|
641
674
|
},
|
|
@@ -682,6 +715,11 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
682
715
|
"email": {
|
|
683
716
|
"type": "string",
|
|
684
717
|
},
|
|
718
|
+
"emailVerified": {
|
|
719
|
+
"default": false,
|
|
720
|
+
"description": "Whether the user has verified their email address",
|
|
721
|
+
"type": "boolean",
|
|
722
|
+
},
|
|
685
723
|
"hash": {
|
|
686
724
|
"type": "string",
|
|
687
725
|
},
|
|
@@ -704,6 +742,11 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
704
742
|
"salt": {
|
|
705
743
|
"type": "string",
|
|
706
744
|
},
|
|
745
|
+
"tokenEpoch": {
|
|
746
|
+
"default": 0,
|
|
747
|
+
"description": "Incremented on password reset to invalidate outstanding refresh tokens",
|
|
748
|
+
"type": "number",
|
|
749
|
+
},
|
|
707
750
|
"updated": {
|
|
708
751
|
"description": "When this document was last updated",
|
|
709
752
|
"format": "date-time",
|
|
@@ -731,6 +774,7 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
731
774
|
"type": "string",
|
|
732
775
|
},
|
|
733
776
|
},
|
|
777
|
+
"required": [],
|
|
734
778
|
"type": "object",
|
|
735
779
|
},
|
|
736
780
|
"tags": {
|
|
@@ -832,6 +876,11 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
832
876
|
"email": {
|
|
833
877
|
"type": "string",
|
|
834
878
|
},
|
|
879
|
+
"emailVerified": {
|
|
880
|
+
"default": false,
|
|
881
|
+
"description": "Whether the user has verified their email address",
|
|
882
|
+
"type": "boolean",
|
|
883
|
+
},
|
|
835
884
|
"hash": {
|
|
836
885
|
"type": "string",
|
|
837
886
|
},
|
|
@@ -854,6 +903,11 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
854
903
|
"salt": {
|
|
855
904
|
"type": "string",
|
|
856
905
|
},
|
|
906
|
+
"tokenEpoch": {
|
|
907
|
+
"default": 0,
|
|
908
|
+
"description": "Incremented on password reset to invalidate outstanding refresh tokens",
|
|
909
|
+
"type": "number",
|
|
910
|
+
},
|
|
857
911
|
"updated": {
|
|
858
912
|
"description": "When this document was last updated",
|
|
859
913
|
"format": "date-time",
|
|
@@ -900,6 +954,7 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
900
954
|
},
|
|
901
955
|
"userId": {
|
|
902
956
|
"description": "The user who liked the item",
|
|
957
|
+
"format": "objectid",
|
|
903
958
|
"type": "string",
|
|
904
959
|
},
|
|
905
960
|
},
|
|
@@ -946,6 +1001,11 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
946
1001
|
"email": {
|
|
947
1002
|
"type": "string",
|
|
948
1003
|
},
|
|
1004
|
+
"emailVerified": {
|
|
1005
|
+
"default": false,
|
|
1006
|
+
"description": "Whether the user has verified their email address",
|
|
1007
|
+
"type": "boolean",
|
|
1008
|
+
},
|
|
949
1009
|
"hash": {
|
|
950
1010
|
"type": "string",
|
|
951
1011
|
},
|
|
@@ -968,6 +1028,11 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
968
1028
|
"salt": {
|
|
969
1029
|
"type": "string",
|
|
970
1030
|
},
|
|
1031
|
+
"tokenEpoch": {
|
|
1032
|
+
"default": 0,
|
|
1033
|
+
"description": "Incremented on password reset to invalidate outstanding refresh tokens",
|
|
1034
|
+
"type": "number",
|
|
1035
|
+
},
|
|
971
1036
|
"updated": {
|
|
972
1037
|
"description": "When this document was last updated",
|
|
973
1038
|
"format": "date-time",
|
|
@@ -995,6 +1060,7 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
995
1060
|
"type": "string",
|
|
996
1061
|
},
|
|
997
1062
|
},
|
|
1063
|
+
"required": [],
|
|
998
1064
|
"type": "object",
|
|
999
1065
|
},
|
|
1000
1066
|
"tags": {
|
|
@@ -1226,6 +1292,11 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
1226
1292
|
"email": {
|
|
1227
1293
|
"type": "string",
|
|
1228
1294
|
},
|
|
1295
|
+
"emailVerified": {
|
|
1296
|
+
"default": false,
|
|
1297
|
+
"description": "Whether the user has verified their email address",
|
|
1298
|
+
"type": "boolean",
|
|
1299
|
+
},
|
|
1229
1300
|
"hash": {
|
|
1230
1301
|
"type": "string",
|
|
1231
1302
|
},
|
|
@@ -1248,6 +1319,11 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
1248
1319
|
"salt": {
|
|
1249
1320
|
"type": "string",
|
|
1250
1321
|
},
|
|
1322
|
+
"tokenEpoch": {
|
|
1323
|
+
"default": 0,
|
|
1324
|
+
"description": "Incremented on password reset to invalidate outstanding refresh tokens",
|
|
1325
|
+
"type": "number",
|
|
1326
|
+
},
|
|
1251
1327
|
"updated": {
|
|
1252
1328
|
"description": "When this document was last updated",
|
|
1253
1329
|
"format": "date-time",
|
|
@@ -1294,6 +1370,7 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
1294
1370
|
},
|
|
1295
1371
|
"userId": {
|
|
1296
1372
|
"description": "The user who liked the item",
|
|
1373
|
+
"format": "objectid",
|
|
1297
1374
|
"type": "string",
|
|
1298
1375
|
},
|
|
1299
1376
|
},
|
|
@@ -1340,6 +1417,11 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
1340
1417
|
"email": {
|
|
1341
1418
|
"type": "string",
|
|
1342
1419
|
},
|
|
1420
|
+
"emailVerified": {
|
|
1421
|
+
"default": false,
|
|
1422
|
+
"description": "Whether the user has verified their email address",
|
|
1423
|
+
"type": "boolean",
|
|
1424
|
+
},
|
|
1343
1425
|
"hash": {
|
|
1344
1426
|
"type": "string",
|
|
1345
1427
|
},
|
|
@@ -1362,6 +1444,11 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
1362
1444
|
"salt": {
|
|
1363
1445
|
"type": "string",
|
|
1364
1446
|
},
|
|
1447
|
+
"tokenEpoch": {
|
|
1448
|
+
"default": 0,
|
|
1449
|
+
"description": "Incremented on password reset to invalidate outstanding refresh tokens",
|
|
1450
|
+
"type": "number",
|
|
1451
|
+
},
|
|
1365
1452
|
"updated": {
|
|
1366
1453
|
"description": "When this document was last updated",
|
|
1367
1454
|
"format": "date-time",
|
|
@@ -1389,6 +1476,7 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
1389
1476
|
"type": "string",
|
|
1390
1477
|
},
|
|
1391
1478
|
},
|
|
1479
|
+
"required": [],
|
|
1392
1480
|
"type": "object",
|
|
1393
1481
|
},
|
|
1394
1482
|
"tags": {
|
|
@@ -1554,6 +1642,11 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
1554
1642
|
"email": {
|
|
1555
1643
|
"type": "string",
|
|
1556
1644
|
},
|
|
1645
|
+
"emailVerified": {
|
|
1646
|
+
"default": false,
|
|
1647
|
+
"description": "Whether the user has verified their email address",
|
|
1648
|
+
"type": "boolean",
|
|
1649
|
+
},
|
|
1557
1650
|
"hash": {
|
|
1558
1651
|
"type": "string",
|
|
1559
1652
|
},
|
|
@@ -1576,6 +1669,11 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
1576
1669
|
"salt": {
|
|
1577
1670
|
"type": "string",
|
|
1578
1671
|
},
|
|
1672
|
+
"tokenEpoch": {
|
|
1673
|
+
"default": 0,
|
|
1674
|
+
"description": "Incremented on password reset to invalidate outstanding refresh tokens",
|
|
1675
|
+
"type": "number",
|
|
1676
|
+
},
|
|
1579
1677
|
"updated": {
|
|
1580
1678
|
"description": "When this document was last updated",
|
|
1581
1679
|
"format": "date-time",
|
|
@@ -1622,6 +1720,7 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
1622
1720
|
},
|
|
1623
1721
|
"userId": {
|
|
1624
1722
|
"description": "The user who liked the item",
|
|
1723
|
+
"format": "objectid",
|
|
1625
1724
|
"type": "string",
|
|
1626
1725
|
},
|
|
1627
1726
|
},
|
|
@@ -1668,6 +1767,11 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
1668
1767
|
"email": {
|
|
1669
1768
|
"type": "string",
|
|
1670
1769
|
},
|
|
1770
|
+
"emailVerified": {
|
|
1771
|
+
"default": false,
|
|
1772
|
+
"description": "Whether the user has verified their email address",
|
|
1773
|
+
"type": "boolean",
|
|
1774
|
+
},
|
|
1671
1775
|
"hash": {
|
|
1672
1776
|
"type": "string",
|
|
1673
1777
|
},
|
|
@@ -1690,6 +1794,11 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
1690
1794
|
"salt": {
|
|
1691
1795
|
"type": "string",
|
|
1692
1796
|
},
|
|
1797
|
+
"tokenEpoch": {
|
|
1798
|
+
"default": 0,
|
|
1799
|
+
"description": "Incremented on password reset to invalidate outstanding refresh tokens",
|
|
1800
|
+
"type": "number",
|
|
1801
|
+
},
|
|
1693
1802
|
"updated": {
|
|
1694
1803
|
"description": "When this document was last updated",
|
|
1695
1804
|
"format": "date-time",
|
|
@@ -1717,6 +1826,7 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
1717
1826
|
"type": "string",
|
|
1718
1827
|
},
|
|
1719
1828
|
},
|
|
1829
|
+
"required": [],
|
|
1720
1830
|
"type": "object",
|
|
1721
1831
|
},
|
|
1722
1832
|
"tags": {
|
|
@@ -1818,6 +1928,11 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
1818
1928
|
"email": {
|
|
1819
1929
|
"type": "string",
|
|
1820
1930
|
},
|
|
1931
|
+
"emailVerified": {
|
|
1932
|
+
"default": false,
|
|
1933
|
+
"description": "Whether the user has verified their email address",
|
|
1934
|
+
"type": "boolean",
|
|
1935
|
+
},
|
|
1821
1936
|
"hash": {
|
|
1822
1937
|
"type": "string",
|
|
1823
1938
|
},
|
|
@@ -1840,6 +1955,11 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
1840
1955
|
"salt": {
|
|
1841
1956
|
"type": "string",
|
|
1842
1957
|
},
|
|
1958
|
+
"tokenEpoch": {
|
|
1959
|
+
"default": 0,
|
|
1960
|
+
"description": "Incremented on password reset to invalidate outstanding refresh tokens",
|
|
1961
|
+
"type": "number",
|
|
1962
|
+
},
|
|
1843
1963
|
"updated": {
|
|
1844
1964
|
"description": "When this document was last updated",
|
|
1845
1965
|
"format": "date-time",
|
|
@@ -1886,6 +2006,7 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
1886
2006
|
},
|
|
1887
2007
|
"userId": {
|
|
1888
2008
|
"description": "The user who liked the item",
|
|
2009
|
+
"format": "objectid",
|
|
1889
2010
|
"type": "string",
|
|
1890
2011
|
},
|
|
1891
2012
|
},
|
|
@@ -1932,6 +2053,11 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
1932
2053
|
"email": {
|
|
1933
2054
|
"type": "string",
|
|
1934
2055
|
},
|
|
2056
|
+
"emailVerified": {
|
|
2057
|
+
"default": false,
|
|
2058
|
+
"description": "Whether the user has verified their email address",
|
|
2059
|
+
"type": "boolean",
|
|
2060
|
+
},
|
|
1935
2061
|
"hash": {
|
|
1936
2062
|
"type": "string",
|
|
1937
2063
|
},
|
|
@@ -1954,6 +2080,11 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
1954
2080
|
"salt": {
|
|
1955
2081
|
"type": "string",
|
|
1956
2082
|
},
|
|
2083
|
+
"tokenEpoch": {
|
|
2084
|
+
"default": 0,
|
|
2085
|
+
"description": "Incremented on password reset to invalidate outstanding refresh tokens",
|
|
2086
|
+
"type": "number",
|
|
2087
|
+
},
|
|
1957
2088
|
"updated": {
|
|
1958
2089
|
"description": "When this document was last updated",
|
|
1959
2090
|
"format": "date-time",
|
|
@@ -1981,6 +2112,7 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
1981
2112
|
"type": "string",
|
|
1982
2113
|
},
|
|
1983
2114
|
},
|
|
2115
|
+
"required": [],
|
|
1984
2116
|
"type": "object",
|
|
1985
2117
|
},
|
|
1986
2118
|
"tags": {
|
|
@@ -2289,6 +2421,11 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
2289
2421
|
"email": {
|
|
2290
2422
|
"type": "string",
|
|
2291
2423
|
},
|
|
2424
|
+
"emailVerified": {
|
|
2425
|
+
"default": false,
|
|
2426
|
+
"description": "Whether the user has verified their email address",
|
|
2427
|
+
"type": "boolean",
|
|
2428
|
+
},
|
|
2292
2429
|
"hash": {
|
|
2293
2430
|
"type": "string",
|
|
2294
2431
|
},
|
|
@@ -2311,6 +2448,11 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
2311
2448
|
"salt": {
|
|
2312
2449
|
"type": "string",
|
|
2313
2450
|
},
|
|
2451
|
+
"tokenEpoch": {
|
|
2452
|
+
"default": 0,
|
|
2453
|
+
"description": "Incremented on password reset to invalidate outstanding refresh tokens",
|
|
2454
|
+
"type": "number",
|
|
2455
|
+
},
|
|
2314
2456
|
"updated": {
|
|
2315
2457
|
"description": "When this document was last updated",
|
|
2316
2458
|
"format": "date-time",
|
|
@@ -2357,6 +2499,7 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
2357
2499
|
},
|
|
2358
2500
|
"userId": {
|
|
2359
2501
|
"description": "The user who liked the item",
|
|
2502
|
+
"format": "objectid",
|
|
2360
2503
|
"type": "string",
|
|
2361
2504
|
},
|
|
2362
2505
|
},
|
|
@@ -2403,6 +2546,11 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
2403
2546
|
"email": {
|
|
2404
2547
|
"type": "string",
|
|
2405
2548
|
},
|
|
2549
|
+
"emailVerified": {
|
|
2550
|
+
"default": false,
|
|
2551
|
+
"description": "Whether the user has verified their email address",
|
|
2552
|
+
"type": "boolean",
|
|
2553
|
+
},
|
|
2406
2554
|
"hash": {
|
|
2407
2555
|
"type": "string",
|
|
2408
2556
|
},
|
|
@@ -2425,6 +2573,11 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
2425
2573
|
"salt": {
|
|
2426
2574
|
"type": "string",
|
|
2427
2575
|
},
|
|
2576
|
+
"tokenEpoch": {
|
|
2577
|
+
"default": 0,
|
|
2578
|
+
"description": "Incremented on password reset to invalidate outstanding refresh tokens",
|
|
2579
|
+
"type": "number",
|
|
2580
|
+
},
|
|
2428
2581
|
"updated": {
|
|
2429
2582
|
"description": "When this document was last updated",
|
|
2430
2583
|
"format": "date-time",
|
|
@@ -2452,6 +2605,7 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
2452
2605
|
"type": "string",
|
|
2453
2606
|
},
|
|
2454
2607
|
},
|
|
2608
|
+
"required": [],
|
|
2455
2609
|
"type": "object",
|
|
2456
2610
|
},
|
|
2457
2611
|
"tags": {
|
|
@@ -2624,6 +2778,11 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
2624
2778
|
"email": {
|
|
2625
2779
|
"type": "string",
|
|
2626
2780
|
},
|
|
2781
|
+
"emailVerified": {
|
|
2782
|
+
"default": false,
|
|
2783
|
+
"description": "Whether the user has verified their email address",
|
|
2784
|
+
"type": "boolean",
|
|
2785
|
+
},
|
|
2627
2786
|
"hash": {
|
|
2628
2787
|
"type": "string",
|
|
2629
2788
|
},
|
|
@@ -2646,6 +2805,11 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
2646
2805
|
"salt": {
|
|
2647
2806
|
"type": "string",
|
|
2648
2807
|
},
|
|
2808
|
+
"tokenEpoch": {
|
|
2809
|
+
"default": 0,
|
|
2810
|
+
"description": "Incremented on password reset to invalidate outstanding refresh tokens",
|
|
2811
|
+
"type": "number",
|
|
2812
|
+
},
|
|
2649
2813
|
"updated": {
|
|
2650
2814
|
"description": "When this document was last updated",
|
|
2651
2815
|
"format": "date-time",
|
|
@@ -2692,6 +2856,7 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
2692
2856
|
},
|
|
2693
2857
|
"userId": {
|
|
2694
2858
|
"description": "The user who liked the item",
|
|
2859
|
+
"format": "objectid",
|
|
2695
2860
|
"type": "string",
|
|
2696
2861
|
},
|
|
2697
2862
|
},
|
|
@@ -2738,6 +2903,11 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
2738
2903
|
"email": {
|
|
2739
2904
|
"type": "string",
|
|
2740
2905
|
},
|
|
2906
|
+
"emailVerified": {
|
|
2907
|
+
"default": false,
|
|
2908
|
+
"description": "Whether the user has verified their email address",
|
|
2909
|
+
"type": "boolean",
|
|
2910
|
+
},
|
|
2741
2911
|
"hash": {
|
|
2742
2912
|
"type": "string",
|
|
2743
2913
|
},
|
|
@@ -2760,6 +2930,11 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
2760
2930
|
"salt": {
|
|
2761
2931
|
"type": "string",
|
|
2762
2932
|
},
|
|
2933
|
+
"tokenEpoch": {
|
|
2934
|
+
"default": 0,
|
|
2935
|
+
"description": "Incremented on password reset to invalidate outstanding refresh tokens",
|
|
2936
|
+
"type": "number",
|
|
2937
|
+
},
|
|
2763
2938
|
"updated": {
|
|
2764
2939
|
"description": "When this document was last updated",
|
|
2765
2940
|
"format": "date-time",
|
|
@@ -2787,6 +2962,7 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
2787
2962
|
"type": "string",
|
|
2788
2963
|
},
|
|
2789
2964
|
},
|
|
2965
|
+
"required": [],
|
|
2790
2966
|
"type": "object",
|
|
2791
2967
|
},
|
|
2792
2968
|
"tags": {
|
|
@@ -2888,6 +3064,11 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
2888
3064
|
"email": {
|
|
2889
3065
|
"type": "string",
|
|
2890
3066
|
},
|
|
3067
|
+
"emailVerified": {
|
|
3068
|
+
"default": false,
|
|
3069
|
+
"description": "Whether the user has verified their email address",
|
|
3070
|
+
"type": "boolean",
|
|
3071
|
+
},
|
|
2891
3072
|
"hash": {
|
|
2892
3073
|
"type": "string",
|
|
2893
3074
|
},
|
|
@@ -2910,6 +3091,11 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
2910
3091
|
"salt": {
|
|
2911
3092
|
"type": "string",
|
|
2912
3093
|
},
|
|
3094
|
+
"tokenEpoch": {
|
|
3095
|
+
"default": 0,
|
|
3096
|
+
"description": "Incremented on password reset to invalidate outstanding refresh tokens",
|
|
3097
|
+
"type": "number",
|
|
3098
|
+
},
|
|
2913
3099
|
"updated": {
|
|
2914
3100
|
"description": "When this document was last updated",
|
|
2915
3101
|
"format": "date-time",
|
|
@@ -2956,6 +3142,7 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
2956
3142
|
},
|
|
2957
3143
|
"userId": {
|
|
2958
3144
|
"description": "The user who liked the item",
|
|
3145
|
+
"format": "objectid",
|
|
2959
3146
|
"type": "string",
|
|
2960
3147
|
},
|
|
2961
3148
|
},
|
|
@@ -3002,6 +3189,11 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
3002
3189
|
"email": {
|
|
3003
3190
|
"type": "string",
|
|
3004
3191
|
},
|
|
3192
|
+
"emailVerified": {
|
|
3193
|
+
"default": false,
|
|
3194
|
+
"description": "Whether the user has verified their email address",
|
|
3195
|
+
"type": "boolean",
|
|
3196
|
+
},
|
|
3005
3197
|
"hash": {
|
|
3006
3198
|
"type": "string",
|
|
3007
3199
|
},
|
|
@@ -3024,6 +3216,11 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
3024
3216
|
"salt": {
|
|
3025
3217
|
"type": "string",
|
|
3026
3218
|
},
|
|
3219
|
+
"tokenEpoch": {
|
|
3220
|
+
"default": 0,
|
|
3221
|
+
"description": "Incremented on password reset to invalidate outstanding refresh tokens",
|
|
3222
|
+
"type": "number",
|
|
3223
|
+
},
|
|
3027
3224
|
"updated": {
|
|
3028
3225
|
"description": "When this document was last updated",
|
|
3029
3226
|
"format": "date-time",
|
|
@@ -3051,6 +3248,7 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
3051
3248
|
"type": "string",
|
|
3052
3249
|
},
|
|
3053
3250
|
},
|
|
3251
|
+
"required": [],
|
|
3054
3252
|
"type": "object",
|
|
3055
3253
|
},
|
|
3056
3254
|
"tags": {
|
|
@@ -3282,6 +3480,11 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
3282
3480
|
"email": {
|
|
3283
3481
|
"type": "string",
|
|
3284
3482
|
},
|
|
3483
|
+
"emailVerified": {
|
|
3484
|
+
"default": false,
|
|
3485
|
+
"description": "Whether the user has verified their email address",
|
|
3486
|
+
"type": "boolean",
|
|
3487
|
+
},
|
|
3285
3488
|
"hash": {
|
|
3286
3489
|
"type": "string",
|
|
3287
3490
|
},
|
|
@@ -3304,6 +3507,11 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
3304
3507
|
"salt": {
|
|
3305
3508
|
"type": "string",
|
|
3306
3509
|
},
|
|
3510
|
+
"tokenEpoch": {
|
|
3511
|
+
"default": 0,
|
|
3512
|
+
"description": "Incremented on password reset to invalidate outstanding refresh tokens",
|
|
3513
|
+
"type": "number",
|
|
3514
|
+
},
|
|
3307
3515
|
"updated": {
|
|
3308
3516
|
"description": "When this document was last updated",
|
|
3309
3517
|
"format": "date-time",
|
|
@@ -3350,6 +3558,7 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
3350
3558
|
},
|
|
3351
3559
|
"userId": {
|
|
3352
3560
|
"description": "The user who liked the item",
|
|
3561
|
+
"format": "objectid",
|
|
3353
3562
|
"type": "string",
|
|
3354
3563
|
},
|
|
3355
3564
|
},
|
|
@@ -3396,6 +3605,11 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
3396
3605
|
"email": {
|
|
3397
3606
|
"type": "string",
|
|
3398
3607
|
},
|
|
3608
|
+
"emailVerified": {
|
|
3609
|
+
"default": false,
|
|
3610
|
+
"description": "Whether the user has verified their email address",
|
|
3611
|
+
"type": "boolean",
|
|
3612
|
+
},
|
|
3399
3613
|
"hash": {
|
|
3400
3614
|
"type": "string",
|
|
3401
3615
|
},
|
|
@@ -3418,6 +3632,11 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
3418
3632
|
"salt": {
|
|
3419
3633
|
"type": "string",
|
|
3420
3634
|
},
|
|
3635
|
+
"tokenEpoch": {
|
|
3636
|
+
"default": 0,
|
|
3637
|
+
"description": "Incremented on password reset to invalidate outstanding refresh tokens",
|
|
3638
|
+
"type": "number",
|
|
3639
|
+
},
|
|
3421
3640
|
"updated": {
|
|
3422
3641
|
"description": "When this document was last updated",
|
|
3423
3642
|
"format": "date-time",
|
|
@@ -3445,6 +3664,7 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
3445
3664
|
"type": "string",
|
|
3446
3665
|
},
|
|
3447
3666
|
},
|
|
3667
|
+
"required": [],
|
|
3448
3668
|
"type": "object",
|
|
3449
3669
|
},
|
|
3450
3670
|
"tags": {
|
|
@@ -3610,6 +3830,11 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
3610
3830
|
"email": {
|
|
3611
3831
|
"type": "string",
|
|
3612
3832
|
},
|
|
3833
|
+
"emailVerified": {
|
|
3834
|
+
"default": false,
|
|
3835
|
+
"description": "Whether the user has verified their email address",
|
|
3836
|
+
"type": "boolean",
|
|
3837
|
+
},
|
|
3613
3838
|
"hash": {
|
|
3614
3839
|
"type": "string",
|
|
3615
3840
|
},
|
|
@@ -3632,6 +3857,11 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
3632
3857
|
"salt": {
|
|
3633
3858
|
"type": "string",
|
|
3634
3859
|
},
|
|
3860
|
+
"tokenEpoch": {
|
|
3861
|
+
"default": 0,
|
|
3862
|
+
"description": "Incremented on password reset to invalidate outstanding refresh tokens",
|
|
3863
|
+
"type": "number",
|
|
3864
|
+
},
|
|
3635
3865
|
"updated": {
|
|
3636
3866
|
"description": "When this document was last updated",
|
|
3637
3867
|
"format": "date-time",
|
|
@@ -3678,6 +3908,7 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
3678
3908
|
},
|
|
3679
3909
|
"userId": {
|
|
3680
3910
|
"description": "The user who liked the item",
|
|
3911
|
+
"format": "objectid",
|
|
3681
3912
|
"type": "string",
|
|
3682
3913
|
},
|
|
3683
3914
|
},
|
|
@@ -3724,6 +3955,11 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
3724
3955
|
"email": {
|
|
3725
3956
|
"type": "string",
|
|
3726
3957
|
},
|
|
3958
|
+
"emailVerified": {
|
|
3959
|
+
"default": false,
|
|
3960
|
+
"description": "Whether the user has verified their email address",
|
|
3961
|
+
"type": "boolean",
|
|
3962
|
+
},
|
|
3727
3963
|
"hash": {
|
|
3728
3964
|
"type": "string",
|
|
3729
3965
|
},
|
|
@@ -3746,6 +3982,11 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
3746
3982
|
"salt": {
|
|
3747
3983
|
"type": "string",
|
|
3748
3984
|
},
|
|
3985
|
+
"tokenEpoch": {
|
|
3986
|
+
"default": 0,
|
|
3987
|
+
"description": "Incremented on password reset to invalidate outstanding refresh tokens",
|
|
3988
|
+
"type": "number",
|
|
3989
|
+
},
|
|
3749
3990
|
"updated": {
|
|
3750
3991
|
"description": "When this document was last updated",
|
|
3751
3992
|
"format": "date-time",
|
|
@@ -3773,6 +4014,7 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
3773
4014
|
"type": "string",
|
|
3774
4015
|
},
|
|
3775
4016
|
},
|
|
4017
|
+
"required": [],
|
|
3776
4018
|
"type": "object",
|
|
3777
4019
|
},
|
|
3778
4020
|
"tags": {
|
|
@@ -3874,6 +4116,11 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
3874
4116
|
"email": {
|
|
3875
4117
|
"type": "string",
|
|
3876
4118
|
},
|
|
4119
|
+
"emailVerified": {
|
|
4120
|
+
"default": false,
|
|
4121
|
+
"description": "Whether the user has verified their email address",
|
|
4122
|
+
"type": "boolean",
|
|
4123
|
+
},
|
|
3877
4124
|
"hash": {
|
|
3878
4125
|
"type": "string",
|
|
3879
4126
|
},
|
|
@@ -3896,6 +4143,11 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
3896
4143
|
"salt": {
|
|
3897
4144
|
"type": "string",
|
|
3898
4145
|
},
|
|
4146
|
+
"tokenEpoch": {
|
|
4147
|
+
"default": 0,
|
|
4148
|
+
"description": "Incremented on password reset to invalidate outstanding refresh tokens",
|
|
4149
|
+
"type": "number",
|
|
4150
|
+
},
|
|
3899
4151
|
"updated": {
|
|
3900
4152
|
"description": "When this document was last updated",
|
|
3901
4153
|
"format": "date-time",
|
|
@@ -3942,6 +4194,7 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
3942
4194
|
},
|
|
3943
4195
|
"userId": {
|
|
3944
4196
|
"description": "The user who liked the item",
|
|
4197
|
+
"format": "objectid",
|
|
3945
4198
|
"type": "string",
|
|
3946
4199
|
},
|
|
3947
4200
|
},
|
|
@@ -3988,6 +4241,11 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
3988
4241
|
"email": {
|
|
3989
4242
|
"type": "string",
|
|
3990
4243
|
},
|
|
4244
|
+
"emailVerified": {
|
|
4245
|
+
"default": false,
|
|
4246
|
+
"description": "Whether the user has verified their email address",
|
|
4247
|
+
"type": "boolean",
|
|
4248
|
+
},
|
|
3991
4249
|
"hash": {
|
|
3992
4250
|
"type": "string",
|
|
3993
4251
|
},
|
|
@@ -4010,6 +4268,11 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
4010
4268
|
"salt": {
|
|
4011
4269
|
"type": "string",
|
|
4012
4270
|
},
|
|
4271
|
+
"tokenEpoch": {
|
|
4272
|
+
"default": 0,
|
|
4273
|
+
"description": "Incremented on password reset to invalidate outstanding refresh tokens",
|
|
4274
|
+
"type": "number",
|
|
4275
|
+
},
|
|
4013
4276
|
"updated": {
|
|
4014
4277
|
"description": "When this document was last updated",
|
|
4015
4278
|
"format": "date-time",
|
|
@@ -4037,6 +4300,7 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
4037
4300
|
"type": "string",
|
|
4038
4301
|
},
|
|
4039
4302
|
},
|
|
4303
|
+
"required": [],
|
|
4040
4304
|
"type": "object",
|
|
4041
4305
|
},
|
|
4042
4306
|
"tags": {
|
|
@@ -4402,6 +4666,7 @@ exports[`openApi populate gets the openapi.json with populate 1`] = `
|
|
|
4402
4666
|
"type": "string",
|
|
4403
4667
|
},
|
|
4404
4668
|
},
|
|
4669
|
+
"required": [],
|
|
4405
4670
|
"type": "object",
|
|
4406
4671
|
},
|
|
4407
4672
|
"tags": {
|
|
@@ -4615,6 +4880,7 @@ exports[`openApi populate gets the openapi.json with populate 1`] = `
|
|
|
4615
4880
|
"type": "string",
|
|
4616
4881
|
},
|
|
4617
4882
|
},
|
|
4883
|
+
"required": [],
|
|
4618
4884
|
"type": "object",
|
|
4619
4885
|
},
|
|
4620
4886
|
"tags": {
|
|
@@ -4757,6 +5023,7 @@ exports[`openApi populate gets the openapi.json with populate 1`] = `
|
|
|
4757
5023
|
"type": "string",
|
|
4758
5024
|
},
|
|
4759
5025
|
},
|
|
5026
|
+
"required": [],
|
|
4760
5027
|
"type": "object",
|
|
4761
5028
|
},
|
|
4762
5029
|
"tags": {
|
|
@@ -5029,6 +5296,7 @@ exports[`openApi populate gets the openapi.json with populate 1`] = `
|
|
|
5029
5296
|
"type": "string",
|
|
5030
5297
|
},
|
|
5031
5298
|
},
|
|
5299
|
+
"required": [],
|
|
5032
5300
|
"type": "object",
|
|
5033
5301
|
},
|
|
5034
5302
|
"tags": {
|
|
@@ -5235,6 +5503,7 @@ exports[`openApi populate gets the openapi.json with populate 1`] = `
|
|
|
5235
5503
|
"type": "string",
|
|
5236
5504
|
},
|
|
5237
5505
|
},
|
|
5506
|
+
"required": [],
|
|
5238
5507
|
"type": "object",
|
|
5239
5508
|
},
|
|
5240
5509
|
"tags": {
|
|
@@ -5377,6 +5646,7 @@ exports[`openApi populate gets the openapi.json with populate 1`] = `
|
|
|
5377
5646
|
"type": "string",
|
|
5378
5647
|
},
|
|
5379
5648
|
},
|
|
5649
|
+
"required": [],
|
|
5380
5650
|
"type": "object",
|
|
5381
5651
|
},
|
|
5382
5652
|
"tags": {
|