@tecof/theme-editor 0.0.30 → 0.0.32

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/index.d.mts CHANGED
@@ -228,7 +228,7 @@ declare class TecofApiClient {
228
228
  getCmsCollectionItems(collectionSlug: string, options?: {
229
229
  page?: number;
230
230
  limit?: number;
231
- sort?: 'newest' | 'oldest';
231
+ sort?: 'newest' | 'oldest' | 'custom';
232
232
  locale?: string;
233
233
  }): Promise<ApiResponse<any>>;
234
234
  /** CDN base URL (defaults to apiUrl if not set) */
@@ -650,7 +650,7 @@ interface CmsCollectionFieldValue {
650
650
  /** Max items to fetch */
651
651
  limit?: number;
652
652
  /** Sort order */
653
- sort?: 'newest' | 'oldest';
653
+ sort?: 'newest' | 'oldest' | 'custom';
654
654
  /** Field mapping: slotKey → CMS field shortcode */
655
655
  fieldMap?: Record<string, string>;
656
656
  }
package/dist/index.d.ts CHANGED
@@ -228,7 +228,7 @@ declare class TecofApiClient {
228
228
  getCmsCollectionItems(collectionSlug: string, options?: {
229
229
  page?: number;
230
230
  limit?: number;
231
- sort?: 'newest' | 'oldest';
231
+ sort?: 'newest' | 'oldest' | 'custom';
232
232
  locale?: string;
233
233
  }): Promise<ApiResponse<any>>;
234
234
  /** CDN base URL (defaults to apiUrl if not set) */
@@ -650,7 +650,7 @@ interface CmsCollectionFieldValue {
650
650
  /** Max items to fetch */
651
651
  limit?: number;
652
652
  /** Sort order */
653
- sort?: 'newest' | 'oldest';
653
+ sort?: 'newest' | 'oldest' | 'custom';
654
654
  /** Field mapping: slotKey → CMS field shortcode */
655
655
  fieldMap?: Record<string, string>;
656
656
  }