You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/utils/__tests__/__snapshots__/validations.spec.ts.snap
+28Lines changed: 28 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -789,6 +789,7 @@ Object {
789
789
"_exclusive": Object {},
790
790
"_mutate": undefined,
791
791
"_nodes": Array [
792
+
"dataRoutes",
792
793
"cacheRequests",
793
794
"prefix",
794
795
],
@@ -830,6 +831,33 @@ Object {
830
831
],
831
832
"type": "boolean",
832
833
},
834
+
"dataRoutes": Object {
835
+
"_blacklist": Object {
836
+
"list": Set {},
837
+
"refs": Map {},
838
+
},
839
+
"_conditions": Array [],
840
+
"_default": false,
841
+
"_deps": Array [],
842
+
"_exclusive": Object {},
843
+
"_label": "Experimental: Allows for getting a json response of the data object of a url. Defaults to [path]/data.json but can be any suffix/filename after the route.",
`If Elder.js should cache requests when using dynamic routing. It may be useful to turn off the cache when combining Elder.js with another caching solution to reduce the resources consumed by the server.`,
107
107
),
108
+
dataRoutes: yup
109
+
.boolean()
110
+
.notRequired()
111
+
.default(false)
112
+
.label(
113
+
'Experimental: Allows for getting a json response of the data object of a url. Defaults to [path]/data.json but can be any suffix/filename after the route.',
0 commit comments