@peasant-labs/schema 0.25.0 → 0.26.0
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.
|
@@ -370,7 +370,7 @@ export interface paths {
|
|
|
370
370
|
/** @description Create or replace one auto-publish rule. Saving a rule installs nothing: the response lists the recorded repositories the rule matches and each one's hook state per event, and installAutoPublishHooks installs in one repository at a time. 400 when the rule is invalid, for example a match pattern the server cannot read for its kind. Returns 403 with a JSON error, and changes nothing, when the request did not come from this local server: its Host header does not name a loopback address, or a browser sent it from another origin. */
|
|
371
371
|
put: operations["saveAutoPublishRule"];
|
|
372
372
|
post?: never;
|
|
373
|
-
/** @description Remove one auto-publish rule.
|
|
373
|
+
/** @description Remove one auto-publish rule. The response reports the hooks of the repositories it matched as they are. Hook files are retained, but rule-required hooks stop publishing unless another active rule covers the repository and event. Paused rules grant no publishing consent. Separately installed terminal hooks keep their independent consent. 404 when no rule has this identifier. Returns 403 with a JSON error, and changes nothing, when the request did not come from this local server: its Host header does not name a loopback address, or a browser sent it from another origin. */
|
|
374
374
|
delete: operations["deleteAutoPublishRule"];
|
|
375
375
|
options?: never;
|
|
376
376
|
head?: never;
|
|
@@ -386,7 +386,7 @@ export interface paths {
|
|
|
386
386
|
};
|
|
387
387
|
get?: never;
|
|
388
388
|
put?: never;
|
|
389
|
-
/** @description Install the rule's hooks, one per rule event, in one recorded repository the rule matches. Events are independent: the response reports each event's hook, and a blocked hook carries the remedy, because Peasant never overwrites a hook it does not manage. 400 when the path is not a recorded repository the rule matches, so nothing is installed in an unrecorded repository; 404 when no rule has this identifier. Returns 403 with a JSON error, and changes nothing, when the request did not come from this local server: its Host header does not name a loopback address, or a browser sent it from another origin. */
|
|
389
|
+
/** @description Install the rule's hooks, one per rule event, in one recorded repository the rule matches. Installed hooks require an active auto-publish rule for that repository and event each time they run; removing or pausing the last binding stops publication without removing the hook files. Events are independent: the response reports each event's hook, and a blocked hook carries the remedy, because Peasant never overwrites a hook it does not manage. 400 when the path is not a recorded repository the rule matches, so nothing is installed in an unrecorded repository; 404 when no rule has this identifier. Returns 403 with a JSON error, and changes nothing, when the request did not come from this local server: its Host header does not name a loopback address, or a browser sent it from another origin. */
|
|
390
390
|
post: operations["installAutoPublishHooks"];
|
|
391
391
|
delete?: never;
|
|
392
392
|
options?: never;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const VillageAPIVersion: "0.24.0";
|
|
2
|
-
export declare const PeasantLocalAPIVersion: "0.
|
|
3
|
-
export declare const TypesVersion: "0.
|
|
2
|
+
export declare const PeasantLocalAPIVersion: "0.16.0";
|
|
3
|
+
export declare const TypesVersion: "0.27.0";
|
|
4
4
|
export declare const MetadataSchemaVersion: 11;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Code generated from the canonical Go/OpenAPI contract. DO NOT EDIT.
|
|
2
2
|
export const VillageAPIVersion = "0.24.0";
|
|
3
|
-
export const PeasantLocalAPIVersion = "0.
|
|
4
|
-
export const TypesVersion = "0.
|
|
3
|
+
export const PeasantLocalAPIVersion = "0.16.0";
|
|
4
|
+
export const TypesVersion = "0.27.0";
|
|
5
5
|
export const MetadataSchemaVersion = 11;
|