@colibri-social/lexicons 2.29.0 → 2.31.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.
- package/dist/.tsbuildinfo +1 -1
- package/dist/generated/com/atproto/simplespace/deleteSpace.defs.d.ts +1 -1
- package/dist/generated/com/atproto/simplespace/deleteSpace.defs.d.ts.map +1 -1
- package/dist/generated/com/atproto/simplespace/deleteSpace.defs.js +1 -1
- package/dist/generated/com/atproto/simplespace/deleteSpace.defs.js.map +1 -1
- package/dist/generated/com/atproto/space/defs.defs.d.ts +16 -20
- package/dist/generated/com/atproto/space/defs.defs.d.ts.map +1 -1
- package/dist/generated/com/atproto/space/defs.defs.js +3 -3
- package/dist/generated/com/atproto/space/defs.defs.js.map +1 -1
- package/dist/generated/com/atproto/space/getLatestCommit.defs.d.ts +4 -4
- package/dist/generated/com/atproto/space/getLatestCommit.defs.d.ts.map +1 -1
- package/dist/generated/com/atproto/space/getLatestCommit.defs.js +3 -3
- package/dist/generated/com/atproto/space/getLatestCommit.defs.js.map +1 -1
- package/dist/generated/com/atproto/space/getRecord.defs.d.ts +2 -2
- package/dist/generated/com/atproto/space/getRecord.defs.d.ts.map +1 -1
- package/dist/generated/com/atproto/space/getRecord.defs.js +2 -2
- package/dist/generated/com/atproto/space/getRecord.defs.js.map +1 -1
- package/dist/generated/com/atproto/space/getRepo.defs.d.ts +3 -5
- package/dist/generated/com/atproto/space/getRepo.defs.d.ts.map +1 -1
- package/dist/generated/com/atproto/space/getRepo.defs.js +4 -4
- package/dist/generated/com/atproto/space/getRepo.defs.js.map +1 -1
- package/dist/generated/com/atproto/space/getSpaceCredential.defs.d.ts +5 -1
- package/dist/generated/com/atproto/space/getSpaceCredential.defs.d.ts.map +1 -1
- package/dist/generated/com/atproto/space/getSpaceCredential.defs.js +2 -2
- package/dist/generated/com/atproto/space/getSpaceCredential.defs.js.map +1 -1
- package/dist/generated/com/atproto/space/listRepoOps.defs.d.ts +4 -4
- package/dist/generated/com/atproto/space/listRepoOps.defs.d.ts.map +1 -1
- package/dist/generated/com/atproto/space/listRepoOps.defs.js +3 -3
- package/dist/generated/com/atproto/space/listRepoOps.defs.js.map +1 -1
- package/dist/generated/com/atproto/space/listRepos.defs.d.ts +3 -3
- package/dist/generated/com/atproto/space/listRepos.defs.js +2 -2
- package/dist/generated/com/atproto/space/notifySpaceDeleted.defs.d.ts +1 -1
- package/dist/generated/com/atproto/space/notifySpaceDeleted.defs.d.ts.map +1 -1
- package/dist/generated/com/atproto/space/notifySpaceDeleted.defs.js +1 -1
- package/dist/generated/com/atproto/space/notifySpaceDeleted.defs.js.map +1 -1
- package/dist/generated/com/atproto/space/notifyWrite.defs.d.ts +2 -2
- package/dist/generated/com/atproto/space/notifyWrite.defs.js +1 -1
- package/dist/generated/social/colibri/beta/actor/defs.defs.d.ts +4 -0
- package/dist/generated/social/colibri/beta/actor/defs.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/actor/defs.defs.js +1 -1
- package/dist/generated/social/colibri/beta/actor/defs.defs.js.map +1 -1
- package/dist/generated/social/colibri/beta/emoji/getEmojis.d.ts +4 -0
- package/dist/generated/social/colibri/beta/emoji/getEmojis.d.ts.map +1 -0
- package/dist/generated/social/colibri/beta/emoji/getEmojis.defs.d.ts +35 -0
- package/dist/generated/social/colibri/beta/emoji/getEmojis.defs.d.ts.map +1 -0
- package/dist/generated/social/colibri/beta/emoji/getEmojis.defs.js +15 -0
- package/dist/generated/social/colibri/beta/emoji/getEmojis.defs.js.map +1 -0
- package/dist/generated/social/colibri/beta/emoji/getEmojis.js +7 -0
- package/dist/generated/social/colibri/beta/emoji/getEmojis.js.map +1 -0
- package/dist/generated/social/colibri/beta/emoji.d.ts +1 -0
- package/dist/generated/social/colibri/beta/emoji.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/emoji.js +1 -0
- package/dist/generated/social/colibri/beta/emoji.js.map +1 -1
- package/dist/generated/social/colibri/beta/permissionCommunity.defs.d.ts.map +1 -1
- package/dist/generated/social/colibri/beta/permissionCommunity.defs.js +1 -1
- package/dist/generated/social/colibri/beta/permissionCommunity.defs.js.map +1 -1
- package/lexicons/com/atproto/PINNED_COMMIT +1 -1
- package/lexicons/com/atproto/simplespace/deleteSpace.json +1 -1
- package/lexicons/com/atproto/space/defs.json +17 -19
- package/lexicons/com/atproto/space/getLatestCommit.json +7 -3
- package/lexicons/com/atproto/space/getRecord.json +5 -1
- package/lexicons/com/atproto/space/getRepo.json +6 -7
- package/lexicons/com/atproto/space/getSpaceCredential.json +10 -2
- package/lexicons/com/atproto/space/listRepoOps.json +7 -3
- package/lexicons/com/atproto/space/listRepos.json +4 -4
- package/lexicons/com/atproto/space/notifySpaceDeleted.json +1 -1
- package/lexicons/com/atproto/space/notifyWrite.json +3 -3
- package/lexicons/social/colibri/beta/actor/defs.json +10 -0
- package/lexicons/social/colibri/beta/emoji/getEmojis.json +51 -0
- package/lexicons/social/colibri/beta/permissionCommunity.json +1 -0
- package/package.json +3 -3
|
@@ -14,7 +14,7 @@ export type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;
|
|
|
14
14
|
export declare const $output: l.Payload<undefined, undefined>;
|
|
15
15
|
export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
|
|
16
16
|
export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;
|
|
17
|
-
/** Delete a space.
|
|
17
|
+
/** Delete a space. Requires auth as the space owner. Deletes the owner's own repo in the space; other members' repos are left in place. Afterwards, reads and writes fail with SpaceNotFound and getSpaceCredential returns SpaceDeleted. Idempotent. Implemented by PDS. */
|
|
18
18
|
declare const main: l.Procedure<"com.atproto.simplespace.deleteSpace", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
19
19
|
space: l.StringSchema<{
|
|
20
20
|
readonly format: "space-ref";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deleteSpace.defs.d.ts","sourceRoot":"","sources":["../../../../../src/generated/com/atproto/simplespace/deleteSpace.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,QAAA,MAAM,KAAK,wCAAwC,CAAC;AAEpD,KAAK,KAAK,GAAG,OAAO,KAAK,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,eAAO,MAAM,OAAO,oBAA2B,CAAC;AAEhD,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAC;AAEpD,eAAO,MAAM,MAAM;;;;GAAwF,CAAC;AAE5G,MAAM,MAAM,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAC;AACxE,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAC;AAEhF,eAAO,MAAM,OAAO,iCAA4B,CAAC;AAEjD,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAC;AAC1E,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAC;AAElF,
|
|
1
|
+
{"version":3,"file":"deleteSpace.defs.d.ts","sourceRoot":"","sources":["../../../../../src/generated/com/atproto/simplespace/deleteSpace.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,QAAA,MAAM,KAAK,wCAAwC,CAAC;AAEpD,KAAK,KAAK,GAAG,OAAO,KAAK,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,eAAO,MAAM,OAAO,oBAA2B,CAAC;AAEhD,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAC;AAEpD,eAAO,MAAM,MAAM;;;;GAAwF,CAAC;AAE5G,MAAM,MAAM,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAC;AACxE,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAC;AAEhF,eAAO,MAAM,OAAO,iCAA4B,CAAC;AAEjD,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAC;AAC1E,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAC;AAElF,6QAA6Q;AAC7Q,QAAA,MAAM,IAAI;;;;kFAAgG,CAAC;AAE3G,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,QAAA,MAAM,IAAI,wCAAQ,CAAC;AAEnB,KAAK,IAAI,GAAG,OAAO,IAAI,CAAC;AAExB,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -7,7 +7,7 @@ export { $nsid };
|
|
|
7
7
|
export const $params = /*#__PURE__*/ l.params();
|
|
8
8
|
export const $input = /*#__PURE__*/ l.jsonPayload({ "space": /*#__PURE__*/ l.string({ "format": "space-ref" }) });
|
|
9
9
|
export const $output = /*#__PURE__*/ l.payload();
|
|
10
|
-
/** Delete a space.
|
|
10
|
+
/** Delete a space. Requires auth as the space owner. Deletes the owner's own repo in the space; other members' repos are left in place. Afterwards, reads and writes fail with SpaceNotFound and getSpaceCredential returns SpaceDeleted. Idempotent. Implemented by PDS. */
|
|
11
11
|
const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, ["SpaceNotFound", "NotSpaceOwner"]);
|
|
12
12
|
export { main };
|
|
13
13
|
const $lxm = $nsid;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deleteSpace.defs.js","sourceRoot":"","sources":["../../../../../src/generated/com/atproto/simplespace/deleteSpace.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,MAAM,KAAK,GAAG,qCAAqC,CAAC;AAIpD,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;AAIhD,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,EAAC,OAAO,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,WAAW,EAAC,CAAC,EAAC,CAAC,CAAC;AAK5G,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;AAKjD,
|
|
1
|
+
{"version":3,"file":"deleteSpace.defs.js","sourceRoot":"","sources":["../../../../../src/generated/com/atproto/simplespace/deleteSpace.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,MAAM,KAAK,GAAG,qCAAqC,CAAC;AAIpD,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;AAIhD,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,EAAC,OAAO,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,WAAW,EAAC,CAAC,EAAC,CAAC,CAAC;AAK5G,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;AAKjD,6QAA6Q;AAC7Q,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,eAAe,EAAC,eAAe,CAAC,CAAC,CAAC;AAE3G,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,MAAM,IAAI,GAAG,KAAK,CAAC;AAInB,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -2,36 +2,32 @@ import { l } from "@atproto/lex";
|
|
|
2
2
|
declare const $nsid = "com.atproto.space.defs";
|
|
3
3
|
type $nsid = typeof $nsid;
|
|
4
4
|
export { $nsid };
|
|
5
|
-
/** A
|
|
6
|
-
type
|
|
7
|
-
$type?: "com.atproto.space.defs#
|
|
5
|
+
/** A commit over the current state of a permissioned repo. Carries no signature: the repo host authenticates it to a syncer with a MAC in the Atproto-Space-Mac response header. */
|
|
6
|
+
type Commit = {
|
|
7
|
+
$type?: "com.atproto.space.defs#commit";
|
|
8
8
|
/**
|
|
9
|
-
* Commit format version, currently 1.
|
|
9
|
+
* Commit format version, currently 1.
|
|
10
10
|
*/
|
|
11
11
|
"ver": number;
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
14
|
-
*/
|
|
15
|
-
"hash": Uint8Array;
|
|
16
|
-
/**
|
|
17
|
-
* Per-signature input keying material (32 random bytes)
|
|
13
|
+
* The author DID of the repo.
|
|
18
14
|
*/
|
|
19
|
-
"
|
|
15
|
+
"repo": l.DidString;
|
|
20
16
|
/**
|
|
21
|
-
*
|
|
17
|
+
* Reference to the space.
|
|
22
18
|
*/
|
|
23
|
-
"
|
|
19
|
+
"space": l.SpaceRefString;
|
|
24
20
|
/**
|
|
25
|
-
*
|
|
21
|
+
* Commit revision (TID).
|
|
26
22
|
*/
|
|
27
|
-
"
|
|
23
|
+
"rev": l.TidString;
|
|
28
24
|
/**
|
|
29
|
-
*
|
|
25
|
+
* sha256 digest of the LtHash state (32 bytes).
|
|
30
26
|
*/
|
|
31
|
-
"
|
|
27
|
+
"data": Uint8Array;
|
|
32
28
|
};
|
|
33
|
-
export type {
|
|
34
|
-
/** A
|
|
35
|
-
declare const
|
|
36
|
-
export {
|
|
29
|
+
export type { Commit };
|
|
30
|
+
/** A commit over the current state of a permissioned repo. Carries no signature: the repo host authenticates it to a syncer with a MAC in the Atproto-Space-Mac response header. */
|
|
31
|
+
declare const commit: l.TypedObjectSchema<"com.atproto.space.defs#commit", l.Validator<Commit, Commit>>;
|
|
32
|
+
export { commit };
|
|
37
33
|
//# sourceMappingURL=defs.defs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defs.defs.d.ts","sourceRoot":"","sources":["../../../../../src/generated/com/atproto/space/defs.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,QAAA,MAAM,KAAK,2BAA2B,CAAC;AAEvC,KAAK,KAAK,GAAG,OAAO,KAAK,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,
|
|
1
|
+
{"version":3,"file":"defs.defs.d.ts","sourceRoot":"","sources":["../../../../../src/generated/com/atproto/space/defs.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,QAAA,MAAM,KAAK,2BAA2B,CAAC;AAEvC,KAAK,KAAK,GAAG,OAAO,KAAK,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,oLAAoL;AACpL,KAAK,MAAM,GAAG;IAAE,KAAK,CAAC,EAAE,+BAA+B,CAAC;IAEtD;;OAEG;IACH,KAAK,EAAC,MAAM,CAAC;IAEb;;OAEG;IACH,MAAM,EAAC,CAAC,CAAC,SAAS,CAAC;IAEnB;;OAEG;IACH,OAAO,EAAC,CAAC,CAAC,cAAc,CAAC;IAEzB;;OAEG;IACH,KAAK,EAAC,CAAC,CAAC,SAAS,CAAC;IAElB;;OAEG;IACH,MAAM,EAAC,UAAU,CAAA;CAAE,CAAC;AAEtB,YAAY,EAAE,MAAM,EAAE,CAAC;AAEvB,oLAAoL;AACpL,QAAA,MAAM,MAAM,mFAAuS,CAAC;AAEpT,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { l } from "@atproto/lex";
|
|
5
5
|
const $nsid = "com.atproto.space.defs";
|
|
6
6
|
export { $nsid };
|
|
7
|
-
/** A
|
|
8
|
-
const
|
|
9
|
-
export {
|
|
7
|
+
/** A commit over the current state of a permissioned repo. Carries no signature: the repo host authenticates it to a syncer with a MAC in the Atproto-Space-Mac response header. */
|
|
8
|
+
const commit = /*#__PURE__*/ l.typedObject($nsid, "commit", /*#__PURE__*/ l.object({ "ver": /*#__PURE__*/ l.integer(), "repo": /*#__PURE__*/ l.string({ "format": "did" }), "space": /*#__PURE__*/ l.string({ "format": "space-ref" }), "rev": /*#__PURE__*/ l.string({ "format": "tid" }), "data": /*#__PURE__*/ l.bytes() }));
|
|
9
|
+
export { commit };
|
|
10
10
|
//# sourceMappingURL=defs.defs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defs.defs.js","sourceRoot":"","sources":["../../../../../src/generated/com/atproto/space/defs.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,MAAM,KAAK,GAAG,wBAAwB,CAAC;AAIvC,OAAO,EAAE,KAAK,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"defs.defs.js","sourceRoot":"","sources":["../../../../../src/generated/com/atproto/space/defs.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,MAAM,KAAK,GAAG,wBAAwB,CAAC;AAIvC,OAAO,EAAE,KAAK,EAAE,CAAC;AAgCjB,oLAAoL;AACpL,MAAM,MAAM,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAS,KAAK,EAAE,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,KAAK,EAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,EAAC,MAAM,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,EAAC,OAAO,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,WAAW,EAAC,CAAC,EAAC,KAAK,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,EAAC,MAAM,EAAC,aAAa,CAAC,CAAC,CAAC,KAAK,EAAE,EAAC,CAAC,CAAC,CAAC;AAEpT,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -13,11 +13,11 @@ export declare const $params: l.ParamsSchema<{
|
|
|
13
13
|
}>;
|
|
14
14
|
export type $Params = l.InferOutput<typeof $params>;
|
|
15
15
|
export declare const $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
16
|
-
commit: l.RefSchema<l.Validator<SpaceDefs.
|
|
16
|
+
commit: l.RefSchema<l.Validator<SpaceDefs.Commit, SpaceDefs.Commit>>;
|
|
17
17
|
}>>;
|
|
18
18
|
export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
|
|
19
19
|
export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;
|
|
20
|
-
/** Get the current
|
|
20
|
+
/** Get the current commit for an account's permissioned repo within a space. Served by a repo host. When called with a space credential, the caller must send an Atproto-Space-Want-Mac header, and the commit's MAC is returned in the Atproto-Space-Mac response header. Throws RepoNotFound when the account holds no repo in the space, including the case of a member that has never written to it. Callable with either OAuth (for the authenticated user's own data) or a space credential (for syncing services). */
|
|
21
21
|
declare const main: l.Query<"com.atproto.space.getLatestCommit", l.ParamsSchema<{
|
|
22
22
|
readonly space: l.StringSchema<{
|
|
23
23
|
readonly format: "space-ref";
|
|
@@ -26,8 +26,8 @@ declare const main: l.Query<"com.atproto.space.getLatestCommit", l.ParamsSchema<
|
|
|
26
26
|
readonly format: "did";
|
|
27
27
|
}>;
|
|
28
28
|
}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
29
|
-
commit: l.RefSchema<l.Validator<SpaceDefs.
|
|
30
|
-
}>>, readonly ["SpaceNotFound", "RepoNotFound", "RepoTakendown", "RepoSuspended", "RepoDeactivated"]>;
|
|
29
|
+
commit: l.RefSchema<l.Validator<SpaceDefs.Commit, SpaceDefs.Commit>>;
|
|
30
|
+
}>>, readonly ["BadSpaceMac", "SpaceNotFound", "RepoNotFound", "RepoTakendown", "RepoSuspended", "RepoDeactivated"]>;
|
|
31
31
|
export { main };
|
|
32
32
|
declare const $lxm = "com.atproto.space.getLatestCommit";
|
|
33
33
|
type $lxm = typeof $lxm;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getLatestCommit.defs.d.ts","sourceRoot":"","sources":["../../../../../src/generated/com/atproto/space/getLatestCommit.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AACjC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC;AAE5C,QAAA,MAAM,KAAK,sCAAsC,CAAC;AAElD,KAAK,KAAK,GAAG,OAAO,KAAK,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,eAAO,MAAM,OAAO;;;;;;;EAAmI,CAAC;AAExJ,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAC;AAEpD,eAAO,MAAM,OAAO;;
|
|
1
|
+
{"version":3,"file":"getLatestCommit.defs.d.ts","sourceRoot":"","sources":["../../../../../src/generated/com/atproto/space/getLatestCommit.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AACjC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC;AAE5C,QAAA,MAAM,KAAK,sCAAsC,CAAC;AAElD,KAAK,KAAK,GAAG,OAAO,KAAK,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,eAAO,MAAM,OAAO;;;;;;;EAAmI,CAAC;AAExJ,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAC;AAEpD,eAAO,MAAM,OAAO;;GAAiH,CAAC;AAEtI,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAC;AAC1E,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAC;AAElF,6fAA6f;AAC7f,QAAA,MAAM,IAAI;;;;;;;;;oHAAmJ,CAAC;AAE9J,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,QAAA,MAAM,IAAI,sCAAQ,CAAC;AAEnB,KAAK,IAAI,GAAG,OAAO,IAAI,CAAC;AAExB,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -6,9 +6,9 @@ import * as SpaceDefs from "./defs.defs.js";
|
|
|
6
6
|
const $nsid = "com.atproto.space.getLatestCommit";
|
|
7
7
|
export { $nsid };
|
|
8
8
|
export const $params = /*#__PURE__*/ l.params({ "space": /*#__PURE__*/ l.string({ "format": "space-ref" }), "repo": /*#__PURE__*/ l.string({ "format": "did" }) });
|
|
9
|
-
export const $output = /*#__PURE__*/ l.jsonPayload({ "commit": /*#__PURE__*/ l.ref((() => SpaceDefs.
|
|
10
|
-
/** Get the current
|
|
11
|
-
const main = /*#__PURE__*/ l.query($nsid, $params, $output, ["SpaceNotFound", "RepoNotFound", "RepoTakendown", "RepoSuspended", "RepoDeactivated"]);
|
|
9
|
+
export const $output = /*#__PURE__*/ l.jsonPayload({ "commit": /*#__PURE__*/ l.ref((() => SpaceDefs.commit)) });
|
|
10
|
+
/** Get the current commit for an account's permissioned repo within a space. Served by a repo host. When called with a space credential, the caller must send an Atproto-Space-Want-Mac header, and the commit's MAC is returned in the Atproto-Space-Mac response header. Throws RepoNotFound when the account holds no repo in the space, including the case of a member that has never written to it. Callable with either OAuth (for the authenticated user's own data) or a space credential (for syncing services). */
|
|
11
|
+
const main = /*#__PURE__*/ l.query($nsid, $params, $output, ["BadSpaceMac", "SpaceNotFound", "RepoNotFound", "RepoTakendown", "RepoSuspended", "RepoDeactivated"]);
|
|
12
12
|
export { main };
|
|
13
13
|
const $lxm = $nsid;
|
|
14
14
|
export { $lxm };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getLatestCommit.defs.js","sourceRoot":"","sources":["../../../../../src/generated/com/atproto/space/getLatestCommit.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AACjC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC;AAE5C,MAAM,KAAK,GAAG,mCAAmC,CAAC;AAIlD,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,OAAO,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,WAAW,EAAC,CAAC,EAAC,MAAM,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,EAAC,CAAC,CA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+28,7 @@ export declare const $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
|
28
28
|
}>>;
|
|
29
29
|
export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
|
|
30
30
|
export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;
|
|
31
|
-
/** Get a single record from a permissioned space. Callable with either OAuth (for the authenticated user's own data) or a space credential (for syncing services). Throws RepoNotFound when the account holds no repo in the space; this does not distinguish a member that has never written from a non-member. */
|
|
31
|
+
/** Get a single record from a permissioned space. Callable with either OAuth (for the authenticated user's own data) or a space credential (for syncing services). When called with a space credential, the caller must send an Atproto-Space-Want-Mac header, and the record's MAC is returned in the Atproto-Space-Mac response header. Throws RepoNotFound when the account holds no repo in the space; this does not distinguish a member that has never written from a non-member. */
|
|
32
32
|
declare const main: l.Query<"com.atproto.space.getRecord", l.ParamsSchema<{
|
|
33
33
|
readonly space: l.StringSchema<{
|
|
34
34
|
readonly format: "space-ref";
|
|
@@ -50,7 +50,7 @@ declare const main: l.Query<"com.atproto.space.getRecord", l.ParamsSchema<{
|
|
|
50
50
|
readonly format: "cid";
|
|
51
51
|
}>;
|
|
52
52
|
value: l.LexMapSchema;
|
|
53
|
-
}>>, readonly ["RecordNotFound", "SpaceNotFound", "RepoNotFound", "RepoTakendown", "RepoSuspended", "RepoDeactivated"]>;
|
|
53
|
+
}>>, readonly ["BadSpaceMac", "RecordNotFound", "SpaceNotFound", "RepoNotFound", "RepoTakendown", "RepoSuspended", "RepoDeactivated"]>;
|
|
54
54
|
export { main };
|
|
55
55
|
declare const $lxm = "com.atproto.space.getRecord";
|
|
56
56
|
type $lxm = typeof $lxm;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRecord.defs.d.ts","sourceRoot":"","sources":["../../../../../src/generated/com/atproto/space/getRecord.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,QAAA,MAAM,KAAK,gC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C,CAAC,CAAC;AAElF,2dAA2d;AAC3d,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;sIAAoK,CAAC;AAE/K,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,QAAA,MAAM,IAAI,gCAAQ,CAAC;AAEnB,KAAK,IAAI,GAAG,OAAO,IAAI,CAAC;AAExB,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -6,8 +6,8 @@ const $nsid = "com.atproto.space.getRecord";
|
|
|
6
6
|
export { $nsid };
|
|
7
7
|
export const $params = /*#__PURE__*/ l.params({ "space": /*#__PURE__*/ l.string({ "format": "space-ref" }), "repo": /*#__PURE__*/ l.string({ "format": "did" }), "collection": /*#__PURE__*/ l.string({ "format": "nsid" }), "rkey": /*#__PURE__*/ l.string({ "format": "record-key" }) });
|
|
8
8
|
export const $output = /*#__PURE__*/ l.jsonPayload({ "uri": /*#__PURE__*/ l.string({ "format": "at-uri" }), "cid": /*#__PURE__*/ l.string({ "format": "cid" }), "value": /*#__PURE__*/ l.lexMap() });
|
|
9
|
-
/** Get a single record from a permissioned space. Callable with either OAuth (for the authenticated user's own data) or a space credential (for syncing services). Throws RepoNotFound when the account holds no repo in the space; this does not distinguish a member that has never written from a non-member. */
|
|
10
|
-
const main = /*#__PURE__*/ l.query($nsid, $params, $output, ["RecordNotFound", "SpaceNotFound", "RepoNotFound", "RepoTakendown", "RepoSuspended", "RepoDeactivated"]);
|
|
9
|
+
/** Get a single record from a permissioned space. Callable with either OAuth (for the authenticated user's own data) or a space credential (for syncing services). When called with a space credential, the caller must send an Atproto-Space-Want-Mac header, and the record's MAC is returned in the Atproto-Space-Mac response header. Throws RepoNotFound when the account holds no repo in the space; this does not distinguish a member that has never written from a non-member. */
|
|
10
|
+
const main = /*#__PURE__*/ l.query($nsid, $params, $output, ["BadSpaceMac", "RecordNotFound", "SpaceNotFound", "RepoNotFound", "RepoTakendown", "RepoSuspended", "RepoDeactivated"]);
|
|
11
11
|
export { main };
|
|
12
12
|
const $lxm = $nsid;
|
|
13
13
|
export { $lxm };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRecord.defs.js","sourceRoot":"","sources":["../../../../../src/generated/com/atproto/space/getRecord.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,MAAM,KAAK,GAAG,6BAA6B,CAAC;AAI5C,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,OAAO,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,WAAW,EAAC,CAAC,EAAC,MAAM,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,EAAC,YAAY,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,MAAM,EAAC,CAAC,EAAC,MAAM,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,YAAY,EAAC,CAAC,EAAC,CAAC,CAAC;AAItQ,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,EAAC,KAAK,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,QAAQ,EAAC,CAAC,EAAC,KAAK,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,EAAC,OAAO,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,EAAC,CAAC,CAAC;AAKxL,
|
|
1
|
+
{"version":3,"file":"getRecord.defs.js","sourceRoot":"","sources":["../../../../../src/generated/com/atproto/space/getRecord.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,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@@ -9,13 +9,12 @@ export declare const $params: l.ParamsSchema<{
|
|
|
9
9
|
readonly repo: l.StringSchema<{
|
|
10
10
|
readonly format: "did";
|
|
11
11
|
}>;
|
|
12
|
-
readonly excludeValues: l.OptionalSchema<l.WithDefaultSchema<l.BooleanSchema>>;
|
|
13
12
|
}>;
|
|
14
13
|
export type $Params = l.InferOutput<typeof $params>;
|
|
15
|
-
export declare const $output: l.Payload<"application/
|
|
14
|
+
export declare const $output: l.Payload<"application/octet-stream", undefined>;
|
|
16
15
|
export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
|
|
17
16
|
export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;
|
|
18
|
-
/** Download an account's permissioned repo within a space as a
|
|
17
|
+
/** Download an account's permissioned repo within a space as a STAR file, for full-state recovery. The archive's metadata is the repo's commit; each key/value pair is a record path ('{collection}/{rkey}') and the record's DRISL encoding, in strict lexicographic order of the path. Blobs are not included and are fetched separately via getBlob. Served by a repo host. Callable with either OAuth (for the authenticated user's own data) or a space credential (for syncing services). When called with a space credential, the caller must send an Atproto-Space-Want-Mac header, and the commit's MAC is returned in the Atproto-Space-Mac response header. */
|
|
19
18
|
declare const main: l.Query<"com.atproto.space.getRepo", l.ParamsSchema<{
|
|
20
19
|
readonly space: l.StringSchema<{
|
|
21
20
|
readonly format: "space-ref";
|
|
@@ -23,8 +22,7 @@ declare const main: l.Query<"com.atproto.space.getRepo", l.ParamsSchema<{
|
|
|
23
22
|
readonly repo: l.StringSchema<{
|
|
24
23
|
readonly format: "did";
|
|
25
24
|
}>;
|
|
26
|
-
|
|
27
|
-
}>, l.Payload<"application/vnd.ipld.car", undefined>, readonly ["SpaceNotFound", "RepoNotFound", "RepoTakendown", "RepoSuspended", "RepoDeactivated"]>;
|
|
25
|
+
}>, l.Payload<"application/octet-stream", undefined>, readonly ["BadSpaceMac", "SpaceNotFound", "RepoNotFound", "RepoTakendown", "RepoSuspended", "RepoDeactivated"]>;
|
|
28
26
|
export { main };
|
|
29
27
|
declare const $lxm = "com.atproto.space.getRepo";
|
|
30
28
|
type $lxm = typeof $lxm;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRepo.defs.d.ts","sourceRoot":"","sources":["../../../../../src/generated/com/atproto/space/getRepo.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,QAAA,MAAM,KAAK,8BAA8B,CAAC;AAE1C,KAAK,KAAK,GAAG,OAAO,KAAK,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"getRepo.defs.d.ts","sourceRoot":"","sources":["../../../../../src/generated/com/atproto/space/getRepo.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,QAAA,MAAM,KAAK,8BAA8B,CAAC;AAE1C,KAAK,KAAK,GAAG,OAAO,KAAK,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,eAAO,MAAM,OAAO;;;;;;;EAAmI,CAAC;AAExJ,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAC;AAEpD,eAAO,MAAM,OAAO,kDAAsD,CAAC;AAE3E,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAC;AAC1E,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAC;AAElF,0oBAA0oB;AAC1oB,QAAA,MAAM,IAAI;;;;;;;qKAAmJ,CAAC;AAE9J,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,QAAA,MAAM,IAAI,8BAAQ,CAAC;AAEnB,KAAK,IAAI,GAAG,OAAO,IAAI,CAAC;AAExB,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
import { l } from "@atproto/lex";
|
|
5
5
|
const $nsid = "com.atproto.space.getRepo";
|
|
6
6
|
export { $nsid };
|
|
7
|
-
export const $params = /*#__PURE__*/ l.params({ "space": /*#__PURE__*/ l.string({ "format": "space-ref" }), "repo": /*#__PURE__*/ l.string({ "format": "did" })
|
|
8
|
-
export const $output = /*#__PURE__*/ l.payload("application/
|
|
9
|
-
/** Download an account's permissioned repo within a space as a
|
|
10
|
-
const main = /*#__PURE__*/ l.query($nsid, $params, $output, ["SpaceNotFound", "RepoNotFound", "RepoTakendown", "RepoSuspended", "RepoDeactivated"]);
|
|
7
|
+
export const $params = /*#__PURE__*/ l.params({ "space": /*#__PURE__*/ l.string({ "format": "space-ref" }), "repo": /*#__PURE__*/ l.string({ "format": "did" }) });
|
|
8
|
+
export const $output = /*#__PURE__*/ l.payload("application/octet-stream");
|
|
9
|
+
/** Download an account's permissioned repo within a space as a STAR file, for full-state recovery. The archive's metadata is the repo's commit; each key/value pair is a record path ('{collection}/{rkey}') and the record's DRISL encoding, in strict lexicographic order of the path. Blobs are not included and are fetched separately via getBlob. Served by a repo host. Callable with either OAuth (for the authenticated user's own data) or a space credential (for syncing services). When called with a space credential, the caller must send an Atproto-Space-Want-Mac header, and the commit's MAC is returned in the Atproto-Space-Mac response header. */
|
|
10
|
+
const main = /*#__PURE__*/ l.query($nsid, $params, $output, ["BadSpaceMac", "SpaceNotFound", "RepoNotFound", "RepoTakendown", "RepoSuspended", "RepoDeactivated"]);
|
|
11
11
|
export { main };
|
|
12
12
|
const $lxm = $nsid;
|
|
13
13
|
export { $lxm };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRepo.defs.js","sourceRoot":"","sources":["../../../../../src/generated/com/atproto/space/getRepo.defs.ts"],"names":[],"mappings":"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,EAAE,IAAI,EAAE,CAAC;AAEhB,MAAM,IAAI,GAAG,KAAK,CAAC;AAInB,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -8,6 +8,8 @@ export declare const $input: l.Payload<"application/json", l.ObjectSchema<{
|
|
|
8
8
|
space: l.StringSchema<{
|
|
9
9
|
readonly format: "space-ref";
|
|
10
10
|
}>;
|
|
11
|
+
credentialKid: l.StringSchema<{}>;
|
|
12
|
+
delegationToken: l.OptionalSchema<l.StringSchema<{}>>;
|
|
11
13
|
clientAttestation: l.OptionalSchema<l.StringSchema<{}>>;
|
|
12
14
|
}>>;
|
|
13
15
|
export type $Input<B = l.BinaryData> = l.InferPayload<typeof $input, B>;
|
|
@@ -17,11 +19,13 @@ export declare const $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
|
17
19
|
}>>;
|
|
18
20
|
export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
|
|
19
21
|
export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;
|
|
20
|
-
/**
|
|
22
|
+
/** Request a space credential. Called on the space authority. A delegation token is required when the space gates on the user. A client attestation is required when the space gates on app identity. A space that requires neither offers public access. The resulting space credential reads repos across the space. */
|
|
21
23
|
declare const main: l.Procedure<"com.atproto.space.getSpaceCredential", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
22
24
|
space: l.StringSchema<{
|
|
23
25
|
readonly format: "space-ref";
|
|
24
26
|
}>;
|
|
27
|
+
credentialKid: l.StringSchema<{}>;
|
|
28
|
+
delegationToken: l.OptionalSchema<l.StringSchema<{}>>;
|
|
25
29
|
clientAttestation: l.OptionalSchema<l.StringSchema<{}>>;
|
|
26
30
|
}>>, l.Payload<"application/json", l.ObjectSchema<{
|
|
27
31
|
credential: l.StringSchema<{}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSpaceCredential.defs.d.ts","sourceRoot":"","sources":["../../../../../src/generated/com/atproto/space/getSpaceCredential.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,QAAA,MAAM,KAAK,yCAAyC,CAAC;AAErD,KAAK,KAAK,GAAG,OAAO,KAAK,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,eAAO,MAAM,OAAO,oBAA2B,CAAC;AAEhD,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAC;AAEpD,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"getSpaceCredential.defs.d.ts","sourceRoot":"","sources":["../../../../../src/generated/com/atproto/space/getSpaceCredential.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,QAAA,MAAM,KAAK,yCAAyC,CAAC;AAErD,KAAK,KAAK,GAAG,OAAO,KAAK,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,eAAO,MAAM,OAAO,oBAA2B,CAAC;AAEhD,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAC;AAEpD,eAAO,MAAM,MAAM;;;;;;;GAA6Q,CAAC;AAEjS,MAAM,MAAM,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAC;AACxE,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,MAAM,EAAE,CAAC,CAAC,CAAC;AAEhF,eAAO,MAAM,OAAO;;GAAuE,CAAC;AAE5F,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAC;AAC1E,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAC;AAElF,0TAA0T;AAC1T,QAAA,MAAM,IAAI;;;;;;;;;gKAA0M,CAAC;AAErN,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,QAAA,MAAM,IAAI,yCAAQ,CAAC;AAEnB,KAAK,IAAI,GAAG,OAAO,IAAI,CAAC;AAExB,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -5,9 +5,9 @@ import { l } from "@atproto/lex";
|
|
|
5
5
|
const $nsid = "com.atproto.space.getSpaceCredential";
|
|
6
6
|
export { $nsid };
|
|
7
7
|
export const $params = /*#__PURE__*/ l.params();
|
|
8
|
-
export const $input = /*#__PURE__*/ l.jsonPayload({ "space": /*#__PURE__*/ l.string({ "format": "space-ref" }), "clientAttestation": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()) });
|
|
8
|
+
export const $input = /*#__PURE__*/ l.jsonPayload({ "space": /*#__PURE__*/ l.string({ "format": "space-ref" }), "credentialKid": /*#__PURE__*/ l.string(), "delegationToken": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()), "clientAttestation": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()) });
|
|
9
9
|
export const $output = /*#__PURE__*/ l.jsonPayload({ "credential": /*#__PURE__*/ l.string() });
|
|
10
|
-
/**
|
|
10
|
+
/** Request a space credential. Called on the space authority. A delegation token is required when the space gates on the user. A client attestation is required when the space gates on app identity. A space that requires neither offers public access. The resulting space credential reads repos across the space. */
|
|
11
11
|
const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, ["SpaceNotFound", "SpaceDeleted", "UserNotAuthorized", "AppNotAuthorized", "NotAuthorized", "InvalidDelegationToken", "InvalidClientAttestation"]);
|
|
12
12
|
export { main };
|
|
13
13
|
const $lxm = $nsid;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSpaceCredential.defs.js","sourceRoot":"","sources":["../../../../../src/generated/com/atproto/space/getSpaceCredential.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,MAAM,KAAK,GAAG,sCAAsC,CAAC;AAIrD,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;AAIhD,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,EAAC,OAAO,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,WAAW,EAAC,CAAC,EAAC,mBAAmB,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,EAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"getSpaceCredential.defs.js","sourceRoot":"","sources":["../../../../../src/generated/com/atproto/space/getSpaceCredential.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,MAAM,KAAK,GAAG,sCAAsC,CAAC;AAIrD,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;AAIhD,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,EAAC,OAAO,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,WAAW,EAAC,CAAC,EAAC,eAAe,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,EAAC,iBAAiB,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,EAAC,mBAAmB,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,EAAC,CAAC,CAAC;AAKjS,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,EAAC,YAAY,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,EAAC,CAAC,CAAC;AAK5F,0TAA0T;AAC1T,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,eAAe,EAAC,cAAc,EAAC,mBAAmB,EAAC,kBAAkB,EAAC,eAAe,EAAC,wBAAwB,EAAC,0BAA0B,CAAC,CAAC,CAAC;AAErN,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,MAAM,IAAI,GAAG,KAAK,CAAC;AAInB,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -20,12 +20,12 @@ export declare const $params: l.ParamsSchema<{
|
|
|
20
20
|
export type $Params = l.InferOutput<typeof $params>;
|
|
21
21
|
export declare const $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
22
22
|
ops: l.ArraySchema<l.RefSchema<l.Validator<OpEntry, OpEntry>>>;
|
|
23
|
-
commit: l.OptionalSchema<l.RefSchema<l.Validator<SpaceDefs.
|
|
23
|
+
commit: l.OptionalSchema<l.RefSchema<l.Validator<SpaceDefs.Commit, SpaceDefs.Commit>>>;
|
|
24
24
|
cursor: l.OptionalSchema<l.StringSchema<{}>>;
|
|
25
25
|
}>>;
|
|
26
26
|
export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
|
|
27
27
|
export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;
|
|
28
|
-
/** List the operation log for an account's permissioned repo within a space, returning operations after a given revision. Primary incremental sync mechanism. By default each created or updated operation inlines the record's current value; set excludeValues for metadata-only entries. Note the oplog is a transport optimization with no history guarantee: a host may compact it or drop it, and it does not survive account migration, so omitting `since` returns the retained window rather than the repo's full history. Use getRepo for an initial sync or when a `since` revision is no longer available. Callable with either OAuth (for the authenticated user's own data) or a space credential (for syncing services). */
|
|
28
|
+
/** List the operation log for an account's permissioned repo within a space, returning operations after a given revision. Primary incremental sync mechanism. By default each created or updated operation inlines the record's current value; set excludeValues for metadata-only entries. Note the oplog is a transport optimization with no history guarantee: a host may compact it or drop it, and it does not survive account migration, so omitting `since` returns the retained window rather than the repo's full history. Use getRepo for an initial sync or when a `since` revision is no longer available. Callable with either OAuth (for the authenticated user's own data) or a space credential (for syncing services). When called with a space credential, the caller must send an Atproto-Space-Want-Mac header, and a response that includes the commit carries its MAC in the Atproto-Space-Mac response header. */
|
|
29
29
|
declare const main: l.Query<"com.atproto.space.listRepoOps", l.ParamsSchema<{
|
|
30
30
|
readonly space: l.StringSchema<{
|
|
31
31
|
readonly format: "space-ref";
|
|
@@ -41,9 +41,9 @@ declare const main: l.Query<"com.atproto.space.listRepoOps", l.ParamsSchema<{
|
|
|
41
41
|
readonly excludeValues: l.OptionalSchema<l.WithDefaultSchema<l.BooleanSchema>>;
|
|
42
42
|
}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
43
43
|
ops: l.ArraySchema<l.RefSchema<l.Validator<OpEntry, OpEntry>>>;
|
|
44
|
-
commit: l.OptionalSchema<l.RefSchema<l.Validator<SpaceDefs.
|
|
44
|
+
commit: l.OptionalSchema<l.RefSchema<l.Validator<SpaceDefs.Commit, SpaceDefs.Commit>>>;
|
|
45
45
|
cursor: l.OptionalSchema<l.StringSchema<{}>>;
|
|
46
|
-
}>>, readonly ["SpaceNotFound", "RepoNotFound", "RepoTakendown", "RepoSuspended", "RepoDeactivated"]>;
|
|
46
|
+
}>>, readonly ["BadSpaceMac", "SpaceNotFound", "RepoNotFound", "RepoTakendown", "RepoSuspended", "RepoDeactivated"]>;
|
|
47
47
|
export { main };
|
|
48
48
|
declare const $lxm = "com.atproto.space.listRepoOps";
|
|
49
49
|
type $lxm = typeof $lxm;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listRepoOps.defs.d.ts","sourceRoot":"","sources":["../../../../../src/generated/com/atproto/space/listRepoOps.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AACjC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC;AAE5C,QAAA,MAAM,KAAK,kCAAkC,CAAC;AAE9C,KAAK,KAAK,GAAG,OAAO,KAAK,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,eAAO,MAAM,OAAO;;;;;;;;;;;;;EAA4e,CAAC;AAEjgB,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAC;AAEpD,eAAO,MAAM,OAAO;;;;
|
|
1
|
+
{"version":3,"file":"listRepoOps.defs.d.ts","sourceRoot":"","sources":["../../../../../src/generated/com/atproto/space/listRepoOps.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AACjC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC;AAE5C,QAAA,MAAM,KAAK,kCAAkC,CAAC;AAE9C,KAAK,KAAK,GAAG,OAAO,KAAK,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,eAAO,MAAM,OAAO;;;;;;;;;;;;;EAA4e,CAAC;AAEjgB,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAC;AAEpD,eAAO,MAAM,OAAO;;;;GAA2R,CAAC;AAEhT,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAC;AAC1E,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAC;AAElF,y4BAAy4B;AACz4B,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;oHAAmJ,CAAC;AAE9J,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,QAAA,MAAM,IAAI,kCAAQ,CAAC;AAEnB,KAAK,IAAI,GAAG,OAAO,IAAI,CAAC;AAExB,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,8TAA8T;AAC9T,KAAK,OAAO,GAAG;IAAE,KAAK,CAAC,EAAE,uCAAuC,CAAC;IAAA,KAAK,EAAC,CAAC,CAAC,SAAS,CAAC;IAAA,YAAY,EAAC,CAAC,CAAC,UAAU,CAAC;IAAA,MAAM,EAAC,CAAC,CAAC,eAAe,CAAC;IAAA,KAAK,EAAC,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;IAAA,MAAM,EAAC,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;IAEvL;;OAEG;IACH,OAAO,CAAC,EAAC,CAAC,CAAC,MAAM,CAAA;CAAE,CAAC;AAEtB,YAAY,EAAE,OAAO,EAAE,CAAC;AAExB,8TAA8T;AAC9T,QAAA,MAAM,OAAO,6FAA+b,CAAC;AAE7c,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -6,9 +6,9 @@ import * as SpaceDefs from "./defs.defs.js";
|
|
|
6
6
|
const $nsid = "com.atproto.space.listRepoOps";
|
|
7
7
|
export { $nsid };
|
|
8
8
|
export const $params = /*#__PURE__*/ l.params({ "space": /*#__PURE__*/ l.string({ "format": "space-ref" }), "repo": /*#__PURE__*/ l.string({ "format": "did" }), "since": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "tid" })), "limit": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.withDefault(/*#__PURE__*/ l.integer({ "minimum": 1, "maximum": 1000 }), 100)), "cursor": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()), "excludeValues": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.withDefault(/*#__PURE__*/ l.boolean(), false)) });
|
|
9
|
-
export const $output = /*#__PURE__*/ l.jsonPayload({ "ops": /*#__PURE__*/ l.array(/*#__PURE__*/ l.ref((() => opEntry))), "commit": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.ref((() => SpaceDefs.
|
|
10
|
-
/** List the operation log for an account's permissioned repo within a space, returning operations after a given revision. Primary incremental sync mechanism. By default each created or updated operation inlines the record's current value; set excludeValues for metadata-only entries. Note the oplog is a transport optimization with no history guarantee: a host may compact it or drop it, and it does not survive account migration, so omitting `since` returns the retained window rather than the repo's full history. Use getRepo for an initial sync or when a `since` revision is no longer available. Callable with either OAuth (for the authenticated user's own data) or a space credential (for syncing services). */
|
|
11
|
-
const main = /*#__PURE__*/ l.query($nsid, $params, $output, ["SpaceNotFound", "RepoNotFound", "RepoTakendown", "RepoSuspended", "RepoDeactivated"]);
|
|
9
|
+
export const $output = /*#__PURE__*/ l.jsonPayload({ "ops": /*#__PURE__*/ l.array(/*#__PURE__*/ l.ref((() => opEntry))), "commit": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.ref((() => SpaceDefs.commit))), "cursor": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()) });
|
|
10
|
+
/** List the operation log for an account's permissioned repo within a space, returning operations after a given revision. Primary incremental sync mechanism. By default each created or updated operation inlines the record's current value; set excludeValues for metadata-only entries. Note the oplog is a transport optimization with no history guarantee: a host may compact it or drop it, and it does not survive account migration, so omitting `since` returns the retained window rather than the repo's full history. Use getRepo for an initial sync or when a `since` revision is no longer available. Callable with either OAuth (for the authenticated user's own data) or a space credential (for syncing services). When called with a space credential, the caller must send an Atproto-Space-Want-Mac header, and a response that includes the commit carries its MAC in the Atproto-Space-Mac response header. */
|
|
11
|
+
const main = /*#__PURE__*/ l.query($nsid, $params, $output, ["BadSpaceMac", "SpaceNotFound", "RepoNotFound", "RepoTakendown", "RepoSuspended", "RepoDeactivated"]);
|
|
12
12
|
export { main };
|
|
13
13
|
const $lxm = $nsid;
|
|
14
14
|
export { $lxm };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listRepoOps.defs.js","sourceRoot":"","sources":["../../../../../src/generated/com/atproto/space/listRepoOps.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AACjC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC;AAE5C,MAAM,KAAK,GAAG,+BAA+B,CAAC;AAI9C,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,OAAO,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,WAAW,EAAC,CAAC,EAAC,MAAM,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,EAAC,OAAO,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,CAAC,EAAC,OAAO,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,EAAC,SAAS,EAAC,CAAC,EAAC,SAAS,EAAC,IAAI,EAAC,CAAC,EAAE,GAAG,CAAC,CAAC,EAAC,QAAQ,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,EAAC,eAAe,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC,CAAC,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KAAK,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,EAAC,YAAY,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,MAAM,EAAC,CAAC,EAAC,MAAM,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,YAAY,EAAC,CAAC,EAAC,KAAK,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,CAAC,EAAC,MAAM,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,KAAK,EAAC,CAAC,CAAC,EAAC,OAAO,EAAC,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,EAAC,CAAC,CAAC,CAAC;AAE7c,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -16,7 +16,7 @@ export declare const $output: l.Payload<"application/json", l.ObjectSchema<{
|
|
|
16
16
|
}>>;
|
|
17
17
|
export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
|
|
18
18
|
export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;
|
|
19
|
-
/** List the known repos that hold data in a space (the writer set), with each repo's current repoRev and commit
|
|
19
|
+
/** List the known repos that hold data in a space (the writer set), with each repo's current repoRev and commit data. Served by the space host. This is the sync boundary, not an access-control list: it enumerates only writers, never readers. The set is what the authority claims from write notifications and is not itself authoritative; a repo's host is the source of truth. */
|
|
20
20
|
declare const main: l.Query<"com.atproto.space.listRepos", l.ParamsSchema<{
|
|
21
21
|
readonly space: l.StringSchema<{
|
|
22
22
|
readonly format: "space-ref";
|
|
@@ -42,9 +42,9 @@ type Repo = {
|
|
|
42
42
|
*/
|
|
43
43
|
"repoRev": l.TidString;
|
|
44
44
|
/**
|
|
45
|
-
* The repo's current commit
|
|
45
|
+
* The repo's current commit data (sha256 of the LtHash state), as last reported to the authority.
|
|
46
46
|
*/
|
|
47
|
-
"
|
|
47
|
+
"data": Uint8Array;
|
|
48
48
|
/**
|
|
49
49
|
* The space revision at which this repo was last updated.
|
|
50
50
|
*/
|
|
@@ -6,11 +6,11 @@ const $nsid = "com.atproto.space.listRepos";
|
|
|
6
6
|
export { $nsid };
|
|
7
7
|
export const $params = /*#__PURE__*/ l.params({ "space": /*#__PURE__*/ l.string({ "format": "space-ref" }), "limit": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.withDefault(/*#__PURE__*/ l.integer({ "minimum": 1, "maximum": 1000 }), 100)), "cursor": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()) });
|
|
8
8
|
export const $output = /*#__PURE__*/ l.jsonPayload({ "repos": /*#__PURE__*/ l.array(/*#__PURE__*/ l.ref((() => repo))), "cursor": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string()) });
|
|
9
|
-
/** List the known repos that hold data in a space (the writer set), with each repo's current repoRev and commit
|
|
9
|
+
/** List the known repos that hold data in a space (the writer set), with each repo's current repoRev and commit data. Served by the space host. This is the sync boundary, not an access-control list: it enumerates only writers, never readers. The set is what the authority claims from write notifications and is not itself authoritative; a repo's host is the source of truth. */
|
|
10
10
|
const main = /*#__PURE__*/ l.query($nsid, $params, $output, ["SpaceNotFound"]);
|
|
11
11
|
export { main };
|
|
12
12
|
const $lxm = $nsid;
|
|
13
13
|
export { $lxm };
|
|
14
|
-
const repo = /*#__PURE__*/ l.typedObject($nsid, "repo", /*#__PURE__*/ l.object({ "did": /*#__PURE__*/ l.string({ "format": "did" }), "repoRev": /*#__PURE__*/ l.string({ "format": "tid" }), "
|
|
14
|
+
const repo = /*#__PURE__*/ l.typedObject($nsid, "repo", /*#__PURE__*/ l.object({ "did": /*#__PURE__*/ l.string({ "format": "did" }), "repoRev": /*#__PURE__*/ l.string({ "format": "tid" }), "data": /*#__PURE__*/ l.bytes(), "spaceRev": /*#__PURE__*/ l.string({ "format": "tid" }) }));
|
|
15
15
|
export { repo };
|
|
16
16
|
//# sourceMappingURL=listRepos.defs.js.map
|
|
@@ -14,7 +14,7 @@ export type $InputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $input, B>;
|
|
|
14
14
|
export declare const $output: l.Payload<undefined, undefined>;
|
|
15
15
|
export type $Output<B = l.BinaryData> = l.InferPayload<typeof $output, B>;
|
|
16
16
|
export type $OutputBody<B = l.BinaryData> = l.InferPayloadBody<typeof $output, B>;
|
|
17
|
-
/** Notify a syncing service that a space
|
|
17
|
+
/** Notify a syncing service that a space was deleted and its copy should be dropped. Sent by the space authority to registered services, retried until delivered or the registration expires. Requires service auth. */
|
|
18
18
|
declare const main: l.Procedure<"com.atproto.space.notifySpaceDeleted", l.ParamsSchema<{}>, l.Payload<"application/json", l.ObjectSchema<{
|
|
19
19
|
space: l.StringSchema<{
|
|
20
20
|
readonly format: "space-ref";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notifySpaceDeleted.defs.d.ts","sourceRoot":"","sources":["../../../../../src/generated/com/atproto/space/notifySpaceDeleted.defs.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,QAAA,MAAM,KAAK,yCAAyC,CAAC;AAErD,KAAK,KAAK,GAAG,OAAO,KAAK,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,eAAO,MAAM,OAAO,oBAA2B,CAAC;AAEhD,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,OAAO,CAAC,CAAC;AAEpD,eAAO,MAAM,MAAM;;;;GAAwF,CAAC;AAE5G,MAAM,MAAM,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC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,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,YAAY,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAC;AAC1E,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,CAAC,CAAC,UAAU,IAAI,CAAC,CAAC,gBAAgB,CAAC,OAAO,OAAO,EAAE,CAAC,CAAC,CAAC;AAElF,wNAAwN;AACxN,QAAA,MAAM,IAAI;;;;gDAA6D,CAAC;AAExE,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,QAAA,MAAM,IAAI,yCAAQ,CAAC;AAEnB,KAAK,IAAI,GAAG,OAAO,IAAI,CAAC;AAExB,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -7,7 +7,7 @@ export { $nsid };
|
|
|
7
7
|
export const $params = /*#__PURE__*/ l.params();
|
|
8
8
|
export const $input = /*#__PURE__*/ l.jsonPayload({ "space": /*#__PURE__*/ l.string({ "format": "space-ref" }) });
|
|
9
9
|
export const $output = /*#__PURE__*/ l.payload();
|
|
10
|
-
/** Notify a syncing service that a space
|
|
10
|
+
/** Notify a syncing service that a space was deleted and its copy should be dropped. Sent by the space authority to registered services, retried until delivered or the registration expires. Requires service auth. */
|
|
11
11
|
const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output);
|
|
12
12
|
export { main };
|
|
13
13
|
const $lxm = $nsid;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notifySpaceDeleted.defs.js","sourceRoot":"","sources":["../../../../../src/generated/com/atproto/space/notifySpaceDeleted.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,MAAM,KAAK,GAAG,sCAAsC,CAAC;AAIrD,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;AAIhD,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,EAAC,OAAO,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,WAAW,EAAC,CAAC,EAAC,CAAC,CAAC;AAK5G,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;AAKjD,
|
|
1
|
+
{"version":3,"file":"notifySpaceDeleted.defs.js","sourceRoot":"","sources":["../../../../../src/generated/com/atproto/space/notifySpaceDeleted.defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,cAAc,CAAC;AAEjC,MAAM,KAAK,GAAG,sCAAsC,CAAC;AAIrD,OAAO,EAAE,KAAK,EAAE,CAAC;AAEjB,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;AAIhD,MAAM,CAAC,MAAM,MAAM,GAAG,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,EAAC,OAAO,EAAC,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAC,WAAW,EAAC,CAAC,EAAC,CAAC,CAAC;AAK5G,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;AAKjD,wNAAwN;AACxN,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC;AAExE,OAAO,EAAE,IAAI,EAAE,CAAC;AAEhB,MAAM,IAAI,GAAG,KAAK,CAAC;AAInB,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -14,7 +14,7 @@ export declare const $input: l.Payload<"application/json", l.ObjectSchema<{
|
|
|
14
14
|
repoRev: l.StringSchema<{
|
|
15
15
|
readonly format: "tid";
|
|
16
16
|
}>;
|
|
17
|
-
|
|
17
|
+
data: l.BytesSchema;
|
|
18
18
|
spaceRev: l.OptionalSchema<l.StringSchema<{
|
|
19
19
|
readonly format: "tid";
|
|
20
20
|
}>>;
|
|
@@ -38,7 +38,7 @@ declare const main: l.Procedure<"com.atproto.space.notifyWrite", l.ParamsSchema<
|
|
|
38
38
|
repoRev: l.StringSchema<{
|
|
39
39
|
readonly format: "tid";
|
|
40
40
|
}>;
|
|
41
|
-
|
|
41
|
+
data: l.BytesSchema;
|
|
42
42
|
spaceRev: l.OptionalSchema<l.StringSchema<{
|
|
43
43
|
readonly format: "tid";
|
|
44
44
|
}>>;
|
|
@@ -5,7 +5,7 @@ import { l } from "@atproto/lex";
|
|
|
5
5
|
const $nsid = "com.atproto.space.notifyWrite";
|
|
6
6
|
export { $nsid };
|
|
7
7
|
export const $params = /*#__PURE__*/ l.params();
|
|
8
|
-
export const $input = /*#__PURE__*/ l.jsonPayload({ "space": /*#__PURE__*/ l.string({ "format": "space-ref" }), "repo": /*#__PURE__*/ l.string({ "format": "did" }), "repoRev": /*#__PURE__*/ l.string({ "format": "tid" }), "
|
|
8
|
+
export const $input = /*#__PURE__*/ l.jsonPayload({ "space": /*#__PURE__*/ l.string({ "format": "space-ref" }), "repo": /*#__PURE__*/ l.string({ "format": "did" }), "repoRev": /*#__PURE__*/ l.string({ "format": "tid" }), "data": /*#__PURE__*/ l.bytes(), "spaceRev": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "tid" })), "prevSpaceRev": /*#__PURE__*/ l.optional(/*#__PURE__*/ l.string({ "format": "tid" })) });
|
|
9
9
|
export const $output = /*#__PURE__*/ l.payload();
|
|
10
10
|
/** Notify that a repo in a space has advanced. Repo hosts reliably deliver their latest state to the space host, which sequences updates and forwards them to registered syncers with reasonable-effort delivery. Authenticated with service auth. */
|
|
11
11
|
const main = /*#__PURE__*/ l.procedure($nsid, $params, $input, $output, ["SpaceNotFound", "FutureRev"]);
|
|
@@ -381,6 +381,10 @@ type ClientPreferences = {
|
|
|
381
381
|
* The experiments the user turned on.
|
|
382
382
|
*/
|
|
383
383
|
"experiments"?: (string)[];
|
|
384
|
+
/**
|
|
385
|
+
* Legacy communities that cannot move onto spaces and that the user removed from their sidebar.
|
|
386
|
+
*/
|
|
387
|
+
"dismissedLegacyCommunities"?: (l.DidString)[];
|
|
384
388
|
};
|
|
385
389
|
export type { ClientPreferences };
|
|
386
390
|
/** Client settings that follow the user across devices. Every field is optional and a client applies its own default for an absent one. */
|