Skip to content

Commit cf0f89d

Browse files
committed
add imagefield to default list
1 parent 4d5ee17 commit cf0f89d

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@inspatial/cloud",
3-
"version": "0.7.11",
3+
"version": "0.7.12",
44
"license": "Apache-2.0",
55
"exports": {
66
".": "./mod.ts",

src/auth/entries/user/user-entry.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export const userEntry = new EntryType("user", {
1313
defaultListFields: ["firstName", "lastName", "email", "systemAdmin"],
1414
description: "A user of the system",
1515
searchFields: ["email"],
16+
imageField: "profilePicture",
1617
fields: [
1718
...userFields,
1819
...googleFields,

src/orm/entry/entry-type.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ export class EntryType<
180180
);
181181
}
182182
this.imageField = field;
183+
this.defaultListFields.add(field.key);
183184
}
184185

185186
this.info = {

0 commit comments

Comments
 (0)