@data-fair/lib-common-types 1.8.3 → 1.8.4
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/event/.type/index.d.ts +2 -0
- package/event/schema.d.ts +4 -0
- package/event/schema.js +4 -0
- package/package.json +1 -1
package/event/.type/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export type Type = "user" | "organization";
|
|
|
10
10
|
export type UserID = string;
|
|
11
11
|
export type UserName = string;
|
|
12
12
|
export type UserEmail = string;
|
|
13
|
+
export type UserWasWorkingAsAPlatformAdmin = boolean;
|
|
13
14
|
export type OrganizationID = string;
|
|
14
15
|
export type OrganizationName = string;
|
|
15
16
|
export type OrganizationDepartment = string;
|
|
@@ -41,6 +42,7 @@ export type Event = {
|
|
|
41
42
|
id?: UserID;
|
|
42
43
|
name?: UserName;
|
|
43
44
|
email?: UserEmail;
|
|
45
|
+
admin?: UserWasWorkingAsAPlatformAdmin;
|
|
44
46
|
[k: string]: unknown;
|
|
45
47
|
};
|
|
46
48
|
organization?: {
|
package/event/schema.d.ts
CHANGED
package/event/schema.js
CHANGED