@north-light/api 0.3.430 → 0.3.431
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/client.js
CHANGED
|
@@ -674,7 +674,7 @@ export class CrtrClient {
|
|
|
674
674
|
forkReviewComment(commentId) {
|
|
675
675
|
return this.request('POST', routes.humanCommentFork(this.commentPath(commentId)), {});
|
|
676
676
|
}
|
|
677
|
-
// ---- Humanloop inbox (
|
|
677
|
+
// ---- Humanloop inbox (Northlight crouter-inbox v1, inbox-contract.md §A) --
|
|
678
678
|
/** Pending page/review tickets across every available crouter-owned
|
|
679
679
|
* humanloop root. */
|
|
680
680
|
listHumanInbox() {
|
package/dist/api/dto/inbox.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Humanloop inbox DTOs — crtrd `/v1/human/inbox` (
|
|
1
|
+
// Humanloop inbox DTOs — crtrd `/v1/human/inbox` (Northlight crouter-inbox v1,
|
|
2
2
|
// inbox-contract.md §A). API envelope fields use snake_case; nested page
|
|
3
3
|
// protocol objects retain their canonical camelCase field names.
|
|
4
4
|
export {};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
//
|
|
4
4
|
// This is the canonical, cross-repo declaration of that format. It is published
|
|
5
5
|
// as `@north-light/api/plugin-manifest` so a server that SERVES a plugin
|
|
6
|
-
// bundle (
|
|
6
|
+
// bundle (Northlight serves the `cloud` plugin over an authenticated
|
|
7
7
|
// endpoint) compiles its manifest against the same types crtr validates it with,
|
|
8
8
|
// instead of hand-mirroring them and discovering drift at guest install time.
|
|
9
9
|
//
|
package/dist/api/routes.js
CHANGED
|
@@ -135,7 +135,7 @@ export const routes = {
|
|
|
135
135
|
humanCommentReopen: (commentId) => `${V}/human/comments/${commentId}/reopen`,
|
|
136
136
|
humanCommentDelete: (commentId) => `${V}/human/comments/${commentId}/delete`,
|
|
137
137
|
humanCommentFork: (commentId) => `${V}/human/comments/${commentId}/fork`,
|
|
138
|
-
// Humanloop inbox (
|
|
138
|
+
// Humanloop inbox (Northlight crouter-inbox v1, inbox-contract.md §A)
|
|
139
139
|
humanInbox: () => `${V}/human/inbox`,
|
|
140
140
|
humanInboxTicket: (ticketId) => `${V}/human/inbox/${ticketId}`,
|
|
141
141
|
humanInboxRespond: (ticketId) => `${V}/human/inbox/${ticketId}/respond`,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@north-light/api",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.431",
|
|
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",
|