@tinacms/graphql 2.2.4 → 2.2.5

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.
@@ -16,8 +16,6 @@ yupSchema: (args: typeof yup) => yup.ObjectSchema<any>, markdownParseConfig?: {
16
16
  lineWidth?: number;
17
17
  frontmatterDelimiters?: [string, string] | string;
18
18
  }) => T;
19
- export declare const atob: (b64Encoded: string) => string;
20
- export declare const btoa: (string: string) => string;
21
19
  export declare const scanAllContent: (tinaSchema: TinaSchema, bridge: Bridge, callback: (collection: Collection<true>, contentPaths: string[]) => Promise<void>) => Promise<string[]>;
22
20
  export declare const scanContentByPaths: (tinaSchema: TinaSchema, documentPaths: string[], callback: (collection: Collection<true> | undefined, documentPaths: string[]) => Promise<void>) => Promise<void>;
23
21
  export declare const partitionPathsByCollection: (tinaSchema: TinaSchema, documentPaths: string[]) => Promise<{
package/dist/index.js CHANGED
@@ -3035,7 +3035,7 @@ var validateField = async (field) => {
3035
3035
  var package_default = {
3036
3036
  name: "@tinacms/graphql",
3037
3037
  type: "module",
3038
- version: "2.2.4",
3038
+ version: "2.2.5",
3039
3039
  main: "dist/index.js",
3040
3040
  module: "./dist/index.js",
3041
3041
  files: [
@@ -3685,7 +3685,7 @@ var scanAllContent = async (tinaSchema, bridge, callback) => {
3685
3685
  `"${path9}" Found in multiple collections: ${filesSeen.get(path9).map((collection2) => `"${collection2}"`).join(
3686
3686
  ", "
3687
3687
  )}. This can cause unexpected behavior. We recommend updating the \`match\` property of those collections so that each file is in only one collection.
3688
- This will be an error in the future. See https://tina.io/docs/errors/file-in-mutpliple-collections/
3688
+ This will be an error in the future. See https://tina.io/docs/r/content-modelling-collections#path-matching
3689
3689
  `
3690
3690
  );
3691
3691
  });
@@ -3792,7 +3792,7 @@ var loadAndParseWithAliases = async (bridge, filepath, collection, templateInfo)
3792
3792
  const template = getTemplateForFile(templateInfo, data);
3793
3793
  if (!template) {
3794
3794
  console.warn(
3795
- `Document: ${filepath} has an ambiguous template, skipping from indexing. See https://tina.io/docs/errors/ambiguous-template/ for more info.`
3795
+ `Document: ${filepath} has an ambiguous template, skipping from indexing. See https://tina.io/docs/r/ambiguous-template for more info.`
3796
3796
  );
3797
3797
  return;
3798
3798
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tinacms/graphql",
3
3
  "type": "module",
4
- "version": "2.2.4",
4
+ "version": "2.2.5",
5
5
  "main": "dist/index.js",
6
6
  "module": "./dist/index.js",
7
7
  "files": [
@@ -72,8 +72,8 @@
72
72
  "vite": "^4.5.9",
73
73
  "vitest": "^0.32.4",
74
74
  "zod": "^3.24.2",
75
- "@tinacms/schema-tools": "2.7.2",
76
- "@tinacms/scripts": "1.6.0"
75
+ "@tinacms/scripts": "1.6.0",
76
+ "@tinacms/schema-tools": "2.7.2"
77
77
  },
78
78
  "scripts": {
79
79
  "types": "pnpm tsc",