tinacms 0.0.0-df15996-20250420014759 → 0.0.0-e024aec-20250526035050

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.
@@ -0,0 +1,7 @@
1
+ import * as TooltipPrimitive from '@radix-ui/react-tooltip';
2
+ import * as React from 'react';
3
+ declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
4
+ declare const Tooltip: React.FC<TooltipPrimitive.TooltipProps>;
5
+ declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
6
+ declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
+ export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };
@@ -1,8 +1,8 @@
1
+ import type { Collection } from '@tinacms/schema-tools';
2
+ import { type TinaCMS } from '@tinacms/toolkit';
1
3
  import React from 'react';
2
4
  import { type NavigateFunction } from 'react-router-dom';
3
- import { type TinaCMS } from '@tinacms/toolkit';
4
5
  import type { CollectionResponse, DocumentSys } from '../types';
5
- import type { Collection } from '@tinacms/schema-tools';
6
6
  export declare const handleNavigate: (navigate: NavigateFunction, cms: TinaCMS, collection: CollectionResponse, collectionDefinition: Collection<true>, document: DocumentSys) => Promise<any>;
7
7
  declare const CollectionListPage: () => React.JSX.Element;
8
8
  export default CollectionListPage;
@@ -7,4 +7,4 @@ export type TokenObject = {
7
7
  access_token?: string;
8
8
  refresh_token?: string;
9
9
  };
10
- export declare const authenticate: (clientId: string, frontendUrl: string, oauth2?: boolean) => Promise<TokenObject>;
10
+ export declare const authenticate: (clientId: string, frontendUrl: string) => Promise<TokenObject>;
package/dist/client.d.ts CHANGED
@@ -1 +1,4 @@
1
- export * from "../src/client"
1
+ /**
2
+
3
+ */
4
+ export * from './unifiedClient';
package/dist/index.d.ts CHANGED
@@ -1 +1,61 @@
1
- export * from "../src/index"
1
+ /**
2
+
3
+ */
4
+ export * from './internalClient';
5
+ export * from './auth';
6
+ export * from './utils';
7
+ export * from './tina-cms';
8
+ export { useDocumentCreatorPlugin } from './hooks/use-content-creator';
9
+ export { TinaAdmin } from './admin';
10
+ export { RouteMappingPlugin } from './admin/plugins/route-mapping';
11
+ export { TinaAdminApi } from './admin/api';
12
+ export { ErrorDialog } from './admin/components/ErrorDialog';
13
+ export * from './toolkit';
14
+ export { Form } from './toolkit/forms/form';
15
+ export { MdxFieldPluginExtendible } from '@tinacms/toolkit';
16
+ import { TinaCMSProvider2, DocumentCreatorCallback } from './tina-cms';
17
+ import type { TinaCMSProviderDefaultProps } from './types/cms';
18
+ export type { TinaCMSProviderDefaultProps };
19
+ export default TinaCMSProvider2;
20
+ import { MediaStore, TinaCMS } from '@tinacms/toolkit';
21
+ import { formifyCallback } from './hooks/use-graphql-forms';
22
+ export { NAMER, resolveField } from '@tinacms/schema-tools';
23
+ export type { LoginScreenProps, LoginStrategy } from '@tinacms/schema-tools';
24
+ import { TinaSchema, TinaField, Config, Schema, Collection, Template } from '@tinacms/schema-tools';
25
+ export type { Config, Schema, Collection, Template, TinaField, TinaSchema };
26
+ /**
27
+ * @deprecated use `TinaField` instead
28
+ */
29
+ export type TinaFieldEnriched = TinaField;
30
+ /**
31
+ * @deprecated use `TinaField` instead
32
+ */
33
+ export type SchemaField = TinaField;
34
+ /**
35
+ * @deprecated use `Template` instead
36
+ */
37
+ export type TinaTemplate = Template;
38
+ /**
39
+ * @deprecated use `Template` instead
40
+ */
41
+ export type TinaCloudTemplatebase = Template;
42
+ /**
43
+ * @deprecated use `Collection` instead
44
+ */
45
+ export type TinaCloudCollectionCollection = Collection;
46
+ /**
47
+ * @deprecated use `Collection` instead
48
+ */
49
+ export type TinaCollection = Collection;
50
+ /**
51
+ * @deprecated use `Schema` instead
52
+ */
53
+ export type TinaCloudSchema = Schema;
54
+ export declare const defineSchema: (config: Schema) => Schema<false>;
55
+ export declare const defineLegacyConfig: (config: Omit<TinaCMSProviderDefaultProps, "children">) => Omit<TinaCMSProviderDefaultProps, "children">;
56
+ export interface MediaStoreClass {
57
+ new (...args: any[]): MediaStore;
58
+ }
59
+ export declare const defineStaticConfig: (config: Config<(cms: TinaCMS) => TinaCMS, formifyCallback, DocumentCreatorCallback, MediaStoreClass>) => Config<(cms: TinaCMS) => TinaCMS, formifyCallback, import("./hooks/use-content-creator").DocumentCreatorArgs, MediaStoreClass, undefined>;
60
+ export declare const defineConfig: (config: Config<(cms: TinaCMS) => TinaCMS, formifyCallback, DocumentCreatorCallback, MediaStoreClass>) => Config<(cms: TinaCMS) => TinaCMS, formifyCallback, import("./hooks/use-content-creator").DocumentCreatorArgs, MediaStoreClass, undefined>;
61
+ export { tinaTableTemplate } from './table';