@tinacms/graphql 1.4.21 → 1.4.23

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.js CHANGED
@@ -2585,16 +2585,16 @@ var validateField = async (field) => {
2585
2585
  // package.json
2586
2586
  var package_default = {
2587
2587
  name: "@tinacms/graphql",
2588
- version: "1.4.21",
2588
+ version: "1.4.23",
2589
2589
  main: "dist/index.js",
2590
- module: "dist/index.es.js",
2590
+ module: "dist/index.mjs",
2591
2591
  typings: "dist/index.d.ts",
2592
2592
  files: [
2593
2593
  "package.json",
2594
2594
  "dist"
2595
2595
  ],
2596
2596
  exports: {
2597
- import: "./dist/index.es.js",
2597
+ import: "./dist/index.mjs",
2598
2598
  require: "./dist/index.js"
2599
2599
  },
2600
2600
  license: "SEE LICENSE IN LICENSE",
@@ -2862,7 +2862,7 @@ var import_graphql4 = require("graphql");
2862
2862
 
2863
2863
  // src/resolver/index.ts
2864
2864
  var import_path3 = __toESM(require("path"));
2865
- var import_isValid = __toESM(require("date-fns/isValid"));
2865
+ var import_isValid = __toESM(require("date-fns/isValid/index.js"));
2866
2866
 
2867
2867
  // src/mdx/index.ts
2868
2868
  var import_mdx = require("@tinacms/mdx");
@@ -2526,16 +2526,16 @@ var validateField = async (field) => {
2526
2526
  // package.json
2527
2527
  var package_default = {
2528
2528
  name: "@tinacms/graphql",
2529
- version: "1.4.21",
2529
+ version: "1.4.23",
2530
2530
  main: "dist/index.js",
2531
- module: "dist/index.es.js",
2531
+ module: "dist/index.mjs",
2532
2532
  typings: "dist/index.d.ts",
2533
2533
  files: [
2534
2534
  "package.json",
2535
2535
  "dist"
2536
2536
  ],
2537
2537
  exports: {
2538
- import: "./dist/index.es.js",
2538
+ import: "./dist/index.mjs",
2539
2539
  require: "./dist/index.js"
2540
2540
  },
2541
2541
  license: "SEE LICENSE IN LICENSE",
@@ -2802,7 +2802,7 @@ import { graphql, buildASTSchema, getNamedType, GraphQLError as GraphQLError3 }
2802
2802
 
2803
2803
  // src/resolver/index.ts
2804
2804
  import path3 from "path";
2805
- import isValid from "date-fns/isValid";
2805
+ import isValid from "date-fns/isValid/index.js";
2806
2806
 
2807
2807
  // src/mdx/index.ts
2808
2808
  import { parseMDX, stringifyMDX } from "@tinacms/mdx";
@@ -52,7 +52,9 @@ export declare class Resolver {
52
52
  constructor(init: ResolverConfig);
53
53
  resolveCollection: (args: any, collectionName: string, hasDocuments?: boolean) => Promise<{
54
54
  fields: TinaField<true>[];
55
- templates?: undefined;
55
+ templates?: undefined; /**
56
+ * updateDocument, update<Collection>Document
57
+ */
56
58
  label?: string;
57
59
  name: string;
58
60
  path: string;
@@ -63,7 +65,7 @@ export declare class Resolver {
63
65
  }[];
64
66
  }[];
65
67
  format?: "json" | "md" | "markdown" | "mdx" | "yaml" | "yml" | "toml";
66
- ui?: import("@tinacms/schema-tools").UICollection;
68
+ ui?: import("@tinacms/schema-tools").UICollection<any, any, any>;
67
69
  defaultItem?: import("@tinacms/schema-tools").DefaultItem<Record<string, any>>;
68
70
  frontmatterFormat?: "json" | "yaml" | "toml";
69
71
  frontmatterDelimiters?: string | [string, string];
@@ -89,7 +91,7 @@ export declare class Resolver {
89
91
  }[];
90
92
  }[];
91
93
  format?: "json" | "md" | "markdown" | "mdx" | "yaml" | "yml" | "toml";
92
- ui?: import("@tinacms/schema-tools").UICollection;
94
+ ui?: import("@tinacms/schema-tools").UICollection<any, any, any>;
93
95
  defaultItem?: import("@tinacms/schema-tools").DefaultItem<Record<string, any>>;
94
96
  frontmatterFormat?: "json" | "yaml" | "toml";
95
97
  frontmatterDelimiters?: string | [string, string];
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@tinacms/graphql",
3
- "version": "1.4.21",
3
+ "version": "1.4.23",
4
4
  "main": "dist/index.js",
5
- "module": "dist/index.es.js",
5
+ "module": "dist/index.mjs",
6
6
  "typings": "dist/index.d.ts",
7
7
  "files": [
8
8
  "package.json",
9
9
  "dist"
10
10
  ],
11
11
  "exports": {
12
- "import": "./dist/index.es.js",
12
+ "import": "./dist/index.mjs",
13
13
  "require": "./dist/index.js"
14
14
  },
15
15
  "license": "SEE LICENSE IN LICENSE",
@@ -24,8 +24,8 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@iarna/toml": "^2.2.5",
27
- "@tinacms/mdx": "1.3.14",
28
- "@tinacms/schema-tools": "1.4.8",
27
+ "@tinacms/mdx": "1.3.16",
28
+ "@tinacms/schema-tools": "1.4.10",
29
29
  "abstract-level": "^1.0.3",
30
30
  "body-parser": "^1.19.0",
31
31
  "cors": "^2.8.5",
@@ -57,8 +57,8 @@
57
57
  "directory": "packages/tina-graphql"
58
58
  },
59
59
  "devDependencies": {
60
- "@tinacms/schema-tools": "1.4.8",
61
- "@tinacms/scripts": "1.1.0",
60
+ "@tinacms/schema-tools": "1.4.10",
61
+ "@tinacms/scripts": "1.1.2",
62
62
  "@types/cors": "^2.8.7",
63
63
  "@types/estree": "^0.0.50",
64
64
  "@types/express": "^4.17.8",