@fabrika/control-contract 0.5.1 → 0.5.2

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.
Files changed (2) hide show
  1. package/package.json +4 -4
  2. package/src/rpc.ts +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fabrika/control-contract",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -25,8 +25,8 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "zod": "^3.25.76",
28
- "@fabrika/auth-core": "0.5.1",
29
- "@fabrika/app": "0.5.1",
30
- "@fabrika/provider-contract": "0.5.1"
28
+ "@fabrika/auth-core": "0.5.2",
29
+ "@fabrika/app": "0.5.2",
30
+ "@fabrika/provider-contract": "0.5.2"
31
31
  }
32
32
  }
package/src/rpc.ts CHANGED
@@ -165,6 +165,7 @@ export interface ControlRpcContract {
165
165
  secrets: {
166
166
  list: RpcProcedure<AppIdInput, ListResponse<AppSecretDto>>
167
167
  put: RpcProcedure<PutAppSecretInput, AppSecretDto>
168
+ /** Removes the value where it is stored (vault or provider), then the row; a failed value delete keeps the row. */
168
169
  delete: RpcProcedure<AppNamedValueInput, OkResponse>
169
170
  }
170
171
  variables: {
@@ -176,6 +177,7 @@ export interface ControlRpcContract {
176
177
  vault: {
177
178
  set: RpcProcedure<SecretValueInput, SecretValueResponse>
178
179
  rotate: RpcProcedure<SecretValueInput, OkResponse>
180
+ /** The same operation as `apps.secrets.delete`. */
179
181
  delete: RpcProcedure<AppNamedValueInput, OkResponse>
180
182
  }
181
183
  namespaces: {