@ziggs-ai/api-client 0.42.12 → 0.42.13
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/CHANGELOG.md +2 -0
- package/dist/http/BucketsClient.d.ts +2 -14
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.42.13
|
|
6
|
+
|
|
5
7
|
## 0.42.12
|
|
6
8
|
|
|
7
9
|
- `access_request` leaves which scope takes which permission to the server, which answers with its reason. A work ask (an agreement or one task) gets no 24-hour default: work lasts as long as its agreement, and a task hand-over does not time out. Reads still default to 24 hours.
|
|
@@ -1,18 +1,6 @@
|
|
|
1
|
-
import { BUCKET_ITEM_KINDS, type BucketAddMembersResult, type BucketContents, type BucketInsertResult, type BucketItemKind, type BucketItemPage, type BucketItemRef, type BucketMisfit, type BucketShare, type BucketThread, type BucketView, type MessageCommand, type MessageCommandResult } from '@ziggs-ai/contracts';
|
|
1
|
+
import { BUCKET_ITEM_KINDS, type BucketAddMembersResult, type BucketContents, type BucketInsertResult, type BucketItemKind, type BucketItemPage, type BucketItemRef, type BucketJoinResult, type BucketMisfit, type BucketMisfitChoice, type BucketShare, type BucketThread, type BucketView, type MessageCommand, type MessageCommandResult } from '@ziggs-ai/contracts';
|
|
2
2
|
export { BUCKET_ITEM_KINDS };
|
|
3
|
-
export type { BucketAddMembersResult, BucketContents, BucketInsertResult, BucketItemKind, BucketItemPage, BucketItemRef, BucketMisfit, BucketShare, BucketThread, BucketView, };
|
|
4
|
-
/**
|
|
5
|
-
* What to do when someone being added cannot read an item: share it with
|
|
6
|
-
* them, or split: start a narrower bucket with them and only what everyone
|
|
7
|
-
* can read, leaving this one as it is.
|
|
8
|
-
*/
|
|
9
|
-
export type BucketMisfitChoice = 'share' | 'split';
|
|
10
|
-
export interface BucketJoinResult {
|
|
11
|
-
bucket: BucketView;
|
|
12
|
-
added: string[];
|
|
13
|
-
joined: BucketItemRef[];
|
|
14
|
-
shared: BucketShare[];
|
|
15
|
-
}
|
|
3
|
+
export type { BucketAddMembersResult, BucketContents, BucketInsertResult, BucketItemKind, BucketItemPage, BucketItemRef, BucketJoinResult, BucketMisfit, BucketMisfitChoice, BucketShare, BucketThread, BucketView, };
|
|
16
4
|
/**
|
|
17
5
|
* A message sent inside a bucket: its readers are the bucket's people, and for
|
|
18
6
|
* a reply that names the message it answers, those who read that message and
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ziggs-ai/api-client",
|
|
3
|
-
"version": "0.42.
|
|
3
|
+
"version": "0.42.13",
|
|
4
4
|
"description": "HTTP and WebSocket client for the Ziggs backend API",
|
|
5
5
|
"homepage": "https://ziggsai.com/docs",
|
|
6
6
|
"bugs": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"test:watch": "node --import tsx/esm --test --watch test/*.test.ts"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@ziggs-ai/contracts": "0.50.
|
|
34
|
+
"@ziggs-ai/contracts": "0.50.12",
|
|
35
35
|
"socket.io-client": "^4.7.0"
|
|
36
36
|
},
|
|
37
37
|
"keywords": [
|