sanity-plugin-studio-smartling 2.0.6 → 3.0.0-beta-private

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,11 @@
1
+ const {showIncompatiblePluginDialog} = require('@sanity/incompatible-plugin')
2
+ const {name, version, sanityExchangeUrl} = require('./package.json')
3
+
4
+ export default showIncompatiblePluginDialog({
5
+ name: name,
6
+ versions: {
7
+ v3: version,
8
+ v2: undefined,
9
+ },
10
+ sanityExchangeUrl,
11
+ })
@@ -1,12 +0,0 @@
1
- import { Secrets } from 'sanity-translations-tab';
2
- export declare const createTask: (documentId: string, document: Record<string, any>, localeIds: string[], secrets: Secrets, workflowUid?: string) => Promise<{
3
- documentId: string;
4
- taskId: string;
5
- locales: any[];
6
- linkToVendorTask?: undefined;
7
- } | {
8
- documentId: string;
9
- locales: any[];
10
- taskId: string;
11
- linkToVendorTask: string;
12
- }>;
@@ -1,2 +0,0 @@
1
- import { Secrets } from 'sanity-translations-tab';
2
- export declare const getLocales: (secrets: Secrets) => Promise<any>;
@@ -1,2 +0,0 @@
1
- import { Secrets } from 'sanity-translations-tab';
2
- export declare const getTranslation: (taskId: string, localeId: string, secrets: Secrets) => Promise<any>;
@@ -1,12 +0,0 @@
1
- import { Secrets } from 'sanity-translations-tab';
2
- export declare const getTranslationTask: (documentId: string, secrets: Secrets) => Promise<{
3
- documentId: string;
4
- taskId: string;
5
- locales: any[];
6
- linkToVendorTask?: undefined;
7
- } | {
8
- documentId: string;
9
- locales: any[];
10
- taskId: string;
11
- linkToVendorTask: string;
12
- }>;
@@ -1,7 +0,0 @@
1
- export declare const smartlingProxy: string;
2
- export declare const authenticate: (secret: string) => Promise<any>;
3
- export declare const getHeaders: (url: string, accessToken: string) => {
4
- Authorization: string;
5
- 'X-URL': string;
6
- };
7
- export declare const findExistingJob: (documentId: string, projectId: string, accessToken: string) => Promise<string>;
@@ -1,2 +0,0 @@
1
- import { Adapter } from 'sanity-translations-tab';
2
- export declare const SmartlingAdapter: Adapter;