@krak-stack/auth 0.2.16 → 0.2.18
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 +34 -0
- package/dist/admin/api.group.d.ts +1 -1
- package/dist/admin/api.group.js +1 -1
- package/dist/api.d.ts +933 -933
- package/dist/api.js +1 -1
- package/dist/auth/api.group.d.ts +1 -1
- package/dist/auth/api.group.js +1 -1
- package/dist/auth/schema.d.ts +1 -0
- package/dist/auth/schema.js +12 -1
- package/dist/components/admin-organization-form.js +1 -1
- package/dist/components/admin-organizations.js +1 -1
- package/dist/components/admin-users.js +1 -1
- package/dist/components/associated-projects-notice.js +1 -1
- package/dist/components/auth-atoms.d.ts +1 -1
- package/dist/components/auth-atoms.js +1 -1
- package/dist/components/auth-client-api.d.ts +99 -99
- package/dist/components/auth-client-api.js +3 -3
- package/dist/components/auth-forms.d.ts +9 -1
- package/dist/components/auth-forms.js +56 -33
- package/dist/components/auth-provider.d.ts +1 -1
- package/dist/components/auth-provider.js +2 -2
- package/dist/components/member-required.js +1 -1
- package/dist/components/organization-switcher.js +1 -1
- package/dist/components/user-button.js +1 -1
- package/dist/config.js +2 -2
- package/dist/extra/api.group.d.ts +3 -3
- package/dist/extra/api.group.js +2 -2
- package/dist/extra/schema.d.ts +2 -2
- package/dist/extra/schema.js +2 -2
- package/dist/query.js +2 -2
- package/dist/server/actor.d.ts +1 -1
- package/dist/server/actor.js +1 -1
- package/dist/server/api.group.d.ts +1 -1
- package/dist/server/api.group.js +2 -2
- package/dist/server/middleware.d.ts +2 -2
- package/dist/server/middleware.js +2 -2
- package/dist/server/proxy.d.ts +2 -2
- package/dist/server/proxy.js +1 -1
- package/dist/service.d.ts +141 -141
- package/dist/service.js +3 -3
- package/package.json +6 -5
- package/patches/@lucas-barake%2Feffect-form-react@0.26.0-beta.5.patch +66 -0
- package/patches/@lucas-barake%2Feffect-form@0.25.0-beta.6.patch +86 -0
- package/patches/README.md +31 -0
package/README.md
CHANGED
|
@@ -8,6 +8,40 @@ Typed Effect contracts, server authentication middleware, project authorization
|
|
|
8
8
|
bun add @krak-stack/auth effect
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
+
### Temporary Effect form patches
|
|
12
|
+
|
|
13
|
+
React consumers of this interim release must patch both published form betas for
|
|
14
|
+
stable Effect 4. The patches are bundled with Auth but are **not applied
|
|
15
|
+
automatically** to a consuming application.
|
|
16
|
+
|
|
17
|
+
```sh
|
|
18
|
+
mkdir -p patches
|
|
19
|
+
cp node_modules/@krak-stack/auth/patches/*.patch patches/
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Merge these fields into the application's workspace-root `package.json`,
|
|
23
|
+
preserving existing overrides and patches, then run `bun install`:
|
|
24
|
+
|
|
25
|
+
```json
|
|
26
|
+
{
|
|
27
|
+
"overrides": {
|
|
28
|
+
"@lucas-barake/effect-form": "0.25.0-beta.6",
|
|
29
|
+
"@lucas-barake/effect-form-react": "0.26.0-beta.5"
|
|
30
|
+
},
|
|
31
|
+
"patchedDependencies": {
|
|
32
|
+
"@lucas-barake/effect-form@0.25.0-beta.6": "patches/@lucas-barake%2Feffect-form@0.25.0-beta.6.patch",
|
|
33
|
+
"@lucas-barake/effect-form-react@0.26.0-beta.5": "patches/@lucas-barake%2Feffect-form-react@0.26.0-beta.5.patch"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Commit the patches, manifest, and lockfile together. Other package managers need
|
|
39
|
+
equivalent patch configuration. Server-only imports do not load the form
|
|
40
|
+
libraries. See the bundled `patches/README.md` for provenance and cleanup after
|
|
41
|
+
[upstream release PR #111](https://github.com/lucas-barake/effect-form/pull/111).
|
|
42
|
+
|
|
43
|
+
### Entry points
|
|
44
|
+
|
|
11
45
|
Choose a narrow package subpath for the runtime boundary:
|
|
12
46
|
|
|
13
47
|
| Entry point | Purpose |
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HttpApiEndpoint, HttpApiError, HttpApiGroup } from "effect/
|
|
1
|
+
import { HttpApiEndpoint, HttpApiError, HttpApiGroup } from "effect/http-api";
|
|
2
2
|
import { Schema } from "effect";
|
|
3
3
|
export * from "./schema.js";
|
|
4
4
|
export declare const AdminApiGroup: HttpApiGroup.HttpApiGroup<"admin", HttpApiEndpoint.HttpApiEndpoint<"createDomain", "POST", "/admin/domains", never, never, Schema.toCodecJson<Schema.Struct<{
|
package/dist/admin/api.group.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HttpApiEndpoint, HttpApiError, HttpApiGroup, OpenApi, } from "effect/
|
|
1
|
+
import { HttpApiEndpoint, HttpApiError, HttpApiGroup, OpenApi, } from "effect/http-api";
|
|
2
2
|
import { Schema } from "effect";
|
|
3
3
|
import { AdminCreateOrganizationPayload, AdminApiKey, AdminApiKeyIdParams, AdminListQuery, AdminOrganization, AdminOrganizationIdParams, AdminUpdateApiKeyPayload, AdminUpdateOrganizationPayload, DashboardStatsQuery, DashboardStatsResponse, PaginatedAdminOrganizations, PaginatedAdminUsers, ServerCreateDomainPayload, ServerDomain, ServerDomainIdParams, ServerDomainRecordsResponse, ServerUpdateDomainPayload, } from "./schema.js";
|
|
4
4
|
export * from "./schema.js";
|