@triiiceratops/plugin-pdf-export 1.0.0-rc.5 → 1.0.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/catalog.d.ts CHANGED
@@ -1,11 +1,9 @@
1
1
  import type { LocaleCatalog } from '@triiiceratops/plugin-sdk';
2
2
  /**
3
3
  * The plugin's package-owned localization catalog (CONTEXT.md **Active
4
- * locale**). These strings previously lived in core's `messages/en.json` /
5
- * `messages/de.json` under the `pdf_export_*` keys; migrating the plugin out of
6
- * core moves them here so the catalog ships with (and evolves with) the plugin,
7
- * and core's catalogs carry no plugin keys. `en` is the required fallback; a
8
- * missing key resolves to `en` and then to the key itself.
4
+ * locale**): ships with the plugin rather than living in core's catalogs, so
5
+ * core carries no plugin keys. `en` is the required fallback; a missing key
6
+ * resolves to `en` and then to the key itself.
9
7
  *
10
8
  * The `{param}` placeholders are substituted by the SDK locale service's `t`.
11
9
  * The progress/error strings are passed through `t` and handed to
@@ -21,7 +21,7 @@ export interface PdfExportMessages {
21
21
  filename: string;
22
22
  }): string;
23
23
  }
24
- /** English fallbacks — the same strings core shipped in `messages/en.json`. */
24
+ /** English fallbacks — the same strings core ships in its `src/lib/messages/en.json`. */
25
25
  export declare const DEFAULT_PDF_EXPORT_MESSAGES: PdfExportMessages;
26
26
  type NormalizeCanvasRangeResult = {
27
27
  startIndex: number;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This plugin's identity, in one place.
3
+ *
4
+ * `definePlugin` and the `pluginerror` reporter both need it, and writing the
5
+ * version out at each site is how the two drifted from each other.
6
+ */
7
+ export declare const PLUGIN_META: {
8
+ readonly name: "@triiiceratops/plugin-pdf-export";
9
+ readonly version: "1.0.0";
10
+ };