@sanoma-ai/workflows 0.11.6 → 0.11.9
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 +12 -6
- package/dist/change.d.ts +2 -4
- package/dist/change.js +2 -3
- package/dist/change.js.map +1 -1
- package/dist/client.d.ts +6 -0
- package/dist/client.js +5 -1
- package/dist/client.js.map +1 -1
- package/dist/config.js +2 -0
- package/dist/config.js.map +1 -1
- package/dist/describe.js +1 -0
- package/dist/describe.js.map +1 -1
- package/dist/description.d.ts +12 -0
- package/dist/description.js +3 -0
- package/dist/description.js.map +1 -1
- package/dist/host-derive.d.ts +3 -0
- package/dist/host-derive.js +9 -0
- package/dist/host-derive.js.map +1 -1
- package/dist/host.d.ts +2 -0
- package/dist/host.js +2 -1
- package/dist/host.js.map +1 -1
- package/dist/ledger.d.ts +6 -0
- package/dist/ledger.js +8 -0
- package/dist/ledger.js.map +1 -1
- package/dist/runtime-ops.d.ts +1 -1
- package/dist/runtime-ops.js +7 -7
- package/dist/runtime-ops.js.map +1 -1
- package/dist/secret-store.d.ts +4 -0
- package/dist/secret-store.js +8 -0
- package/dist/secret-store.js.map +1 -1
- package/dist/shared.d.ts +2 -0
- package/dist/shared.js +2 -0
- package/dist/shared.js.map +1 -1
- package/dist/source.d.ts +2 -0
- package/dist/source.js.map +1 -1
- package/package.json +1 -1
- package/src/change.ts +10 -3
- package/src/client.ts +14 -1
- package/src/config.ts +7 -0
- package/src/describe.ts +1 -0
- package/src/description.ts +3 -0
- package/src/host-derive.ts +11 -0
- package/src/host.ts +2 -1
- package/src/ledger.ts +12 -0
- package/src/runtime-ops.ts +14 -7
- package/src/secret-store.ts +16 -3
- package/src/shared.ts +3 -0
- package/src/source.ts +2 -0
package/src/source.ts
CHANGED
|
@@ -322,6 +322,8 @@ export interface RemoteHalf {
|
|
|
322
322
|
webhook?(request: Request, context: RemoteContext): Promise<RemoteEvent[]>;
|
|
323
323
|
/** The accounts the company's app on the host is installed on: where it acts with no person's token. */
|
|
324
324
|
owners?(context: RemoteContext): Promise<{ login: string; kind: "user" | "organization" }[]>;
|
|
325
|
+
/** The permissions the company's app on the host holds, by name (`contents: "write"`), as the host lists them; undefined without the app's keys. */
|
|
326
|
+
permissions?(context: RemoteContext): Promise<Record<string, string> | undefined>;
|
|
325
327
|
}
|
|
326
328
|
|
|
327
329
|
/** The remote half among `remotes` (`ResolvedConfig.remotes`) whose host `url` is on, with its vendor and the repository. */
|