@terreno/api 57.18.0 → 57.20.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/CHANGELOG.md +2071 -2
- package/dist/accountSecurity/accessActions.d.ts +38 -0
- package/dist/accountSecurity/accessActions.js +157 -0
- package/dist/accountSecurity/accountSecurityApp.d.ts +219 -0
- package/dist/accountSecurity/accountSecurityApp.js +438 -0
- package/dist/accountSecurity/accountSecurityService.d.ts +200 -0
- package/dist/accountSecurity/accountSecurityService.js +481 -0
- package/dist/accountSecurity/credentialActions.d.ts +16 -0
- package/dist/accountSecurity/credentialActions.js +189 -0
- package/dist/accountSecurity/membershipActions.d.ts +15 -0
- package/dist/accountSecurity/membershipActions.js +81 -0
- package/dist/accountSecurity/orgSecurityRoutes.d.ts +50 -0
- package/dist/accountSecurity/orgSecurityRoutes.js +149 -0
- package/dist/accountSecurity/securityEventHooks.d.ts +44 -0
- package/dist/accountSecurity/securityEventHooks.js +223 -0
- package/dist/accountSecurity/securityEvents.d.ts +162 -0
- package/dist/accountSecurity/securityEvents.js +114 -0
- package/dist/accountSecurity/securityNotifications.d.ts +125 -0
- package/dist/accountSecurity/securityNotifications.js +333 -0
- package/dist/api.js +38 -6
- package/dist/audit/auditEventModel.d.ts +5 -3
- package/dist/audit/auditEventModel.js +8 -6
- package/dist/audit/processQueue.js +4 -2
- package/dist/audit/record.d.ts +2 -2
- package/dist/audit/record.js +3 -0
- package/dist/authRecovery.js +29 -1
- package/dist/betterAuth.d.ts +179 -10
- package/dist/betterAuthApp.d.ts +15 -0
- package/dist/betterAuthApp.js +23 -0
- package/dist/betterAuthChallengeHeaders.d.ts +37 -0
- package/dist/betterAuthChallengeHeaders.js +180 -0
- package/dist/betterAuthFeatures.d.ts +54 -0
- package/dist/betterAuthFeatures.js +239 -0
- package/dist/betterAuthMethods.d.ts +73 -0
- package/dist/betterAuthMethods.js +55 -0
- package/dist/betterAuthOAuthHandoff.d.ts +10 -2
- package/dist/betterAuthOAuthHandoff.js +222 -24
- package/dist/betterAuthSetPassword.d.ts +33 -0
- package/dist/betterAuthSetPassword.js +166 -0
- package/dist/betterAuthSetup.d.ts +57 -8
- package/dist/betterAuthSetup.js +327 -36
- package/dist/consentApp.d.ts +9 -4
- package/dist/consentApp.js +344 -28
- package/dist/consentStatus.d.ts +60 -0
- package/dist/consentStatus.js +111 -0
- package/dist/errors.d.ts +6 -0
- package/dist/errors.js +41 -2
- package/dist/expressServer.js +3 -2
- package/dist/index.d.ts +14 -2
- package/dist/index.js +23 -3
- package/dist/mcp/oauth.js +151 -11
- package/dist/mcp/oauthMetadata.d.ts +2 -1
- package/dist/mcp/oauthMetadata.js +7 -4
- package/dist/models/consentResponse.js +51 -0
- package/dist/models/mcpOAuthClient.js +78 -2
- package/dist/models/mcpOAuthToken.js +28 -4
- package/dist/orgs/membershipGuards.d.ts +7 -0
- package/dist/orgs/membershipGuards.js +32 -0
- package/dist/orgs/orgsApp.d.ts +19 -1
- package/dist/orgs/orgsApp.js +55 -24
- package/dist/rateLimit/policies.js +8 -0
- package/dist/rbac/access.js +2 -1
- package/dist/rbac/resolve.d.ts +9 -1
- package/dist/rbac/resolve.js +21 -16
- package/dist/rbac/roleManager.d.ts +6 -0
- package/dist/rbac/roleManager.js +8 -7
- package/dist/rbac/roleModel.d.ts +1 -0
- package/dist/rbac/roleModel.js +45 -3
- package/dist/rbac/statements.d.ts +2 -2
- package/dist/rbac/statements.js +10 -1
- package/dist/rbac/types.d.ts +6 -0
- package/dist/rbac/userWriteGuards.js +2 -1
- package/dist/schemaMetadata.js +8 -1
- package/dist/seedRunner.js +7 -2
- package/dist/terrenoApp.d.ts +4 -0
- package/dist/terrenoApp.js +15 -0
- package/dist/tests/models.d.ts +5 -0
- package/dist/tests/models.js +8 -0
- package/dist/types/consentResponse.d.ts +8 -0
- package/dist/types/mcpOAuth.d.ts +35 -2
- package/package.json +6 -3
- package/src/__snapshots__/openApi.test.ts.snap +288 -0
- package/src/__snapshots__/openApiBuilder.test.ts.snap +96 -0
- package/src/accountSecurity/accessActions.test.ts +723 -0
- package/src/accountSecurity/accessActions.ts +173 -0
- package/src/accountSecurity/accountSecurity.test.ts +947 -0
- package/src/accountSecurity/accountSecurityApp.ts +720 -0
- package/src/accountSecurity/accountSecurityService.ts +826 -0
- package/src/accountSecurity/credentialActions.test.ts +867 -0
- package/src/accountSecurity/credentialActions.ts +260 -0
- package/src/accountSecurity/membershipActions.ts +89 -0
- package/src/accountSecurity/orgSecurityRoutes.test.ts +841 -0
- package/src/accountSecurity/orgSecurityRoutes.ts +232 -0
- package/src/accountSecurity/securityEventHooks.ts +294 -0
- package/src/accountSecurity/securityEvents.ts +165 -0
- package/src/accountSecurity/securityNotifications.test.ts +1323 -0
- package/src/accountSecurity/securityNotifications.ts +516 -0
- package/src/api.arrayOperations.test.ts +71 -0
- package/src/api.ts +38 -7
- package/src/audit/auditEventModel.ts +10 -7
- package/src/audit/processQueue.ts +4 -2
- package/src/audit/record.test.ts +15 -0
- package/src/audit/record.ts +10 -2
- package/src/authRecovery.test.ts +23 -0
- package/src/authRecovery.ts +34 -1
- package/src/authRecoveryBetterAuth.test.ts +169 -0
- package/src/betterAuth.ts +194 -8
- package/src/betterAuthApp.ts +32 -0
- package/src/betterAuthChallengeHeaders.test.ts +476 -0
- package/src/betterAuthChallengeHeaders.ts +227 -0
- package/src/betterAuthFeatures.test.ts +489 -0
- package/src/betterAuthFeatures.ts +283 -0
- package/src/betterAuthLinking.test.ts +844 -0
- package/src/betterAuthMethods.test.ts +138 -0
- package/src/betterAuthMethods.ts +98 -0
- package/src/betterAuthOAuthHandoff.test.ts +482 -69
- package/src/betterAuthOAuthHandoff.ts +293 -33
- package/src/betterAuthOAuthProxy.test.ts +421 -0
- package/src/betterAuthPasswordReset.test.ts +190 -0
- package/src/betterAuthSetPassword.test.ts +378 -0
- package/src/betterAuthSetPassword.ts +213 -0
- package/src/betterAuthSetup.test.ts +39 -7
- package/src/betterAuthSetup.ts +457 -38
- package/src/consentApp.test.ts +869 -2
- package/src/consentApp.ts +438 -36
- package/src/consentStatus.test.ts +226 -0
- package/src/consentStatus.ts +171 -0
- package/src/errors.test.ts +81 -0
- package/src/errors.ts +50 -1
- package/src/expressServer.test.ts +29 -0
- package/src/expressServer.ts +3 -2
- package/src/index.ts +30 -0
- package/src/mcp/oauth.test.ts +463 -2
- package/src/mcp/oauth.ts +184 -13
- package/src/mcp/oauthMetadata.ts +5 -2
- package/src/models/consentResponse.ts +53 -0
- package/src/models/mcpOAuthClient.ts +100 -3
- package/src/models/mcpOAuthToken.ts +30 -5
- package/src/orgs/membershipGuards.ts +39 -0
- package/src/orgs/orgRbac.test.ts +1 -1
- package/src/orgs/orgsApp.test.ts +101 -2
- package/src/orgs/orgsApp.ts +69 -28
- package/src/rateLimit/policies.test.ts +53 -0
- package/src/rateLimit/policies.ts +8 -0
- package/src/rbac/access.ts +4 -1
- package/src/rbac/resolve.test.ts +65 -0
- package/src/rbac/resolve.ts +37 -17
- package/src/rbac/roleManager.test.ts +64 -0
- package/src/rbac/roleManager.ts +15 -6
- package/src/rbac/roleModel.test.ts +174 -1
- package/src/rbac/roleModel.ts +66 -3
- package/src/rbac/routes.test.ts +58 -0
- package/src/rbac/statements.test.ts +4 -1
- package/src/rbac/statements.ts +11 -1
- package/src/rbac/types.ts +6 -1
- package/src/rbac/userWriteGuards.test.ts +48 -0
- package/src/rbac/userWriteGuards.ts +5 -2
- package/src/schemaMetadata.test.ts +39 -0
- package/src/schemaMetadata.ts +11 -1
- package/src/seedRunner.test.ts +56 -0
- package/src/seedRunner.ts +7 -2
- package/src/terrenoApp.ts +20 -0
- package/src/tests/accountSecurityTestApp.ts +290 -0
- package/src/tests/betterAuthStubs.ts +188 -0
- package/src/tests/mockOidcProvider.ts +105 -0
- package/src/tests/models.ts +13 -0
- package/src/tests/softwareAuthenticator.ts +183 -0
- package/src/types/consentResponse.ts +8 -0
- package/src/types/mcpOAuth.ts +39 -3
|
@@ -168,6 +168,22 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
168
168
|
"_id": {
|
|
169
169
|
"type": "string",
|
|
170
170
|
},
|
|
171
|
+
"addendums": {
|
|
172
|
+
"description": "Extra details about this food category",
|
|
173
|
+
"items": {
|
|
174
|
+
"properties": {
|
|
175
|
+
"_id": {
|
|
176
|
+
"type": "string",
|
|
177
|
+
},
|
|
178
|
+
"text": {
|
|
179
|
+
"description": "The additional category detail",
|
|
180
|
+
"type": "string",
|
|
181
|
+
},
|
|
182
|
+
},
|
|
183
|
+
"type": "object",
|
|
184
|
+
},
|
|
185
|
+
"type": "array",
|
|
186
|
+
},
|
|
171
187
|
"created": {
|
|
172
188
|
"format": "date-time",
|
|
173
189
|
"type": "string",
|
|
@@ -538,6 +554,22 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
538
554
|
"_id": {
|
|
539
555
|
"type": "string",
|
|
540
556
|
},
|
|
557
|
+
"addendums": {
|
|
558
|
+
"description": "Extra details about this food category",
|
|
559
|
+
"items": {
|
|
560
|
+
"properties": {
|
|
561
|
+
"_id": {
|
|
562
|
+
"type": "string",
|
|
563
|
+
},
|
|
564
|
+
"text": {
|
|
565
|
+
"description": "The additional category detail",
|
|
566
|
+
"type": "string",
|
|
567
|
+
},
|
|
568
|
+
},
|
|
569
|
+
"type": "object",
|
|
570
|
+
},
|
|
571
|
+
"type": "array",
|
|
572
|
+
},
|
|
541
573
|
"created": {
|
|
542
574
|
"format": "date-time",
|
|
543
575
|
"type": "string",
|
|
@@ -837,6 +869,22 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
837
869
|
"_id": {
|
|
838
870
|
"type": "string",
|
|
839
871
|
},
|
|
872
|
+
"addendums": {
|
|
873
|
+
"description": "Extra details about this food category",
|
|
874
|
+
"items": {
|
|
875
|
+
"properties": {
|
|
876
|
+
"_id": {
|
|
877
|
+
"type": "string",
|
|
878
|
+
},
|
|
879
|
+
"text": {
|
|
880
|
+
"description": "The additional category detail",
|
|
881
|
+
"type": "string",
|
|
882
|
+
},
|
|
883
|
+
},
|
|
884
|
+
"type": "object",
|
|
885
|
+
},
|
|
886
|
+
"type": "array",
|
|
887
|
+
},
|
|
840
888
|
"created": {
|
|
841
889
|
"format": "date-time",
|
|
842
890
|
"type": "string",
|
|
@@ -1266,6 +1314,22 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
1266
1314
|
"_id": {
|
|
1267
1315
|
"type": "string",
|
|
1268
1316
|
},
|
|
1317
|
+
"addendums": {
|
|
1318
|
+
"description": "Extra details about this food category",
|
|
1319
|
+
"items": {
|
|
1320
|
+
"properties": {
|
|
1321
|
+
"_id": {
|
|
1322
|
+
"type": "string",
|
|
1323
|
+
},
|
|
1324
|
+
"text": {
|
|
1325
|
+
"description": "The additional category detail",
|
|
1326
|
+
"type": "string",
|
|
1327
|
+
},
|
|
1328
|
+
},
|
|
1329
|
+
"type": "object",
|
|
1330
|
+
},
|
|
1331
|
+
"type": "array",
|
|
1332
|
+
},
|
|
1269
1333
|
"created": {
|
|
1270
1334
|
"format": "date-time",
|
|
1271
1335
|
"type": "string",
|
|
@@ -1629,6 +1693,22 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
1629
1693
|
"_id": {
|
|
1630
1694
|
"type": "string",
|
|
1631
1695
|
},
|
|
1696
|
+
"addendums": {
|
|
1697
|
+
"description": "Extra details about this food category",
|
|
1698
|
+
"items": {
|
|
1699
|
+
"properties": {
|
|
1700
|
+
"_id": {
|
|
1701
|
+
"type": "string",
|
|
1702
|
+
},
|
|
1703
|
+
"text": {
|
|
1704
|
+
"description": "The additional category detail",
|
|
1705
|
+
"type": "string",
|
|
1706
|
+
},
|
|
1707
|
+
},
|
|
1708
|
+
"type": "object",
|
|
1709
|
+
},
|
|
1710
|
+
"type": "array",
|
|
1711
|
+
},
|
|
1632
1712
|
"created": {
|
|
1633
1713
|
"format": "date-time",
|
|
1634
1714
|
"type": "string",
|
|
@@ -1928,6 +2008,22 @@ exports[`openApi gets the openapi.json 1`] = `
|
|
|
1928
2008
|
"_id": {
|
|
1929
2009
|
"type": "string",
|
|
1930
2010
|
},
|
|
2011
|
+
"addendums": {
|
|
2012
|
+
"description": "Extra details about this food category",
|
|
2013
|
+
"items": {
|
|
2014
|
+
"properties": {
|
|
2015
|
+
"_id": {
|
|
2016
|
+
"type": "string",
|
|
2017
|
+
},
|
|
2018
|
+
"text": {
|
|
2019
|
+
"description": "The additional category detail",
|
|
2020
|
+
"type": "string",
|
|
2021
|
+
},
|
|
2022
|
+
},
|
|
2023
|
+
"type": "object",
|
|
2024
|
+
},
|
|
2025
|
+
"type": "array",
|
|
2026
|
+
},
|
|
1931
2027
|
"created": {
|
|
1932
2028
|
"format": "date-time",
|
|
1933
2029
|
"type": "string",
|
|
@@ -2434,6 +2530,22 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
2434
2530
|
"_id": {
|
|
2435
2531
|
"type": "string",
|
|
2436
2532
|
},
|
|
2533
|
+
"addendums": {
|
|
2534
|
+
"description": "Extra details about this food category",
|
|
2535
|
+
"items": {
|
|
2536
|
+
"properties": {
|
|
2537
|
+
"_id": {
|
|
2538
|
+
"type": "string",
|
|
2539
|
+
},
|
|
2540
|
+
"text": {
|
|
2541
|
+
"description": "The additional category detail",
|
|
2542
|
+
"type": "string",
|
|
2543
|
+
},
|
|
2544
|
+
},
|
|
2545
|
+
"type": "object",
|
|
2546
|
+
},
|
|
2547
|
+
"type": "array",
|
|
2548
|
+
},
|
|
2437
2549
|
"created": {
|
|
2438
2550
|
"format": "date-time",
|
|
2439
2551
|
"type": "string",
|
|
@@ -2804,6 +2916,22 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
2804
2916
|
"_id": {
|
|
2805
2917
|
"type": "string",
|
|
2806
2918
|
},
|
|
2919
|
+
"addendums": {
|
|
2920
|
+
"description": "Extra details about this food category",
|
|
2921
|
+
"items": {
|
|
2922
|
+
"properties": {
|
|
2923
|
+
"_id": {
|
|
2924
|
+
"type": "string",
|
|
2925
|
+
},
|
|
2926
|
+
"text": {
|
|
2927
|
+
"description": "The additional category detail",
|
|
2928
|
+
"type": "string",
|
|
2929
|
+
},
|
|
2930
|
+
},
|
|
2931
|
+
"type": "object",
|
|
2932
|
+
},
|
|
2933
|
+
"type": "array",
|
|
2934
|
+
},
|
|
2807
2935
|
"created": {
|
|
2808
2936
|
"format": "date-time",
|
|
2809
2937
|
"type": "string",
|
|
@@ -3103,6 +3231,22 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
3103
3231
|
"_id": {
|
|
3104
3232
|
"type": "string",
|
|
3105
3233
|
},
|
|
3234
|
+
"addendums": {
|
|
3235
|
+
"description": "Extra details about this food category",
|
|
3236
|
+
"items": {
|
|
3237
|
+
"properties": {
|
|
3238
|
+
"_id": {
|
|
3239
|
+
"type": "string",
|
|
3240
|
+
},
|
|
3241
|
+
"text": {
|
|
3242
|
+
"description": "The additional category detail",
|
|
3243
|
+
"type": "string",
|
|
3244
|
+
},
|
|
3245
|
+
},
|
|
3246
|
+
"type": "object",
|
|
3247
|
+
},
|
|
3248
|
+
"type": "array",
|
|
3249
|
+
},
|
|
3106
3250
|
"created": {
|
|
3107
3251
|
"format": "date-time",
|
|
3108
3252
|
"type": "string",
|
|
@@ -3532,6 +3676,22 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
3532
3676
|
"_id": {
|
|
3533
3677
|
"type": "string",
|
|
3534
3678
|
},
|
|
3679
|
+
"addendums": {
|
|
3680
|
+
"description": "Extra details about this food category",
|
|
3681
|
+
"items": {
|
|
3682
|
+
"properties": {
|
|
3683
|
+
"_id": {
|
|
3684
|
+
"type": "string",
|
|
3685
|
+
},
|
|
3686
|
+
"text": {
|
|
3687
|
+
"description": "The additional category detail",
|
|
3688
|
+
"type": "string",
|
|
3689
|
+
},
|
|
3690
|
+
},
|
|
3691
|
+
"type": "object",
|
|
3692
|
+
},
|
|
3693
|
+
"type": "array",
|
|
3694
|
+
},
|
|
3535
3695
|
"created": {
|
|
3536
3696
|
"format": "date-time",
|
|
3537
3697
|
"type": "string",
|
|
@@ -3895,6 +4055,22 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
3895
4055
|
"_id": {
|
|
3896
4056
|
"type": "string",
|
|
3897
4057
|
},
|
|
4058
|
+
"addendums": {
|
|
4059
|
+
"description": "Extra details about this food category",
|
|
4060
|
+
"items": {
|
|
4061
|
+
"properties": {
|
|
4062
|
+
"_id": {
|
|
4063
|
+
"type": "string",
|
|
4064
|
+
},
|
|
4065
|
+
"text": {
|
|
4066
|
+
"description": "The additional category detail",
|
|
4067
|
+
"type": "string",
|
|
4068
|
+
},
|
|
4069
|
+
},
|
|
4070
|
+
"type": "object",
|
|
4071
|
+
},
|
|
4072
|
+
"type": "array",
|
|
4073
|
+
},
|
|
3898
4074
|
"created": {
|
|
3899
4075
|
"format": "date-time",
|
|
3900
4076
|
"type": "string",
|
|
@@ -4194,6 +4370,22 @@ exports[`openApi gets the openapi.json with custom endpoint 1`] = `
|
|
|
4194
4370
|
"_id": {
|
|
4195
4371
|
"type": "string",
|
|
4196
4372
|
},
|
|
4373
|
+
"addendums": {
|
|
4374
|
+
"description": "Extra details about this food category",
|
|
4375
|
+
"items": {
|
|
4376
|
+
"properties": {
|
|
4377
|
+
"_id": {
|
|
4378
|
+
"type": "string",
|
|
4379
|
+
},
|
|
4380
|
+
"text": {
|
|
4381
|
+
"description": "The additional category detail",
|
|
4382
|
+
"type": "string",
|
|
4383
|
+
},
|
|
4384
|
+
},
|
|
4385
|
+
"type": "object",
|
|
4386
|
+
},
|
|
4387
|
+
"type": "array",
|
|
4388
|
+
},
|
|
4197
4389
|
"created": {
|
|
4198
4390
|
"format": "date-time",
|
|
4199
4391
|
"type": "string",
|
|
@@ -4716,6 +4908,22 @@ exports[`openApi populate gets the openapi.json with populate 1`] = `
|
|
|
4716
4908
|
"_id": {
|
|
4717
4909
|
"type": "string",
|
|
4718
4910
|
},
|
|
4911
|
+
"addendums": {
|
|
4912
|
+
"description": "Extra details about this food category",
|
|
4913
|
+
"items": {
|
|
4914
|
+
"properties": {
|
|
4915
|
+
"_id": {
|
|
4916
|
+
"type": "string",
|
|
4917
|
+
},
|
|
4918
|
+
"text": {
|
|
4919
|
+
"description": "The additional category detail",
|
|
4920
|
+
"type": "string",
|
|
4921
|
+
},
|
|
4922
|
+
},
|
|
4923
|
+
"type": "object",
|
|
4924
|
+
},
|
|
4925
|
+
"type": "array",
|
|
4926
|
+
},
|
|
4719
4927
|
"created": {
|
|
4720
4928
|
"format": "date-time",
|
|
4721
4929
|
"type": "string",
|
|
@@ -4927,6 +5135,22 @@ exports[`openApi populate gets the openapi.json with populate 1`] = `
|
|
|
4927
5135
|
"_id": {
|
|
4928
5136
|
"type": "string",
|
|
4929
5137
|
},
|
|
5138
|
+
"addendums": {
|
|
5139
|
+
"description": "Extra details about this food category",
|
|
5140
|
+
"items": {
|
|
5141
|
+
"properties": {
|
|
5142
|
+
"_id": {
|
|
5143
|
+
"type": "string",
|
|
5144
|
+
},
|
|
5145
|
+
"text": {
|
|
5146
|
+
"description": "The additional category detail",
|
|
5147
|
+
"type": "string",
|
|
5148
|
+
},
|
|
5149
|
+
},
|
|
5150
|
+
"type": "object",
|
|
5151
|
+
},
|
|
5152
|
+
"type": "array",
|
|
5153
|
+
},
|
|
4930
5154
|
"created": {
|
|
4931
5155
|
"format": "date-time",
|
|
4932
5156
|
"type": "string",
|
|
@@ -5067,6 +5291,22 @@ exports[`openApi populate gets the openapi.json with populate 1`] = `
|
|
|
5067
5291
|
"_id": {
|
|
5068
5292
|
"type": "string",
|
|
5069
5293
|
},
|
|
5294
|
+
"addendums": {
|
|
5295
|
+
"description": "Extra details about this food category",
|
|
5296
|
+
"items": {
|
|
5297
|
+
"properties": {
|
|
5298
|
+
"_id": {
|
|
5299
|
+
"type": "string",
|
|
5300
|
+
},
|
|
5301
|
+
"text": {
|
|
5302
|
+
"description": "The additional category detail",
|
|
5303
|
+
"type": "string",
|
|
5304
|
+
},
|
|
5305
|
+
},
|
|
5306
|
+
"type": "object",
|
|
5307
|
+
},
|
|
5308
|
+
"type": "array",
|
|
5309
|
+
},
|
|
5070
5310
|
"created": {
|
|
5071
5311
|
"format": "date-time",
|
|
5072
5312
|
"type": "string",
|
|
@@ -5337,6 +5577,22 @@ exports[`openApi populate gets the openapi.json with populate 1`] = `
|
|
|
5337
5577
|
"_id": {
|
|
5338
5578
|
"type": "string",
|
|
5339
5579
|
},
|
|
5580
|
+
"addendums": {
|
|
5581
|
+
"description": "Extra details about this food category",
|
|
5582
|
+
"items": {
|
|
5583
|
+
"properties": {
|
|
5584
|
+
"_id": {
|
|
5585
|
+
"type": "string",
|
|
5586
|
+
},
|
|
5587
|
+
"text": {
|
|
5588
|
+
"description": "The additional category detail",
|
|
5589
|
+
"type": "string",
|
|
5590
|
+
},
|
|
5591
|
+
},
|
|
5592
|
+
"type": "object",
|
|
5593
|
+
},
|
|
5594
|
+
"type": "array",
|
|
5595
|
+
},
|
|
5340
5596
|
"created": {
|
|
5341
5597
|
"format": "date-time",
|
|
5342
5598
|
"type": "string",
|
|
@@ -5541,6 +5797,22 @@ exports[`openApi populate gets the openapi.json with populate 1`] = `
|
|
|
5541
5797
|
"_id": {
|
|
5542
5798
|
"type": "string",
|
|
5543
5799
|
},
|
|
5800
|
+
"addendums": {
|
|
5801
|
+
"description": "Extra details about this food category",
|
|
5802
|
+
"items": {
|
|
5803
|
+
"properties": {
|
|
5804
|
+
"_id": {
|
|
5805
|
+
"type": "string",
|
|
5806
|
+
},
|
|
5807
|
+
"text": {
|
|
5808
|
+
"description": "The additional category detail",
|
|
5809
|
+
"type": "string",
|
|
5810
|
+
},
|
|
5811
|
+
},
|
|
5812
|
+
"type": "object",
|
|
5813
|
+
},
|
|
5814
|
+
"type": "array",
|
|
5815
|
+
},
|
|
5544
5816
|
"created": {
|
|
5545
5817
|
"format": "date-time",
|
|
5546
5818
|
"type": "string",
|
|
@@ -5681,6 +5953,22 @@ exports[`openApi populate gets the openapi.json with populate 1`] = `
|
|
|
5681
5953
|
"_id": {
|
|
5682
5954
|
"type": "string",
|
|
5683
5955
|
},
|
|
5956
|
+
"addendums": {
|
|
5957
|
+
"description": "Extra details about this food category",
|
|
5958
|
+
"items": {
|
|
5959
|
+
"properties": {
|
|
5960
|
+
"_id": {
|
|
5961
|
+
"type": "string",
|
|
5962
|
+
},
|
|
5963
|
+
"text": {
|
|
5964
|
+
"description": "The additional category detail",
|
|
5965
|
+
"type": "string",
|
|
5966
|
+
},
|
|
5967
|
+
},
|
|
5968
|
+
"type": "object",
|
|
5969
|
+
},
|
|
5970
|
+
"type": "array",
|
|
5971
|
+
},
|
|
5684
5972
|
"created": {
|
|
5685
5973
|
"format": "date-time",
|
|
5686
5974
|
"type": "string",
|
|
@@ -135,6 +135,22 @@ exports[`OpenApiMiddlewareBuilder snapshot tests matches OpenAPI spec snapshot 1
|
|
|
135
135
|
"_id": {
|
|
136
136
|
"type": "string",
|
|
137
137
|
},
|
|
138
|
+
"addendums": {
|
|
139
|
+
"description": "Extra details about this food category",
|
|
140
|
+
"items": {
|
|
141
|
+
"properties": {
|
|
142
|
+
"_id": {
|
|
143
|
+
"type": "string",
|
|
144
|
+
},
|
|
145
|
+
"text": {
|
|
146
|
+
"description": "The additional category detail",
|
|
147
|
+
"type": "string",
|
|
148
|
+
},
|
|
149
|
+
},
|
|
150
|
+
"type": "object",
|
|
151
|
+
},
|
|
152
|
+
"type": "array",
|
|
153
|
+
},
|
|
138
154
|
"created": {
|
|
139
155
|
"format": "date-time",
|
|
140
156
|
"type": "string",
|
|
@@ -340,6 +356,22 @@ exports[`OpenApiMiddlewareBuilder snapshot tests matches OpenAPI spec snapshot 1
|
|
|
340
356
|
"_id": {
|
|
341
357
|
"type": "string",
|
|
342
358
|
},
|
|
359
|
+
"addendums": {
|
|
360
|
+
"description": "Extra details about this food category",
|
|
361
|
+
"items": {
|
|
362
|
+
"properties": {
|
|
363
|
+
"_id": {
|
|
364
|
+
"type": "string",
|
|
365
|
+
},
|
|
366
|
+
"text": {
|
|
367
|
+
"description": "The additional category detail",
|
|
368
|
+
"type": "string",
|
|
369
|
+
},
|
|
370
|
+
},
|
|
371
|
+
"type": "object",
|
|
372
|
+
},
|
|
373
|
+
"type": "array",
|
|
374
|
+
},
|
|
343
375
|
"created": {
|
|
344
376
|
"format": "date-time",
|
|
345
377
|
"type": "string",
|
|
@@ -474,6 +506,22 @@ exports[`OpenApiMiddlewareBuilder snapshot tests matches OpenAPI spec snapshot 1
|
|
|
474
506
|
"_id": {
|
|
475
507
|
"type": "string",
|
|
476
508
|
},
|
|
509
|
+
"addendums": {
|
|
510
|
+
"description": "Extra details about this food category",
|
|
511
|
+
"items": {
|
|
512
|
+
"properties": {
|
|
513
|
+
"_id": {
|
|
514
|
+
"type": "string",
|
|
515
|
+
},
|
|
516
|
+
"text": {
|
|
517
|
+
"description": "The additional category detail",
|
|
518
|
+
"type": "string",
|
|
519
|
+
},
|
|
520
|
+
},
|
|
521
|
+
"type": "object",
|
|
522
|
+
},
|
|
523
|
+
"type": "array",
|
|
524
|
+
},
|
|
477
525
|
"created": {
|
|
478
526
|
"format": "date-time",
|
|
479
527
|
"type": "string",
|
|
@@ -1088,6 +1136,22 @@ exports[`OpenApiMiddlewareBuilder snapshot tests matches OpenAPI spec snapshot 1
|
|
|
1088
1136
|
"_id": {
|
|
1089
1137
|
"type": "string",
|
|
1090
1138
|
},
|
|
1139
|
+
"addendums": {
|
|
1140
|
+
"description": "Extra details about this food category",
|
|
1141
|
+
"items": {
|
|
1142
|
+
"properties": {
|
|
1143
|
+
"_id": {
|
|
1144
|
+
"type": "string",
|
|
1145
|
+
},
|
|
1146
|
+
"text": {
|
|
1147
|
+
"description": "The additional category detail",
|
|
1148
|
+
"type": "string",
|
|
1149
|
+
},
|
|
1150
|
+
},
|
|
1151
|
+
"type": "object",
|
|
1152
|
+
},
|
|
1153
|
+
"type": "array",
|
|
1154
|
+
},
|
|
1091
1155
|
"created": {
|
|
1092
1156
|
"format": "date-time",
|
|
1093
1157
|
"type": "string",
|
|
@@ -1286,6 +1350,22 @@ exports[`OpenApiMiddlewareBuilder snapshot tests matches OpenAPI spec snapshot 1
|
|
|
1286
1350
|
"_id": {
|
|
1287
1351
|
"type": "string",
|
|
1288
1352
|
},
|
|
1353
|
+
"addendums": {
|
|
1354
|
+
"description": "Extra details about this food category",
|
|
1355
|
+
"items": {
|
|
1356
|
+
"properties": {
|
|
1357
|
+
"_id": {
|
|
1358
|
+
"type": "string",
|
|
1359
|
+
},
|
|
1360
|
+
"text": {
|
|
1361
|
+
"description": "The additional category detail",
|
|
1362
|
+
"type": "string",
|
|
1363
|
+
},
|
|
1364
|
+
},
|
|
1365
|
+
"type": "object",
|
|
1366
|
+
},
|
|
1367
|
+
"type": "array",
|
|
1368
|
+
},
|
|
1289
1369
|
"created": {
|
|
1290
1370
|
"format": "date-time",
|
|
1291
1371
|
"type": "string",
|
|
@@ -1420,6 +1500,22 @@ exports[`OpenApiMiddlewareBuilder snapshot tests matches OpenAPI spec snapshot 1
|
|
|
1420
1500
|
"_id": {
|
|
1421
1501
|
"type": "string",
|
|
1422
1502
|
},
|
|
1503
|
+
"addendums": {
|
|
1504
|
+
"description": "Extra details about this food category",
|
|
1505
|
+
"items": {
|
|
1506
|
+
"properties": {
|
|
1507
|
+
"_id": {
|
|
1508
|
+
"type": "string",
|
|
1509
|
+
},
|
|
1510
|
+
"text": {
|
|
1511
|
+
"description": "The additional category detail",
|
|
1512
|
+
"type": "string",
|
|
1513
|
+
},
|
|
1514
|
+
},
|
|
1515
|
+
"type": "object",
|
|
1516
|
+
},
|
|
1517
|
+
"type": "array",
|
|
1518
|
+
},
|
|
1423
1519
|
"created": {
|
|
1424
1520
|
"format": "date-time",
|
|
1425
1521
|
"type": "string",
|