@snowcone-app/sdk 0.13.0 → 0.14.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 +6 -0
- package/dist/index.d.cts +7 -5
- package/dist/index.d.ts +7 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.14.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#646](https://github.com/snowcone-app/snowcone-monorepo/pull/646) [`e2c6f42`](https://github.com/snowcone-app/snowcone-monorepo/commit/e2c6f424c74eaf60402ce55bac7b081fe5e0ed18) Thanks [@kevinsproles](https://github.com/kevinsproles)! - Designs catalog now indexes every published marketplace design, not just first-party-curated picks. The design doc's `firstParty: true` field is replaced by a `curated: boolean` filterable facet (`curated = true` selects Snowcone-curated designs); `curated` is also added to the index's filterable attributes.
|
|
8
|
+
|
|
3
9
|
## 0.13.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/dist/index.d.cts
CHANGED
|
@@ -3129,7 +3129,8 @@ interface CatalogDesign {
|
|
|
3129
3129
|
license?: {
|
|
3130
3130
|
remixable?: boolean;
|
|
3131
3131
|
};
|
|
3132
|
-
|
|
3132
|
+
/** First-party curation flag — filterable facet (`curated = true`). */
|
|
3133
|
+
curated?: boolean;
|
|
3133
3134
|
/** RESERVED — always null today; future structured slot metadata. */
|
|
3134
3135
|
slots?: unknown;
|
|
3135
3136
|
[key: string]: unknown;
|
|
@@ -3157,10 +3158,11 @@ interface SnowconeClient {
|
|
|
3157
3158
|
declare function listProducts(config?: Partial<SdkConfig>): Promise<CatalogListResponse>;
|
|
3158
3159
|
declare function getProduct(idOrSlug: string, config?: Partial<SdkConfig>): Promise<CatalogProduct>;
|
|
3159
3160
|
/**
|
|
3160
|
-
* Search the public
|
|
3161
|
-
*
|
|
3162
|
-
*
|
|
3163
|
-
* @snowcone-app/mockup-url's
|
|
3161
|
+
* Search the public designs catalog (every published marketplace design;
|
|
3162
|
+
* filter `curated = true` for first-party-curated picks) so an integration
|
|
3163
|
+
* never starts from a blank canvas. Returns mockup-URL components per
|
|
3164
|
+
* design — feed `assets` (or `asset`) into @snowcone-app/mockup-url's
|
|
3165
|
+
* builder or the canvas/embed primitives.
|
|
3164
3166
|
*/
|
|
3165
3167
|
declare function searchDesigns(query?: string, options?: SearchDesignsOptions): Promise<DesignsSearchResponse>;
|
|
3166
3168
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -3129,7 +3129,8 @@ interface CatalogDesign {
|
|
|
3129
3129
|
license?: {
|
|
3130
3130
|
remixable?: boolean;
|
|
3131
3131
|
};
|
|
3132
|
-
|
|
3132
|
+
/** First-party curation flag — filterable facet (`curated = true`). */
|
|
3133
|
+
curated?: boolean;
|
|
3133
3134
|
/** RESERVED — always null today; future structured slot metadata. */
|
|
3134
3135
|
slots?: unknown;
|
|
3135
3136
|
[key: string]: unknown;
|
|
@@ -3157,10 +3158,11 @@ interface SnowconeClient {
|
|
|
3157
3158
|
declare function listProducts(config?: Partial<SdkConfig>): Promise<CatalogListResponse>;
|
|
3158
3159
|
declare function getProduct(idOrSlug: string, config?: Partial<SdkConfig>): Promise<CatalogProduct>;
|
|
3159
3160
|
/**
|
|
3160
|
-
* Search the public
|
|
3161
|
-
*
|
|
3162
|
-
*
|
|
3163
|
-
* @snowcone-app/mockup-url's
|
|
3161
|
+
* Search the public designs catalog (every published marketplace design;
|
|
3162
|
+
* filter `curated = true` for first-party-curated picks) so an integration
|
|
3163
|
+
* never starts from a blank canvas. Returns mockup-URL components per
|
|
3164
|
+
* design — feed `assets` (or `asset`) into @snowcone-app/mockup-url's
|
|
3165
|
+
* builder or the canvas/embed primitives.
|
|
3164
3166
|
*/
|
|
3165
3167
|
declare function searchDesigns(query?: string, options?: SearchDesignsOptions): Promise<DesignsSearchResponse>;
|
|
3166
3168
|
/**
|