scribe-cms 0.0.7 → 0.0.8

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/dist/runtime.cjs CHANGED
@@ -1034,6 +1034,9 @@ function createProject(config) {
1034
1034
  getType: getRuntime,
1035
1035
  listTypes() {
1036
1036
  return Array.from(runtimes.values());
1037
+ },
1038
+ listRoutableTypes() {
1039
+ return Array.from(runtimes.values()).filter((runtime) => isRoutableType(runtime.config));
1037
1040
  }
1038
1041
  };
1039
1042
  }
@@ -1218,6 +1221,7 @@ function createScribe(input) {
1218
1221
  project,
1219
1222
  getType: project.getType,
1220
1223
  listTypes: project.listTypes,
1224
+ listRoutableTypes: project.listRoutableTypes,
1221
1225
  sitemap(options) {
1222
1226
  return generateSitemap(project, options);
1223
1227
  }
@@ -1229,5 +1233,6 @@ function createScribe(input) {
1229
1233
  }
1230
1234
 
1231
1235
  exports.createScribe = createScribe;
1236
+ exports.isRoutableType = isRoutableType;
1232
1237
  //# sourceMappingURL=runtime.cjs.map
1233
1238
  //# sourceMappingURL=runtime.cjs.map