@lessly/sdk-app 47.0.1 → 47.1.1
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/analytics/index.d.cts +1 -1
- package/dist/analytics/index.d.ts +1 -1
- package/dist/brain/index.cjs +0 -5
- package/dist/brain/index.cjs.map +1 -1
- package/dist/brain/index.d.cts +2 -6
- package/dist/brain/index.d.ts +2 -6
- package/dist/brain/index.js +1 -5
- package/dist/brain/index.js.map +1 -1
- package/dist/{client.gen-BsjxuDLy.d.cts → client.gen-BsvWS7J-.d.cts} +4702 -391
- package/dist/{client.gen-BsjxuDLy.d.ts → client.gen-BsvWS7J-.d.ts} +4702 -391
- package/dist/consent/index.d.cts +1 -1
- package/dist/consent/index.d.ts +1 -1
- package/dist/content/index.cjs +161 -0
- package/dist/content/index.cjs.map +1 -0
- package/dist/content/index.d.cts +128 -0
- package/dist/content/index.d.ts +128 -0
- package/dist/content/index.js +129 -0
- package/dist/content/index.js.map +1 -0
- package/dist/deployment/index.d.cts +1 -1
- package/dist/deployment/index.d.ts +1 -1
- package/dist/index.cjs +759 -135
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +759 -135
- package/dist/index.js.map +1 -1
- package/dist/mail/index.d.cts +2 -2
- package/dist/mail/index.d.ts +2 -2
- package/dist/observe/index.d.cts +1 -1
- package/dist/observe/index.d.ts +1 -1
- package/dist/organization/index.d.cts +1 -1
- package/dist/organization/index.d.ts +1 -1
- package/dist/playground/index.cjs +66 -0
- package/dist/playground/index.cjs.map +1 -0
- package/dist/playground/index.d.cts +52 -0
- package/dist/playground/index.d.ts +52 -0
- package/dist/playground/index.js +53 -0
- package/dist/playground/index.js.map +1 -0
- package/dist/realtime/index.d.cts +1 -1
- package/dist/realtime/index.d.ts +1 -1
- package/dist/support/index.d.cts +1 -1
- package/dist/support/index.d.ts +1 -1
- package/dist/tracking/index.d.cts +1 -1
- package/dist/tracking/index.d.ts +1 -1
- package/dist/users/index.d.cts +1 -1
- package/dist/users/index.d.ts +1 -1
- package/dist/waitlist/index.d.cts +1 -1
- package/dist/waitlist/index.d.ts +1 -1
- package/docs/README.md +1 -1
- package/docs/recipes/federation.md +1 -1
- package/docs/rules.md +4 -4
- package/package.json +12 -2
- package/src/gen/bindings.gen.ts +759 -135
- package/src/gen/brain/index.ts +1 -1
- package/src/gen/brain/queryOptions.gen.ts +0 -7
- package/src/gen/client.gen.ts +165 -5
- package/src/gen/content/index.ts +3 -0
- package/src/gen/content/queryOptions.gen.ts +202 -0
- package/src/gen/manifest.gen.ts +1 -1
- package/src/gen/playground/index.ts +3 -0
- package/src/gen/playground/queryOptions.gen.ts +86 -0
- package/src/gen/types.gen.ts +4318 -221
package/dist/users/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as GeneratedClient,
|
|
1
|
+
import { G as GeneratedClient, nY as UsersApikeysCreateInput, nZ as UsersApikeysCreateOutput, n_ as UsersApikeysListInput, n$ as UsersApikeysListOutput, o0 as UsersApikeysRevokeInput, o1 as UsersApikeysRevokeOutput, o2 as UsersAuditListInput, o3 as UsersAuditListOutput, o4 as UsersConfigGetInput, o5 as UsersConfigGetOutput, o6 as UsersConfigUpsertInput, o7 as UsersConfigUpsertOutput, o8 as UsersFactorsListInput, o9 as UsersFactorsListOutput, oa as UsersFactorsResetInput, ob as UsersFactorsResetOutput, oc as UsersKeysListInput, od as UsersKeysListOutput, oe as UsersKeysRevokeInput, of as UsersKeysRevokeOutput, og as UsersKeysRotateInput, oh as UsersKeysRotateOutput, oi as UsersOpsRetentionGetInput, oj as UsersOpsRetentionGetOutput, ok as UsersOpsSloGetInput, ol as UsersOpsSloGetOutput, om as UsersPasskeysListInput, on as UsersPasskeysListOutput, oo as UsersPasskeysRevokeInput, op as UsersPasskeysRevokeOutput, oq as UsersSessionsGetInput, or as UsersSessionsGetOutput, os as UsersSessionsImpersonateInput, ot as UsersSessionsImpersonateOutput, ou as UsersSessionsListInput, ov as UsersSessionsListOutput, ow as UsersSessionsRevokeInput, ox as UsersSessionsRevokeOutput, oy as UsersStatsGetInput, oz as UsersStatsGetOutput, oA as UsersUsersBanInput, oB as UsersUsersBanOutput, oC as UsersUsersCreateInput, oD as UsersUsersCreateOutput, oE as UsersUsersDeleteInput, oF as UsersUsersDeleteOutput, oG as UsersUsersEraseInput, oH as UsersUsersEraseOutput, oI as UsersUsersExportInput, oJ as UsersUsersExportOutput, oK as UsersUsersGetInput, oL as UsersUsersGetOutput, oM as UsersUsersImportInput, oN as UsersUsersImportOutput, oO as UsersUsersInviteInput, oP as UsersUsersInviteOutput, oQ as UsersUsersListInput, oR as UsersUsersListOutput, oS as UsersUsersSetPrimaryIdentifierInput, oT as UsersUsersSetPrimaryIdentifierOutput, oU as UsersUsersUnbanInput, oV as UsersUsersUnbanOutput, oW as UsersUsersUpdateInput, oX as UsersUsersUpdateOutput, oY as UsersWaitlistEraseInput, oZ as UsersWaitlistEraseOutput, o_ as UsersWaitlistFunnelInput, o$ as UsersWaitlistFunnelOutput, p0 as UsersWaitlistImportInput, p1 as UsersWaitlistImportOutput, p2 as UsersWaitlistInviteInput, p3 as UsersWaitlistInviteOutput, p4 as UsersWaitlistListInput, p5 as UsersWaitlistListOutput, p6 as UsersWebhooksCreateInput, p7 as UsersWebhooksCreateOutput, p8 as UsersWebhooksDeleteInput, p9 as UsersWebhooksDeleteOutput, pa as UsersWebhooksDeliveriesListInput, pb as UsersWebhooksDeliveriesListOutput, pc as UsersWebhooksGetInput, pd as UsersWebhooksGetOutput, pe as UsersWebhooksListInput, pf as UsersWebhooksListOutput, pg as UsersWebhooksRotateSecretInput, ph as UsersWebhooksRotateSecretOutput, pi as UsersWebhooksUpdateInput, pj as UsersWebhooksUpdateOutput } from '../client.gen-BsvWS7J-.cjs';
|
|
2
2
|
|
|
3
3
|
declare const usersApikeysCreateMutationOptions: (sdk: GeneratedClient) => {
|
|
4
4
|
mutationKey: string[];
|
package/dist/users/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as GeneratedClient,
|
|
1
|
+
import { G as GeneratedClient, nY as UsersApikeysCreateInput, nZ as UsersApikeysCreateOutput, n_ as UsersApikeysListInput, n$ as UsersApikeysListOutput, o0 as UsersApikeysRevokeInput, o1 as UsersApikeysRevokeOutput, o2 as UsersAuditListInput, o3 as UsersAuditListOutput, o4 as UsersConfigGetInput, o5 as UsersConfigGetOutput, o6 as UsersConfigUpsertInput, o7 as UsersConfigUpsertOutput, o8 as UsersFactorsListInput, o9 as UsersFactorsListOutput, oa as UsersFactorsResetInput, ob as UsersFactorsResetOutput, oc as UsersKeysListInput, od as UsersKeysListOutput, oe as UsersKeysRevokeInput, of as UsersKeysRevokeOutput, og as UsersKeysRotateInput, oh as UsersKeysRotateOutput, oi as UsersOpsRetentionGetInput, oj as UsersOpsRetentionGetOutput, ok as UsersOpsSloGetInput, ol as UsersOpsSloGetOutput, om as UsersPasskeysListInput, on as UsersPasskeysListOutput, oo as UsersPasskeysRevokeInput, op as UsersPasskeysRevokeOutput, oq as UsersSessionsGetInput, or as UsersSessionsGetOutput, os as UsersSessionsImpersonateInput, ot as UsersSessionsImpersonateOutput, ou as UsersSessionsListInput, ov as UsersSessionsListOutput, ow as UsersSessionsRevokeInput, ox as UsersSessionsRevokeOutput, oy as UsersStatsGetInput, oz as UsersStatsGetOutput, oA as UsersUsersBanInput, oB as UsersUsersBanOutput, oC as UsersUsersCreateInput, oD as UsersUsersCreateOutput, oE as UsersUsersDeleteInput, oF as UsersUsersDeleteOutput, oG as UsersUsersEraseInput, oH as UsersUsersEraseOutput, oI as UsersUsersExportInput, oJ as UsersUsersExportOutput, oK as UsersUsersGetInput, oL as UsersUsersGetOutput, oM as UsersUsersImportInput, oN as UsersUsersImportOutput, oO as UsersUsersInviteInput, oP as UsersUsersInviteOutput, oQ as UsersUsersListInput, oR as UsersUsersListOutput, oS as UsersUsersSetPrimaryIdentifierInput, oT as UsersUsersSetPrimaryIdentifierOutput, oU as UsersUsersUnbanInput, oV as UsersUsersUnbanOutput, oW as UsersUsersUpdateInput, oX as UsersUsersUpdateOutput, oY as UsersWaitlistEraseInput, oZ as UsersWaitlistEraseOutput, o_ as UsersWaitlistFunnelInput, o$ as UsersWaitlistFunnelOutput, p0 as UsersWaitlistImportInput, p1 as UsersWaitlistImportOutput, p2 as UsersWaitlistInviteInput, p3 as UsersWaitlistInviteOutput, p4 as UsersWaitlistListInput, p5 as UsersWaitlistListOutput, p6 as UsersWebhooksCreateInput, p7 as UsersWebhooksCreateOutput, p8 as UsersWebhooksDeleteInput, p9 as UsersWebhooksDeleteOutput, pa as UsersWebhooksDeliveriesListInput, pb as UsersWebhooksDeliveriesListOutput, pc as UsersWebhooksGetInput, pd as UsersWebhooksGetOutput, pe as UsersWebhooksListInput, pf as UsersWebhooksListOutput, pg as UsersWebhooksRotateSecretInput, ph as UsersWebhooksRotateSecretOutput, pi as UsersWebhooksUpdateInput, pj as UsersWebhooksUpdateOutput } from '../client.gen-BsvWS7J-.js';
|
|
2
2
|
|
|
3
3
|
declare const usersApikeysCreateMutationOptions: (sdk: GeneratedClient) => {
|
|
4
4
|
mutationKey: string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as GeneratedClient,
|
|
1
|
+
import { G as GeneratedClient, pk as WaitlistConfigGetInput, pl as WaitlistConfigGetOutput, pm as WaitlistConfigUpsertInput, pn as WaitlistConfigUpsertOutput, po as WaitlistEmbedGetInput, pp as WaitlistEmbedGetOutput, pq as WaitlistInvitesSendInput, pr as WaitlistInvitesSendOutput, ps as WaitlistSignupsEraseInput, pt as WaitlistSignupsEraseOutput, pu as WaitlistSignupsFunnelInput, pv as WaitlistSignupsFunnelOutput, pw as WaitlistSignupsListInput, px as WaitlistSignupsListOutput } from '../client.gen-BsvWS7J-.cjs';
|
|
2
2
|
|
|
3
3
|
declare const waitlistConfigGetQueryOptions: (sdk: GeneratedClient, input: WaitlistConfigGetInput) => {
|
|
4
4
|
queryKey: readonly ["waitlist", "config", "get", WaitlistConfigGetInput];
|
package/dist/waitlist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as GeneratedClient,
|
|
1
|
+
import { G as GeneratedClient, pk as WaitlistConfigGetInput, pl as WaitlistConfigGetOutput, pm as WaitlistConfigUpsertInput, pn as WaitlistConfigUpsertOutput, po as WaitlistEmbedGetInput, pp as WaitlistEmbedGetOutput, pq as WaitlistInvitesSendInput, pr as WaitlistInvitesSendOutput, ps as WaitlistSignupsEraseInput, pt as WaitlistSignupsEraseOutput, pu as WaitlistSignupsFunnelInput, pv as WaitlistSignupsFunnelOutput, pw as WaitlistSignupsListInput, px as WaitlistSignupsListOutput } from '../client.gen-BsvWS7J-.js';
|
|
2
2
|
|
|
3
3
|
declare const waitlistConfigGetQueryOptions: (sdk: GeneratedClient, input: WaitlistConfigGetInput) => {
|
|
4
4
|
queryKey: readonly ["waitlist", "config", "get", WaitlistConfigGetInput];
|
package/docs/README.md
CHANGED
|
@@ -16,7 +16,7 @@ handed to it by the shell that hosts it.
|
|
|
16
16
|
|
|
17
17
|
Contrast this with a Lessly **extension**: an extension owns a backend
|
|
18
18
|
service, a database, and typically an MCP endpoint, and is built against the
|
|
19
|
-
|
|
19
|
+
toolkit-guide contracts (`MFST-*`, `PRD-*`, `MCP-*`, etc.). An App has none
|
|
20
20
|
of that surface. If your task involves a database migration, a service-to-service
|
|
21
21
|
scope, or an MCP tool, you are building an extension, not an App — this guide
|
|
22
22
|
does not apply.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
How to wire the Module Federation contract an App must implement (APP-004),
|
|
4
4
|
and the dual-mode CSS graph that goes with it (APP-008, APP-009, APP-010).
|
|
5
5
|
This page shows the *how*; for exact wording, rationale, and examples of the
|
|
6
|
-
shared rules, see the referenced `FED-*` IDs in the
|
|
6
|
+
shared rules, see the referenced `FED-*` IDs in the toolkit-guide — this
|
|
7
7
|
recipe does not restate them.
|
|
8
8
|
|
|
9
9
|
## Expose `./App` — and nothing else
|
package/docs/rules.md
CHANGED
|
@@ -10,7 +10,7 @@ Rule IDs (`APP-NNN`) are immutable once merged: a rule's ID and meaning never
|
|
|
10
10
|
change, even if its wording is later clarified. Some of these rules cover
|
|
11
11
|
ground shared with extensions and the platform's Module Federation host; where
|
|
12
12
|
that's true, this file references the existing `FED-*` rule ID from the
|
|
13
|
-
|
|
13
|
+
toolkit-guide instead of restating it — go there for the full rule text,
|
|
14
14
|
rationale, and examples.
|
|
15
15
|
|
|
16
16
|
---
|
|
@@ -162,7 +162,7 @@ declares layer order and is harmless; the forbidden shape is the block,
|
|
|
162
162
|
more than custom properties.
|
|
163
163
|
|
|
164
164
|
For the production defect this comes from — a remote's late-loading `body`
|
|
165
|
-
rule re-fonting the shell's chrome — see FED-008 in the
|
|
165
|
+
rule re-fonting the shell's chrome — see FED-008 in the toolkit-guide.
|
|
166
166
|
`recipes/federation.md` has the canonical stylesheets.
|
|
167
167
|
|
|
168
168
|
### APP-009 (MUST) — One source of scale vocabulary: `lesslyPreset`
|
|
@@ -194,7 +194,7 @@ by their sheets. Do not write a guard that way.
|
|
|
194
194
|
|
|
195
195
|
When both sides build on the same preset, rules that share a class name compile
|
|
196
196
|
identically and the collision stops existing. See FED-013 in the
|
|
197
|
-
|
|
197
|
+
toolkit-guide for the measurements (13px → 14px, line-height 19.5 → 20) and
|
|
198
198
|
for the three wrong fixes it rules out.
|
|
199
199
|
|
|
200
200
|
### APP-010 (MUST) — Federation utilities land in `layer(remote-utilities)`
|
|
@@ -229,7 +229,7 @@ therefore **highest**-priority — layer, so every App utility beats every shell
|
|
|
229
229
|
utility: strictly worse than the defect. Verify the shell first; adopting early
|
|
230
230
|
is a regression, not a head start.
|
|
231
231
|
|
|
232
|
-
See FED-014 in the
|
|
232
|
+
See FED-014 in the toolkit-guide for the measurement (App `.px-2` against
|
|
233
233
|
shell `.sm:px-2.5` — different rule names, so no shared preset can reach them;
|
|
234
234
|
5 of 283 shell chrome nodes affected) and for the accepted symmetric risk on
|
|
235
235
|
the App's own nodes.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lessly/sdk-app",
|
|
3
|
-
"version": "47.
|
|
3
|
+
"version": "47.1.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"engines": {
|
|
@@ -55,6 +55,11 @@
|
|
|
55
55
|
"import": "./dist/consent/index.js",
|
|
56
56
|
"require": "./dist/consent/index.cjs"
|
|
57
57
|
},
|
|
58
|
+
"./content": {
|
|
59
|
+
"types": "./dist/content/index.d.ts",
|
|
60
|
+
"import": "./dist/content/index.js",
|
|
61
|
+
"require": "./dist/content/index.cjs"
|
|
62
|
+
},
|
|
58
63
|
"./deployment": {
|
|
59
64
|
"types": "./dist/deployment/index.d.ts",
|
|
60
65
|
"import": "./dist/deployment/index.js",
|
|
@@ -75,6 +80,11 @@
|
|
|
75
80
|
"import": "./dist/organization/index.js",
|
|
76
81
|
"require": "./dist/organization/index.cjs"
|
|
77
82
|
},
|
|
83
|
+
"./playground": {
|
|
84
|
+
"types": "./dist/playground/index.d.ts",
|
|
85
|
+
"import": "./dist/playground/index.js",
|
|
86
|
+
"require": "./dist/playground/index.cjs"
|
|
87
|
+
},
|
|
78
88
|
"./realtime": {
|
|
79
89
|
"types": "./dist/realtime/index.d.ts",
|
|
80
90
|
"import": "./dist/realtime/index.js",
|
|
@@ -101,5 +111,5 @@
|
|
|
101
111
|
"require": "./dist/waitlist/index.cjs"
|
|
102
112
|
}
|
|
103
113
|
},
|
|
104
|
-
"sdkContentHash": "sha256:
|
|
114
|
+
"sdkContentHash": "sha256:2f632b330fc44b037d7df7383647730045f6139639c7188e3aa2e9e9db004f36"
|
|
105
115
|
}
|