@stoker-platform/types 0.5.42 → 0.5.44
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 +3 -3
- package/src/types/schema.ts +1 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stoker-platform/types",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.44",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"main": "src/main.ts",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@fullcalendar/core": "^6.1.20",
|
|
26
26
|
"@google-cloud/storage": "^7.19.0",
|
|
27
|
-
"firebase": "^12.
|
|
28
|
-
"firebase-admin": "^13.
|
|
27
|
+
"firebase": "^12.14.0",
|
|
28
|
+
"firebase-admin": "^13.10.0"
|
|
29
29
|
}
|
|
30
30
|
}
|
package/src/types/schema.ts
CHANGED
|
@@ -2,7 +2,6 @@ import { Timestamp as AdminTimestamp, FieldValue } from "firebase-admin/firestor
|
|
|
2
2
|
import { Timestamp, WhereFilterOp, WriteBatch } from "firebase/firestore"
|
|
3
3
|
import { NodeUtilities, WebUtilities } from "./app"
|
|
4
4
|
import { CalendarOptions } from "@fullcalendar/core"
|
|
5
|
-
import { SearchResult } from "minisearch"
|
|
6
5
|
|
|
7
6
|
export type StokerRole = string
|
|
8
7
|
export type StokerCollection = string
|
|
@@ -911,7 +910,7 @@ export interface FieldAdmin {
|
|
|
911
910
|
skipFormRequiredValidation?: boolean | (() => boolean)
|
|
912
911
|
overrideFormRequiredValidation?: (operation: "create" | "update", record?: StokerRecord) => boolean
|
|
913
912
|
filterValues?: (value: string | number, parentCollection: CollectionSchema, parentRecord?: StokerRecord) => boolean
|
|
914
|
-
filterResults?: (result:
|
|
913
|
+
filterResults?: (result: StokerRecord, parentCollection: CollectionSchema, parentRecord?: StokerRecord) => boolean
|
|
915
914
|
modifyResultTitle?: (
|
|
916
915
|
record: StokerRecord,
|
|
917
916
|
parentCollection: CollectionSchema,
|