techne-sdk 0.3.3 → 0.3.8
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 +160 -0
- package/README.md +5 -4
- package/dist/auth/app-key.js +2 -2
- package/dist/auth/index.js +1 -1
- package/dist/catalog/catalog.gen.d.ts +24 -24
- package/dist/catalog/catalog.gen.js +356 -66
- package/dist/connect.d.ts +96 -12
- package/dist/connect.js +83 -12
- package/dist/generated/lexicons.d.ts +140 -36
- package/dist/generated/lexicons.js +77 -18
- package/dist/generated/nsid.d.ts +4 -0
- package/dist/generated/nsid.js +4 -0
- package/dist/generated/nsid.json +4 -0
- package/dist/generated/types/pub/techne/draft/beacon.d.ts +2 -0
- package/dist/generated/types/pub/techne/draft/collective.d.ts +1 -1
- package/dist/generated/types/pub/techne/draft/identity/attest.d.ts +3 -0
- package/dist/generated/types/pub/techne/draft/identity/attest.js +7 -0
- package/dist/generated/types/pub/techne/draft/identity/beginAddMethod.d.ts +3 -0
- package/dist/generated/types/pub/techne/draft/identity/beginAddMethod.js +7 -0
- package/dist/generated/types/pub/techne/draft/identity/finishAddMethod.d.ts +6 -0
- package/dist/generated/types/pub/techne/draft/identity/finishAddMethod.js +14 -0
- package/dist/generated/types/pub/techne/draft/identity/resolve.d.ts +6 -0
- package/dist/generated/types/pub/techne/draft/membership.d.ts +1 -1
- package/dist/generated/types/pub/techne/draft/permissioned/deleteRecord.d.ts +3 -0
- package/dist/generated/types/pub/techne/draft/permissioned/deleteRecord.js +7 -0
- package/dist/generated/types/pub/techne/draft/permissioned/putRecord.d.ts +3 -0
- package/dist/generated/types/pub/techne/draft/permissioned/putRecord.js +7 -0
- package/dist/generated/types/pub/techne/draft/permissioned/putRecords.d.ts +4 -1
- package/dist/generated/types/pub/techne/draft/permissioned/putRecords.js +7 -0
- package/dist/generated/types/pub/techne/draft/summary.d.ts +2 -0
- package/dist/item.d.ts +130 -0
- package/dist/item.js +74 -0
- package/dist/links/index.d.ts +15 -8
- package/dist/links/index.js +18 -0
- package/dist/put/contacts.d.ts +2 -2
- package/dist/put/index.d.ts +6 -9
- package/dist/put/index.js +8 -166
- package/dist/put/put.d.ts +14 -0
- package/dist/put/put.js +206 -0
- package/dist/query/compose.d.ts +246 -0
- package/dist/query/compose.js +572 -0
- package/dist/query/hosts.d.ts +98 -1
- package/dist/query/hosts.js +143 -2
- package/dist/query/index.d.ts +60 -29
- package/dist/query/index.js +55 -26
- package/dist/react/context.d.ts +18 -0
- package/dist/react/context.js +19 -0
- package/dist/react/index.d.ts +14 -0
- package/dist/react/index.js +14 -0
- package/dist/react/query.d.ts +75 -0
- package/dist/react/query.js +116 -0
- package/dist/read/index.d.ts +60 -0
- package/dist/read/index.js +107 -0
- package/dist/resend.d.ts +25 -0
- package/dist/resend.js +52 -0
- package/dist/versions/entities.gen.d.ts +8 -0
- package/dist/versions/entities.gen.js +9 -0
- package/dist/versions/index.d.ts +59 -17
- package/dist/versions/index.js +156 -22
- package/dist/versions/react.d.ts +1 -1
- package/dist/versions/react.js +1 -1
- package/dist/versions/text.d.ts +19 -0
- package/dist/versions/text.js +73 -0
- package/dist/wasm/techne-wasm.gen.js +1 -1
- package/dist/wasm/techne-wasm2js.gen.js +8928 -8927
- package/package.json +17 -5
|
@@ -1223,6 +1223,10 @@ export const catalog = {
|
|
|
1223
1223
|
"space": "pub.techne.draft.space.beacon",
|
|
1224
1224
|
"unbuilt": false
|
|
1225
1225
|
},
|
|
1226
|
+
{
|
|
1227
|
+
"space": "pub.techne.draft.space.beaconDecline",
|
|
1228
|
+
"unbuilt": false
|
|
1229
|
+
},
|
|
1226
1230
|
{
|
|
1227
1231
|
"space": "pub.techne.draft.space.event.invite",
|
|
1228
1232
|
"unbuilt": false
|
|
@@ -2393,6 +2397,12 @@ export const catalog = {
|
|
|
2393
2397
|
"required": false,
|
|
2394
2398
|
"description": "Optional: one emoji the lighter picked for this beacon (its card mark and map pin glyph)."
|
|
2395
2399
|
},
|
|
2400
|
+
{
|
|
2401
|
+
"name": "answerEmojis",
|
|
2402
|
+
"type": "array<string>",
|
|
2403
|
+
"required": false,
|
|
2404
|
+
"description": "Optional: the emoji the lighter picked for the answers, in this order: going (I'm in), interested (Maybe), notgoing (Can't go). A missing or empty entry means the app's own emoji for that answer."
|
|
2405
|
+
},
|
|
2396
2406
|
{
|
|
2397
2407
|
"name": "createdAt",
|
|
2398
2408
|
"type": "string<datetime>",
|
|
@@ -2430,6 +2440,16 @@ export const catalog = {
|
|
|
2430
2440
|
"maxLength": 64,
|
|
2431
2441
|
"description": "Optional: one emoji the lighter picked for this beacon (its card mark and map pin glyph)."
|
|
2432
2442
|
},
|
|
2443
|
+
"answerEmojis": {
|
|
2444
|
+
"type": "array",
|
|
2445
|
+
"maxLength": 3,
|
|
2446
|
+
"items": {
|
|
2447
|
+
"type": "string",
|
|
2448
|
+
"maxGraphemes": 1,
|
|
2449
|
+
"maxLength": 64
|
|
2450
|
+
},
|
|
2451
|
+
"description": "Optional: the emoji the lighter picked for the answers, in this order: going (I'm in), interested (Maybe), notgoing (Can't go). A missing or empty entry means the app's own emoji for that answer."
|
|
2452
|
+
},
|
|
2433
2453
|
"createdAt": {
|
|
2434
2454
|
"type": "string",
|
|
2435
2455
|
"format": "datetime"
|
|
@@ -2789,7 +2809,7 @@ export const catalog = {
|
|
|
2789
2809
|
"name": "collectiveType",
|
|
2790
2810
|
"type": "string",
|
|
2791
2811
|
"required": false,
|
|
2792
|
-
"description": "Free-form collective type/category label. The value \"beacon.circle\" marks a Beacon circle on a descriptor placed in its own DID's pub.techne.draft.space.collective.member/self, whoever made that DID or wrote it. A Beacon circle is a private group whose descriptor and memberships live only in that member space,
|
|
2812
|
+
"description": "Free-form collective type/category label. The value \"beacon.circle\" marks a Beacon circle on a descriptor placed in its own DID's pub.techne.draft.space.collective.member/self, whoever made that DID or wrote it. A Beacon circle is a private group whose descriptor and memberships live only in that member space, and which a pub.techne.draft.accessRule#groupTarget may name. Roles: a member holds 20 and the manager 40 (the founder, until they make someone else manager). Where the platform holds the circle's credential, any member may add people and leave; only the manager renames, sets the emoji, removes people and makes someone manager (one putRecords: that member at 40, the manager's own claim at 20). A write that would leave members with nobody at >= 30 is refused (LastManager). A circle whose last member leaves is deleted, and so is one whose only member deletes their account; an account that alone manages a circle hands it to the longest-standing other member when it is deleted. Circles made before these roles hold every member at 40 until the operator lowers them. A circle whose DID someone else holds is managed by its holder."
|
|
2793
2813
|
},
|
|
2794
2814
|
{
|
|
2795
2815
|
"name": "sceneType",
|
|
@@ -2849,7 +2869,7 @@ export const catalog = {
|
|
|
2849
2869
|
},
|
|
2850
2870
|
"collectiveType": {
|
|
2851
2871
|
"type": "string",
|
|
2852
|
-
"description": "Free-form collective type/category label. The value \"beacon.circle\" marks a Beacon circle on a descriptor placed in its own DID's pub.techne.draft.space.collective.member/self, whoever made that DID or wrote it. A Beacon circle is a private group whose descriptor and memberships live only in that member space,
|
|
2872
|
+
"description": "Free-form collective type/category label. The value \"beacon.circle\" marks a Beacon circle on a descriptor placed in its own DID's pub.techne.draft.space.collective.member/self, whoever made that DID or wrote it. A Beacon circle is a private group whose descriptor and memberships live only in that member space, and which a pub.techne.draft.accessRule#groupTarget may name. Roles: a member holds 20 and the manager 40 (the founder, until they make someone else manager). Where the platform holds the circle's credential, any member may add people and leave; only the manager renames, sets the emoji, removes people and makes someone manager (one putRecords: that member at 40, the manager's own claim at 20). A write that would leave members with nobody at >= 30 is refused (LastManager). A circle whose last member leaves is deleted, and so is one whose only member deletes their account; an account that alone manages a circle hands it to the longest-standing other member when it is deleted. Circles made before these roles hold every member at 40 until the operator lowers them. A circle whose DID someone else holds is managed by its holder.",
|
|
2853
2873
|
"maxLength": 64
|
|
2854
2874
|
},
|
|
2855
2875
|
"sceneType": {
|
|
@@ -5250,6 +5270,28 @@ export const catalog = {
|
|
|
5250
5270
|
}
|
|
5251
5271
|
]
|
|
5252
5272
|
},
|
|
5273
|
+
{
|
|
5274
|
+
"nsid": "pub.techne.draft.heldAt.query",
|
|
5275
|
+
"name": "draft.heldAt.query",
|
|
5276
|
+
"group": "pub.techne",
|
|
5277
|
+
"kind": "queryDocument",
|
|
5278
|
+
"description": "Which fields of a heldAt link fill the shared query roles: the place it names is its reference, so a read finds the events held at a place (each link's subject) with one `references` condition. Its subject is the event, as written.",
|
|
5279
|
+
"doc": ({
|
|
5280
|
+
"lexicon": 1,
|
|
5281
|
+
"id": "pub.techne.draft.heldAt.query",
|
|
5282
|
+
"description": "Which fields of a heldAt link fill the shared query roles: the place it names is its reference, so a read finds the events held at a place (each link's subject) with one `references` condition. Its subject is the event, as written.",
|
|
5283
|
+
"defs": {
|
|
5284
|
+
"main": {
|
|
5285
|
+
"type": "queryDocument",
|
|
5286
|
+
"roles": {
|
|
5287
|
+
"references": [
|
|
5288
|
+
"place.uri"
|
|
5289
|
+
]
|
|
5290
|
+
}
|
|
5291
|
+
}
|
|
5292
|
+
}
|
|
5293
|
+
})
|
|
5294
|
+
},
|
|
5253
5295
|
{
|
|
5254
5296
|
"nsid": "pub.techne.draft.identity.accountsForPhones",
|
|
5255
5297
|
"name": "draft.identity.accountsForPhones",
|
|
@@ -5343,14 +5385,14 @@ export const catalog = {
|
|
|
5343
5385
|
"name": "draft.identity.attest",
|
|
5344
5386
|
"group": "pub.techne",
|
|
5345
5387
|
"kind": "procedure",
|
|
5346
|
-
"description": "A PDS's issuer hook: the PDS verified a one-time code for `channel` and signed `did` in (or created it). The issuer binds an unbound channel to the account and issues a pub.techne.draft.credential, or re-issues when it is already bound to that account. It never moves a bound channel, and binds only accounts whose DID document names the calling PDS (`#atproto_pds`). Authenticated and signed exactly as identity.resolve. Delivered at least once; idempotent per (channel, did).",
|
|
5388
|
+
"description": "A PDS's issuer hook: the PDS verified a one-time code for `channel` and signed `did` in (or created it). The issuer binds an unbound channel to the account and issues a pub.techne.draft.credential, or re-issues when it is already bound to that account. It never moves a bound channel, never binds a phone number back to the account that removed it (`ChannelReleased`), and binds only accounts whose DID document names the calling PDS (`#atproto_pds`). Authenticated and signed exactly as identity.resolve. Delivered at least once; idempotent per (channel, did).",
|
|
5347
5389
|
"doc": ({
|
|
5348
5390
|
"lexicon": 1,
|
|
5349
5391
|
"id": "pub.techne.draft.identity.attest",
|
|
5350
5392
|
"defs": {
|
|
5351
5393
|
"main": {
|
|
5352
5394
|
"type": "procedure",
|
|
5353
|
-
"description": "A PDS's issuer hook: the PDS verified a one-time code for `channel` and signed `did` in (or created it). The issuer binds an unbound channel to the account and issues a pub.techne.draft.credential, or re-issues when it is already bound to that account. It never moves a bound channel, and binds only accounts whose DID document names the calling PDS (`#atproto_pds`). Authenticated and signed exactly as identity.resolve. Delivered at least once; idempotent per (channel, did).",
|
|
5395
|
+
"description": "A PDS's issuer hook: the PDS verified a one-time code for `channel` and signed `did` in (or created it). The issuer binds an unbound channel to the account and issues a pub.techne.draft.credential, or re-issues when it is already bound to that account. It never moves a bound channel, never binds a phone number back to the account that removed it (`ChannelReleased`), and binds only accounts whose DID document names the calling PDS (`#atproto_pds`). Authenticated and signed exactly as identity.resolve. Delivered at least once; idempotent per (channel, did).",
|
|
5354
5396
|
"input": {
|
|
5355
5397
|
"encoding": "application/json",
|
|
5356
5398
|
"schema": {
|
|
@@ -5431,6 +5473,10 @@ export const catalog = {
|
|
|
5431
5473
|
"name": "ChannelBound",
|
|
5432
5474
|
"description": "The channel is bound to another account (HTTP 409). Never retried."
|
|
5433
5475
|
},
|
|
5476
|
+
{
|
|
5477
|
+
"name": "ChannelReleased",
|
|
5478
|
+
"description": "The account named by `did` removed this phone number (identity.unlinkMethod) and nobody has bound it since (HTTP 409). Never retried: the account gets the number back only by adding it again (identity.finishAddMethod)."
|
|
5479
|
+
},
|
|
5434
5480
|
{
|
|
5435
5481
|
"name": "RateLimitExceeded",
|
|
5436
5482
|
"description": "As identity.resolve (HTTP 429)."
|
|
@@ -5445,14 +5491,14 @@ export const catalog = {
|
|
|
5445
5491
|
"name": "draft.identity.beginAddMethod",
|
|
5446
5492
|
"group": "pub.techne",
|
|
5447
5493
|
"kind": "procedure",
|
|
5448
|
-
"description": "Start adding a sign-in method to the caller's account: sends a 6-digit code to the channel
|
|
5494
|
+
"description": "Start adding a sign-in method to the caller's account: sends a 6-digit code to the channel: an email, or a phone by SMS. To change a phone number, add the new one, then remove the old one with identity.unlinkMethod. The code is good for 10 minutes and 5 attempts; finish with identity.finishAddMethod. Signed-in members only.",
|
|
5449
5495
|
"doc": ({
|
|
5450
5496
|
"lexicon": 1,
|
|
5451
5497
|
"id": "pub.techne.draft.identity.beginAddMethod",
|
|
5452
5498
|
"defs": {
|
|
5453
5499
|
"main": {
|
|
5454
5500
|
"type": "procedure",
|
|
5455
|
-
"description": "Start adding a sign-in method to the caller's account: sends a 6-digit code to the channel
|
|
5501
|
+
"description": "Start adding a sign-in method to the caller's account: sends a 6-digit code to the channel: an email, or a phone by SMS. To change a phone number, add the new one, then remove the old one with identity.unlinkMethod. The code is good for 10 minutes and 5 attempts; finish with identity.finishAddMethod. Signed-in members only.",
|
|
5456
5502
|
"input": {
|
|
5457
5503
|
"encoding": "application/json",
|
|
5458
5504
|
"schema": {
|
|
@@ -5496,11 +5542,15 @@ export const catalog = {
|
|
|
5496
5542
|
},
|
|
5497
5543
|
{
|
|
5498
5544
|
"name": "InvalidRequest",
|
|
5499
|
-
"description": "The channel is not a valid email, or its type cannot be added
|
|
5545
|
+
"description": "The channel is not a valid email or E.164 phone number, or its type cannot be added on this server."
|
|
5500
5546
|
},
|
|
5501
5547
|
{
|
|
5502
5548
|
"name": "RateLimitExceeded",
|
|
5503
5549
|
"description": "Too many codes sent to this address (HTTP 429)."
|
|
5550
|
+
},
|
|
5551
|
+
{
|
|
5552
|
+
"name": "SendFailed",
|
|
5553
|
+
"description": "The code could not be texted to that phone number (HTTP 502). Try again."
|
|
5504
5554
|
}
|
|
5505
5555
|
]
|
|
5506
5556
|
}
|
|
@@ -5995,6 +6045,14 @@ export const catalog = {
|
|
|
5995
6045
|
{
|
|
5996
6046
|
"name": "InvalidCode",
|
|
5997
6047
|
"description": "The code is wrong, expired or used up, or the challenge is not the caller's."
|
|
6048
|
+
},
|
|
6049
|
+
{
|
|
6050
|
+
"name": "RateLimitExceeded",
|
|
6051
|
+
"description": "A phone code: the provider that sent it is refusing more checks for this number for now (HTTP 429). Wait a few minutes."
|
|
6052
|
+
},
|
|
6053
|
+
{
|
|
6054
|
+
"name": "UpstreamFailure",
|
|
6055
|
+
"description": "A phone code: the provider that sent it could not be asked whether it matches (HTTP 502). The code is not spent; try again."
|
|
5998
6056
|
}
|
|
5999
6057
|
]
|
|
6000
6058
|
},
|
|
@@ -7041,14 +7099,14 @@ export const catalog = {
|
|
|
7041
7099
|
"name": "draft.identity.resolve",
|
|
7042
7100
|
"group": "pub.techne",
|
|
7043
7101
|
"kind": "procedure",
|
|
7044
|
-
"description": "A PDS's identity-resolver hook: which account, if any, a verified channel is bound to. Asked after the PDS has verified a one-time code for the channel and before it creates any account. Authenticated only by the `epds-signature` header (HMAC-SHA256 over `<t>\\n req\\n <path>\\n <body>` with the PDS's hook secret); no session, OAuth or service token is accepted. The response carries its own `epds-signature` (direction `res`), and a caller treats an unsigned or badly signed response as a failure. `bound` carries `did` only when the calling PDS hosts that account; otherwise the PDS must not create an account. `unavailable` (the account is deleted or taken down, or the issuer is not endorsed) never leads to creation.",
|
|
7102
|
+
"description": "A PDS's identity-resolver hook: which account, if any, a verified channel is bound to. Asked after the PDS has verified a one-time code for the channel and before it creates any account. Authenticated only by the `epds-signature` header (HMAC-SHA256 over `<t>\\n req\\n <path>\\n <body>` with the PDS's hook secret); no session, OAuth or service token is accepted. The response carries its own `epds-signature` (direction `res`), and a caller treats an unsigned or badly signed response as a failure. `bound` carries `did` only when the calling PDS hosts that account; otherwise the PDS must not create an account. `unavailable` (the account is deleted or taken down, or the issuer is not endorsed) never leads to creation. `unbound` with `released` names a phone number its account removed: see `released`.",
|
|
7045
7103
|
"doc": ({
|
|
7046
7104
|
"lexicon": 1,
|
|
7047
7105
|
"id": "pub.techne.draft.identity.resolve",
|
|
7048
7106
|
"defs": {
|
|
7049
7107
|
"main": {
|
|
7050
7108
|
"type": "procedure",
|
|
7051
|
-
"description": "A PDS's identity-resolver hook: which account, if any, a verified channel is bound to. Asked after the PDS has verified a one-time code for the channel and before it creates any account. Authenticated only by the `epds-signature` header (HMAC-SHA256 over `<t>\\n req\\n <path>\\n <body>` with the PDS's hook secret); no session, OAuth or service token is accepted. The response carries its own `epds-signature` (direction `res`), and a caller treats an unsigned or badly signed response as a failure. `bound` carries `did` only when the calling PDS hosts that account; otherwise the PDS must not create an account. `unavailable` (the account is deleted or taken down, or the issuer is not endorsed) never leads to creation.",
|
|
7109
|
+
"description": "A PDS's identity-resolver hook: which account, if any, a verified channel is bound to. Asked after the PDS has verified a one-time code for the channel and before it creates any account. Authenticated only by the `epds-signature` header (HMAC-SHA256 over `<t>\\n req\\n <path>\\n <body>` with the PDS's hook secret); no session, OAuth or service token is accepted. The response carries its own `epds-signature` (direction `res`), and a caller treats an unsigned or badly signed response as a failure. `bound` carries `did` only when the calling PDS hosts that account; otherwise the PDS must not create an account. `unavailable` (the account is deleted or taken down, or the issuer is not endorsed) never leads to creation. `unbound` with `released` names a phone number its account removed: see `released`.",
|
|
7052
7110
|
"input": {
|
|
7053
7111
|
"encoding": "application/json",
|
|
7054
7112
|
"schema": {
|
|
@@ -7098,6 +7156,21 @@ export const catalog = {
|
|
|
7098
7156
|
"type": "string",
|
|
7099
7157
|
"format": "did",
|
|
7100
7158
|
"description": "Present only with `bound`, and only when the calling PDS hosts the account."
|
|
7159
|
+
},
|
|
7160
|
+
"released": {
|
|
7161
|
+
"type": "boolean",
|
|
7162
|
+
"description": "Present (true) only with `unbound`: the phone number was removed from an account (identity.unlinkMethod) and nobody has bound it since. The PDS must not sign the number in to an account it kept for it before (a placeholder from an earlier sign-in); it starts a new account instead. Email channels never carry it."
|
|
7163
|
+
},
|
|
7164
|
+
"releasedFrom": {
|
|
7165
|
+
"type": "string",
|
|
7166
|
+
"format": "did",
|
|
7167
|
+
"description": "Present only with `released`, and only when the calling PDS hosts the account that removed the number: that account's DID. A PDS that keeps an account per phone number (a placeholder) uses it to tell two placeholders apart: the old account's, which must not sign in with this number again, and the one it started for the number's new holder after the removal, which it finds by this DID and `releaseId` and signs in until the number is bound to it. Binding the number back to this account through identity.attest is refused (`ChannelReleased`)."
|
|
7168
|
+
},
|
|
7169
|
+
"releaseId": {
|
|
7170
|
+
"type": "string",
|
|
7171
|
+
"minLength": 1,
|
|
7172
|
+
"maxLength": 64,
|
|
7173
|
+
"description": "Present only with `releasedFrom`: the platform's id for that removal, fresh each time the number is removed. A PDS keys the number's next holder's account on `releasedFrom` and `releaseId` together, so an account that later removed the number itself is never handed on to the holder after it."
|
|
7101
7174
|
}
|
|
7102
7175
|
}
|
|
7103
7176
|
}
|
|
@@ -7246,14 +7319,14 @@ export const catalog = {
|
|
|
7246
7319
|
"name": "draft.identity.unlinkMethod",
|
|
7247
7320
|
"group": "pub.techne",
|
|
7248
7321
|
"kind": "procedure",
|
|
7249
|
-
"description": "Remove a sign-in method from the caller's account: its credential is revoked (`unlinked`), the channel stops signing in to this account, and its attested pub.techne.draft.contactChannel is deleted. Its next sign-in is treated as new. Refused for the account's last method.",
|
|
7322
|
+
"description": "Remove a sign-in method from the caller's account: its credential is revoked (`unlinked`), the channel stops signing in to this account, and its attested pub.techne.draft.contactChannel is deleted. Its next sign-in is treated as new. A removed phone number is marked released: identity.resolve answers `unbound` with `released` and `releasedFrom` (this account) until someone binds it, so a PDS never signs it in to this account again through a placeholder it kept, and identity.attest refuses binding it back here (`ChannelReleased`); only adding it again (identity.finishAddMethod) does. Refused for the account's last method.",
|
|
7250
7323
|
"doc": ({
|
|
7251
7324
|
"lexicon": 1,
|
|
7252
7325
|
"id": "pub.techne.draft.identity.unlinkMethod",
|
|
7253
7326
|
"defs": {
|
|
7254
7327
|
"main": {
|
|
7255
7328
|
"type": "procedure",
|
|
7256
|
-
"description": "Remove a sign-in method from the caller's account: its credential is revoked (`unlinked`), the channel stops signing in to this account, and its attested pub.techne.draft.contactChannel is deleted. Its next sign-in is treated as new. Refused for the account's last method.",
|
|
7329
|
+
"description": "Remove a sign-in method from the caller's account: its credential is revoked (`unlinked`), the channel stops signing in to this account, and its attested pub.techne.draft.contactChannel is deleted. Its next sign-in is treated as new. A removed phone number is marked released: identity.resolve answers `unbound` with `released` and `releasedFrom` (this account) until someone binds it, so a PDS never signs it in to this account again through a placeholder it kept, and identity.attest refuses binding it back here (`ChannelReleased`); only adding it again (identity.finishAddMethod) does. Refused for the account's last method.",
|
|
7257
7330
|
"input": {
|
|
7258
7331
|
"encoding": "application/json",
|
|
7259
7332
|
"schema": {
|
|
@@ -7719,7 +7792,7 @@ export const catalog = {
|
|
|
7719
7792
|
"name": "addedBy",
|
|
7720
7793
|
"type": "string<did>",
|
|
7721
7794
|
"required": false,
|
|
7722
|
-
"description": "The member on whose initiative the authority authored this claim. Attribution DATA carried in the claim body
|
|
7795
|
+
"description": "The member on whose initiative the authority authored this claim. Attribution DATA carried in the claim body, read by NO policy predicate (the boundedness invariant is untouched: nothing evaluates access from this field). Who sets it: whoever writes the claim with the authority's pen. A writer holding only the write leg of a circle's member space (role 20-29, who may write adds and their own claim, nothing else) must name themselves or nobody on an add, and a re-put of their own claim keeps the stored value. A writer holding manage may put any DID here (the platform checks only that it is a DID); `proposeInvite` (`xrpc/invite.rs`) stamps the caller who passed `manage` and carries it forward from the pending claim at bind. A circle founder's own claim names themself (\"Started by\"); a collective made with identity.createCollective writes its founder's claim without addedBy. Meant for in-space (permissioned) rosters only; a firehose membership claim's `addedBy` would publish \"who recruited whom\" as a new world-readable social edge with no surface asking anyone's consent for that, so no PUBLIC-collective writer stamps it. CAVEAT: deriving meaning from this field's ABSENCE would be fragile (any legacy or imported claim satisfies \"absent addedBy\" without having founded anything), so a reader must not lean on absence; the intended fix, the day one is needed, is a positive `founder` marker."
|
|
7723
7796
|
},
|
|
7724
7797
|
{
|
|
7725
7798
|
"name": "createdAt",
|
|
@@ -7767,7 +7840,7 @@ export const catalog = {
|
|
|
7767
7840
|
"addedBy": {
|
|
7768
7841
|
"type": "string",
|
|
7769
7842
|
"format": "did",
|
|
7770
|
-
"description": "The member on whose initiative the authority authored this claim. Attribution DATA carried in the claim body
|
|
7843
|
+
"description": "The member on whose initiative the authority authored this claim. Attribution DATA carried in the claim body, read by NO policy predicate (the boundedness invariant is untouched: nothing evaluates access from this field). Who sets it: whoever writes the claim with the authority's pen. A writer holding only the write leg of a circle's member space (role 20-29, who may write adds and their own claim, nothing else) must name themselves or nobody on an add, and a re-put of their own claim keeps the stored value. A writer holding manage may put any DID here (the platform checks only that it is a DID); `proposeInvite` (`xrpc/invite.rs`) stamps the caller who passed `manage` and carries it forward from the pending claim at bind. A circle founder's own claim names themself (\"Started by\"); a collective made with identity.createCollective writes its founder's claim without addedBy. Meant for in-space (permissioned) rosters only; a firehose membership claim's `addedBy` would publish \"who recruited whom\" as a new world-readable social edge with no surface asking anyone's consent for that, so no PUBLIC-collective writer stamps it. CAVEAT: deriving meaning from this field's ABSENCE would be fragile (any legacy or imported claim satisfies \"absent addedBy\" without having founded anything), so a reader must not lean on absence; the intended fix, the day one is needed, is a positive `founder` marker."
|
|
7771
7844
|
},
|
|
7772
7845
|
"createdAt": {
|
|
7773
7846
|
"type": "string",
|
|
@@ -8356,15 +8429,15 @@ export const catalog = {
|
|
|
8356
8429
|
"name": "draft.permissioned.deleteRecord",
|
|
8357
8430
|
"group": "pub.techne",
|
|
8358
8431
|
"kind": "procedure",
|
|
8359
|
-
"description": "Delete one of your own permissioned records (or a collective's or circle's whose own member space you manage). One key holds one record per space: `space` names which goes; without it, the key's one record, Conflict when there are several. A tombstone stays in listChanges so readers drop their copies. Deleting a missing record is a no-op unless swapCid is given (InvalidSwap). When the call's token carries space scopes from Techne's ePDS, the delete must name its `space`, and one the scopes do not cover is refused 403 Forbidden. Draft tier.",
|
|
8432
|
+
"description": "Delete one of your own permissioned records (or a collective's or circle's whose own member space you manage). One key holds one record per space: `space` names which goes; without it, the key's one record, Conflict when there are several. A tombstone stays in listChanges so readers drop their copies. Deleting a missing record is a no-op unless swapCid is given (InvalidSwap), or it names an app's space the caller may not delete in (Forbidden). When the call's token carries space scopes from Techne's ePDS, the delete must name its `space`, and one the scopes do not cover is refused 403 Forbidden. A record written for an app's space is deleted only by the app its key names or under `space:` scopes covering it: anyone else, its writer included, is 403 Forbidden. Draft tier.",
|
|
8360
8433
|
"doc": ({
|
|
8361
8434
|
"lexicon": 1,
|
|
8362
8435
|
"id": "pub.techne.draft.permissioned.deleteRecord",
|
|
8363
|
-
"description": "Delete a record from the caller's own repo (a takedown, a mistake, or a `share` the owner withdraws, which stops that reader's future reads, with a 'revoke-read' receipt once no share in its source space names it). The caller authenticates with its own credential: a session from any sign-in lane (OAuth included), or an atproto service-auth JWT (iss = the caller, aud = the AppView's service DID, lxm = this method). repo must be the caller, or a collective or circle the platform holds the credential of whose own member space (`space.collective.member/self`) the caller manages (that space's manage leg alone hands over the authority's pen; managing another of its spaces does not), or a collective the caller made that has nothing placed yet (for at most a day), else Forbidden; a caller whose account is being deleted, or is deleted, is refused (AccountDeleting). The body is removed; a tombstone receipt stays in listChanges, in the space the record counted in, so readers drop their copies. Deleting a record that does not exist is a no-op unless swapCid is given (then it is InvalidSwap). A request body that is not this method's input is refused as InvalidRequest, with an XRPC error body ({\"error\":\"InvalidRequest\",\"message\":...}): HTTP 413 for a body over 2 MiB (2,097,152 bytes; it is not read past that); 415 for one not sent as application/json; 400 for one that is not JSON; 422 for JSON that is not the input (a field missing or of the wrong type). Such a refused write still spends one of the caller's writes (RateLimitExceeded). When the call's token carries space scopes from Techne's ePDS, the delete must name its `space`, and one the scopes do not cover is refused 403 Forbidden. Draft tier.",
|
|
8436
|
+
"description": "Delete a record from the caller's own repo (a takedown, a mistake, or a `share` the owner withdraws, which stops that reader's future reads, with a 'revoke-read' receipt once no share in its source space names it). The caller authenticates with its own credential: a session from any sign-in lane (OAuth included), or an atproto service-auth JWT (iss = the caller, aud = the AppView's service DID, lxm = this method). repo must be the caller, or a collective or circle the platform holds the credential of whose own member space (`space.collective.member/self`) the caller manages (that space's manage leg alone hands over the authority's pen; managing another of its spaces does not); in a circle (a collective whose descriptor names a circle type) a caller holding only that space's write leg (role 20-29) holds the pen for pub.techne.draft.membership writes alone: an add (a new claim at a key that holds none now, not ending, whose addedBy is the caller or absent) or the caller's own claim (its leave, or a re-put keeping its subject and addedBy); anything else as the circle is Forbidden, or a collective the caller made that has nothing placed yet (for at most a day), else Forbidden; a caller whose account is being deleted, or is deleted, is refused (AccountDeleting). The body is removed; a tombstone receipt stays in listChanges, in the space the record counted in, so readers drop their copies. Deleting a record that does not exist is a no-op unless swapCid is given (then it is InvalidSwap) or the delete names an app's space the caller may not delete in (then it is Forbidden). A request body that is not this method's input is refused as InvalidRequest, with an XRPC error body ({\"error\":\"InvalidRequest\",\"message\":...}): HTTP 413 for a body over 2 MiB (2,097,152 bytes; it is not read past that); 415 for one not sent as application/json; 400 for one that is not JSON; 422 for JSON that is not the input (a field missing or of the wrong type). Such a refused write still spends one of the caller's writes (RateLimitExceeded). When the call's token carries space scopes from Techne's ePDS, the delete must name its `space`, and one the scopes do not cover is refused 403 Forbidden. A record written for an app's space (a pub.techne.draft.space.private space) is deleted only by the app its key names or a caller whose `space:` scopes cover a delete there; any other caller is refused 403 Forbidden and nothing is deleted, the record's own writer included when the record counted in no space, and even when nothing is at the key. That includes a session or agent token that names no app or another app (an agent token without `space:` scopes, a session cookie or device session minted for another app), so such a record is changed only by its app or under a grant covering it. Draft tier.",
|
|
8364
8437
|
"defs": {
|
|
8365
8438
|
"main": {
|
|
8366
8439
|
"type": "procedure",
|
|
8367
|
-
"description": "Delete one of your own permissioned records (or a collective's or circle's whose own member space you manage). One key holds one record per space: `space` names which goes; without it, the key's one record, Conflict when there are several. A tombstone stays in listChanges so readers drop their copies. Deleting a missing record is a no-op unless swapCid is given (InvalidSwap). When the call's token carries space scopes from Techne's ePDS, the delete must name its `space`, and one the scopes do not cover is refused 403 Forbidden. Draft tier.",
|
|
8440
|
+
"description": "Delete one of your own permissioned records (or a collective's or circle's whose own member space you manage). One key holds one record per space: `space` names which goes; without it, the key's one record, Conflict when there are several. A tombstone stays in listChanges so readers drop their copies. Deleting a missing record is a no-op unless swapCid is given (InvalidSwap), or it names an app's space the caller may not delete in (Forbidden). When the call's token carries space scopes from Techne's ePDS, the delete must name its `space`, and one the scopes do not cover is refused 403 Forbidden. A record written for an app's space is deleted only by the app its key names or under `space:` scopes covering it: anyone else, its writer included, is 403 Forbidden. Draft tier.",
|
|
8368
8441
|
"input": {
|
|
8369
8442
|
"encoding": "application/json",
|
|
8370
8443
|
"schema": {
|
|
@@ -8422,7 +8495,11 @@ export const catalog = {
|
|
|
8422
8495
|
},
|
|
8423
8496
|
{
|
|
8424
8497
|
"name": "Forbidden",
|
|
8425
|
-
"description": "HTTP 403. repo is not the caller's own."
|
|
8498
|
+
"description": "HTTP 403. repo is not the caller's own (or a collective's or circle's the caller may write as, see the description); or the call's `space:` scopes do not cover the delete; or the record was written for an app's space (pub.techne.draft.space.private) and the caller is neither the app its key names nor holds `space:` scopes covering a delete there. Nothing is deleted."
|
|
8499
|
+
},
|
|
8500
|
+
{
|
|
8501
|
+
"name": "LastManager",
|
|
8502
|
+
"description": "HTTP 409. The write, as a circle, would leave it with members and nobody at role >= 30. Make someone else manager first. Nothing is written."
|
|
8426
8503
|
},
|
|
8427
8504
|
{
|
|
8428
8505
|
"name": "AccountDeleting",
|
|
@@ -8869,15 +8946,15 @@ export const catalog = {
|
|
|
8869
8946
|
"name": "draft.permissioned.putRecord",
|
|
8870
8947
|
"group": "pub.techne",
|
|
8871
8948
|
"kind": "procedure",
|
|
8872
|
-
"description": "Write one record into your own repo (or a collective's or circle's whose own member space you manage) as a permissioned record, for the `space` it names (required: no space is InvalidRequest; public records go through com.atproto.repo.putRecord, and a record only you read goes in your space.personal). Any collection; a body of a collection with a published lexicon must satisfy it. It counts in that space only when the space's write policy admits you (and, for one of our own types, the space type declares the collection); otherwise it is stored and only you read it. A write is never refused for its space. A pub.techne.draft.space.private record counts there only when written by the app its key names; else it counts in no space. The output's `space` says where it counts. Writing the current version again is a no-op. One write of your rate (RateLimitExceeded). A token with space scopes from Techne's ePDS: a write to a space they do not cover is 403 Forbidden. Draft tier.",
|
|
8949
|
+
"description": "Write one record into your own repo (or a collective's or circle's whose own member space you manage; a circle member holding only its write leg writes membership adds and their own claim) as a permissioned record, for the `space` it names (required: no space is InvalidRequest; public records go through com.atproto.repo.putRecord, and a record only you read goes in your space.personal). Any collection; a body of a collection with a published lexicon must satisfy it. It counts in that space only when the space's write policy admits you (and, for one of our own types, the space type declares the collection); otherwise it is stored and only you read it. A first write is never refused for its space. A pub.techne.draft.space.private record counts there only when written by the app its key names (or under `space:` scopes covering it); else it counts in no space. Replacing a record already written there needs that app or those scopes: anyone else, its writer included, is 403 Forbidden. The output's `space` says where it counts. Writing the current version again is a no-op (in an app's space, only for that app or under covering scopes; else Forbidden). One write of your rate (RateLimitExceeded). A token with space scopes from Techne's ePDS: a write to a space they do not cover is 403 Forbidden. Draft tier.",
|
|
8873
8950
|
"doc": ({
|
|
8874
8951
|
"lexicon": 1,
|
|
8875
8952
|
"id": "pub.techne.draft.permissioned.putRecord",
|
|
8876
|
-
"description": "Write a record into the caller's own repo, as a permissioned record (the generic private write). The caller authenticates with its own credential: a session from any sign-in lane (OAuth included), or an atproto service-auth JWT (iss = the caller, aud = the AppView's service DID, lxm = this method). repo must be the caller, or a collective or circle the platform holds the credential of whose own member space (`space.collective.member/self`) the caller manages (that space's manage leg alone hands over the authority's pen; managing another of its spaces does not), or a collective the caller made that has nothing placed yet (for at most a day), else Forbidden: a record is only ever written into its writer's repo. There is no write gate and no collection check: any collection may be written, for any space
|
|
8953
|
+
"description": "Write a record into the caller's own repo, as a permissioned record (the generic private write). The caller authenticates with its own credential: a session from any sign-in lane (OAuth included), or an atproto service-auth JWT (iss = the caller, aud = the AppView's service DID, lxm = this method). repo must be the caller, or a collective or circle the platform holds the credential of whose own member space (`space.collective.member/self`) the caller manages (that space's manage leg alone hands over the authority's pen; managing another of its spaces does not); in a circle (a collective whose descriptor names a circle type) a caller holding only that space's write leg (role 20-29) holds the pen for pub.techne.draft.membership writes alone: an add (a new claim at a key that holds none now, not ending, whose addedBy is the caller or absent) or the caller's own claim (its leave, or a re-put keeping its subject and addedBy); anything else as the circle is Forbidden, or a collective the caller made that has nothing placed yet (for at most a day), else Forbidden: a record is only ever written into its writer's repo. There is no write gate on a first write and no collection check: any collection may be written, for any space, and a first write is never refused for its space. Replacing a record already written for an app's space (a pub.techne.draft.space.private space) is: only the app its key names, or a caller whose `space:` scopes cover a put there, may replace it; any other caller is refused 403 Forbidden and nothing is written, the record's own writer included when the record counted in no space. That includes a session or agent token that names no app or another app (an agent token without `space:` scopes, a session cookie or device session minted for another app), so such a record is changed only by its app or under a grant covering it. One collection is refused there: one of the platform's own record types named for an app's space (pub.techne.draft.space.private) is refused as InvalidRequest, since our own types keep their declared homes (the adopted community.lexicon.calendar.event and .rsvp are not refused there: they are the app's own data, and an RSVP there projects no claim). Otherwise what it counts for is the managing app's admission of the version as it is written: the record counts in the `space` it names only when that space's write policy admits the writer and, for a collection with a published lexicon, the space type declares the collection; it is then read by whoever the space's read policy admits. A record for a pub.techne.draft.space.private space counts there only when written by the app its key names (the managing app) or by a caller whose `space:` scopes cover that space; written by anyone else it is stored and counts in no space (the output has no `space`). Otherwise it is stored in the writer's repo, counts in no space, and only its writer reads it; write it again to ask again (for an app's space only the callers that may replace a record there can). A write into a space whose authority's account is being deleted, or is deleted, is stored the same way and counts in no space (the space goes with that account). A caller whose own account is being deleted, or is deleted, is refused (AccountDeleting). The output's `space` says where it counts. A source keeps what it does not publish in its own pub.techne.draft.space.source (at://{source}/pub.techne.draft.space.source/self): its permissioned descriptions, the `share`s naming its readers (writing one admits its subject, who gets a 'granted' receipt; deleting the last one naming a reader gives a 'revoke-read'. A share keeps one space per key, so it is never moved out of the space: writing it for another space is refused as Conflict), and a scraper's raw payloads and crawl state. A body in a collection with a published lexicon must satisfy it (InvalidRequest otherwise); any other collection is stored as written. Writing the current version again for the same space records no new version: if it counts there it is a no-op; if it was not admitted, admission is asked again, and a version admitted now is placed in the space with a receipt. In an app's space this holds only for the callers that may replace a record there; anyone else's write of the same version is refused Forbidden. A request body that is not this method's input is refused as InvalidRequest, with an XRPC error body ({\"error\":\"InvalidRequest\",\"message\":...}): HTTP 413 for a body over 2 MiB (2,097,152 bytes; it is not read past that); 415 for one not sent as application/json; 400 for one that is not JSON; 422 for JSON that is not the input (a field missing or of the wrong type). Such a refused write still spends one of the caller's writes (RateLimitExceeded). When the call's token carries space scopes from Techne's ePDS, a write to a space they do not cover is refused 403 Forbidden. `space` is required: a write that names no space is refused as InvalidRequest (HTTP 400; for putRecords the whole call, and nothing is written), since public records are written with com.atproto.repo.putRecord and a record only the caller reads goes in its own pub.techne.draft.space.personal. Records written before this rule with no space stay stored and readable by their writer. Draft tier.",
|
|
8877
8954
|
"defs": {
|
|
8878
8955
|
"main": {
|
|
8879
8956
|
"type": "procedure",
|
|
8880
|
-
"description": "Write one record into your own repo (or a collective's or circle's whose own member space you manage) as a permissioned record, for the `space` it names (required: no space is InvalidRequest; public records go through com.atproto.repo.putRecord, and a record only you read goes in your space.personal). Any collection; a body of a collection with a published lexicon must satisfy it. It counts in that space only when the space's write policy admits you (and, for one of our own types, the space type declares the collection); otherwise it is stored and only you read it. A write is never refused for its space. A pub.techne.draft.space.private record counts there only when written by the app its key names; else it counts in no space. The output's `space` says where it counts. Writing the current version again is a no-op. One write of your rate (RateLimitExceeded). A token with space scopes from Techne's ePDS: a write to a space they do not cover is 403 Forbidden. Draft tier.",
|
|
8957
|
+
"description": "Write one record into your own repo (or a collective's or circle's whose own member space you manage; a circle member holding only its write leg writes membership adds and their own claim) as a permissioned record, for the `space` it names (required: no space is InvalidRequest; public records go through com.atproto.repo.putRecord, and a record only you read goes in your space.personal). Any collection; a body of a collection with a published lexicon must satisfy it. It counts in that space only when the space's write policy admits you (and, for one of our own types, the space type declares the collection); otherwise it is stored and only you read it. A first write is never refused for its space. A pub.techne.draft.space.private record counts there only when written by the app its key names (or under `space:` scopes covering it); else it counts in no space. Replacing a record already written there needs that app or those scopes: anyone else, its writer included, is 403 Forbidden. The output's `space` says where it counts. Writing the current version again is a no-op (in an app's space, only for that app or under covering scopes; else Forbidden). One write of your rate (RateLimitExceeded). A token with space scopes from Techne's ePDS: a write to a space they do not cover is 403 Forbidden. Draft tier.",
|
|
8881
8958
|
"input": {
|
|
8882
8959
|
"encoding": "application/json",
|
|
8883
8960
|
"schema": {
|
|
@@ -8970,7 +9047,11 @@ export const catalog = {
|
|
|
8970
9047
|
},
|
|
8971
9048
|
{
|
|
8972
9049
|
"name": "Forbidden",
|
|
8973
|
-
"description": "HTTP 403. repo is not the caller's own."
|
|
9050
|
+
"description": "HTTP 403. repo is not the caller's own (or a collective's or circle's the caller may write as, see the description); or the call's `space:` scopes do not cover the write; or the write replaces a record already written for an app's space (pub.techne.draft.space.private) and the caller is neither the app its key names nor holds `space:` scopes covering a put there. A first write is never refused for its space. Nothing is written."
|
|
9051
|
+
},
|
|
9052
|
+
{
|
|
9053
|
+
"name": "LastManager",
|
|
9054
|
+
"description": "HTTP 409. The write, as a circle, would leave it with members and nobody at role >= 30. Make someone else manager first. Nothing is written."
|
|
8974
9055
|
},
|
|
8975
9056
|
{
|
|
8976
9057
|
"name": "AccountDeleting",
|
|
@@ -9010,15 +9091,15 @@ export const catalog = {
|
|
|
9010
9091
|
"name": "draft.permissioned.putRecords",
|
|
9011
9092
|
"group": "pub.techne",
|
|
9012
9093
|
"kind": "procedure",
|
|
9013
|
-
"description": "Up to 200 putRecord writes, applied in order, each in its own transaction, for one write of your rate. Not atomic: each write's result says what happened to it, and a write refused for itself does not stop the others (AccountDeleting or an HTTP 500 stops the rest). Send a failed batch again whole: re-putting what landed is a no-op. Space scopes and space.private apply to each write as in putRecord. Every write names its `space` (a write with none refuses the whole call, InvalidRequest; public records go through com.atproto.repo.putRecord). Draft tier.",
|
|
9094
|
+
"description": "Up to 200 putRecord writes, applied in order, each in its own transaction, for one write of your rate. Not atomic: each write's result says what happened to it, and a write refused for itself does not stop the others (AccountDeleting or an HTTP 500 stops the rest). Send a failed batch again whole: re-putting what landed is a no-op (in an app's space, only for its app or under covering scopes). Space scopes and space.private apply to each write as in putRecord: a first write is never refused for its space, but replacing a record already written for an app's space needs the app its key names or `space:` scopes covering it, and that write's result is Forbidden. Every write names its `space` (a write with none refuses the whole call, InvalidRequest; public records go through com.atproto.repo.putRecord). Draft tier.",
|
|
9014
9095
|
"doc": ({
|
|
9015
9096
|
"lexicon": 1,
|
|
9016
9097
|
"id": "pub.techne.draft.permissioned.putRecords",
|
|
9017
|
-
"description": "Write up to 200 records into the caller's own repo in one call: each write is applied in order, exactly as putRecord applies it (the same admission, receipts, no-op re-put and swapCid), each in its own transaction. NOT atomic: a write that is refused does not undo the writes before it or stop the ones after it, and each write's result says what happened to it. That is why this is not called applyWrites: atproto's com.atproto.repo.applyWrites commits all of its writes or none, and this does not (each write keeps putRecord's own per-record locking, so a batch never holds more than one record's locks). The caller authenticates with its own credential: a session from any sign-in lane (OAuth included), or an atproto service-auth JWT (iss = the caller, aud = the AppView's service DID, lxm = this method). repo must be the caller, or a collective or circle the platform holds the credential of whose own member space (`space.collective.member/self`) the caller manages (that space's manage leg alone hands over the authority's pen; managing another of its spaces does not), or a collective the caller made that has nothing placed yet (for at most a day), else Forbidden and nothing is written. A write refused for itself (a malformed or invalid record, a swapCid that does not match, a conflict) is reported in its result as the error putRecord would have answered, and the next write is applied. A refusal that holds for the whole call stops it with that error, and no later write is applied: the caller's account is being deleted, or is deleted (AccountDeleting; what it wrote goes with the account), or a failure inside the AppView (HTTP 500; the writes applied before it stay written, so read them back or send the batch again: writing the current version again for the same space is a no-op). Callers should treat a failed batch as all-or-nothing and send it again whole: re-putting the records that landed is a no-op, and at the move to atproto's permissioned data this method becomes the owner's own PDS com.atproto.repo.applyWrites, which is atomic. One call spends one of the caller's writes (RateLimitExceeded), whatever the number of writes it carries. A request body that is not this method's input is refused as InvalidRequest, with an XRPC error body ({\"error\":\"InvalidRequest\",\"message\":...}): HTTP 413 for a body over 8 MiB (8,388,608 bytes; it is not read past that); 415 for one not sent as application/json; 400 for one that is not JSON or carries no writes or more than 200; 422 for JSON that is not the input (a field missing or of the wrong type). Such a refused call still spends one of the caller's writes. Each write is checked against the token's space scopes as putRecord checks it. `space` is required: a write that names no space is refused as InvalidRequest (HTTP 400; for putRecords the whole call, and nothing is written), since public records are written with com.atproto.repo.putRecord and a record only the caller reads goes in its own pub.techne.draft.space.personal. Records written before this rule with no space stay stored and readable by their writer. Draft tier.",
|
|
9098
|
+
"description": "Write up to 200 records into the caller's own repo in one call: each write is applied in order, exactly as putRecord applies it (the same admission, receipts, no-op re-put and swapCid), each in its own transaction. NOT atomic: a write that is refused does not undo the writes before it or stop the ones after it, and each write's result says what happened to it. That is why this is not called applyWrites: atproto's com.atproto.repo.applyWrites commits all of its writes or none, and this does not (each write keeps putRecord's own per-record locking, so a batch never holds more than one record's locks). The caller authenticates with its own credential: a session from any sign-in lane (OAuth included), or an atproto service-auth JWT (iss = the caller, aud = the AppView's service DID, lxm = this method). repo must be the caller, or a collective or circle the platform holds the credential of whose own member space (`space.collective.member/self`) the caller manages (that space's manage leg alone hands over the authority's pen; managing another of its spaces does not); in a circle (a collective whose descriptor names a circle type) a caller holding only that space's write leg (role 20-29) holds the pen for pub.techne.draft.membership writes alone: an add (a new claim at a key that holds none now, not ending, whose addedBy is the caller or absent) or the caller's own claim (its leave, or a re-put keeping its subject and addedBy); anything else as the circle is Forbidden, or a collective the caller made that has nothing placed yet (for at most a day), else Forbidden and nothing is written. A write refused for itself (a malformed or invalid record, a swapCid that does not match, a conflict) is reported in its result as the error putRecord would have answered, and the next write is applied. A refusal that holds for the whole call stops it with that error, and no later write is applied: the caller's account is being deleted, or is deleted (AccountDeleting; what it wrote goes with the account), or a failure inside the AppView (HTTP 500; the writes applied before it stay written, so read them back or send the batch again: writing the current version again for the same space is a no-op). Callers should treat a failed batch as all-or-nothing and send it again whole: re-putting the records that landed is a no-op (in an app's space only for its app or under `space:` scopes covering it; anyone else's re-put there is Forbidden), and at the move to atproto's permissioned data this method becomes the owner's own PDS com.atproto.repo.applyWrites, which is atomic. One call spends one of the caller's writes (RateLimitExceeded), whatever the number of writes it carries. A request body that is not this method's input is refused as InvalidRequest, with an XRPC error body ({\"error\":\"InvalidRequest\",\"message\":...}): HTTP 413 for a body over 8 MiB (8,388,608 bytes; it is not read past that); 415 for one not sent as application/json; 400 for one that is not JSON or carries no writes or more than 200; 422 for JSON that is not the input (a field missing or of the wrong type). Such a refused call still spends one of the caller's writes. Each write is checked against the token's space scopes as putRecord checks it, and a write that replaces a record already written for an app's space (a pub.techne.draft.space.private space) by a caller that is neither the app its key names nor holds `space:` scopes covering a put there is refused as putRecord refuses it; either refusal is that write's result (Forbidden), and the next write is applied. A first write is never refused for its space. `space` is required: a write that names no space is refused as InvalidRequest (HTTP 400; for putRecords the whole call, and nothing is written), since public records are written with com.atproto.repo.putRecord and a record only the caller reads goes in its own pub.techne.draft.space.personal. Records written before this rule with no space stay stored and readable by their writer. Draft tier.",
|
|
9018
9099
|
"defs": {
|
|
9019
9100
|
"main": {
|
|
9020
9101
|
"type": "procedure",
|
|
9021
|
-
"description": "Up to 200 putRecord writes, applied in order, each in its own transaction, for one write of your rate. Not atomic: each write's result says what happened to it, and a write refused for itself does not stop the others (AccountDeleting or an HTTP 500 stops the rest). Send a failed batch again whole: re-putting what landed is a no-op. Space scopes and space.private apply to each write as in putRecord. Every write names its `space` (a write with none refuses the whole call, InvalidRequest; public records go through com.atproto.repo.putRecord). Draft tier.",
|
|
9102
|
+
"description": "Up to 200 putRecord writes, applied in order, each in its own transaction, for one write of your rate. Not atomic: each write's result says what happened to it, and a write refused for itself does not stop the others (AccountDeleting or an HTTP 500 stops the rest). Send a failed batch again whole: re-putting what landed is a no-op (in an app's space, only for its app or under covering scopes). Space scopes and space.private apply to each write as in putRecord: a first write is never refused for its space, but replacing a record already written for an app's space needs the app its key names or `space:` scopes covering it, and that write's result is Forbidden. Every write names its `space` (a write with none refuses the whole call, InvalidRequest; public records go through com.atproto.repo.putRecord). Draft tier.",
|
|
9022
9103
|
"input": {
|
|
9023
9104
|
"encoding": "application/json",
|
|
9024
9105
|
"schema": {
|
|
@@ -9076,7 +9157,11 @@ export const catalog = {
|
|
|
9076
9157
|
},
|
|
9077
9158
|
{
|
|
9078
9159
|
"name": "Forbidden",
|
|
9079
|
-
"description": "HTTP 403. repo is not the caller's own. Nothing is written."
|
|
9160
|
+
"description": "HTTP 403. repo is not the caller's own (or a collective's or circle's the caller may write as, see the description). Nothing is written."
|
|
9161
|
+
},
|
|
9162
|
+
{
|
|
9163
|
+
"name": "LastManager",
|
|
9164
|
+
"description": "HTTP 409. The write, as a circle, would leave it with members and nobody at role >= 30. Make someone else manager first. Nothing is written."
|
|
9080
9165
|
},
|
|
9081
9166
|
{
|
|
9082
9167
|
"name": "AccountDeleting",
|
|
@@ -9176,7 +9261,7 @@ export const catalog = {
|
|
|
9176
9261
|
"properties": {
|
|
9177
9262
|
"error": {
|
|
9178
9263
|
"type": "string",
|
|
9179
|
-
"description": "InvalidRequest (malformed, a body that fails its collection's published lexicon, or a record over 2 MiB, more than a putRecord body may be), InvalidSwap (swapCid did not match the current version), Conflict (the same key holds a public record in the caller's repo, or a concurrent write replaced this version before it was recorded), IdentityConflict (the write would change a contact's identity, which writing again never fixes; see putRecord)
|
|
9264
|
+
"description": "InvalidRequest (malformed, a body that fails its collection's published lexicon, or a record over 2 MiB, more than a putRecord body may be), InvalidSwap (swapCid did not match the current version), Conflict (the same key holds a public record in the caller's repo, or a concurrent write replaced this version before it was recorded), IdentityConflict (the write would change a contact's identity, which writing again never fixes; see putRecord), DuplicatePhone (a contact write introduces a number another of the caller's active contacts carries; see putRecord) or Forbidden (the call's `space:` scopes do not cover the write, or it replaces a record already written for an app's space and the caller is neither the app its key names nor holds `space:` scopes covering it; see putRecord).",
|
|
9180
9265
|
"knownValues": [
|
|
9181
9266
|
"InvalidRequest",
|
|
9182
9267
|
"InvalidSwap",
|
|
@@ -13450,7 +13535,7 @@ export const catalog = {
|
|
|
13450
13535
|
"group": "pub.techne",
|
|
13451
13536
|
"kind": "record",
|
|
13452
13537
|
"key": "any",
|
|
13453
|
-
"description": "A short note a person writes with their response to a beacon (\"running 15 late\"). Authored by the responder, rkey = the rkey of the responder's own community.lexicon.calendar.rsvp, so there is at most one note per response and an edit is a re-put. Placed
|
|
13538
|
+
"description": "A short note a person writes with their response to a beacon (\"running 15 late\"). Authored by the responder, rkey = the rkey of the responder's own community.lexicon.calendar.rsvp, so there is at most one note per response and an edit is a re-put. Placed beside the RSVP it annotates, so it has exactly the RSVP's audience: in the beacon's pub.techne.draft.space.beacon for a going or interested answer, or in the responder's own pub.techne.draft.space.beaconDecline for a #notgoing one; when the answer changes it moves with the RSVP into the beaconDecline space, and is deleted when the answer leaves that space (never re-published to the beacon's audience). A separate record rather than a field on the community RSVP, which we adopt and never extend.",
|
|
13454
13539
|
"fields": [
|
|
13455
13540
|
{
|
|
13456
13541
|
"name": "subject",
|
|
@@ -13473,7 +13558,7 @@ export const catalog = {
|
|
|
13473
13558
|
"doc": ({
|
|
13474
13559
|
"lexicon": 1,
|
|
13475
13560
|
"id": "pub.techne.draft.rsvpNote",
|
|
13476
|
-
"description": "A short note a person writes with their response to a beacon (\"running 15 late\"). Authored by the responder, rkey = the rkey of the responder's own community.lexicon.calendar.rsvp, so there is at most one note per response and an edit is a re-put. Placed
|
|
13561
|
+
"description": "A short note a person writes with their response to a beacon (\"running 15 late\"). Authored by the responder, rkey = the rkey of the responder's own community.lexicon.calendar.rsvp, so there is at most one note per response and an edit is a re-put. Placed beside the RSVP it annotates, so it has exactly the RSVP's audience: in the beacon's pub.techne.draft.space.beacon for a going or interested answer, or in the responder's own pub.techne.draft.space.beaconDecline for a #notgoing one; when the answer changes it moves with the RSVP into the beaconDecline space, and is deleted when the answer leaves that space (never re-published to the beacon's audience). A separate record rather than a field on the community RSVP, which we adopt and never extend.",
|
|
13477
13562
|
"defs": {
|
|
13478
13563
|
"main": {
|
|
13479
13564
|
"type": "record",
|
|
@@ -13510,6 +13595,10 @@ export const catalog = {
|
|
|
13510
13595
|
{
|
|
13511
13596
|
"space": "pub.techne.draft.space.beacon",
|
|
13512
13597
|
"unbuilt": false
|
|
13598
|
+
},
|
|
13599
|
+
{
|
|
13600
|
+
"space": "pub.techne.draft.space.beaconDecline",
|
|
13601
|
+
"unbuilt": false
|
|
13513
13602
|
}
|
|
13514
13603
|
]
|
|
13515
13604
|
},
|
|
@@ -13886,6 +13975,10 @@ export const catalog = {
|
|
|
13886
13975
|
"space": "pub.techne.draft.space.beacon",
|
|
13887
13976
|
"unbuilt": false
|
|
13888
13977
|
},
|
|
13978
|
+
{
|
|
13979
|
+
"space": "pub.techne.draft.space.beaconDecline",
|
|
13980
|
+
"unbuilt": false
|
|
13981
|
+
},
|
|
13889
13982
|
{
|
|
13890
13983
|
"space": "pub.techne.draft.space.credential",
|
|
13891
13984
|
"unbuilt": true
|
|
@@ -14349,6 +14442,12 @@ export const catalog = {
|
|
|
14349
14442
|
"required": true,
|
|
14350
14443
|
"description": "The line, as plain text."
|
|
14351
14444
|
},
|
|
14445
|
+
{
|
|
14446
|
+
"name": "emoji",
|
|
14447
|
+
"type": "string",
|
|
14448
|
+
"required": false,
|
|
14449
|
+
"description": "Optional: one emoji for the record (a card mark and map pin glyph). A single emoji, no flags; readers fall back to their own when absent."
|
|
14450
|
+
},
|
|
14352
14451
|
{
|
|
14353
14452
|
"name": "createdAt",
|
|
14354
14453
|
"type": "string<datetime>",
|
|
@@ -14383,6 +14482,12 @@ export const catalog = {
|
|
|
14383
14482
|
"maxGraphemes": 100,
|
|
14384
14483
|
"description": "The line, as plain text."
|
|
14385
14484
|
},
|
|
14485
|
+
"emoji": {
|
|
14486
|
+
"type": "string",
|
|
14487
|
+
"maxGraphemes": 1,
|
|
14488
|
+
"maxLength": 64,
|
|
14489
|
+
"description": "Optional: one emoji for the record (a card mark and map pin glyph). A single emoji, no flags; readers fall back to their own when absent."
|
|
14490
|
+
},
|
|
14386
14491
|
"createdAt": {
|
|
14387
14492
|
"type": "string",
|
|
14388
14493
|
"format": "datetime"
|
|
@@ -14749,7 +14854,7 @@ export const catalog = {
|
|
|
14749
14854
|
"name": "Beacon space",
|
|
14750
14855
|
"kind": "space",
|
|
14751
14856
|
"key": "any",
|
|
14752
|
-
"description": "One lit beacon's audience. skey = the beacon's rkey; authority = the lighter. Everything the lighter wrote for this beacon lives here (the anchor event or listing, its config, the beacon marker, one share per admitted person, and, for a going-to beacon on a public event made from a dropped pin or street address, the exact spot as a beaconSpot keyed by the beacon's rkey) plus the joins (rsvps) and each responder's note (rsvpNote). Read-side rule every projector applies: only the AUTHORITY's beacon/event/listing/config/beaconSpot records count — a foreign one admitted by the write policy is ignored; only rsvp, rsvpNote and share are read from other authors, and an rsvpNote counts only when its author wrote the rsvp at the same rkey in this space and its subject names that rsvp.",
|
|
14857
|
+
"description": "One lit beacon's audience. skey = the beacon's rkey; authority = the lighter. Everything the lighter wrote for this beacon lives here (the anchor event or listing, its config, the beacon marker, one share per admitted person, and, for a going-to beacon on a public event made from a dropped pin or street address, the exact spot as a beaconSpot keyed by the beacon's rkey) plus the joins (rsvps: going and interested; a notgoing answer belongs in the answerer's own pub.techne.draft.space.beaconDecline, though older apps wrote it here) and each responder's note (rsvpNote). Read-side rule every projector applies: only the AUTHORITY's beacon/event/listing/config/beaconSpot records count — a foreign one admitted by the write policy is ignored; only rsvp, rsvpNote and share are read from other authors, and an rsvpNote counts only when its author wrote the rsvp at the same rkey in this space and its subject names that rsvp.",
|
|
14753
14858
|
"collections": [
|
|
14754
14859
|
"pub.techne.draft.beacon",
|
|
14755
14860
|
"pub.techne.draft.share",
|
|
@@ -14797,7 +14902,7 @@ export const catalog = {
|
|
|
14797
14902
|
"type": "space",
|
|
14798
14903
|
"key": "any",
|
|
14799
14904
|
"name": "Beacon space",
|
|
14800
|
-
"description": "One lit beacon's audience. skey = the beacon's rkey; authority = the lighter. Everything the lighter wrote for this beacon lives here (the anchor event or listing, its config, the beacon marker, one share per admitted person, and, for a going-to beacon on a public event made from a dropped pin or street address, the exact spot as a beaconSpot keyed by the beacon's rkey) plus the joins (rsvps) and each responder's note (rsvpNote). Read-side rule every projector applies: only the AUTHORITY's beacon/event/listing/config/beaconSpot records count — a foreign one admitted by the write policy is ignored; only rsvp, rsvpNote and share are read from other authors, and an rsvpNote counts only when its author wrote the rsvp at the same rkey in this space and its subject names that rsvp.",
|
|
14905
|
+
"description": "One lit beacon's audience. skey = the beacon's rkey; authority = the lighter. Everything the lighter wrote for this beacon lives here (the anchor event or listing, its config, the beacon marker, one share per admitted person, and, for a going-to beacon on a public event made from a dropped pin or street address, the exact spot as a beaconSpot keyed by the beacon's rkey) plus the joins (rsvps: going and interested; a notgoing answer belongs in the answerer's own pub.techne.draft.space.beaconDecline, though older apps wrote it here) and each responder's note (rsvpNote). Read-side rule every projector applies: only the AUTHORITY's beacon/event/listing/config/beaconSpot records count — a foreign one admitted by the write policy is ignored; only rsvp, rsvpNote and share are read from other authors, and an rsvpNote counts only when its author wrote the rsvp at the same rkey in this space and its subject names that rsvp.",
|
|
14801
14906
|
"collections": [
|
|
14802
14907
|
"pub.techne.draft.beacon",
|
|
14803
14908
|
"pub.techne.draft.share",
|
|
@@ -14853,6 +14958,87 @@ export const catalog = {
|
|
|
14853
14958
|
}
|
|
14854
14959
|
})
|
|
14855
14960
|
},
|
|
14961
|
+
{
|
|
14962
|
+
"nsid": "pub.techne.draft.space.beaconDecline",
|
|
14963
|
+
"name": "Can't go answer",
|
|
14964
|
+
"kind": "space",
|
|
14965
|
+
"key": "any",
|
|
14966
|
+
"description": "One person's \"Can't go\" answer to one beacon, kept where only they and the beacon's lighter can read it. authority = the person answering; skey = the rkey of their community.lexicon.calendar.rsvp naming the beacon (one answer per beacon, so one space). It holds that rsvp with status #notgoing, its rsvpNote at the same rkey if any, and one `share` naming the lighter. Going and Maybe (#interested) answers stay in the beacon's own space (pub.techne.draft.space.beacon); changing an answer moves the rsvp between the two spaces at the same rkey; its note goes along into this space and is deleted when the answer leaves it (never re-published to the beacon's audience). The rsvp at that rkey is one record, so its latest version is the answer and names the one space it is in. An older app's #notgoing left in space.beacon stays an answer there. Read-side rule every projector applies: only the AUTHORITY's records count, only a #notgoing rsvp counts, and it counts for the beacon its subject names: for the answerer always, and for that beacon's lighter only when the lighter is the authority here (their own answer) or the subject of a share here.",
|
|
14967
|
+
"collections": [
|
|
14968
|
+
"community.lexicon.calendar.rsvp",
|
|
14969
|
+
"pub.techne.draft.rsvpNote",
|
|
14970
|
+
"pub.techne.draft.share"
|
|
14971
|
+
],
|
|
14972
|
+
"policy": {
|
|
14973
|
+
"read": {
|
|
14974
|
+
"$type": "pub.techne.draft.policy#any",
|
|
14975
|
+
"of": [
|
|
14976
|
+
{
|
|
14977
|
+
"$type": "pub.techne.draft.policy#authorityOnly"
|
|
14978
|
+
},
|
|
14979
|
+
{
|
|
14980
|
+
"$type": "pub.techne.draft.policy#sharedWith",
|
|
14981
|
+
"of": "this"
|
|
14982
|
+
}
|
|
14983
|
+
]
|
|
14984
|
+
},
|
|
14985
|
+
"write": {
|
|
14986
|
+
"$type": "pub.techne.draft.policy#authorityOnly"
|
|
14987
|
+
},
|
|
14988
|
+
"manage": {
|
|
14989
|
+
"$type": "pub.techne.draft.policy#authorityOnly"
|
|
14990
|
+
}
|
|
14991
|
+
},
|
|
14992
|
+
"doc": ({
|
|
14993
|
+
"lexicon": 1,
|
|
14994
|
+
"id": "pub.techne.draft.space.beaconDecline",
|
|
14995
|
+
"defs": {
|
|
14996
|
+
"main": {
|
|
14997
|
+
"type": "space",
|
|
14998
|
+
"description": "One person's \"Can't go\" answer to one beacon, kept where only they and the beacon's lighter can read it. authority = the person answering; skey = the rkey of their community.lexicon.calendar.rsvp naming the beacon (one answer per beacon, so one space). It holds that rsvp with status #notgoing, its rsvpNote at the same rkey if any, and one `share` naming the lighter. Going and Maybe (#interested) answers stay in the beacon's own space (pub.techne.draft.space.beacon); changing an answer moves the rsvp between the two spaces at the same rkey; its note goes along into this space and is deleted when the answer leaves it (never re-published to the beacon's audience). The rsvp at that rkey is one record, so its latest version is the answer and names the one space it is in. An older app's #notgoing left in space.beacon stays an answer there. Read-side rule every projector applies: only the AUTHORITY's records count, only a #notgoing rsvp counts, and it counts for the beacon its subject names: for the answerer always, and for that beacon's lighter only when the lighter is the authority here (their own answer) or the subject of a share here.",
|
|
14999
|
+
"key": "any",
|
|
15000
|
+
"name": "Can't go answer",
|
|
15001
|
+
"collections": [
|
|
15002
|
+
"community.lexicon.calendar.rsvp",
|
|
15003
|
+
"pub.techne.draft.rsvpNote",
|
|
15004
|
+
"pub.techne.draft.share"
|
|
15005
|
+
]
|
|
15006
|
+
}
|
|
15007
|
+
}
|
|
15008
|
+
}),
|
|
15009
|
+
"policyNsid": "pub.techne.draft.space.beaconDecline.policy",
|
|
15010
|
+
"policyDescription": "Access policy for pub.techne.draft.space.beaconDecline: the person answering (authority) reads, writes and manages; the lighter reads through the one `share` the authority wrote for them. Same shape as space.intro.",
|
|
15011
|
+
"policyDoc": ({
|
|
15012
|
+
"lexicon": 1,
|
|
15013
|
+
"id": "pub.techne.draft.space.beaconDecline.policy",
|
|
15014
|
+
"defs": {
|
|
15015
|
+
"main": {
|
|
15016
|
+
"type": "spacePolicy",
|
|
15017
|
+
"description": "Access policy for pub.techne.draft.space.beaconDecline: the person answering (authority) reads, writes and manages; the lighter reads through the one `share` the authority wrote for them. Same shape as space.intro.",
|
|
15018
|
+
"policy": {
|
|
15019
|
+
"read": {
|
|
15020
|
+
"$type": "pub.techne.draft.policy#any",
|
|
15021
|
+
"of": [
|
|
15022
|
+
{
|
|
15023
|
+
"$type": "pub.techne.draft.policy#authorityOnly"
|
|
15024
|
+
},
|
|
15025
|
+
{
|
|
15026
|
+
"$type": "pub.techne.draft.policy#sharedWith",
|
|
15027
|
+
"of": "this"
|
|
15028
|
+
}
|
|
15029
|
+
]
|
|
15030
|
+
},
|
|
15031
|
+
"write": {
|
|
15032
|
+
"$type": "pub.techne.draft.policy#authorityOnly"
|
|
15033
|
+
},
|
|
15034
|
+
"manage": {
|
|
15035
|
+
"$type": "pub.techne.draft.policy#authorityOnly"
|
|
15036
|
+
}
|
|
15037
|
+
}
|
|
15038
|
+
}
|
|
15039
|
+
}
|
|
15040
|
+
})
|
|
15041
|
+
},
|
|
14856
15042
|
{
|
|
14857
15043
|
"nsid": "pub.techne.draft.space.circle",
|
|
14858
15044
|
"name": "Circle data",
|
|
@@ -14979,14 +15165,14 @@ export const catalog = {
|
|
|
14979
15165
|
}
|
|
14980
15166
|
}),
|
|
14981
15167
|
"policyNsid": "pub.techne.draft.space.collective.member.policy",
|
|
14982
|
-
"policyDescription": "Access policy for pub.techne.draft.space.collective.member: members read (incl. one hop via member collectives), builders write, facilitators manage.",
|
|
15168
|
+
"policyDescription": "Access policy for pub.techne.draft.space.collective.member: members read (incl. one hop via member collectives), builders write, facilitators manage. The predicates alone are not the limit for a circle (a collective whose descriptor says collectiveType beacon.circle): there the platform also narrows the write leg. A writer holding the write leg but not manage (role 20-29) may write with the collective's pen only membership claims, and only these: an add (a new claim at a key that holds none now, not ending, whose addedBy is the writer or absent) and the writer's own claim (their leave, or a re-put keeping its subject and addedBy, at no more than their own role). The write predicate alone would allow any write at >= 20. Everything else written as the collective (a rename, the emoji, a remove, a change to another member's claim, making someone manager) needs manage (role >= 30). Outside circles the write leg hands over no pen.",
|
|
14983
15169
|
"policyDoc": ({
|
|
14984
15170
|
"lexicon": 1,
|
|
14985
15171
|
"id": "pub.techne.draft.space.collective.member.policy",
|
|
14986
15172
|
"defs": {
|
|
14987
15173
|
"main": {
|
|
14988
15174
|
"type": "spacePolicy",
|
|
14989
|
-
"description": "Access policy for pub.techne.draft.space.collective.member: members read (incl. one hop via member collectives), builders write, facilitators manage.",
|
|
15175
|
+
"description": "Access policy for pub.techne.draft.space.collective.member: members read (incl. one hop via member collectives), builders write, facilitators manage. The predicates alone are not the limit for a circle (a collective whose descriptor says collectiveType beacon.circle): there the platform also narrows the write leg. A writer holding the write leg but not manage (role 20-29) may write with the collective's pen only membership claims, and only these: an add (a new claim at a key that holds none now, not ending, whose addedBy is the writer or absent) and the writer's own claim (their leave, or a re-put keeping its subject and addedBy, at no more than their own role). The write predicate alone would allow any write at >= 20. Everything else written as the collective (a rename, the emoji, a remove, a change to another member's claim, making someone manager) needs manage (role >= 30). Outside circles the write leg hands over no pen.",
|
|
14990
15176
|
"policy": {
|
|
14991
15177
|
"read": {
|
|
14992
15178
|
"$type": "pub.techne.draft.policy#memberRole",
|
|
@@ -17577,15 +17763,11 @@ export const catalog = {
|
|
|
17577
17763
|
"name": "timeChip",
|
|
17578
17764
|
"type": "string (enum)",
|
|
17579
17765
|
"required": false,
|
|
17580
|
-
"description": "The app's time preset that names the interpreted window; absent when the window is
|
|
17766
|
+
"description": "The app's time preset that names the interpreted window (Now, Today, This week); absent when the window is any other one (a clock time, a daypart, another day, a second day, the weekend or next week), which the app shows as a custom window.",
|
|
17581
17767
|
"knownValues": [
|
|
17582
17768
|
"now",
|
|
17583
17769
|
"today",
|
|
17584
|
-
"
|
|
17585
|
-
"tomorrow",
|
|
17586
|
-
"weekend",
|
|
17587
|
-
"thisWeek",
|
|
17588
|
-
"nextWeek"
|
|
17770
|
+
"thisWeek"
|
|
17589
17771
|
]
|
|
17590
17772
|
}
|
|
17591
17773
|
],
|
|
@@ -17734,13 +17916,9 @@ export const catalog = {
|
|
|
17734
17916
|
"knownValues": [
|
|
17735
17917
|
"now",
|
|
17736
17918
|
"today",
|
|
17737
|
-
"
|
|
17738
|
-
"tomorrow",
|
|
17739
|
-
"weekend",
|
|
17740
|
-
"thisWeek",
|
|
17741
|
-
"nextWeek"
|
|
17919
|
+
"thisWeek"
|
|
17742
17920
|
],
|
|
17743
|
-
"description": "The app's time preset that names the interpreted window; absent when the window is
|
|
17921
|
+
"description": "The app's time preset that names the interpreted window (Now, Today, This week); absent when the window is any other one (a clock time, a daypart, another day, a second day, the weekend or next week), which the app shows as a custom window."
|
|
17744
17922
|
}
|
|
17745
17923
|
}
|
|
17746
17924
|
}
|
|
@@ -19472,7 +19650,7 @@ export const catalog = {
|
|
|
19472
19650
|
"group": "social.scenius",
|
|
19473
19651
|
"kind": "procedure",
|
|
19474
19652
|
"class": "write",
|
|
19475
|
-
"description": "Create a Beacon circle: a private group identity (a collective DID with a random handle) whose descriptor and memberships are placed only in its own member space, never on the firehose.
|
|
19653
|
+
"description": "Create a Beacon circle: a private group identity (a collective DID with a random handle) whose descriptor and memberships are placed only in its own member space, never on the firehose. Kept for old builds; the current build makes a circle with identity.createCollective and put. The founder is its manager (role 40, the collective.member manage leg: rename, set the emoji, remove people, make someone manager) and carries addedBy = themself; everyone added is a member (role 20, the write leg: add people and leave).",
|
|
19476
19654
|
"input": [
|
|
19477
19655
|
{
|
|
19478
19656
|
"name": "name",
|
|
@@ -19503,7 +19681,7 @@ export const catalog = {
|
|
|
19503
19681
|
"defs": {
|
|
19504
19682
|
"main": {
|
|
19505
19683
|
"type": "procedure",
|
|
19506
|
-
"description": "Create a Beacon circle: a private group identity (a collective DID with a random handle) whose descriptor and memberships are placed only in its own member space, never on the firehose.
|
|
19684
|
+
"description": "Create a Beacon circle: a private group identity (a collective DID with a random handle) whose descriptor and memberships are placed only in its own member space, never on the firehose. Kept for old builds; the current build makes a circle with identity.createCollective and put. The founder is its manager (role 40, the collective.member manage leg: rename, set the emoji, remove people, make someone manager) and carries addedBy = themself; everyone added is a member (role 20, the write leg: add people and leave).",
|
|
19507
19685
|
"input": {
|
|
19508
19686
|
"encoding": "application/json",
|
|
19509
19687
|
"schema": {
|
|
@@ -22394,7 +22572,7 @@ export const catalog = {
|
|
|
22394
22572
|
"group": "social.scenius",
|
|
22395
22573
|
"kind": "query",
|
|
22396
22574
|
"class": "read",
|
|
22397
|
-
"description": "Public: for up to 100 event AT-URIs, what publishers the commons root endorses say about each listed curated event at its current version: the short line (latest endorsed summary) and the lit bank answers (latest endorsed assessment, validated against its pinned question set; an answer is lit when its score is 50 or more, or it has no score and is supported). An event with
|
|
22575
|
+
"description": "Public: for up to 100 event AT-URIs, what publishers the commons root endorses say about each listed curated event at its current version: the short line and its emoji (latest endorsed summary) and the lit bank answers (latest endorsed assessment, validated against its pinned question set; an answer is lit when its score is 50 or more, or it has no score and is supported). An event with no line, emoji or answers, or that is hidden or not listed, is omitted.",
|
|
22398
22576
|
"params": [
|
|
22399
22577
|
{
|
|
22400
22578
|
"name": "uris",
|
|
@@ -22416,7 +22594,7 @@ export const catalog = {
|
|
|
22416
22594
|
"defs": {
|
|
22417
22595
|
"main": {
|
|
22418
22596
|
"type": "query",
|
|
22419
|
-
"description": "Public: for up to 100 event AT-URIs, what publishers the commons root endorses say about each listed curated event at its current version: the short line (latest endorsed summary) and the lit bank answers (latest endorsed assessment, validated against its pinned question set; an answer is lit when its score is 50 or more, or it has no score and is supported). An event with
|
|
22597
|
+
"description": "Public: for up to 100 event AT-URIs, what publishers the commons root endorses say about each listed curated event at its current version: the short line and its emoji (latest endorsed summary) and the lit bank answers (latest endorsed assessment, validated against its pinned question set; an answer is lit when its score is 50 or more, or it has no score and is supported). An event with no line, emoji or answers, or that is hidden or not listed, is omitted.",
|
|
22420
22598
|
"parameters": {
|
|
22421
22599
|
"type": "params",
|
|
22422
22600
|
"required": [
|
|
@@ -22475,6 +22653,10 @@ export const catalog = {
|
|
|
22475
22653
|
"type": "string",
|
|
22476
22654
|
"description": "The event's short line."
|
|
22477
22655
|
},
|
|
22656
|
+
"emoji": {
|
|
22657
|
+
"type": "string",
|
|
22658
|
+
"description": "The emoji on the same summary as the line, when its writer gave one."
|
|
22659
|
+
},
|
|
22478
22660
|
"answers": {
|
|
22479
22661
|
"type": "array",
|
|
22480
22662
|
"items": {
|
|
@@ -22534,7 +22716,7 @@ export const catalog = {
|
|
|
22534
22716
|
"name": "joins",
|
|
22535
22717
|
"type": "array<unknown>",
|
|
22536
22718
|
"required": true,
|
|
22537
|
-
"description": "One entry per readable event carrying its rsvp records (empty for an event the caller cannot read). Each hit may carry `note` (the responder's rsvpNote). Each event may carry `declines`: the notgoing responses (\"Can't
|
|
22719
|
+
"description": "One entry per readable event carrying its rsvp records (empty for an event the caller cannot read). Each hit may carry `note` (the responder's rsvpNote). Each event may carry `maybes`: the interested responses (\"Maybe\"), and `declines`: the notgoing responses (\"Can't go\"), same hit shape. `joins` stays going-only. A notgoing kept in the answerer's own pub.techne.draft.space.beaconDecline is listed only for the answerer and for the beacon's lighter, and for the lighter only while a share there names them (the lighter's own answer needs none); only the space authority's own notgoing rsvp at the space's skey counts."
|
|
22538
22720
|
}
|
|
22539
22721
|
],
|
|
22540
22722
|
"doc": ({
|
|
@@ -22574,7 +22756,7 @@ export const catalog = {
|
|
|
22574
22756
|
"items": {
|
|
22575
22757
|
"type": "unknown"
|
|
22576
22758
|
},
|
|
22577
|
-
"description": "One entry per readable event carrying its rsvp records (empty for an event the caller cannot read). Each hit may carry `note` (the responder's rsvpNote). Each event may carry `declines`: the notgoing responses (\"Can't
|
|
22759
|
+
"description": "One entry per readable event carrying its rsvp records (empty for an event the caller cannot read). Each hit may carry `note` (the responder's rsvpNote). Each event may carry `maybes`: the interested responses (\"Maybe\"), and `declines`: the notgoing responses (\"Can't go\"), same hit shape. `joins` stays going-only. A notgoing kept in the answerer's own pub.techne.draft.space.beaconDecline is listed only for the answerer and for the beacon's lighter, and for the lighter only while a share there names them (the lighter's own answer needs none); only the space authority's own notgoing rsvp at the space's skey counts."
|
|
22578
22760
|
}
|
|
22579
22761
|
}
|
|
22580
22762
|
}
|
|
@@ -25547,7 +25729,7 @@ export const catalog = {
|
|
|
25547
25729
|
"group": "social.scenius",
|
|
25548
25730
|
"kind": "procedure",
|
|
25549
25731
|
"class": "write",
|
|
25550
|
-
"description": "Beacon's join verb: writes a community.lexicon.calendar.rsvp{subject: beacon uri, status: going
|
|
25732
|
+
"description": "Beacon's join verb: writes a community.lexicon.calendar.rsvp{subject: beacon uri, status} (going by default; see `status` for where each answer goes: going and interested into the beacon's own space, notgoing into the answerer's own pub.techne.draft.space.beaconDecline with a share naming the lighter). Caller must pass the beacon space's write policy (authority, or a subject the authority has shared it with). Distinct from scenius's own `rsvp` verb, which is unchanged.",
|
|
25551
25733
|
"input": [
|
|
25552
25734
|
{
|
|
25553
25735
|
"name": "beacon",
|
|
@@ -25558,9 +25740,10 @@ export const catalog = {
|
|
|
25558
25740
|
"name": "status",
|
|
25559
25741
|
"type": "string (enum)",
|
|
25560
25742
|
"required": false,
|
|
25561
|
-
"description": "Default going. Changing it keeps the RSVP rkey
|
|
25743
|
+
"description": "Default going. interested is Maybe. Going and Maybe go in the beacon's space; notgoing (Can't go) goes in the answerer's own pub.techne.draft.space.beaconDecline with a share naming the lighter, so only the two of them read it. Changing it keeps the RSVP rkey and moves the RSVP between the two spaces; its note goes along into the answerer's beaconDecline space, and is deleted when the answer leaves Can't go (never re-published to the beacon's audience).",
|
|
25562
25744
|
"knownValues": [
|
|
25563
25745
|
"going",
|
|
25746
|
+
"interested",
|
|
25564
25747
|
"notgoing"
|
|
25565
25748
|
]
|
|
25566
25749
|
},
|
|
@@ -25584,7 +25767,7 @@ export const catalog = {
|
|
|
25584
25767
|
"defs": {
|
|
25585
25768
|
"main": {
|
|
25586
25769
|
"type": "procedure",
|
|
25587
|
-
"description": "Beacon's join verb: writes a community.lexicon.calendar.rsvp{subject: beacon uri, status: going
|
|
25770
|
+
"description": "Beacon's join verb: writes a community.lexicon.calendar.rsvp{subject: beacon uri, status} (going by default; see `status` for where each answer goes: going and interested into the beacon's own space, notgoing into the answerer's own pub.techne.draft.space.beaconDecline with a share naming the lighter). Caller must pass the beacon space's write policy (authority, or a subject the authority has shared it with). Distinct from scenius's own `rsvp` verb, which is unchanged.",
|
|
25588
25771
|
"input": {
|
|
25589
25772
|
"encoding": "application/json",
|
|
25590
25773
|
"schema": {
|
|
@@ -25601,9 +25784,10 @@ export const catalog = {
|
|
|
25601
25784
|
"type": "string",
|
|
25602
25785
|
"knownValues": [
|
|
25603
25786
|
"going",
|
|
25787
|
+
"interested",
|
|
25604
25788
|
"notgoing"
|
|
25605
25789
|
],
|
|
25606
|
-
"description": "Default going. Changing it keeps the RSVP rkey
|
|
25790
|
+
"description": "Default going. interested is Maybe. Going and Maybe go in the beacon's space; notgoing (Can't go) goes in the answerer's own pub.techne.draft.space.beaconDecline with a share naming the lighter, so only the two of them read it. Changing it keeps the RSVP rkey and moves the RSVP between the two spaces; its note goes along into the answerer's beaconDecline space, and is deleted when the answer leaves Can't go (never re-published to the beacon's audience)."
|
|
25607
25791
|
},
|
|
25608
25792
|
"note": {
|
|
25609
25793
|
"type": "string",
|
|
@@ -25634,6 +25818,10 @@ export const catalog = {
|
|
|
25634
25818
|
},
|
|
25635
25819
|
{
|
|
25636
25820
|
"name": "NotAuthorized"
|
|
25821
|
+
},
|
|
25822
|
+
{
|
|
25823
|
+
"name": "NotFound",
|
|
25824
|
+
"description": "No such beacon (HTTP 404)."
|
|
25637
25825
|
}
|
|
25638
25826
|
]
|
|
25639
25827
|
}
|
|
@@ -25646,7 +25834,7 @@ export const catalog = {
|
|
|
25646
25834
|
"group": "social.scenius",
|
|
25647
25835
|
"kind": "procedure",
|
|
25648
25836
|
"class": "write",
|
|
25649
|
-
"description": "Leave a circle.
|
|
25837
|
+
"description": "Leave a circle. Kept for old builds (the current build ends its own membership with put as the circle). Any member may leave; its manager only once someone else is manager (409 LastManager). The last member leaving deletes the circle and its account.",
|
|
25650
25838
|
"input": [
|
|
25651
25839
|
{
|
|
25652
25840
|
"name": "group",
|
|
@@ -25667,7 +25855,7 @@ export const catalog = {
|
|
|
25667
25855
|
"defs": {
|
|
25668
25856
|
"main": {
|
|
25669
25857
|
"type": "procedure",
|
|
25670
|
-
"description": "Leave a circle.
|
|
25858
|
+
"description": "Leave a circle. Kept for old builds (the current build ends its own membership with put as the circle). Any member may leave; its manager only once someone else is manager (409 LastManager). The last member leaving deletes the circle and its account.",
|
|
25671
25859
|
"input": {
|
|
25672
25860
|
"encoding": "application/json",
|
|
25673
25861
|
"schema": {
|
|
@@ -25702,7 +25890,16 @@ export const catalog = {
|
|
|
25702
25890
|
"name": "InvalidRequest"
|
|
25703
25891
|
},
|
|
25704
25892
|
{
|
|
25705
|
-
"name": "NotAuthorized"
|
|
25893
|
+
"name": "NotAuthorized",
|
|
25894
|
+
"description": "Not in the circle (HTTP 403)."
|
|
25895
|
+
},
|
|
25896
|
+
{
|
|
25897
|
+
"name": "NotFound",
|
|
25898
|
+
"description": "No such circle (HTTP 404)."
|
|
25899
|
+
},
|
|
25900
|
+
{
|
|
25901
|
+
"name": "LastManager",
|
|
25902
|
+
"description": "The caller is the circle's only manager and others remain: make someone else manager first (HTTP 409)."
|
|
25706
25903
|
}
|
|
25707
25904
|
]
|
|
25708
25905
|
}
|
|
@@ -28511,7 +28708,7 @@ export const catalog = {
|
|
|
28511
28708
|
"group": "social.scenius",
|
|
28512
28709
|
"kind": "procedure",
|
|
28513
28710
|
"class": "write",
|
|
28514
|
-
"description": "Remove a member (or a pending member) from a circle.
|
|
28711
|
+
"description": "Remove a member (or a pending member) from a circle. Kept for old builds (the current build ends the membership with put as the circle). Only its manager (role 40) may; a member gets 403. Removing the last manager while others remain is 409 LastManager.",
|
|
28515
28712
|
"input": [
|
|
28516
28713
|
{
|
|
28517
28714
|
"name": "group",
|
|
@@ -28538,7 +28735,7 @@ export const catalog = {
|
|
|
28538
28735
|
"defs": {
|
|
28539
28736
|
"main": {
|
|
28540
28737
|
"type": "procedure",
|
|
28541
|
-
"description": "Remove a member (or a pending member) from a circle.
|
|
28738
|
+
"description": "Remove a member (or a pending member) from a circle. Kept for old builds (the current build ends the membership with put as the circle). Only its manager (role 40) may; a member gets 403. Removing the last manager while others remain is 409 LastManager.",
|
|
28542
28739
|
"input": {
|
|
28543
28740
|
"encoding": "application/json",
|
|
28544
28741
|
"schema": {
|
|
@@ -28578,7 +28775,95 @@ export const catalog = {
|
|
|
28578
28775
|
"name": "InvalidRequest"
|
|
28579
28776
|
},
|
|
28580
28777
|
{
|
|
28581
|
-
"name": "NotAuthorized"
|
|
28778
|
+
"name": "NotAuthorized",
|
|
28779
|
+
"description": "Not in the circle, or not its manager (HTTP 403)."
|
|
28780
|
+
},
|
|
28781
|
+
{
|
|
28782
|
+
"name": "Forbidden",
|
|
28783
|
+
"description": "The membership is above the caller's own role (HTTP 403)."
|
|
28784
|
+
},
|
|
28785
|
+
{
|
|
28786
|
+
"name": "NotFound",
|
|
28787
|
+
"description": "No such circle (HTTP 404)."
|
|
28788
|
+
},
|
|
28789
|
+
{
|
|
28790
|
+
"name": "LastManager",
|
|
28791
|
+
"description": "The circle would be left with members and no manager: make someone else manager first (HTTP 409)."
|
|
28792
|
+
}
|
|
28793
|
+
]
|
|
28794
|
+
}
|
|
28795
|
+
}
|
|
28796
|
+
})
|
|
28797
|
+
},
|
|
28798
|
+
{
|
|
28799
|
+
"nsid": "social.scenius.removePerson",
|
|
28800
|
+
"name": "removePerson",
|
|
28801
|
+
"group": "social.scenius",
|
|
28802
|
+
"kind": "procedure",
|
|
28803
|
+
"class": "write",
|
|
28804
|
+
"description": "Remove a person from the caller's People: archive (archivedAt = now, the rest of the body as stored) every active pub.techne.draft.contact of the caller's that names the account, by a bound did or by a saved number that resolves to it. Only the caller's own contacts change: not their circles, not blocks, nothing of the other account's. archived is how many contacts were archived; 0 when none named the account, so a repeat is harmless. Adding them again (addPerson, or a put of a new contact) brings them back.",
|
|
28805
|
+
"input": [
|
|
28806
|
+
{
|
|
28807
|
+
"name": "did",
|
|
28808
|
+
"type": "string<did>",
|
|
28809
|
+
"required": true
|
|
28810
|
+
},
|
|
28811
|
+
{
|
|
28812
|
+
"name": "operationId",
|
|
28813
|
+
"type": "string",
|
|
28814
|
+
"required": false
|
|
28815
|
+
}
|
|
28816
|
+
],
|
|
28817
|
+
"output": [
|
|
28818
|
+
{
|
|
28819
|
+
"name": "archived",
|
|
28820
|
+
"type": "integer",
|
|
28821
|
+
"required": true
|
|
28822
|
+
}
|
|
28823
|
+
],
|
|
28824
|
+
"doc": ({
|
|
28825
|
+
"lexicon": 1,
|
|
28826
|
+
"id": "social.scenius.removePerson",
|
|
28827
|
+
"defs": {
|
|
28828
|
+
"main": {
|
|
28829
|
+
"type": "procedure",
|
|
28830
|
+
"description": "Remove a person from the caller's People: archive (archivedAt = now, the rest of the body as stored) every active pub.techne.draft.contact of the caller's that names the account, by a bound did or by a saved number that resolves to it. Only the caller's own contacts change: not their circles, not blocks, nothing of the other account's. archived is how many contacts were archived; 0 when none named the account, so a repeat is harmless. Adding them again (addPerson, or a put of a new contact) brings them back.",
|
|
28831
|
+
"input": {
|
|
28832
|
+
"encoding": "application/json",
|
|
28833
|
+
"schema": {
|
|
28834
|
+
"type": "object",
|
|
28835
|
+
"properties": {
|
|
28836
|
+
"did": {
|
|
28837
|
+
"type": "string",
|
|
28838
|
+
"format": "did"
|
|
28839
|
+
},
|
|
28840
|
+
"operationId": {
|
|
28841
|
+
"type": "string"
|
|
28842
|
+
}
|
|
28843
|
+
},
|
|
28844
|
+
"required": [
|
|
28845
|
+
"did"
|
|
28846
|
+
]
|
|
28847
|
+
}
|
|
28848
|
+
},
|
|
28849
|
+
"output": {
|
|
28850
|
+
"encoding": "application/json",
|
|
28851
|
+
"schema": {
|
|
28852
|
+
"type": "object",
|
|
28853
|
+
"properties": {
|
|
28854
|
+
"archived": {
|
|
28855
|
+
"type": "integer",
|
|
28856
|
+
"minimum": 0
|
|
28857
|
+
}
|
|
28858
|
+
},
|
|
28859
|
+
"required": [
|
|
28860
|
+
"archived"
|
|
28861
|
+
]
|
|
28862
|
+
}
|
|
28863
|
+
},
|
|
28864
|
+
"errors": [
|
|
28865
|
+
{
|
|
28866
|
+
"name": "InvalidRequest"
|
|
28582
28867
|
}
|
|
28583
28868
|
]
|
|
28584
28869
|
}
|
|
@@ -28591,7 +28876,7 @@ export const catalog = {
|
|
|
28591
28876
|
"group": "social.scenius",
|
|
28592
28877
|
"kind": "procedure",
|
|
28593
28878
|
"class": "write",
|
|
28594
|
-
"description": "Rename a circle.
|
|
28879
|
+
"description": "Rename a circle. Kept for old builds (the current build puts the descriptor as the circle). Only its manager (role 40) may; a member gets 403 NotAuthorized.",
|
|
28595
28880
|
"input": [
|
|
28596
28881
|
{
|
|
28597
28882
|
"name": "group",
|
|
@@ -28617,7 +28902,7 @@ export const catalog = {
|
|
|
28617
28902
|
"defs": {
|
|
28618
28903
|
"main": {
|
|
28619
28904
|
"type": "procedure",
|
|
28620
|
-
"description": "Rename a circle.
|
|
28905
|
+
"description": "Rename a circle. Kept for old builds (the current build puts the descriptor as the circle). Only its manager (role 40) may; a member gets 403 NotAuthorized.",
|
|
28621
28906
|
"input": {
|
|
28622
28907
|
"encoding": "application/json",
|
|
28623
28908
|
"schema": {
|
|
@@ -28659,7 +28944,12 @@ export const catalog = {
|
|
|
28659
28944
|
"name": "InvalidRequest"
|
|
28660
28945
|
},
|
|
28661
28946
|
{
|
|
28662
|
-
"name": "NotAuthorized"
|
|
28947
|
+
"name": "NotAuthorized",
|
|
28948
|
+
"description": "Not in the circle, or not its manager (HTTP 403)."
|
|
28949
|
+
},
|
|
28950
|
+
{
|
|
28951
|
+
"name": "NotFound",
|
|
28952
|
+
"description": "No such circle (HTTP 404)."
|
|
28663
28953
|
}
|
|
28664
28954
|
]
|
|
28665
28955
|
},
|
|
@@ -31704,9 +31994,9 @@ export const catalog = {
|
|
|
31704
31994
|
}
|
|
31705
31995
|
],
|
|
31706
31996
|
"counts": {
|
|
31707
|
-
"records":
|
|
31708
|
-
"spaces":
|
|
31997
|
+
"records": 149,
|
|
31998
|
+
"spaces": 13,
|
|
31709
31999
|
"predicates": 9,
|
|
31710
|
-
"methods":
|
|
32000
|
+
"methods": 127
|
|
31711
32001
|
}
|
|
31712
32002
|
};
|