@voltro/plugin-storage 0.33.0 → 0.35.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/CHANGELOG.md +1968 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.js +210 -203
- package/dist/rpc.js +32 -16
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -648,6 +648,24 @@ export declare interface StoragePluginOptions {
|
|
|
648
648
|
* transcoder is set; false to only transcode via `service.transcode(refId)`. */
|
|
649
649
|
readonly autoTranscode?: boolean;
|
|
650
650
|
/** Disambiguates multiple instances of this plugin in one app. */
|
|
651
|
+
/**
|
|
652
|
+
* Namespace for this plugin's rpc tags + inspect endpoints. Default `storage`.
|
|
653
|
+
*
|
|
654
|
+
* Set it when your app already publishes under that name — an exact tag
|
|
655
|
+
* collision is fatal at codegen, and this is the way out. Orthogonal to
|
|
656
|
+
* `name` below: `alias` REPLACES the namespace, `name` distinguishes two
|
|
657
|
+
* installations within it.
|
|
658
|
+
*
|
|
659
|
+
* The cost, stated because nothing else states it: the local and cloud
|
|
660
|
+
* dashboards fetch this plugin's panel at the DEFAULT slug, so an aliased
|
|
661
|
+
* install keeps working while its dashboard panel 404s. Alias to escape a
|
|
662
|
+
* collision, not for taste.
|
|
663
|
+
*/
|
|
664
|
+
readonly alias?: string;
|
|
665
|
+
/**
|
|
666
|
+
* Discriminator for a SECOND installation of this plugin, when one app runs
|
|
667
|
+
* two (`@voltro/plugin-storage#analytics`). Not a rename — for that use `alias`.
|
|
668
|
+
*/
|
|
651
669
|
readonly name?: string;
|
|
652
670
|
}
|
|
653
671
|
|