@stoker-platform/types 0.5.4 → 0.5.5
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/package.json +1 -1
- package/src/types/schema.ts +4 -1
package/package.json
CHANGED
package/src/types/schema.ts
CHANGED
|
@@ -721,6 +721,8 @@ export interface CollectionAdmin {
|
|
|
721
721
|
) => Partial<StokerRecord> | void | Promise<Partial<StokerRecord> | void>
|
|
722
722
|
addRecordButtonOverride?: (record?: StokerRecord) => void | Promise<void>
|
|
723
723
|
disableRangeSelector?: boolean | (() => boolean)
|
|
724
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
725
|
+
retriever?: () => any | Promise<any>
|
|
724
726
|
}
|
|
725
727
|
export interface CollectionAdminCache {
|
|
726
728
|
navbarPosition?: number
|
|
@@ -943,7 +945,8 @@ export interface EmbeddingField extends StandardField {
|
|
|
943
945
|
}
|
|
944
946
|
export interface ComputedField extends StandardField {
|
|
945
947
|
type: "Computed"
|
|
946
|
-
|
|
948
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
949
|
+
formula: (record: StokerRecord, retrieverData?: any) => string | number | Promise<string | number>
|
|
947
950
|
}
|
|
948
951
|
export type CollectionField =
|
|
949
952
|
| BooleanField
|