@tinacms/graphql 0.58.1 → 0.59.3

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,44 @@
1
1
  # tina-graphql
2
2
 
3
+ ## 0.59.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 34cd3a44a: Fix issue where frontmatter parser would return a Date object which would be cast to epoch format
8
+ - b006a5ab9: Added delete button to image field
9
+ - a324b9c37: Export utilities for working with the data layer
10
+ - 80732bd97: Create a @tinacms/datalayer package which houses the logic for data management for the GraphQL API. This simplifies the @tinacms/graphql package and allows for a clearer separation.
11
+ - 0bec208e2: validate the schema for `path` and `matches`
12
+ - 5c070a83f: feat: Add UI banner for when in localMode
13
+
14
+ ## 0.59.2
15
+
16
+ ### Patch Changes
17
+
18
+ - 212685fc3: Allow indexDB to skip building the query and fragment generation files
19
+
20
+ ## 0.59.1
21
+
22
+ ### Patch Changes
23
+
24
+ - f46c6f987: Fix type definitions for schema metadata so they're optional
25
+
26
+ ## 0.59.0
27
+
28
+ ### Minor Changes
29
+
30
+ - 62bea7019: #2323: fix saving bold and italic text in rich-text editor
31
+
32
+ ### Patch Changes
33
+
34
+ - bd4e1f802: Pin version number from @tinacms/graphql during schema compilation. This can be used to ensure the proper version is provided when working with Tina Cloud
35
+
36
+ ## 0.58.2
37
+
38
+ ### Patch Changes
39
+
40
+ - fffce3af8: Don't cache graphql schema during resolution, this was causing the schema to go stale, while updating the schema.gql, so GraphQL tooling thought the value was updated, but the server was still holding on to the cached version
41
+
3
42
  ## 0.58.1
4
43
 
5
44
  ### Patch Changes
package/dist/build.d.ts CHANGED
@@ -12,7 +12,8 @@ limitations under the License.
12
12
  */
13
13
  import type { TinaSchema } from './schema';
14
14
  import { Database } from './database';
15
- export declare const indexDB: ({ database, config, }: {
15
+ export declare const indexDB: ({ database, config, buildSDK, }: {
16
16
  database: Database;
17
17
  config: TinaSchema['config'];
18
+ buildSDK?: boolean;
18
19
  }) => Promise<void>;
package/dist/index.d.ts CHANGED
@@ -13,28 +13,13 @@ limitations under the License.
13
13
  export { indexDB } from './build';
14
14
  export { resolve } from './resolve';
15
15
  export { createDatabase } from './database';
16
- export { GithubBridge } from './database/bridge/github';
17
- export { GithubStore } from './database/store/github';
18
- export { FilesystemBridge } from './database/bridge/filesystem';
19
- export { FilesystemStore } from './database/store/filesystem';
20
- export { MemoryStore } from './database/store/memory';
21
- export { LevelStore } from './database/store/level';
22
- export type { GithubManagerInit } from './database/bridge/github';
23
16
  import type { Database } from './database';
17
+ export type { Store } from './database/store';
18
+ export type { Bridge } from './database/bridge';
19
+ export { stringifyFile, parseFile } from './database/util';
20
+ export { sequential } from './util';
24
21
  export declare const buildSchema: (rootPath: string, database: Database) => Promise<import("graphql").GraphQLSchema>;
25
22
  import type { TinaCloudSchema as TinaCloudSchemaBase, TinaCloudCollection as TinaCloudCollectionBase, TinaCloudTemplateBase as TinaTemplate, TinaFieldBase } from './types';
26
- export declare const listBranches: ({ auth, owner, repo }: {
27
- auth: any;
28
- owner: any;
29
- repo: any;
30
- }) => Promise<import("@octokit/types").OctokitResponse<import("@octokit/types").ReposListBranchesResponseData>>;
31
- export declare const createBranch: ({ auth, owner, repo, name, baseBranch }: {
32
- auth: any;
33
- owner: any;
34
- repo: any;
35
- name: any;
36
- baseBranch: any;
37
- }) => Promise<import("@octokit/types").OctokitResponse<import("@octokit/types").GitCreateRefResponseData>>;
38
23
  export declare type TinaCloudSchema = TinaCloudSchemaBase<false>;
39
24
  export declare type TinaSchema = TinaCloudSchema;
40
25
  export declare type TinaCloudCollection = TinaCloudCollectionBase<false>;