@tinacms/graphql 0.60.5 → 0.60.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/CHANGELOG.md CHANGED
@@ -1,5 +1,37 @@
1
1
  # tina-graphql
2
2
 
3
+ ## 0.60.8
4
+
5
+ ### Patch Changes
6
+
7
+ - 3325cd226: Make @tinacms/schema-tools a regular dependency of @tinacms/graphql
8
+
9
+ ## 0.60.7
10
+
11
+ ### Patch Changes
12
+
13
+ - f6cb634c2: Added an optional config key to the schema that will be used for tina cloud media store
14
+ - b1a4290e6: Use media config from the schema in the local media server
15
+ - 1955b8842: Uses new `schema.config` when resolving media/asset urls
16
+ - 8b81c3cf3: Added more context to error messages to help to user debug issues
17
+ - @tinacms/datalayer@0.1.1
18
+
19
+ ## 0.60.6
20
+
21
+ ### Patch Changes
22
+
23
+ - e2aafcd93: Add more GraphQL variables to the generated queries.
24
+ - a20fed8b7: Resolve Cloud URLs to Relative URLs when saving TinaCloud's media
25
+
26
+ Introduces a pair of functions (inside `media-utils.ts`) for handling URLs provided by TinaCloud (`resolveMediaCloudToRelative` and `resolveMediaRelativeToCloud`).
27
+
28
+ These are used in conjuction with two pairs of functions:
29
+
30
+ - When providing data to the preview: `resolveFieldData` and `parseMDX`
31
+ - When saving data to the document: `buildFieldMutations` and `stringifyMDX`
32
+
33
+ I also introduced tests around `media-utils.ts` (`media-utils.test.ts`).
34
+
3
35
  ## 0.60.5
4
36
 
5
37
  ### Patch Changes
@@ -126,9 +126,11 @@ export declare const astBuilder: {
126
126
  queryName: string;
127
127
  fragName: string;
128
128
  }) => OperationDefinitionNode;
129
- ListQueryOperationDefinition: ({ queryName, fragName, }: {
129
+ ListQueryOperationDefinition: ({ queryName, fragName, filterType, dataLayer, }: {
130
130
  queryName: string;
131
131
  fragName: string;
132
+ filterType: string;
133
+ dataLayer: boolean;
132
134
  }) => OperationDefinitionNode;
133
135
  toGraphQLAst: (ast: {
134
136
  globalTemplates: TypeDefinitionNode[];
package/dist/index.d.ts CHANGED
@@ -12,6 +12,7 @@ limitations under the License.
12
12
  */
13
13
  export { indexDB } from './build';
14
14
  export { resolve } from './resolve';
15
+ export * from './resolver/error';
15
16
  export { createDatabase } from './database';
16
17
  export type { QueryOptions } from './database';
17
18
  import type { Database } from './database';