@krak-stack/auth 0.2.12 → 0.2.13

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.
@@ -40,6 +40,7 @@ export declare const AdminApiGroup: HttpApiGroup.HttpApiGroup<"admin", HttpApiEn
40
40
  readonly id: Schema.String;
41
41
  readonly name: Schema.String;
42
42
  readonly image: Schema.NullOr<Schema.String>;
43
+ readonly role: Schema.String;
43
44
  }>>>;
44
45
  readonly projects: Schema.optional<Schema.$Array<Schema.Struct<{
45
46
  readonly id: Schema.String;
@@ -124,6 +125,7 @@ export declare const AdminApiGroup: HttpApiGroup.HttpApiGroup<"admin", HttpApiEn
124
125
  readonly id: Schema.String;
125
126
  readonly name: Schema.String;
126
127
  readonly image: Schema.NullOr<Schema.String>;
128
+ readonly role: Schema.String;
127
129
  }>>>;
128
130
  readonly projects: Schema.optional<Schema.$Array<Schema.Struct<{
129
131
  readonly id: Schema.String;
@@ -238,6 +240,7 @@ export declare const AdminApiGroup: HttpApiGroup.HttpApiGroup<"admin", HttpApiEn
238
240
  readonly id: Schema.String;
239
241
  readonly name: Schema.String;
240
242
  readonly image: Schema.NullOr<Schema.String>;
243
+ readonly role: Schema.String;
241
244
  }>>>;
242
245
  readonly projects: Schema.optional<Schema.$Array<Schema.Struct<{
243
246
  readonly id: Schema.String;
@@ -383,6 +386,7 @@ export declare const AdminApiGroup: HttpApiGroup.HttpApiGroup<"admin", HttpApiEn
383
386
  readonly id: Schema.String;
384
387
  readonly name: Schema.String;
385
388
  readonly image: Schema.NullOr<Schema.String>;
389
+ readonly role: Schema.String;
386
390
  }>>>;
387
391
  readonly projects: Schema.optional<Schema.$Array<Schema.Struct<{
388
392
  readonly id: Schema.String;
@@ -47,6 +47,7 @@ export declare const AdminOrganizationMember: Schema.Struct<{
47
47
  readonly id: Schema.String;
48
48
  readonly name: Schema.String;
49
49
  readonly image: Schema.NullOr<Schema.String>;
50
+ readonly role: Schema.String;
50
51
  }>;
51
52
  export declare const AdminOrganization: Schema.Struct<{
52
53
  readonly id: Schema.String;
@@ -61,6 +62,7 @@ export declare const AdminOrganization: Schema.Struct<{
61
62
  readonly id: Schema.String;
62
63
  readonly name: Schema.String;
63
64
  readonly image: Schema.NullOr<Schema.String>;
65
+ readonly role: Schema.String;
64
66
  }>>>;
65
67
  readonly projects: Schema.optional<Schema.$Array<Schema.Struct<{
66
68
  readonly id: Schema.String;
@@ -200,6 +202,7 @@ export declare const PaginatedAdminOrganizations: Schema.Struct<{
200
202
  readonly id: Schema.String;
201
203
  readonly name: Schema.String;
202
204
  readonly image: Schema.NullOr<Schema.String>;
205
+ readonly role: Schema.String;
203
206
  }>>>;
204
207
  readonly projects: Schema.optional<Schema.$Array<Schema.Struct<{
205
208
  readonly id: Schema.String;
@@ -69,6 +69,7 @@ export const AdminOrganizationMember = Schema.Struct({
69
69
  id: Schema.String,
70
70
  name: Schema.String,
71
71
  image: Schema.NullOr(Schema.String),
72
+ role: Schema.String,
72
73
  }).annotate({
73
74
  identifier: "AdminOrganizationMember",
74
75
  title: "Admin organization member",
@@ -100,7 +101,9 @@ export const AdminOrganization = Schema.Struct({
100
101
  userId: null,
101
102
  parentId: null,
102
103
  memberCount: 12,
103
- memberPreviews: [{ id: "user-id", name: "Ada Lovelace", image: null }],
104
+ memberPreviews: [
105
+ { id: "user-id", name: "Ada Lovelace", image: null, role: "owner" },
106
+ ],
104
107
  projects: [{ id: "project-id", name: "Portal", logo: null }],
105
108
  createdAt: new Date("2026-01-01T00:00:00.000Z"),
106
109
  },