cauthy-auth 0.33.0 → 0.34.0
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/README.md +3 -1
- package/dist/{cauthy-CKfvvv_i.d.ts → cauthy-BUozWD72.d.ts} +1 -1
- package/dist/{cauthy-2jtP2LVQ.d.mts → cauthy-C-GoRXy9.d.mts} +1 -1
- package/dist/cli.js +1 -1
- package/dist/client.d.mts +7 -3
- package/dist/client.d.ts +7 -3
- package/dist/client.js.map +1 -1
- package/dist/client.mjs.map +1 -1
- package/dist/express.d.mts +2 -2
- package/dist/express.d.ts +2 -2
- package/dist/fastify.d.mts +2 -2
- package/dist/fastify.d.ts +2 -2
- package/dist/hono.d.mts +2 -2
- package/dist/hono.d.ts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -1
- package/dist/index.mjs.map +1 -1
- package/dist/next.d.mts +2 -2
- package/dist/next.d.ts +2 -2
- package/dist/react.d.mts +5 -1
- package/dist/react.d.ts +5 -1
- package/dist/react.js +2 -0
- package/dist/react.js.map +1 -1
- package/dist/react.mjs +2 -0
- package/dist/react.mjs.map +1 -1
- package/dist/svelte.d.mts +2 -2
- package/dist/svelte.d.ts +2 -2
- package/dist/svelte.js.map +1 -1
- package/dist/svelte.mjs.map +1 -1
- package/dist/{system-BvvoNs2y.d.ts → system-Bz4haPrI.d.ts} +10 -2
- package/dist/{system-BrrJsrFW.d.mts → system-DUGV040y.d.mts} +10 -2
- package/dist/vue.d.mts +2 -2
- package/dist/vue.d.ts +2 -2
- package/dist/vue.js.map +1 -1
- package/dist/vue.mjs.map +1 -1
- package/package.json +1 -1
package/dist/next.d.mts
CHANGED
package/dist/next.d.ts
CHANGED
package/dist/react.d.mts
CHANGED
|
@@ -620,7 +620,11 @@ interface OrganizationsClient {
|
|
|
620
620
|
members(organizationId: string): Promise<OrganizationPerson[] | null>;
|
|
621
621
|
/** The roles a member may be given, or null when the person may not see them. */
|
|
622
622
|
roles(organizationId: string): Promise<OrganizationRoleChoice[] | null>;
|
|
623
|
-
/**
|
|
623
|
+
/**
|
|
624
|
+
* Adds a person by their address; an address with no account gets one and
|
|
625
|
+
* its invitation. It only adds: a person who already belongs keeps their
|
|
626
|
+
* role and the result is the error `member_exists` (change it with `setRole`).
|
|
627
|
+
*/
|
|
624
628
|
add(organizationId: string, form: {
|
|
625
629
|
email: string;
|
|
626
630
|
role: string;
|
package/dist/react.d.ts
CHANGED
|
@@ -620,7 +620,11 @@ interface OrganizationsClient {
|
|
|
620
620
|
members(organizationId: string): Promise<OrganizationPerson[] | null>;
|
|
621
621
|
/** The roles a member may be given, or null when the person may not see them. */
|
|
622
622
|
roles(organizationId: string): Promise<OrganizationRoleChoice[] | null>;
|
|
623
|
-
/**
|
|
623
|
+
/**
|
|
624
|
+
* Adds a person by their address; an address with no account gets one and
|
|
625
|
+
* its invitation. It only adds: a person who already belongs keeps their
|
|
626
|
+
* role and the result is the error `member_exists` (change it with `setRole`).
|
|
627
|
+
*/
|
|
624
628
|
add(organizationId: string, form: {
|
|
625
629
|
email: string;
|
|
626
630
|
role: string;
|
package/dist/react.js
CHANGED
|
@@ -910,6 +910,7 @@ var TEXTS = {
|
|
|
910
910
|
last_manager: "Somebody else must manage the members first: give that role to another member.",
|
|
911
911
|
last_owner: "An organization keeps at least one owner: make another member owner first.",
|
|
912
912
|
organization_not_found: "That organization no longer exists.",
|
|
913
|
+
member_exists: "That person already belongs to the organization; their role was not changed. Change it in the list instead.",
|
|
913
914
|
already_member: "That person already belongs to the organization. Change their role instead.",
|
|
914
915
|
unknown_role: "Choose one of the roles offered.",
|
|
915
916
|
user_not_active: "That account is disabled.",
|
|
@@ -1090,6 +1091,7 @@ var TEXTS = {
|
|
|
1090
1091
|
last_manager: "Primero alguien m\xE1s debe administrar los miembros: dale ese rol a otro miembro.",
|
|
1091
1092
|
last_owner: "Una organizaci\xF3n conserva al menos un propietario: primero haz propietario a otro miembro.",
|
|
1092
1093
|
organization_not_found: "Esa organizaci\xF3n ya no existe.",
|
|
1094
|
+
member_exists: "Esa persona ya pertenece a la organizaci\xF3n; su rol no cambi\xF3. C\xE1mbialo en la lista.",
|
|
1093
1095
|
already_member: "Esa persona ya pertenece a la organizaci\xF3n. Cambia su rol.",
|
|
1094
1096
|
unknown_role: "Escoge uno de los roles ofrecidos.",
|
|
1095
1097
|
user_not_active: "Esa cuenta est\xE1 desactivada.",
|