tinacms 0.69.18 → 0.69.19

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/index.es.js CHANGED
@@ -5689,13 +5689,15 @@ class RouteMappingPlugin {
5689
5689
  }
5690
5690
  }
5691
5691
  const defineSchema = (config) => {
5692
- validateSchema({ config });
5692
+ validateSchema({ schema: config });
5693
5693
  return config;
5694
5694
  };
5695
5695
  const defineConfig = (config) => {
5696
+ validateSchema({ schema: config.schema });
5696
5697
  return config;
5697
5698
  };
5698
5699
  const defineStaticConfig = (config) => {
5700
+ validateSchema({ schema: config.schema });
5699
5701
  return config;
5700
5702
  };
5701
5703
  export { AuthWallInner, Client, DEFAULT_LOCAL_TINA_GQL_SERVER_URL, LocalClient, RouteMappingPlugin, TinaAdmin, TinaAdminApi, TinaCMSProvider2, TinaCloudAuthWall, TinaCloudProvider, TinaDataProvider, assertShape, createClient, TinaCMSProvider2 as default, defineConfig, defineSchema, defineStaticConfig, getStaticPropsForTina, gql, safeAssertShape, staticRequest, useDocumentCreatorPlugin, useGraphqlForms, useTinaAuthRedirect };
package/dist/index.js CHANGED
@@ -5706,13 +5706,15 @@ This will work when developing locally but NOT when deployed to production.
5706
5706
  }
5707
5707
  }
5708
5708
  const defineSchema = (config) => {
5709
- schemaTools.validateSchema({ config });
5709
+ schemaTools.validateSchema({ schema: config });
5710
5710
  return config;
5711
5711
  };
5712
5712
  const defineConfig = (config) => {
5713
+ schemaTools.validateSchema({ schema: config.schema });
5713
5714
  return config;
5714
5715
  };
5715
5716
  const defineStaticConfig = (config) => {
5717
+ schemaTools.validateSchema({ schema: config.schema });
5716
5718
  return config;
5717
5719
  };
5718
5720
  Object.defineProperty(exports2, "NAMER", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tinacms",
3
- "version": "0.69.18",
3
+ "version": "0.69.19",
4
4
  "main": "dist/index.js",
5
5
  "module": "./dist/index.es.js",
6
6
  "exports": {
@@ -54,7 +54,7 @@
54
54
  "@headlessui/react": "^1.5.0",
55
55
  "@heroicons/react": "^1.0.4",
56
56
  "@react-hook/window-size": "^3.0.7",
57
- "@tinacms/schema-tools": "0.1.8",
57
+ "@tinacms/schema-tools": "0.1.9",
58
58
  "@tinacms/sharedctx": "0.1.3",
59
59
  "@tinacms/toolkit": "0.58.1",
60
60
  "crypto-js": "^4.0.0",