@tinacms/graphql 0.58.2 → 0.59.4

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,46 @@
1
1
  # tina-graphql
2
2
 
3
+ ## 0.59.4
4
+
5
+ ### Patch Changes
6
+
7
+ - b66aefde1: Fixed issue where one could not add a title and then a bold text
8
+ - 35884152b: Adds and audit command that checks files for errors.
9
+ - 4948beec6: Fix issues with mdx code blocks and inline code nodes
10
+
11
+ ## 0.59.3
12
+
13
+ ### Patch Changes
14
+
15
+ - 34cd3a44a: Fix issue where frontmatter parser would return a Date object which would be cast to epoch format
16
+ - b006a5ab9: Added delete button to image field
17
+ - a324b9c37: Export utilities for working with the data layer
18
+ - 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.
19
+ - 0bec208e2: validate the schema for `path` and `matches`
20
+ - 5c070a83f: feat: Add UI banner for when in localMode
21
+
22
+ ## 0.59.2
23
+
24
+ ### Patch Changes
25
+
26
+ - 212685fc3: Allow indexDB to skip building the query and fragment generation files
27
+
28
+ ## 0.59.1
29
+
30
+ ### Patch Changes
31
+
32
+ - f46c6f987: Fix type definitions for schema metadata so they're optional
33
+
34
+ ## 0.59.0
35
+
36
+ ### Minor Changes
37
+
38
+ - 62bea7019: #2323: fix saving bold and italic text in rich-text editor
39
+
40
+ ### Patch Changes
41
+
42
+ - 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
43
+
3
44
  ## 0.58.2
4
45
 
5
46
  ### 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,14 @@ 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 { Database } from './database';
18
+ export type { Store } from './database/store';
19
+ export type { Bridge } from './database/bridge';
20
+ export { sequential, assertShape } from './util';
21
+ export { stringifyFile, parseFile } from './database/util';
24
22
  export declare const buildSchema: (rootPath: string, database: Database) => Promise<import("graphql").GraphQLSchema>;
25
23
  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
24
  export declare type TinaCloudSchema = TinaCloudSchemaBase<false>;
39
25
  export declare type TinaSchema = TinaCloudSchema;
40
26
  export declare type TinaCloudCollection = TinaCloudCollectionBase<false>;