@krak-stack/auth 0.1.15 → 0.1.16

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/dist/client.d.ts CHANGED
@@ -23,10 +23,10 @@ declare const AuthApiClients_base: Context.ServiceClass<AuthApiClients, "@krak-s
23
23
  readonly translations: readonly {
24
24
  readonly locale: "en" | "fr";
25
25
  readonly name: string;
26
- readonly logo: string | null;
27
- readonly icon: string | null;
28
- readonly contactEmail: string | null;
29
- readonly location: string | null;
26
+ readonly logo?: string | null | undefined;
27
+ readonly icon?: string | null | undefined;
28
+ readonly contactEmail?: string | null | undefined;
29
+ readonly location?: string | null | undefined;
30
30
  }[];
31
31
  } | null;
32
32
  readonly createdAt: Date;
@@ -47,10 +47,10 @@ declare const AuthApiClients_base: Context.ServiceClass<AuthApiClients, "@krak-s
47
47
  readonly translations: readonly {
48
48
  readonly locale: "en" | "fr";
49
49
  readonly name: string;
50
- readonly logo: string | null;
51
- readonly icon: string | null;
52
- readonly contactEmail: string | null;
53
- readonly location: string | null;
50
+ readonly logo?: string | null | undefined;
51
+ readonly icon?: string | null | undefined;
52
+ readonly contactEmail?: string | null | undefined;
53
+ readonly location?: string | null | undefined;
54
54
  }[];
55
55
  } | null;
56
56
  readonly createdAt: Date;
@@ -276,10 +276,10 @@ declare const AuthApiClients_base: Context.ServiceClass<AuthApiClients, "@krak-s
276
276
  readonly translations: readonly {
277
277
  readonly locale: "en" | "fr";
278
278
  readonly name: string;
279
- readonly logo: string | null;
280
- readonly icon: string | null;
281
- readonly contactEmail: string | null;
282
- readonly location: string | null;
279
+ readonly logo?: string | null | undefined;
280
+ readonly icon?: string | null | undefined;
281
+ readonly contactEmail?: string | null | undefined;
282
+ readonly location?: string | null | undefined;
283
283
  }[];
284
284
  } | null;
285
285
  readonly createdAt: Date;
@@ -300,10 +300,10 @@ declare const AuthApiClients_base: Context.ServiceClass<AuthApiClients, "@krak-s
300
300
  readonly translations: readonly {
301
301
  readonly locale: "en" | "fr";
302
302
  readonly name: string;
303
- readonly logo: string | null;
304
- readonly icon: string | null;
305
- readonly contactEmail: string | null;
306
- readonly location: string | null;
303
+ readonly logo?: string | null | undefined;
304
+ readonly icon?: string | null | undefined;
305
+ readonly contactEmail?: string | null | undefined;
306
+ readonly location?: string | null | undefined;
307
307
  }[];
308
308
  } | null;
309
309
  readonly createdAt: Date;
@@ -558,10 +558,10 @@ declare const AuthClient_base: Context.ServiceClass<AuthClient, "@krak-stack/aut
558
558
  readonly translations: readonly {
559
559
  readonly locale: "en" | "fr";
560
560
  readonly name: string;
561
- readonly logo: string | null;
562
- readonly icon: string | null;
563
- readonly contactEmail: string | null;
564
- readonly location: string | null;
561
+ readonly logo?: string | null | undefined;
562
+ readonly icon?: string | null | undefined;
563
+ readonly contactEmail?: string | null | undefined;
564
+ readonly location?: string | null | undefined;
565
565
  }[];
566
566
  } | null;
567
567
  readonly createdAt: Date;
@@ -582,10 +582,10 @@ declare const AuthClient_base: Context.ServiceClass<AuthClient, "@krak-stack/aut
582
582
  readonly translations: readonly {
583
583
  readonly locale: "en" | "fr";
584
584
  readonly name: string;
585
- readonly logo: string | null;
586
- readonly icon: string | null;
587
- readonly contactEmail: string | null;
588
- readonly location: string | null;
585
+ readonly logo?: string | null | undefined;
586
+ readonly icon?: string | null | undefined;
587
+ readonly contactEmail?: string | null | undefined;
588
+ readonly location?: string | null | undefined;
589
589
  }[];
590
590
  } | null;
591
591
  readonly createdAt: Date;
@@ -809,10 +809,10 @@ declare const AuthClient_base: Context.ServiceClass<AuthClient, "@krak-stack/aut
809
809
  readonly translations: readonly {
810
810
  readonly locale: "en" | "fr";
811
811
  readonly name: string;
812
- readonly logo: string | null;
813
- readonly icon: string | null;
814
- readonly contactEmail: string | null;
815
- readonly location: string | null;
812
+ readonly logo?: string | null | undefined;
813
+ readonly icon?: string | null | undefined;
814
+ readonly contactEmail?: string | null | undefined;
815
+ readonly location?: string | null | undefined;
816
816
  }[];
817
817
  } | null;
818
818
  readonly createdAt: Date;
@@ -833,10 +833,10 @@ declare const AuthClient_base: Context.ServiceClass<AuthClient, "@krak-stack/aut
833
833
  readonly translations: readonly {
834
834
  readonly locale: "en" | "fr";
835
835
  readonly name: string;
836
- readonly logo: string | null;
837
- readonly icon: string | null;
838
- readonly contactEmail: string | null;
839
- readonly location: string | null;
836
+ readonly logo?: string | null | undefined;
837
+ readonly icon?: string | null | undefined;
838
+ readonly contactEmail?: string | null | undefined;
839
+ readonly location?: string | null | undefined;
840
840
  }[];
841
841
  } | null;
842
842
  readonly createdAt: Date;
package/dist/schema.d.ts CHANGED
@@ -26,19 +26,19 @@ export declare const OrganizationLocale: Schema.Union<readonly [Schema.Literal<"
26
26
  export declare const OrganizationTranslation: Schema.Struct<{
27
27
  readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
28
28
  readonly name: Schema.String;
29
- readonly logo: Schema.NullOr<Schema.String>;
30
- readonly icon: Schema.NullOr<Schema.String>;
31
- readonly contactEmail: Schema.NullOr<Schema.String>;
32
- readonly location: Schema.NullOr<Schema.String>;
29
+ readonly logo: Schema.optional<Schema.NullOr<Schema.String>>;
30
+ readonly icon: Schema.optional<Schema.NullOr<Schema.String>>;
31
+ readonly contactEmail: Schema.optional<Schema.NullOr<Schema.String>>;
32
+ readonly location: Schema.optional<Schema.NullOr<Schema.String>>;
33
33
  }>;
34
34
  export declare const OrganizationMetadata: Schema.Struct<{
35
35
  readonly translations: Schema.$Array<Schema.Struct<{
36
36
  readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
37
37
  readonly name: Schema.String;
38
- readonly logo: Schema.NullOr<Schema.String>;
39
- readonly icon: Schema.NullOr<Schema.String>;
40
- readonly contactEmail: Schema.NullOr<Schema.String>;
41
- readonly location: Schema.NullOr<Schema.String>;
38
+ readonly logo: Schema.optional<Schema.NullOr<Schema.String>>;
39
+ readonly icon: Schema.optional<Schema.NullOr<Schema.String>>;
40
+ readonly contactEmail: Schema.optional<Schema.NullOr<Schema.String>>;
41
+ readonly location: Schema.optional<Schema.NullOr<Schema.String>>;
42
42
  }>>;
43
43
  }>;
44
44
  export declare const Organization: Schema.Struct<{
@@ -50,10 +50,10 @@ export declare const Organization: Schema.Struct<{
50
50
  readonly translations: Schema.$Array<Schema.Struct<{
51
51
  readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
52
52
  readonly name: Schema.String;
53
- readonly logo: Schema.NullOr<Schema.String>;
54
- readonly icon: Schema.NullOr<Schema.String>;
55
- readonly contactEmail: Schema.NullOr<Schema.String>;
56
- readonly location: Schema.NullOr<Schema.String>;
53
+ readonly logo: Schema.optional<Schema.NullOr<Schema.String>>;
54
+ readonly icon: Schema.optional<Schema.NullOr<Schema.String>>;
55
+ readonly contactEmail: Schema.optional<Schema.NullOr<Schema.String>>;
56
+ readonly location: Schema.optional<Schema.NullOr<Schema.String>>;
57
57
  }>>;
58
58
  }>>;
59
59
  readonly createdAt: Schema.Date;
package/dist/schema.js CHANGED
@@ -69,10 +69,10 @@ export const OrganizationLocale = Schema.Union([
69
69
  export const OrganizationTranslation = Schema.Struct({
70
70
  locale: OrganizationLocale,
71
71
  name: Schema.String,
72
- logo: Schema.NullOr(Schema.String),
73
- icon: Schema.NullOr(Schema.String),
74
- contactEmail: Schema.NullOr(Schema.String),
75
- location: Schema.NullOr(Schema.String),
72
+ logo: Schema.optional(Schema.NullOr(Schema.String)),
73
+ icon: Schema.optional(Schema.NullOr(Schema.String)),
74
+ contactEmail: Schema.optional(Schema.NullOr(Schema.String)),
75
+ location: Schema.optional(Schema.NullOr(Schema.String)),
76
76
  }).annotate({
77
77
  identifier: "OrganizationTranslation",
78
78
  title: "Organization translation",
@@ -45,10 +45,10 @@ export declare const ServerOrganizationsApiGroup: HttpApiGroup.HttpApiGroup<"ser
45
45
  readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
46
46
  readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
47
47
  readonly name: import("effect/Schema").String;
48
- readonly logo: import("effect/Schema").NullOr<import("effect/Schema").String>;
49
- readonly icon: import("effect/Schema").NullOr<import("effect/Schema").String>;
50
- readonly contactEmail: import("effect/Schema").NullOr<import("effect/Schema").String>;
51
- readonly location: import("effect/Schema").NullOr<import("effect/Schema").String>;
48
+ readonly logo: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
49
+ readonly icon: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
50
+ readonly contactEmail: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
51
+ readonly location: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
52
52
  }>>;
53
53
  }>>;
54
54
  readonly createdAt: import("effect/Schema").Date;
@@ -65,10 +65,10 @@ export declare const ServerOrganizationsApiGroup: HttpApiGroup.HttpApiGroup<"ser
65
65
  readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
66
66
  readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
67
67
  readonly name: import("effect/Schema").String;
68
- readonly logo: import("effect/Schema").NullOr<import("effect/Schema").String>;
69
- readonly icon: import("effect/Schema").NullOr<import("effect/Schema").String>;
70
- readonly contactEmail: import("effect/Schema").NullOr<import("effect/Schema").String>;
71
- readonly location: import("effect/Schema").NullOr<import("effect/Schema").String>;
68
+ readonly logo: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
69
+ readonly icon: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
70
+ readonly contactEmail: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
71
+ readonly location: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
72
72
  }>>;
73
73
  }>>;
74
74
  readonly createdAt: import("effect/Schema").Date;
@@ -156,10 +156,10 @@ export declare const ServerApi: HttpApi.HttpApi<"ServerApi", HttpApiGroup.HttpAp
156
156
  readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
157
157
  readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
158
158
  readonly name: import("effect/Schema").String;
159
- readonly logo: import("effect/Schema").NullOr<import("effect/Schema").String>;
160
- readonly icon: import("effect/Schema").NullOr<import("effect/Schema").String>;
161
- readonly contactEmail: import("effect/Schema").NullOr<import("effect/Schema").String>;
162
- readonly location: import("effect/Schema").NullOr<import("effect/Schema").String>;
159
+ readonly logo: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
160
+ readonly icon: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
161
+ readonly contactEmail: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
162
+ readonly location: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
163
163
  }>>;
164
164
  }>>;
165
165
  readonly createdAt: import("effect/Schema").Date;
@@ -176,10 +176,10 @@ export declare const ServerApi: HttpApi.HttpApi<"ServerApi", HttpApiGroup.HttpAp
176
176
  readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
177
177
  readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
178
178
  readonly name: import("effect/Schema").String;
179
- readonly logo: import("effect/Schema").NullOr<import("effect/Schema").String>;
180
- readonly icon: import("effect/Schema").NullOr<import("effect/Schema").String>;
181
- readonly contactEmail: import("effect/Schema").NullOr<import("effect/Schema").String>;
182
- readonly location: import("effect/Schema").NullOr<import("effect/Schema").String>;
179
+ readonly logo: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
180
+ readonly icon: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
181
+ readonly contactEmail: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
182
+ readonly location: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
183
183
  }>>;
184
184
  }>>;
185
185
  readonly createdAt: import("effect/Schema").Date;
@@ -46,10 +46,10 @@ export declare const ServerOrganizationsResponse: Schema.Struct<{
46
46
  readonly translations: Schema.$Array<Schema.Struct<{
47
47
  readonly locale: Schema.Union<readonly [Schema.Literal<"en">, Schema.Literal<"fr">]>;
48
48
  readonly name: Schema.String;
49
- readonly logo: Schema.NullOr<Schema.String>;
50
- readonly icon: Schema.NullOr<Schema.String>;
51
- readonly contactEmail: Schema.NullOr<Schema.String>;
52
- readonly location: Schema.NullOr<Schema.String>;
49
+ readonly logo: Schema.optional<Schema.NullOr<Schema.String>>;
50
+ readonly icon: Schema.optional<Schema.NullOr<Schema.String>>;
51
+ readonly contactEmail: Schema.optional<Schema.NullOr<Schema.String>>;
52
+ readonly location: Schema.optional<Schema.NullOr<Schema.String>>;
53
53
  }>>;
54
54
  }>>;
55
55
  readonly createdAt: Schema.Date;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@krak-stack/auth",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "description": "Effect HttpApi clients and schemas for KrakStack Auth.",
5
5
  "license": "MIT",
6
6
  "files": [