@composable-os/pack-content 0.1.0-beta.7 → 0.1.0-beta.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.
@@ -271,9 +271,10 @@ export type UseMutation = <I, O>(options: {
271
271
  * The operations each hook calls (ADR 0453). A customer's client and the public's get the
272
272
  * reading hooks; the staff client gets the publish controls too.
273
273
  *
274
- * Criterion 12 (an AI actor's publish queued for a person) is undecided: `usePublish` calls
275
- * `record.publish`, which is a person's only. Whatever is decided changes this map and that one
276
- * hook, not the blocks.
274
+ * The publish controls are a person's: `usePublish` calls `record.publish`, which publishes at
275
+ * once for a person with the permission. An AI actor's call of the same operation waits for a
276
+ * person to approve it, whatever the policy (criterion 12, ADR 0480); that is the host's, so
277
+ * no hook and no block changes for it.
277
278
  */
278
279
  export declare const CONTENT_HOOKS_CALL: {
279
280
  readonly usePosts: readonly ["content.list"];
@@ -128,9 +128,10 @@ export function postHead(post, options = {}) {
128
128
  * The operations each hook calls (ADR 0453). A customer's client and the public's get the
129
129
  * reading hooks; the staff client gets the publish controls too.
130
130
  *
131
- * Criterion 12 (an AI actor's publish queued for a person) is undecided: `usePublish` calls
132
- * `record.publish`, which is a person's only. Whatever is decided changes this map and that one
133
- * hook, not the blocks.
131
+ * The publish controls are a person's: `usePublish` calls `record.publish`, which publishes at
132
+ * once for a person with the permission. An AI actor's call of the same operation waits for a
133
+ * person to approve it, whatever the policy (criterion 12, ADR 0480); that is the host's, so
134
+ * no hook and no block changes for it.
134
135
  */
135
136
  export const CONTENT_HOOKS_CALL = {
136
137
  usePosts: ["content.list"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@composable-os/pack-content",
3
- "version": "0.1.0-beta.7",
3
+ "version": "0.1.0-beta.9",
4
4
  "license": "FSL-1.1-ALv2",
5
5
  "type": "module",
6
6
  "repository": {
@@ -32,7 +32,7 @@
32
32
  "description": "Blog posts staff write, schedule and publish, read by the public on your site and in your app."
33
33
  },
34
34
  "dependencies": {
35
- "@composable-os/client": "0.1.0-beta.7",
36
- "@composable-os/sdk": "0.1.0-beta.7"
35
+ "@composable-os/client": "0.1.0-beta.9",
36
+ "@composable-os/sdk": "0.1.0-beta.9"
37
37
  }
38
38
  }