@stacksjs/types 0.72.24 → 0.72.26

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.
@@ -142,5 +142,7 @@ export declare interface SearchOptions {
142
142
  filterable: string[]
143
143
  options?: SearchEngineOptions
144
144
  denormalize?: Record<string, string>
145
+ shape?: (model: any) => Record<string, unknown> | null | undefined | Promise<Record<string, unknown> | null | undefined>
146
+ shapeMany?: (models: any[]) => Record<string, unknown>[] | Promise<Record<string, unknown>[]>
145
147
  }
146
148
  export type SearchEngineConfig = Partial<SearchEngineOptions>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/types",
3
3
  "type": "module",
4
- "version": "0.72.24",
4
+ "version": "0.72.26",
5
5
  "description": "The Stacks framework types.",
6
6
  "author": "Chris Breuer",
7
7
  "contributors": [
@@ -71,7 +71,7 @@
71
71
  }
72
72
  },
73
73
  "devDependencies": {
74
- "@stacksjs/validation": "0.72.24",
74
+ "@stacksjs/validation": "0.72.26",
75
75
  "better-dx": "^0.2.23",
76
76
  "meilisearch": "^0.59.0"
77
77
  },