@krak-stack/auth 0.1.24 → 0.1.27
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/api.d.ts +252 -0
- package/dist/api.js +12 -0
- package/dist/better-auth/api.d.ts +4 -4
- package/dist/better-auth/api.js +1 -1
- package/dist/better-auth/index.d.ts +2 -2
- package/dist/components/api-key.d.ts +4 -0
- package/dist/components/api-key.js +20 -0
- package/dist/components/organization-switcher.d.ts +2 -0
- package/dist/components/organization-switcher.js +86 -60
- package/dist/components/user-button.js +14 -23
- package/dist/extra/api.d.ts +37 -37
- package/dist/extra/api.js +1 -1
- package/dist/extra/index.d.ts +22 -22
- package/dist/extra/index.js +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/server/api.d.ts +181 -171
- package/dist/server/api.js +6 -6
- package/dist/server/index.d.ts +1 -1
- package/dist/server/index.js +1 -1
- package/dist/server/schema.d.ts +9 -0
- package/dist/server/schema.js +23 -1
- package/dist/service.d.ts +694 -0
- package/dist/service.js +67 -0
- package/package.json +11 -1
- package/dist/client.d.ts +0 -1348
- package/dist/client.js +0 -105
package/dist/api.d.ts
ADDED
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
import { HttpApi } from "effect/unstable/httpapi";
|
|
2
|
+
export declare const AuthApi: HttpApi.HttpApi<"AuthApi", import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"auth", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getSession", "GET", "/api/auth/get-session", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
3
|
+
readonly session: import("effect/Schema").Struct<{
|
|
4
|
+
readonly id: import("effect/Schema").String;
|
|
5
|
+
readonly expiresAt: import("effect/Schema").Date;
|
|
6
|
+
readonly token: import("effect/Schema").String;
|
|
7
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
8
|
+
readonly updatedAt: import("effect/Schema").Date;
|
|
9
|
+
readonly ipAddress: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
10
|
+
readonly userAgent: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
11
|
+
readonly userId: import("effect/Schema").String;
|
|
12
|
+
readonly impersonatedBy: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
13
|
+
readonly activeOrganizationId: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
14
|
+
}>;
|
|
15
|
+
readonly user: import("effect/Schema").Struct<{
|
|
16
|
+
readonly id: import("effect/Schema").String;
|
|
17
|
+
readonly name: import("effect/Schema").String;
|
|
18
|
+
readonly email: import("effect/Schema").String;
|
|
19
|
+
readonly emailVerified: import("effect/Schema").Boolean;
|
|
20
|
+
readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
21
|
+
readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
22
|
+
readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
|
|
23
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
24
|
+
readonly updatedAt: import("effect/Schema").Date;
|
|
25
|
+
}>;
|
|
26
|
+
}>>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").BadRequest | typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").NotFound | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError | typeof import("./better-auth").TooManyRequests>, never, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"authExtra", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createApiKey", "POST", "/api/auth/create-api-key", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
27
|
+
readonly configId: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"user">, import("effect/Schema").Literal<"organization">, import("effect/Schema").Literal<"service">]>;
|
|
28
|
+
readonly name: import("effect/Schema").optional<import("effect/Schema").NonEmptyString>;
|
|
29
|
+
readonly organizationId: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
30
|
+
readonly permissions: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").$Array<import("effect/Schema").String>>>;
|
|
31
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
32
|
+
readonly id: import("effect/Schema").String;
|
|
33
|
+
readonly key: import("effect/Schema").String;
|
|
34
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./extra").ExtraBadRequest>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"presign", "POST", "/api/organizations/logo/presign", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
35
|
+
readonly fileName: import("effect/Schema").NonEmptyString;
|
|
36
|
+
readonly contentType: import("effect/Schema").NonEmptyString;
|
|
37
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
38
|
+
readonly uploadUrl: import("effect/Schema").String;
|
|
39
|
+
readonly url: import("effect/Schema").String;
|
|
40
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").BadRequest | typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"presignUserImageUpload", "POST", "/api/auth/image/presign", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
41
|
+
readonly fileName: import("effect/Schema").NonEmptyString;
|
|
42
|
+
readonly contentType: import("effect/Schema").NonEmptyString;
|
|
43
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
44
|
+
readonly uploadUrl: import("effect/Schema").String;
|
|
45
|
+
readonly url: import("effect/Schema").String;
|
|
46
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError | typeof import("./extra").ExtraBadRequest>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"setPassword", "POST", "/api/auth/set-password", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
47
|
+
readonly newPassword: import("effect/Schema").NonEmptyString;
|
|
48
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
49
|
+
readonly ok: import("effect/Schema").Boolean;
|
|
50
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./extra").ExtraBadRequest>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"verifyApiKey", "POST", "/api/auth/verify-api-key", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
51
|
+
readonly key: import("effect/Schema").NonEmptyString;
|
|
52
|
+
readonly configId: import("effect/Schema").optional<import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"user">, import("effect/Schema").Literal<"organization">, import("effect/Schema").Literal<"service">]>>;
|
|
53
|
+
readonly permissions: import("effect/Schema").optional<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").$Array<import("effect/Schema").String>>>;
|
|
54
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
55
|
+
readonly valid: import("effect/Schema").Boolean;
|
|
56
|
+
readonly error: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
57
|
+
readonly message: import("effect/Schema").String;
|
|
58
|
+
readonly code: import("effect/Schema").String;
|
|
59
|
+
}>>;
|
|
60
|
+
readonly key: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
61
|
+
readonly id: import("effect/Schema").String;
|
|
62
|
+
readonly configId: import("effect/Schema").String;
|
|
63
|
+
readonly name: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
64
|
+
readonly start: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
65
|
+
readonly prefix: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
66
|
+
readonly referenceId: import("effect/Schema").String;
|
|
67
|
+
readonly enabled: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
|
|
68
|
+
readonly expiresAt: import("effect/Schema").NullOr<import("effect/Schema").Date>;
|
|
69
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
70
|
+
readonly updatedAt: import("effect/Schema").Date;
|
|
71
|
+
readonly permissions: import("effect/Schema").NullOr<import("effect/Schema").$Record<import("effect/Schema").String, import("effect/Schema").$Array<import("effect/Schema").String>>>;
|
|
72
|
+
readonly metadata: import("effect/Schema").NullOr<import("effect/Schema").Unknown>;
|
|
73
|
+
}>>;
|
|
74
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./extra").ExtraBadRequest>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"verifyPassword", "POST", "/api/auth/verify-password", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
75
|
+
readonly password: import("effect/Schema").NonEmptyString;
|
|
76
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
77
|
+
readonly ok: import("effect/Schema").Boolean;
|
|
78
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./extra").ExtraBadRequest>, never, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"domains", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"createDomain", "POST", "/api/domains", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
79
|
+
readonly hostname: import("effect/Schema").NonEmptyString;
|
|
80
|
+
readonly rootHostname: import("effect/Schema").NonEmptyString;
|
|
81
|
+
readonly projectId: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
82
|
+
readonly organizationId: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
83
|
+
readonly managed: import("effect/Schema").Boolean;
|
|
84
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
85
|
+
readonly id: import("effect/Schema").String;
|
|
86
|
+
readonly hostname: import("effect/Schema").String;
|
|
87
|
+
readonly rootHostname: import("effect/Schema").String;
|
|
88
|
+
readonly projectId: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
89
|
+
readonly organizationId: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
90
|
+
readonly hostnameId: import("effect/Schema").String;
|
|
91
|
+
readonly managed: import("effect/Schema").Boolean;
|
|
92
|
+
readonly active: import("effect/Schema").Boolean;
|
|
93
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
94
|
+
readonly updatedAt: import("effect/Schema").Date;
|
|
95
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").BadRequest | typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"deleteDomain", "DELETE", "/api/domains/:id", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
96
|
+
readonly id: import("effect/Schema").NonEmptyString;
|
|
97
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
98
|
+
readonly id: import("effect/Schema").String;
|
|
99
|
+
readonly hostname: import("effect/Schema").String;
|
|
100
|
+
readonly rootHostname: import("effect/Schema").String;
|
|
101
|
+
readonly projectId: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
102
|
+
readonly organizationId: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
103
|
+
readonly hostnameId: import("effect/Schema").String;
|
|
104
|
+
readonly managed: import("effect/Schema").Boolean;
|
|
105
|
+
readonly active: import("effect/Schema").Boolean;
|
|
106
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
107
|
+
readonly updatedAt: import("effect/Schema").Date;
|
|
108
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").NotFound | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getDomain", "GET", "/api/domains/:id", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
109
|
+
readonly id: import("effect/Schema").NonEmptyString;
|
|
110
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
111
|
+
readonly id: import("effect/Schema").String;
|
|
112
|
+
readonly hostname: import("effect/Schema").String;
|
|
113
|
+
readonly rootHostname: import("effect/Schema").String;
|
|
114
|
+
readonly projectId: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
115
|
+
readonly organizationId: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
116
|
+
readonly hostnameId: import("effect/Schema").String;
|
|
117
|
+
readonly managed: import("effect/Schema").Boolean;
|
|
118
|
+
readonly active: import("effect/Schema").Boolean;
|
|
119
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
120
|
+
readonly updatedAt: import("effect/Schema").Date;
|
|
121
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").NotFound | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getDomainByHost", "GET", "/api/domains/by-host/:hostname", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
122
|
+
readonly hostname: import("effect/Schema").NonEmptyString;
|
|
123
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
124
|
+
readonly id: import("effect/Schema").String;
|
|
125
|
+
readonly hostname: import("effect/Schema").String;
|
|
126
|
+
readonly rootHostname: import("effect/Schema").String;
|
|
127
|
+
readonly projectId: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
128
|
+
readonly organizationId: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
129
|
+
readonly hostnameId: import("effect/Schema").String;
|
|
130
|
+
readonly managed: import("effect/Schema").Boolean;
|
|
131
|
+
readonly active: import("effect/Schema").Boolean;
|
|
132
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
133
|
+
readonly updatedAt: import("effect/Schema").Date;
|
|
134
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").NotFound | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getDomainRecords", "GET", "/api/domains/:id/records", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
135
|
+
readonly id: import("effect/Schema").NonEmptyString;
|
|
136
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
137
|
+
readonly required: import("effect/Schema").Boolean;
|
|
138
|
+
readonly status: import("effect/Schema").String;
|
|
139
|
+
readonly type: import("effect/Schema").String;
|
|
140
|
+
readonly name: import("effect/Schema").String;
|
|
141
|
+
readonly value: import("effect/Schema").String;
|
|
142
|
+
}>>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").NotFound | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"organizations", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getActiveMember", "GET", "/api/organizations/:organizationId/members/:userId", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
143
|
+
readonly organizationId: import("effect/Schema").NonEmptyString;
|
|
144
|
+
readonly userId: import("effect/Schema").NonEmptyString;
|
|
145
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
146
|
+
readonly id: import("effect/Schema").String;
|
|
147
|
+
readonly organizationId: import("effect/Schema").String;
|
|
148
|
+
readonly userId: import("effect/Schema").String;
|
|
149
|
+
readonly role: import("effect/Schema").String;
|
|
150
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
151
|
+
readonly user: import("effect/Schema").Struct<{
|
|
152
|
+
readonly id: import("effect/Schema").String;
|
|
153
|
+
readonly name: import("effect/Schema").String;
|
|
154
|
+
readonly email: import("effect/Schema").String;
|
|
155
|
+
readonly emailVerified: import("effect/Schema").Boolean;
|
|
156
|
+
readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
157
|
+
readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
158
|
+
readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
|
|
159
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
160
|
+
readonly updatedAt: import("effect/Schema").Date;
|
|
161
|
+
}>;
|
|
162
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").NotFound | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getOrganization", "GET", "/api/organizations/:id", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
163
|
+
readonly id: import("effect/Schema").NonEmptyString;
|
|
164
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
165
|
+
readonly id: import("effect/Schema").String;
|
|
166
|
+
readonly name: import("effect/Schema").String;
|
|
167
|
+
readonly slug: import("effect/Schema").String;
|
|
168
|
+
readonly logo: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
169
|
+
readonly metadata: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
170
|
+
readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
171
|
+
readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
|
|
172
|
+
readonly name: import("effect/Schema").String;
|
|
173
|
+
readonly logo: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
174
|
+
readonly icon: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
175
|
+
readonly contactEmail: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
176
|
+
readonly location: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
177
|
+
}>>;
|
|
178
|
+
}>>;
|
|
179
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
180
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").NotFound | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listOrganizationMembers", "GET", "/api/organizations/:organizationId/members", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
181
|
+
readonly organizationId: import("effect/Schema").NonEmptyString;
|
|
182
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
183
|
+
readonly id: import("effect/Schema").String;
|
|
184
|
+
readonly organizationId: import("effect/Schema").String;
|
|
185
|
+
readonly userId: import("effect/Schema").String;
|
|
186
|
+
readonly role: import("effect/Schema").String;
|
|
187
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
188
|
+
readonly user: import("effect/Schema").Struct<{
|
|
189
|
+
readonly id: import("effect/Schema").String;
|
|
190
|
+
readonly name: import("effect/Schema").String;
|
|
191
|
+
readonly email: import("effect/Schema").String;
|
|
192
|
+
readonly emailVerified: import("effect/Schema").Boolean;
|
|
193
|
+
readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
194
|
+
readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
195
|
+
readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
|
|
196
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
197
|
+
readonly updatedAt: import("effect/Schema").Date;
|
|
198
|
+
}>;
|
|
199
|
+
}>>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listOrganizations", "GET", "/api/organizations", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
200
|
+
readonly ids: import("effect/Schema").optional<import("effect/Schema").NonEmptyString>;
|
|
201
|
+
readonly userId: import("effect/Schema").optional<import("effect/Schema").NonEmptyString>;
|
|
202
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
203
|
+
readonly data: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
204
|
+
readonly id: import("effect/Schema").String;
|
|
205
|
+
readonly name: import("effect/Schema").String;
|
|
206
|
+
readonly slug: import("effect/Schema").String;
|
|
207
|
+
readonly logo: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
208
|
+
readonly metadata: import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
209
|
+
readonly translations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
210
|
+
readonly locale: import("effect/Schema").Union<readonly [import("effect/Schema").Literal<"en">, import("effect/Schema").Literal<"fr">]>;
|
|
211
|
+
readonly name: import("effect/Schema").String;
|
|
212
|
+
readonly logo: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
213
|
+
readonly icon: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
214
|
+
readonly contactEmail: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
215
|
+
readonly location: import("effect/Schema").optional<import("effect/Schema").NullOr<import("effect/Schema").String>>;
|
|
216
|
+
}>>;
|
|
217
|
+
}>>;
|
|
218
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
219
|
+
}>>;
|
|
220
|
+
readonly missingIds: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
221
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").BadRequest | typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never>, false> | import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"users", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getUser", "GET", "/api/users/:id", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
222
|
+
readonly id: import("effect/Schema").NonEmptyString;
|
|
223
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
224
|
+
readonly id: import("effect/Schema").String;
|
|
225
|
+
readonly name: import("effect/Schema").String;
|
|
226
|
+
readonly email: import("effect/Schema").String;
|
|
227
|
+
readonly emailVerified: import("effect/Schema").Boolean;
|
|
228
|
+
readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
229
|
+
readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
230
|
+
readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
|
|
231
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
232
|
+
readonly updatedAt: import("effect/Schema").Date;
|
|
233
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").NotFound | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getUserActiveOrganization", "GET", "/api/organizations/user/:userId/active", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
234
|
+
readonly userId: import("effect/Schema").NonEmptyString;
|
|
235
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
236
|
+
readonly id: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
237
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"listUsersByIds", "GET", "/api/users", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
238
|
+
readonly ids: import("effect/Schema").NonEmptyString;
|
|
239
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
240
|
+
readonly data: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
241
|
+
readonly id: import("effect/Schema").String;
|
|
242
|
+
readonly name: import("effect/Schema").String;
|
|
243
|
+
readonly email: import("effect/Schema").String;
|
|
244
|
+
readonly emailVerified: import("effect/Schema").Boolean;
|
|
245
|
+
readonly image: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
246
|
+
readonly role: import("effect/Schema").NullOr<import("effect/Schema").String>;
|
|
247
|
+
readonly banned: import("effect/Schema").NullOr<import("effect/Schema").Boolean>;
|
|
248
|
+
readonly createdAt: import("effect/Schema").Date;
|
|
249
|
+
readonly updatedAt: import("effect/Schema").Date;
|
|
250
|
+
}>>;
|
|
251
|
+
readonly missingIds: import("effect/Schema").$Array<import("effect/Schema").String>;
|
|
252
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError>, never, never>, false>>;
|
package/dist/api.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { HttpApi, OpenApi } from "effect/unstable/httpapi";
|
|
2
|
+
import { BetterAuthApiGroup } from "./better-auth/api";
|
|
3
|
+
import { ExtraApiGroup } from "./extra/api";
|
|
4
|
+
import { ServerDomainsApiGroup, ServerOrganizationsApiGroup, ServerUsersApiGroup, } from "./server/api";
|
|
5
|
+
export const AuthApi = HttpApi.make("AuthApi")
|
|
6
|
+
.annotateMerge(OpenApi.annotations({
|
|
7
|
+
title: "KrakStack Auth API",
|
|
8
|
+
version: "1.0.0",
|
|
9
|
+
description: "Auth API for Better Auth extensions, KrakStack extra endpoints, and trusted server endpoints.",
|
|
10
|
+
}))
|
|
11
|
+
.add(BetterAuthApiGroup.prefix("/auth"), ExtraApiGroup, ServerUsersApiGroup, ServerOrganizationsApiGroup, ServerDomainsApiGroup)
|
|
12
|
+
.prefix("/api");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HttpApi } from "effect/unstable/httpapi";
|
|
2
2
|
import { HttpApiEndpoint, HttpApiError, HttpApiGroup } from "effect/unstable/httpapi";
|
|
3
3
|
import { TooManyRequests } from "./schema";
|
|
4
|
-
export declare const BetterAuthApiGroup: HttpApiGroup.HttpApiGroup<"
|
|
4
|
+
export declare const BetterAuthApiGroup: HttpApiGroup.HttpApiGroup<"auth", HttpApiEndpoint.HttpApiEndpoint<"getSession", "GET", "/get-session", HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
5
5
|
readonly session: import("effect/Schema").Struct<{
|
|
6
6
|
readonly id: import("effect/Schema").String;
|
|
7
7
|
readonly expiresAt: import("effect/Schema").Date;
|
|
@@ -25,8 +25,8 @@ export declare const BetterAuthApiGroup: HttpApiGroup.HttpApiGroup<"betterAuth",
|
|
|
25
25
|
readonly createdAt: import("effect/Schema").Date;
|
|
26
26
|
readonly updatedAt: import("effect/Schema").Date;
|
|
27
27
|
}>;
|
|
28
|
-
}>>>, HttpApiEndpoint.Json<typeof
|
|
29
|
-
export declare const BetterAuthApi: HttpApi.HttpApi<"BetterAuthApi", HttpApiGroup.HttpApiGroup<"
|
|
28
|
+
}>>>, HttpApiEndpoint.Json<typeof HttpApiError.BadRequest | typeof HttpApiError.Unauthorized | typeof HttpApiError.Forbidden | typeof HttpApiError.NotFound | typeof HttpApiError.InternalServerError | typeof TooManyRequests>, never, never>, false>;
|
|
29
|
+
export declare const BetterAuthApi: HttpApi.HttpApi<"BetterAuthApi", HttpApiGroup.HttpApiGroup<"auth", HttpApiEndpoint.HttpApiEndpoint<"getSession", "GET", "/api/auth/get-session", HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
30
30
|
readonly session: import("effect/Schema").Struct<{
|
|
31
31
|
readonly id: import("effect/Schema").String;
|
|
32
32
|
readonly expiresAt: import("effect/Schema").Date;
|
|
@@ -50,4 +50,4 @@ export declare const BetterAuthApi: HttpApi.HttpApi<"BetterAuthApi", HttpApiGrou
|
|
|
50
50
|
readonly createdAt: import("effect/Schema").Date;
|
|
51
51
|
readonly updatedAt: import("effect/Schema").Date;
|
|
52
52
|
}>;
|
|
53
|
-
}>>>, HttpApiEndpoint.Json<typeof
|
|
53
|
+
}>>>, HttpApiEndpoint.Json<typeof HttpApiError.BadRequest | typeof HttpApiError.Unauthorized | typeof HttpApiError.Forbidden | typeof HttpApiError.NotFound | typeof HttpApiError.InternalServerError | typeof TooManyRequests>, never, never>, false>>;
|
package/dist/better-auth/api.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HttpApi, OpenApi } from "effect/unstable/httpapi";
|
|
2
2
|
import { HttpApiEndpoint, HttpApiError, HttpApiGroup, } from "effect/unstable/httpapi";
|
|
3
3
|
import { GetSessionResponse, TooManyRequests } from "./schema";
|
|
4
|
-
export const BetterAuthApiGroup = HttpApiGroup.make("
|
|
4
|
+
export const BetterAuthApiGroup = HttpApiGroup.make("auth")
|
|
5
5
|
.add(HttpApiEndpoint.get("getSession", "/get-session", {
|
|
6
6
|
success: GetSessionResponse,
|
|
7
7
|
error: [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AtomHttpApi } from "effect/unstable/reactivity";
|
|
2
|
-
declare const BetterAuthApiClient_base: AtomHttpApi.AtomHttpApiClient<BetterAuthApiClient, "BetterAuthApiClient", import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"
|
|
2
|
+
declare const BetterAuthApiClient_base: AtomHttpApi.AtomHttpApiClient<BetterAuthApiClient, "BetterAuthApiClient", import("effect/unstable/httpapi/HttpApiGroup").HttpApiGroup<"auth", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"getSession", "GET", "/api/auth/get-session", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").NullOr<import("effect/Schema").Struct<{
|
|
3
3
|
readonly session: import("effect/Schema").Struct<{
|
|
4
4
|
readonly id: import("effect/Schema").String;
|
|
5
5
|
readonly expiresAt: import("effect/Schema").Date;
|
|
@@ -23,7 +23,7 @@ declare const BetterAuthApiClient_base: AtomHttpApi.AtomHttpApiClient<BetterAuth
|
|
|
23
23
|
readonly createdAt: import("effect/Schema").Date;
|
|
24
24
|
readonly updatedAt: import("effect/Schema").Date;
|
|
25
25
|
}>;
|
|
26
|
-
}>>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("
|
|
26
|
+
}>>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("effect/unstable/httpapi/HttpApiError").BadRequest | typeof import("effect/unstable/httpapi/HttpApiError").Unauthorized | typeof import("effect/unstable/httpapi/HttpApiError").Forbidden | typeof import("effect/unstable/httpapi/HttpApiError").NotFound | typeof import("effect/unstable/httpapi/HttpApiError").InternalServerError | typeof import("./schema").TooManyRequests>, never, never>, false>>;
|
|
27
27
|
export declare class BetterAuthApiClient extends BetterAuthApiClient_base {
|
|
28
28
|
}
|
|
29
29
|
export { BetterAuthApi, BetterAuthApiGroup } from "./api";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ExtraCreateApiKeyPayload, ExtraCreateApiKeyResponse } from "../extra/schema";
|
|
2
|
+
export type CreateApiKeyPayload = typeof ExtraCreateApiKeyPayload.Type;
|
|
3
|
+
export type CreatedApiKey = typeof ExtraCreateApiKeyResponse.Type;
|
|
4
|
+
export declare const createApiKey: (payload: CreateApiKeyPayload, fallbackError: string) => Promise<CreatedApiKey>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Schema } from "effect";
|
|
2
|
+
import { ExtraCreateApiKeyPayload, ExtraCreateApiKeyResponse, } from "../extra/schema";
|
|
3
|
+
const ErrorResponse = Schema.Struct({ message: Schema.String });
|
|
4
|
+
const errorMessage = async (value, fallback) => Schema.decodeUnknownPromise(ErrorResponse)(value)
|
|
5
|
+
.then((error) => error.message)
|
|
6
|
+
.catch(() => fallback);
|
|
7
|
+
export const createApiKey = async (payload, fallbackError) => {
|
|
8
|
+
const body = await Schema.decodeUnknownPromise(ExtraCreateApiKeyPayload)(payload);
|
|
9
|
+
const response = await fetch("/api/auth/create-api-key", {
|
|
10
|
+
method: "POST",
|
|
11
|
+
credentials: "include",
|
|
12
|
+
headers: { "Content-Type": "application/json" },
|
|
13
|
+
body: JSON.stringify(body),
|
|
14
|
+
});
|
|
15
|
+
const data = await response.json().catch(() => null);
|
|
16
|
+
if (!response.ok) {
|
|
17
|
+
throw new Error(await errorMessage(data, fallbackError));
|
|
18
|
+
}
|
|
19
|
+
return await Schema.decodeUnknownPromise(ExtraCreateApiKeyResponse)(data);
|
|
20
|
+
};
|
|
@@ -7,6 +7,7 @@ declare const messages: {
|
|
|
7
7
|
readonly organization_contact_email: "Contact email";
|
|
8
8
|
readonly organization_create_description: "Create a workspace for team-based access.";
|
|
9
9
|
readonly organization_create_error: "Could not create the organization.";
|
|
10
|
+
readonly organization_copy_id: "Copy organization ID";
|
|
10
11
|
readonly organization_create_slug_conflict: "That organization slug is already in use. Choose a different slug.";
|
|
11
12
|
readonly organization_create_title: "Create organization";
|
|
12
13
|
readonly organization_edit_description: "Update the active organization's canonical details and localized profile.";
|
|
@@ -85,6 +86,7 @@ declare const messages: {
|
|
|
85
86
|
readonly organization_contact_email: "E-mail de contact";
|
|
86
87
|
readonly organization_create_description: "Créez un espace de travail pour l'accès en équipe.";
|
|
87
88
|
readonly organization_create_error: "Impossible de créer l'organisation.";
|
|
89
|
+
readonly organization_copy_id: "Copier l'ID de l'organisation";
|
|
88
90
|
readonly organization_create_slug_conflict: "Ce slug d'organisation est déjà utilisé. Choisissez un autre slug.";
|
|
89
91
|
readonly organization_create_title: "Créer une organisation";
|
|
90
92
|
readonly organization_edit_description: "Mettez à jour les détails canoniques et le profil localisé de l'organisation active.";
|