@north-light/api 0.3.545 → 0.3.547
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/dist/api/contract.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** The contract level this build serves and requires. Written by `scripts/contract.mjs release`; never edit by hand. */
|
|
2
|
-
export declare const CONTRACT_LEVEL = "1.
|
|
2
|
+
export declare const CONTRACT_LEVEL = "1.30";
|
|
3
3
|
/** Request header naming the one contract level the caller needs, e.g. `1.3`. Optional: absent means no check. */
|
|
4
4
|
export declare const REQUIRED_CONTRACT_HEADER = "Crouter-Required-Contract";
|
|
5
5
|
/** Response header listing the contract levels the server serves, comma-separated, one per major, e.g. `1.3`. */
|
package/dist/api/contract.js
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
//
|
|
13
13
|
// PURITY (spec §3.1): Node built-ins + `src/api/*` only.
|
|
14
14
|
/** The contract level this build serves and requires. Written by `scripts/contract.mjs release`; never edit by hand. */
|
|
15
|
-
export const CONTRACT_LEVEL = '1.
|
|
15
|
+
export const CONTRACT_LEVEL = '1.30';
|
|
16
16
|
/** Request header naming the one contract level the caller needs, e.g. `1.3`. Optional: absent means no check. */
|
|
17
17
|
export const REQUIRED_CONTRACT_HEADER = 'Crouter-Required-Contract';
|
|
18
18
|
/** Response header listing the contract levels the server serves, comma-separated, one per major, e.g. `1.3`. */
|
|
@@ -117,14 +117,6 @@ export interface BrokerExtensionNodeDTO {
|
|
|
117
117
|
created: string;
|
|
118
118
|
}
|
|
119
119
|
export type BrokerExtensionSubjectDTO = NodeSubjectDTO;
|
|
120
|
-
/** One resolved report sender. Report contents stay broker-local filesystem
|
|
121
|
-
* data; this daemon projection supplies only existence and display metadata. */
|
|
122
|
-
export interface BrokerReportNodeDTO {
|
|
123
|
-
node_id: string;
|
|
124
|
-
grantee: string;
|
|
125
|
-
name: string;
|
|
126
|
-
created: string;
|
|
127
|
-
}
|
|
128
120
|
/** `GET /v1/nodes/{id}/broker/extension-state`. This is deliberately a fixed
|
|
129
121
|
* extension rendering projection, not a generic node/state read API. */
|
|
130
122
|
export interface BrokerExtensionStateDTO {
|
|
@@ -134,7 +126,6 @@ export interface BrokerExtensionStateDTO {
|
|
|
134
126
|
children: BrokerExtensionNodeDTO[];
|
|
135
127
|
fork_source: BrokerExtensionNodeDTO | null;
|
|
136
128
|
subject: BrokerExtensionSubjectDTO;
|
|
137
|
-
report_nodes: BrokerReportNodeDTO[];
|
|
138
129
|
/** The head body of the node's `roadmap` document, or null when it has none. */
|
|
139
130
|
roadmap: string | null;
|
|
140
131
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@north-light/api",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.547",
|
|
4
4
|
"description": "Typed crtrd /v1 API contract — DTOs, route builders, the error contract, the CrtrClient, and the command-plugin manifest format. Zero runtime dependencies.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/api/index.js",
|