@tinacms/graphql 0.59.4 → 0.59.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # tina-graphql
2
2
 
3
+ ## 0.59.5
4
+
5
+ ### Patch Changes
6
+
7
+ - 8ad8f03fd: Select field now validates when required is true.
8
+ - 04b7988d5: Some updates to the data layer POC work
9
+ - Don't attempt to put config files on to bridge if it's not supported
10
+ - Split logic for indexing all content vs a subset of files
11
+ - e3c41f69d: Fixed type for `required: true` on `type: "object"`
12
+ - f5390e841: Don't attempt to put config files on to bridge if it's not supported
13
+ - 32082e0b3: GraphQL number type is changed from "Int" to "Float"
14
+
3
15
  ## 0.59.4
4
16
 
5
17
  ### Patch Changes
@@ -52,10 +52,16 @@ export declare class Database {
52
52
  getSchema: () => Promise<TinaSchema>;
53
53
  documentExists: (fullpath: unknown) => Promise<boolean>;
54
54
  query: (queryStrings: string[], hydrator: any) => Promise<object[]>;
55
- indexData: ({ graphQLSchema, tinaSchema, }: {
55
+ putConfigFiles: ({ graphQLSchema, tinaSchema, }: {
56
56
  graphQLSchema: DocumentNode;
57
57
  tinaSchema: TinaSchema;
58
58
  }) => Promise<void>;
59
+ indexContent: ({ graphQLSchema, tinaSchema, }: {
60
+ graphQLSchema: DocumentNode;
61
+ tinaSchema: TinaSchema;
62
+ }) => Promise<void>;
63
+ indexContentByPaths: (documentPaths: string[]) => Promise<void>;
64
+ _indexAllContent: () => Promise<void>;
59
65
  addToLookupMap: (lookup: LookupMapType) => Promise<void>;
60
66
  }
61
67
  export declare type LookupMapType = GlobalDocumentLookup | CollectionDocumentLookup | MultiCollectionDocumentLookup | MultiCollectionDocumentListLookup | CollectionDocumentListLookup | UnionDataLookup | NodeDocument;