@fabrika/iam-contract 0.9.0-cloudflare.3 → 0.9.0-dev.10
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/package.json +4 -4
- package/src/index.ts +2 -2
- package/types/src/index.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fabrika/iam-contract",
|
|
3
|
-
"version": "0.9.0-
|
|
3
|
+
"version": "0.9.0-dev.10",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"typecheck": "tsc --noEmit"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@fabrika/app": "0.9.0-
|
|
29
|
-
"@fabrika/auth-core": "0.9.0-
|
|
30
|
-
"@fabrika/proxy-core": "0.9.0-
|
|
28
|
+
"@fabrika/app": "0.9.0-dev.10",
|
|
29
|
+
"@fabrika/auth-core": "0.9.0-dev.10",
|
|
30
|
+
"@fabrika/proxy-core": "0.9.0-dev.10"
|
|
31
31
|
}
|
|
32
32
|
}
|
package/src/index.ts
CHANGED
|
@@ -183,7 +183,7 @@ export interface UpdateGrantInput extends Omit<CreateGrantRequest, 'principalId'
|
|
|
183
183
|
|
|
184
184
|
// ── Apps (read-only; the live registry derived from the schema tables) ────────
|
|
185
185
|
|
|
186
|
-
/** The set of app ids
|
|
186
|
+
/** The set of app ids IAM knows about — the choices for a grant's `app`. */
|
|
187
187
|
export interface AppDto {
|
|
188
188
|
id: string
|
|
189
189
|
/** The name the app's schema declares for people; null when it declares none. */
|
|
@@ -304,7 +304,7 @@ export interface ProvisionApiKeyRequest {
|
|
|
304
304
|
/**
|
|
305
305
|
* Provisioning result. `apiKey` (a `px_…` credential bound to the new service principal) is shown
|
|
306
306
|
* exactly ONCE — copy it now, it is not retrievable later. Carried as a bearer (or a declared
|
|
307
|
-
* header) directly to apps on the
|
|
307
|
+
* header) directly to apps on the IAM-native path (`mintFromKey`), no Cloudflare Access in
|
|
308
308
|
* front.
|
|
309
309
|
*/
|
|
310
310
|
export interface ProvisionApiKeyResponse {
|
package/types/src/index.d.ts
CHANGED
|
@@ -145,7 +145,7 @@ export interface CreateGrantRequest {
|
|
|
145
145
|
export interface UpdateGrantInput extends Omit<CreateGrantRequest, 'principalId' | 'app'> {
|
|
146
146
|
id: string;
|
|
147
147
|
}
|
|
148
|
-
/** The set of app ids
|
|
148
|
+
/** The set of app ids IAM knows about — the choices for a grant's `app`. */
|
|
149
149
|
export interface AppDto {
|
|
150
150
|
id: string;
|
|
151
151
|
/** The name the app's schema declares for people; null when it declares none. */
|
|
@@ -252,7 +252,7 @@ export interface ProvisionApiKeyRequest {
|
|
|
252
252
|
/**
|
|
253
253
|
* Provisioning result. `apiKey` (a `px_…` credential bound to the new service principal) is shown
|
|
254
254
|
* exactly ONCE — copy it now, it is not retrievable later. Carried as a bearer (or a declared
|
|
255
|
-
* header) directly to apps on the
|
|
255
|
+
* header) directly to apps on the IAM-native path (`mintFromKey`), no Cloudflare Access in
|
|
256
256
|
* front.
|
|
257
257
|
*/
|
|
258
258
|
export interface ProvisionApiKeyResponse {
|