@blinkk/root-cms 2.0.0-rc.0 → 2.0.0-rc.1
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/dist/cli.js +1 -1
- package/dist/{client-dBGLkauA.d.ts → client-AKOLkEwt.d.ts} +0 -16
- package/dist/client.d.ts +1 -1
- package/dist/client.js +1 -34
- package/dist/core.d.ts +2 -2
- package/dist/core.js +1 -34
- package/dist/functions.js +1 -34
- package/dist/plugin.d.ts +1 -1
- package/dist/plugin.js +2 -35
- package/dist/ui/ui.js +2 -2
- package/package.json +3 -3
|
@@ -378,22 +378,6 @@ declare class RootCMSClient {
|
|
|
378
378
|
* @deprecated Use `createBatchRequest()` to fetch draft/published translations.
|
|
379
379
|
*/
|
|
380
380
|
loadTranslations(options?: LoadTranslationsOptions): Promise<TranslationsMap>;
|
|
381
|
-
/**
|
|
382
|
-
* Saves a map of translations, e.g.:
|
|
383
|
-
* ```
|
|
384
|
-
* await client.saveTranslations({
|
|
385
|
-
* "Hello": {"es": "Hola", "fr": "Bonjour"},
|
|
386
|
-
* });
|
|
387
|
-
* ```
|
|
388
|
-
*
|
|
389
|
-
* @deprecated Use `saveDraftTranslations()` and `publishTranslations()`
|
|
390
|
-
* instead.
|
|
391
|
-
*/
|
|
392
|
-
saveTranslations(translations: {
|
|
393
|
-
[source: string]: {
|
|
394
|
-
[locale: string]: string;
|
|
395
|
-
};
|
|
396
|
-
}, tags?: string[]): Promise<void>;
|
|
397
381
|
saveDraftTranslations(translationsId: string, translations: {
|
|
398
382
|
[source: string]: {
|
|
399
383
|
[locale: string]: string;
|
package/dist/client.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '@blinkk/root';
|
|
2
2
|
import 'firebase-admin/app';
|
|
3
3
|
import 'firebase-admin/firestore';
|
|
4
|
-
export { A as Action, v as ArrayObject, B as BatchRequest, n as BatchRequestOptions, o as BatchRequestQuery, p as BatchRequestQueryOptions, q as BatchResponse, d as DataSource, e as DataSourceData, f as DataSourceMode, D as Doc, c as DocMode, j as GetCountOptions, G as GetDocOptions, H as HttpMethod, m as ListActionsOptions, i as ListDocsOptions, L as LoadTranslationsOptions, a as LocaleTranslations, l as Release, R as RootCMSClient, h as SaveDraftOptions, S as SetDocOptions, k as Translation, b as TranslationsDoc, T as TranslationsMap, U as UserRole, g as getCmsPlugin, r as isRichTextData, x as marshalArray, s as marshalData, t as normalizeData, C as parseDocId, w as toArrayObject, z as translationsForLocale, y as unmarshalArray, u as unmarshalData } from './client-
|
|
4
|
+
export { A as Action, v as ArrayObject, B as BatchRequest, n as BatchRequestOptions, o as BatchRequestQuery, p as BatchRequestQueryOptions, q as BatchResponse, d as DataSource, e as DataSourceData, f as DataSourceMode, D as Doc, c as DocMode, j as GetCountOptions, G as GetDocOptions, H as HttpMethod, m as ListActionsOptions, i as ListDocsOptions, L as LoadTranslationsOptions, a as LocaleTranslations, l as Release, R as RootCMSClient, h as SaveDraftOptions, S as SetDocOptions, k as Translation, b as TranslationsDoc, T as TranslationsMap, U as UserRole, g as getCmsPlugin, r as isRichTextData, x as marshalArray, s as marshalData, t as normalizeData, C as parseDocId, w as toArrayObject, z as translationsForLocale, y as unmarshalArray, u as unmarshalData } from './client-AKOLkEwt.js';
|