@sveltia/cms 0.153.0 → 0.155.0
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/sveltia-cms.js +150 -150
- package/dist/sveltia-cms.js.map +1 -1
- package/dist/sveltia-cms.mjs +179 -179
- package/dist/sveltia-cms.mjs.map +1 -1
- package/package.json +1 -1
- package/schema/sveltia-cms.json +1 -1
- package/types/public.d.ts +24 -13
package/types/public.d.ts
CHANGED
|
@@ -281,35 +281,40 @@ export type MediaLibrary = DefaultMediaLibrary | CloudMediaLibrary | StockMediaL
|
|
|
281
281
|
*/
|
|
282
282
|
export type MediaLibraries = {
|
|
283
283
|
/**
|
|
284
|
-
* Options for the default media storage.
|
|
284
|
+
* Options for the default media storage. Set to
|
|
285
|
+
* `false` to explicitly disable the default (internal) storage.
|
|
285
286
|
*/
|
|
286
|
-
default?: DefaultMediaLibrary;
|
|
287
|
+
default?: DefaultMediaLibrary | false;
|
|
287
288
|
/**
|
|
288
289
|
* Options for the Cloudinary media storage.
|
|
290
|
+
* Set to `false` to explicitly disable.
|
|
289
291
|
*/
|
|
290
|
-
cloudinary?: CloudinaryMediaLibrary;
|
|
292
|
+
cloudinary?: CloudinaryMediaLibrary | false;
|
|
291
293
|
/**
|
|
292
294
|
* Options for the Uploadcare media storage.
|
|
295
|
+
* Set to `false` to explicitly disable.
|
|
293
296
|
*/
|
|
294
|
-
uploadcare?: UploadcareMediaLibrary;
|
|
297
|
+
uploadcare?: UploadcareMediaLibrary | false;
|
|
295
298
|
/**
|
|
296
|
-
* Options for the Amazon S3 media storage.
|
|
299
|
+
* Options for the Amazon S3 media storage. Set to
|
|
300
|
+
* `false` to explicitly disable.
|
|
297
301
|
*/
|
|
298
|
-
aws_s3?: S3MediaLibrary;
|
|
302
|
+
aws_s3?: S3MediaLibrary | false;
|
|
299
303
|
/**
|
|
300
304
|
* Options for the Cloudflare R2 media storage.
|
|
305
|
+
* Set to `false` to explicitly disable.
|
|
301
306
|
*/
|
|
302
|
-
cloudflare_r2?: S3MediaLibrary;
|
|
307
|
+
cloudflare_r2?: S3MediaLibrary | false;
|
|
303
308
|
/**
|
|
304
|
-
* Options for the DigitalOcean Spaces
|
|
305
|
-
* storage.
|
|
309
|
+
* Options for the DigitalOcean Spaces
|
|
310
|
+
* media storage. Set to `false` to explicitly disable.
|
|
306
311
|
*/
|
|
307
|
-
digitalocean_spaces?: S3MediaLibrary;
|
|
312
|
+
digitalocean_spaces?: S3MediaLibrary | false;
|
|
308
313
|
/**
|
|
309
|
-
* Options for the unified stock photo/video
|
|
310
|
-
* library.
|
|
314
|
+
* Options for the unified stock photo/video
|
|
315
|
+
* media library. Set to `false` to explicitly disable.
|
|
311
316
|
*/
|
|
312
|
-
stock_assets?: StockMediaLibrary;
|
|
317
|
+
stock_assets?: StockMediaLibrary | false;
|
|
313
318
|
};
|
|
314
319
|
/**
|
|
315
320
|
* Parsed, localized entry content.
|
|
@@ -2021,6 +2026,12 @@ export type GitBackendProps = {
|
|
|
2021
2026
|
* details.
|
|
2022
2027
|
*/
|
|
2023
2028
|
skip_ci?: boolean;
|
|
2029
|
+
/**
|
|
2030
|
+
* Whether to allow users to authenticate using an access
|
|
2031
|
+
* token. Default: `true`. If set to `false`, the “Sign In Using Access Token” button will be
|
|
2032
|
+
* disabled in the UI, and users will be forced to use OAuth authentication.
|
|
2033
|
+
*/
|
|
2034
|
+
allow_token_auth?: boolean;
|
|
2024
2035
|
};
|
|
2025
2036
|
/**
|
|
2026
2037
|
* GitHub backend properties.
|