@lit-pigeon/core 0.2.0 → 0.3.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +18 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -60,6 +60,7 @@ export declare interface AssetManagerConfig {
60
60
  presignedUpload?: {
61
61
  getUploadParams: (file: File) => Promise<PresignedUploadParams>;
62
62
  };
63
+ stock?: StockConfig;
63
64
  }
64
65
 
65
66
  /**
@@ -766,6 +767,23 @@ export declare interface Step {
766
767
  invert(doc: PigeonDocument): Step;
767
768
  }
768
769
 
770
+ export declare interface StockConfig {
771
+ /** Unsplash Access Key (used client-side). Enables the Unsplash source. */
772
+ unsplash?: {
773
+ accessKey: string;
774
+ };
775
+ /** Pexels API key (used client-side). Enables the Pexels source. */
776
+ pexels?: {
777
+ apiKey: string;
778
+ };
779
+ /**
780
+ * utm_source label for Unsplash attribution links and the download-ping
781
+ * request. Unsplash guidelines require identifying your application.
782
+ * Defaults to "lit-pigeon" when unset; hosts should override.
783
+ */
784
+ appName?: string;
785
+ }
786
+
769
787
  /**
770
788
  * Built-in system link types. `unsubscribe`/`view-in-browser` emit fixed
771
789
  * `{{…}}` placeholder hrefs (conventional ESP tokens, resolved by the host at
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lit-pigeon/core",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "Pure TypeScript engine for the Pigeon email editor",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",