@atproto/pds 0.4.117 → 0.4.118
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 +16 -0
- package/dist/account-manager/account-manager.d.ts +5 -2
- package/dist/account-manager/account-manager.d.ts.map +1 -1
- package/dist/account-manager/account-manager.js.map +1 -1
- package/dist/actor-store/blob/transactor.d.ts +2 -1
- package/dist/actor-store/blob/transactor.d.ts.map +1 -1
- package/dist/actor-store/blob/transactor.js +19 -5
- package/dist/actor-store/blob/transactor.js.map +1 -1
- package/dist/api/com/atproto/repo/uploadBlob.d.ts.map +1 -1
- package/dist/api/com/atproto/repo/uploadBlob.js +1 -0
- package/dist/api/com/atproto/repo/uploadBlob.js.map +1 -1
- package/dist/config/env.d.ts +1 -0
- package/dist/config/env.d.ts.map +1 -1
- package/dist/config/env.js +1 -0
- package/dist/config/env.js.map +1 -1
- package/dist/config/secrets.d.ts +1 -0
- package/dist/config/secrets.d.ts.map +1 -1
- package/dist/config/secrets.js +1 -0
- package/dist/config/secrets.js.map +1 -1
- package/dist/context.d.ts +3 -0
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +19 -0
- package/dist/context.js.map +1 -1
- package/dist/lexicon/index.d.ts +10 -0
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +20 -0
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +516 -0
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +277 -0
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/defs.d.ts +27 -0
- package/dist/lexicon/types/app/bsky/unspecced/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/defs.js +18 -0
- package/dist/lexicon/types/app/bsky/unspecced/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedStarterPacks.d.ts +36 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedStarterPacks.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedStarterPacks.js +7 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedStarterPacks.js.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.d.ts +37 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.js +7 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.js.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/getTrends.d.ts +36 -0
- package/dist/lexicon/types/app/bsky/unspecced/getTrends.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/getTrends.js +7 -0
- package/dist/lexicon/types/app/bsky/unspecced/getTrends.js.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/getTrendsSkeleton.d.ts +38 -0
- package/dist/lexicon/types/app/bsky/unspecced/getTrendsSkeleton.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/unspecced/getTrendsSkeleton.js +7 -0
- package/dist/lexicon/types/app/bsky/unspecced/getTrendsSkeleton.js.map +1 -0
- package/dist/lexicon/types/com/atproto/admin/updateAccountSigningKey.d.ts +31 -0
- package/dist/lexicon/types/com/atproto/admin/updateAccountSigningKey.d.ts.map +1 -0
- package/dist/lexicon/types/com/atproto/admin/updateAccountSigningKey.js +7 -0
- package/dist/lexicon/types/com/atproto/admin/updateAccountSigningKey.js.map +1 -0
- package/dist/repo/prepare.d.ts.map +1 -1
- package/dist/repo/prepare.js +1 -0
- package/dist/repo/prepare.js.map +1 -1
- package/dist/repo/types.d.ts +1 -0
- package/dist/repo/types.d.ts.map +1 -1
- package/dist/repo/types.js.map +1 -1
- package/dist/scripts/index.d.ts +8 -1
- package/dist/scripts/index.d.ts.map +1 -1
- package/dist/scripts/index.js +11 -0
- package/dist/scripts/index.js.map +1 -1
- package/dist/scripts/publish-identity.d.ts +8 -0
- package/dist/scripts/publish-identity.d.ts.map +1 -0
- package/dist/scripts/publish-identity.js +46 -0
- package/dist/scripts/publish-identity.js.map +1 -0
- package/dist/scripts/rebuild-repo.d.ts +10 -2
- package/dist/scripts/rebuild-repo.d.ts.map +1 -1
- package/dist/scripts/rebuild-repo.js +21 -12
- package/dist/scripts/rebuild-repo.js.map +1 -1
- package/dist/scripts/rotate-keys.d.ts +18 -0
- package/dist/scripts/rotate-keys.d.ts.map +1 -0
- package/dist/scripts/rotate-keys.js +115 -0
- package/dist/scripts/rotate-keys.js.map +1 -0
- package/dist/scripts/sequencer-recovery/index.d.ts +3 -0
- package/dist/scripts/sequencer-recovery/index.d.ts.map +1 -0
- package/dist/scripts/sequencer-recovery/index.js +17 -0
- package/dist/scripts/sequencer-recovery/index.js.map +1 -0
- package/dist/scripts/sequencer-recovery/recoverer.d.ts +27 -0
- package/dist/scripts/sequencer-recovery/recoverer.d.ts.map +1 -0
- package/dist/scripts/sequencer-recovery/recoverer.js +235 -0
- package/dist/scripts/sequencer-recovery/recoverer.js.map +1 -0
- package/dist/scripts/sequencer-recovery/recovery-db.d.ts +18 -0
- package/dist/scripts/sequencer-recovery/recovery-db.d.ts.map +1 -0
- package/dist/scripts/sequencer-recovery/recovery-db.js +45 -0
- package/dist/scripts/sequencer-recovery/recovery-db.js.map +1 -0
- package/dist/scripts/sequencer-recovery/repair-repos.d.ts +3 -0
- package/dist/scripts/sequencer-recovery/repair-repos.d.ts.map +1 -0
- package/dist/scripts/sequencer-recovery/repair-repos.js +45 -0
- package/dist/scripts/sequencer-recovery/repair-repos.js.map +1 -0
- package/dist/scripts/sequencer-recovery/user-queues.d.ts +12 -0
- package/dist/scripts/sequencer-recovery/user-queues.d.ts.map +1 -0
- package/dist/scripts/sequencer-recovery/user-queues.js +54 -0
- package/dist/scripts/sequencer-recovery/user-queues.js.map +1 -0
- package/dist/scripts/util.d.ts +2 -0
- package/dist/scripts/util.d.ts.map +1 -0
- package/dist/scripts/util.js +12 -0
- package/dist/scripts/util.js.map +1 -0
- package/dist/sequencer/sequencer.d.ts +2 -0
- package/dist/sequencer/sequencer.d.ts.map +1 -1
- package/dist/sequencer/sequencer.js +52 -42
- package/dist/sequencer/sequencer.js.map +1 -1
- package/package.json +10 -10
- package/src/account-manager/account-manager.ts +6 -2
- package/src/actor-store/blob/transactor.ts +25 -7
- package/src/api/com/atproto/repo/uploadBlob.ts +1 -0
- package/src/config/env.ts +2 -0
- package/src/config/secrets.ts +2 -0
- package/src/context.ts +23 -0
- package/src/lexicon/index.ts +62 -0
- package/src/lexicon/lexicons.ts +285 -0
- package/src/lexicon/types/app/bsky/unspecced/defs.ts +45 -0
- package/src/lexicon/types/app/bsky/unspecced/getSuggestedStarterPacks.ts +54 -0
- package/src/lexicon/types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.ts +55 -0
- package/src/lexicon/types/app/bsky/unspecced/getTrends.ts +54 -0
- package/src/lexicon/types/app/bsky/unspecced/getTrendsSkeleton.ts +56 -0
- package/src/lexicon/types/com/atproto/admin/updateAccountSigningKey.ts +48 -0
- package/src/repo/prepare.ts +1 -0
- package/src/repo/types.ts +1 -0
- package/src/scripts/README.md +40 -0
- package/src/scripts/index.ts +15 -0
- package/src/scripts/publish-identity.ts +54 -0
- package/src/scripts/rebuild-repo.ts +39 -12
- package/src/scripts/rotate-keys.ts +141 -0
- package/src/scripts/sequencer-recovery/index.ts +23 -0
- package/src/scripts/sequencer-recovery/recoverer.ts +289 -0
- package/src/scripts/sequencer-recovery/recovery-db.ts +64 -0
- package/src/scripts/sequencer-recovery/repair-repos.ts +48 -0
- package/src/scripts/sequencer-recovery/user-queues.ts +41 -0
- package/src/scripts/util.ts +7 -0
- package/src/sequencer/sequencer.ts +43 -40
- package/tests/recovery.test.ts +178 -0
- package/tsconfig.build.tsbuildinfo +1 -1
- package/tsconfig.tests.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# @atproto/pds
|
2
2
|
|
3
|
+
## 0.4.118
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- [#2519](https://github.com/bluesky-social/atproto/pull/2519) [`bdbd3c3e3`](https://github.com/bluesky-social/atproto/commit/bdbd3c3e3f8fe8476a3fecac73810554846c938f) Thanks [@dholms](https://github.com/dholms)! - Add recovery scripts
|
8
|
+
|
9
|
+
- Updated dependencies [[`bdbd3c3e3`](https://github.com/bluesky-social/atproto/commit/bdbd3c3e3f8fe8476a3fecac73810554846c938f), [`2b7efb6cb`](https://github.com/bluesky-social/atproto/commit/2b7efb6cb1c93a108570efdafe9d9ec3f1018dfa), [`b0a0f1484`](https://github.com/bluesky-social/atproto/commit/b0a0f1484378adeb5e2aa20b9b6ff2c2eca0f740), [`0eea698be`](https://github.com/bluesky-social/atproto/commit/0eea698bef76520ae4cc0e1f2efbb588a0459556), [`bdbd3c3e3`](https://github.com/bluesky-social/atproto/commit/bdbd3c3e3f8fe8476a3fecac73810554846c938f), [`bdbd3c3e3`](https://github.com/bluesky-social/atproto/commit/bdbd3c3e3f8fe8476a3fecac73810554846c938f)]:
|
10
|
+
- @atproto/api@0.14.17
|
11
|
+
- @atproto/repo@0.7.3
|
12
|
+
- @atproto/common@0.4.9
|
13
|
+
- @atproto/aws@0.2.19
|
14
|
+
- @atproto/crypto@0.4.4
|
15
|
+
- @atproto/oauth-provider@0.6.5
|
16
|
+
- @atproto/xrpc-server@0.7.14
|
17
|
+
- @atproto-labs/xrpc-utils@0.0.10
|
18
|
+
|
3
19
|
## 0.4.117
|
4
20
|
|
5
21
|
### Patch Changes
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { KeyObject } from 'node:crypto';
|
2
2
|
import { CID } from 'multiformats/cid';
|
3
3
|
import { IdResolver } from '@atproto/identity';
|
4
|
-
import { DatabaseConfig } from '../config';
|
5
4
|
import { StatusAttr } from '../lexicon/types/com/atproto/admin/defs';
|
6
5
|
import { AccountDb, EmailTokenPurpose } from './db';
|
7
6
|
import * as account from './helpers/account';
|
@@ -9,13 +8,17 @@ import { AccountStatus, ActorAccount } from './helpers/account';
|
|
9
8
|
import * as invite from './helpers/invite';
|
10
9
|
import * as password from './helpers/password';
|
11
10
|
export { AccountStatus, formatAccountStatus } from './helpers/account';
|
11
|
+
export type AccountManagerDbConfig = {
|
12
|
+
accountDbLoc: string;
|
13
|
+
disableWalAutoCheckpoint: boolean;
|
14
|
+
};
|
12
15
|
export declare class AccountManager {
|
13
16
|
readonly idResolver: IdResolver;
|
14
17
|
readonly jwtKey: KeyObject;
|
15
18
|
readonly serviceDid: string;
|
16
19
|
readonly serviceHandleDomains: string[];
|
17
20
|
readonly db: AccountDb;
|
18
|
-
constructor(idResolver: IdResolver, jwtKey: KeyObject, serviceDid: string, serviceHandleDomains: string[], db:
|
21
|
+
constructor(idResolver: IdResolver, jwtKey: KeyObject, serviceDid: string, serviceHandleDomains: string[], db: AccountManagerDbConfig);
|
19
22
|
migrateOrThrow(): Promise<void>;
|
20
23
|
close(): void;
|
21
24
|
getAccount(handleOrDid: string, flags?: account.AvailabilityFlags): Promise<ActorAccount | null>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"account-manager.d.ts","sourceRoot":"","sources":["../../src/account-manager/account-manager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AAEtC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;
|
1
|
+
{"version":3,"file":"account-manager.d.ts","sourceRoot":"","sources":["../../src/account-manager/account-manager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AAEtC,OAAO,EAAE,UAAU,EAAE,MAAM,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E;IASvD,qBAAqB,CAAC,IAAI,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE;CAWpE"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"account-manager.js","sourceRoot":"","sources":["../../src/account-manager/account-manager.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,4CAA4C;AAE5C,4CAA4C;AAC5C,sDAA6E;AAC7E,oDAA4C;AAE5C,8BAAmC;AACnC,6DAA0D;AAC1D,2CAIwB;AAExB,6BAAuE;AACvE,2DAA4C;AAC5C,+CAA+D;AAC/D,qDAAsC;AACtC,kEAAmD;AACnD,yDAA0C;AAC1C,6DAA8C;AAC9C,qDAAsC;AACtC,yDAA0C;AAC1C,uDAAwC;AAExC,6CAAsE;AAA7D,wGAAA,aAAa,OAAA;AAAE,8GAAA,mBAAmB,OAAA;AAE3C,MAAa,cAAc;IAGzB,YACW,UAAsB,EACtB,MAAiB,EACjB,UAAkB,EAClB,oBAA8B,EACvC,EAAkB;QAJlB;;;;mBAAS,UAAU;WAAY;QAC/B;;;;mBAAS,MAAM;WAAW;QAC1B;;;;mBAAS,UAAU;WAAQ;QAC3B;;;;mBAAS,oBAAoB;WAAU;QANhC;;;;;WAAa;QASpB,IAAI,CAAC,EAAE,GAAG,IAAA,UAAK,EAAC,EAAE,CAAC,YAAY,EAAE,EAAE,CAAC,wBAAwB,CAAC,CAAA;IAC/D,CAAC;IAED,KAAK,CAAC,cAAc;QAClB,MAAM,IAAI,CAAC,EAAE,CAAC,SAAS,EAAE,CAAA;QACzB,MAAM,IAAA,gBAAW,EAAC,IAAI,CAAC,EAAE,CAAC,CAAC,sBAAsB,EAAE,CAAA;IACrD,CAAC;IAED,KAAK;QACH,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,CAAA;IACjB,CAAC;IAED,UAAU;IACV,aAAa;IAEb,KAAK,CAAC,UAAU,CACd,WAAmB,EACnB,KAAiC;Q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AC,EAAE,EACP,gBAAgB,EAChB,IAAI,CAAC,KAAK,CACX,CAAA;QACD,MAAM,IAAI,CAAC,qBAAqB,CAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAA;IACpE,CAAC;IAED,KAAK,CAAC,qBAAqB,CAAC,IAAuC;QACjE,MAAM,EAAE,GAAG,EAAE,GAAG,IAAI,CAAA;QACpB,MAAM,cAAc,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;QACjE,MAAM,IAAI,CAAC,EAAE,CAAC,WAAW,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,CACxC,OAAO,CAAC,GAAG,CAAC;YACV,QAAQ,CAAC,kBAAkB,CAAC,KAAK,EAAE,EAAE,GAAG,EAAE,cAAc,EAAE,CAAC;YAC3D,UAAU,CAAC,gBAAgB,CAAC,KAAK,EAAE,GAAG,EAAE,gBAAgB,CAAC;YACzD,IAAI,CAAC,wBAAwB,CAAC,KAAK,EAAE,GAAG,CAAC;SAC1C,CAAC,CACH,CAAA;IACH,CAAC;CACF;AAzgBD,wCAygBC"}
|
@@ -26,8 +26,9 @@ export declare class BlobTransactor extends BlobReader {
|
|
26
26
|
trackUntetheredBlob(metadata: BlobMetadata): Promise<BlobRef>;
|
27
27
|
processWriteBlobs(rev: string, writes: PreparedWrite[]): Promise<void>;
|
28
28
|
updateBlobTakedownStatus(blob: CID, takedown: StatusAttr): Promise<void>;
|
29
|
-
deleteDereferencedBlobs(writes: PreparedWrite[]): Promise<void>;
|
29
|
+
deleteDereferencedBlobs(writes: PreparedWrite[], skipBlobStore?: boolean): Promise<void>;
|
30
30
|
verifyBlobAndMakePermanent(blob: PreparedBlobRef): Promise<void>;
|
31
|
+
insertBlobMetadata(blob: PreparedBlobRef): Promise<void>;
|
31
32
|
associateBlob(blob: PreparedBlobRef, recordUri: AtUri): Promise<void>;
|
32
33
|
}
|
33
34
|
export declare class CidNot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EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,CAAC,OAAO,CAAC;IAevD,wBAAwB,CAC5B,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,CAAC,QAAQ,GAC1B,OAAO,CAAC,YAAY,CAAC;IAsBlB,mBAAmB,CAAC,QAAQ,EAAE,YAAY;IAgC1C,iBAAiB,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE;IAkBtD,wBAAwB,CAAC,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,UAAU;IAsBxD,uBAAuB,CAC3B,MAAM,EAAE,aAAa,EAAE,EACvB,aAAa,CAAC,EAAE,OAAO;IAyDnB,0BAA0B,CAAC,IAAI,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC;IAwBhE,kBAAkB,CAAC,IAAI,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC;IAaxD,aAAa,CAAC,IAAI,EAAE,eAAe,EAAE,SAAS,EAAE,KAAK,GAAG,OAAO,CAAC,IAAI,CAAC;CAU5E;AAED,qBAAa,WAAY,SAAQ,KAAK;IACpC,GAAG,EAAE,GAAG,CAAA;gBACI,GAAG,EAAE,GAAG;CAIrB"}
|
@@ -156,7 +156,7 @@ class BlobTransactor extends reader_1.BlobReader {
|
|
156
156
|
}
|
157
157
|
}
|
158
158
|
}
|
159
|
-
async deleteDereferencedBlobs(writes) {
|
159
|
+
async deleteDereferencedBlobs(writes, skipBlobStore) {
|
160
160
|
const deletes = writes.filter((w) => w.action === repo_1.WriteOpAction.Delete);
|
161
161
|
const updates = writes.filter((w) => w.action === repo_1.WriteOpAction.Update);
|
162
162
|
const uris = [...deletes, ...updates].map((w) => w.uri.toString());
|
@@ -192,11 +192,13 @@ class BlobTransactor extends reader_1.BlobReader {
|
|
192
192
|
.deleteFrom('blob')
|
193
193
|
.where('cid', 'in', cidsToDelete)
|
194
194
|
.execute();
|
195
|
-
|
196
|
-
this.
|
197
|
-
|
195
|
+
if (!skipBlobStore) {
|
196
|
+
this.db.onCommit(() => {
|
197
|
+
this.backgroundQueue.add(async () => {
|
198
|
+
await Promise.allSettled(cidsToDelete.map((cid) => this.blobstore.delete(cid_1.CID.parse(cid))));
|
199
|
+
});
|
198
200
|
});
|
199
|
-
}
|
201
|
+
}
|
200
202
|
}
|
201
203
|
async verifyBlobAndMakePermanent(blob) {
|
202
204
|
const found = await this.db.db
|
@@ -218,6 +220,18 @@ class BlobTransactor extends reader_1.BlobReader {
|
|
218
220
|
.execute();
|
219
221
|
}
|
220
222
|
}
|
223
|
+
async insertBlobMetadata(blob) {
|
224
|
+
await this.db.db
|
225
|
+
.insertInto('blob')
|
226
|
+
.values({
|
227
|
+
cid: blob.cid.toString(),
|
228
|
+
mimeType: blob.mimeType,
|
229
|
+
size: blob.size,
|
230
|
+
createdAt: new Date().toISOString(),
|
231
|
+
})
|
232
|
+
.onConflict((oc) => oc.doNothing())
|
233
|
+
.execute();
|
234
|
+
}
|
221
235
|
async associateBlob(blob, recordUri) {
|
222
236
|
await this.db.db
|
223
237
|
.insertInto('record_blob')
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"transactor.js","sourceRoot":"","sources":["../../../src/actor-store/blob/transactor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8DAAgC;AAEhC,kDAAyB;AACzB,yCAA4D;AAC5D,0CAAsC;AACtC,4CAAyE;AACzE,8CAA0C;AAC1C,wCAA2E;AAE3E,sDAA0D;AAE1D,iDAAkC;AASlC,qCAAqC;AAWrC,MAAa,cAAe,SAAQ,mBAAU;IAC5C,YACS,EAAW,EACX,SAAoB,EACpB,eAAgC;QAEvC,KAAK,CAAC,EAAE,EAAE,SAAS,CAAC,CAAA;QAJpB;;;;mBAAO,EAAE;WAAS;QAClB;;;;mBAAO,SAAS;WAAW;QAC3B;;;;mBAAO,eAAe;WAAiB;IAGzC,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,SAAiB,EA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U,
|
1
|
+
{"version":3,"file":"uploadBlob.d.ts","sourceRoot":"","sources":["../../../../../src/api/com/atproto/repo/uploadBlob.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAE5C,MAAM,CAAC,OAAO,WAAW,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,UAAU,QA4DvD"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"uploadBlob.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/repo/uploadBlob.ts"],"names":[],"mappings":";;AAMA,
|
1
|
+
{"version":3,"file":"uploadBlob.js","sourceRoot":"","sources":["../../../../../src/api/com/atproto/repo/uploadBlob.ts"],"names":[],"mappings":";;AAMA,4BA4DC;AAlED,4CAAqC;AACrC,sDAA2D;AAK3D,mBAAyB,MAAc,EAAE,GAAe;IACtD,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC;QACjC,IAAI,EAAE,GAAG,CAAC,YAAY,CAAC,uBAAuB,CAAC;YAC7C,aAAa,EAAE,IAAI;SACpB,CAAC;QACF,SAAS,EAAE;YACT,UAAU,EAAE,YAAG;YACf,MAAM,EAAE,IAAI;SACb;QACD,OAAO,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE;YACjC,MAAM,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,GAAG,CAAA;YAEtC,MAAM,IAAI,GAAG,MAAM,GAAG,CAAC,UAAU,CAAC,kBAAkB,CAClD,SAAS,EACT,KAAK,EAAE,KAAK,EAAE,EAAE;gBACd,IAAI,QAAsB,CAAA;gBAC1B,IAAI,CAAC;oBACH,QAAQ,GAAG,MAAM,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,wBAAwB,CACvD,KAAK,CAAC,QAAQ,EACd,KAAK,CAAC,IAAI,CACX,CAAA;gBACH,CAAC;gBAAC,OAAO,GAAG,EAAE,CAAC;oBACb,IAAI,GAAG,EAAE,CAAC,MAAM,CAAC,KAAK,YAAY,EAAE,CAAC;wBACnC,MAAM,IAAI,kCAAoB,CAC5B,qCAAqC,CACtC,CAAA;oBACH,CAAC;oBACD,MAAM,GAAG,CAAA;gBACX,CAAC;gBAED,OAAO,KAAK,CAAC,QAAQ,CAAC,KAAK,EAAE,QAAQ,EAAE,EAAE;oBACvC,MAAM,OAAO,GACX,MAAM,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,QAAQ,CAAC,CAAA;oBAExD,qEAAqE;oBACrE,MAAM,cAAc,GAAG,MAAM,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,iBAAiB,CAC/D,OAAO,CAAC,GAAG,CACZ,CAAA;oBACD,IAAI,cAAc,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;wBAC9B,MAAM,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,0BAA0B,CAAC;4BAClD,GAAG,EAAE,OAAO,CAAC,GAAG;4BAChB,QAAQ,EAAE,OAAO,CAAC,QAAQ;4BAC1B,IAAI,EAAE,OAAO,CAAC,IAAI;4BAClB,WAAW,EAAE,EAAE;yBAChB,CAAC,CAAA;oBACJ,CAAC;oBAED,OAAO,OAAO,CAAA;gBAChB,CAAC,CAAC,CAAA;YACJ,CAAC,CACF,CAAA;YAED,OAAO;gBACL,QAAQ,EAAE,kBAAkB;gBAC5B,IAAI,EAAE;oBACJ,IAAI;iBACL;aACF,CAAA;QACH,CAAC;KACF,CAAC,CAAA;AACJ,CAAC"}
|
package/dist/config/env.d.ts
CHANGED
package/dist/config/env.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"env.d.ts","sourceRoot":"","sources":["../../src/config/env.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,QAAO,
|
1
|
+
{"version":3,"file":"env.d.ts","sourceRoot":"","sources":["../../src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A;IACtB,aAAa,CAAC,EAAE,MAAM,CAAA;IAGtB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IAGzB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAA;IAG7B,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAG7B,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;IAGnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAG3B,sBAAsB,CAAC,EAAE,MAAM,CAAA;IAC/B,+BAA+B,CAAC,EAAE,MAAM,CAAA;IAGxC,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAG/B,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAG7B,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,qBAAqB,CAAC,EAAE,OAAO,CAAA;CAChC,CAAA"}
|
package/dist/config/env.js
CHANGED
@@ -98,6 +98,7 @@ const readEnv = () => {
|
|
98
98
|
dpopSecret: (0, common_1.envStr)('PDS_DPOP_SECRET'),
|
99
99
|
jwtSecret: (0, common_1.envStr)('PDS_JWT_SECRET'),
|
100
100
|
adminPassword: (0, common_1.envStr)('PDS_ADMIN_PASSWORD'),
|
101
|
+
entrywayAdminToken: (0, common_1.envStr)('PDS_ENTRYWAY_ADMIN_TOKEN'),
|
101
102
|
// kms
|
102
103
|
plcRotationKeyKmsKeyId: (0, common_1.envStr)('PDS_PLC_ROTATION_KEY_KMS_KEY_ID'),
|
103
104
|
// memory
|
package/dist/config/env.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"env.js","sourceRoot":"","sources":["../../src/config/env.ts"],"names":[],"mappings":";;;AAAA,4CAAkE;AAE3D,MAAM,OAAO,GAAG,GAAsB,EAAE;IAC7C,OAAO;QACL,UAAU;QACV,IAAI,EAAE,IAAA,eAAM,EAAC,UAAU,CAAC;QACxB,QAAQ,EAAE,IAAA,eAAM,EAAC,cAAc,CAAC;QAChC,UAAU,EAAE,IAAA,eAAM,EAAC,iBAAiB,CAAC;QACrC,WAAW,EAAE,IAAA,eAAM,EAAC,kBAAkB,CAAC;QACvC,OAAO,EAAE,IAAA,eAAM,EAAC,aAAa,CAAC;QAC9B,OAAO,EAAE,IAAA,eAAM,EAAC,cAAc,CAAC;QAC/B,OAAO,EAAE,IAAA,eAAM,EAAC,cAAc,CAAC;QAC/B,gBAAgB,EAAE,IAAA,eAAM,EAAC,wBAAwB,CAAC;QAClD,UAAU,EAAE,IAAA,eAAM,EAAC,iBAAiB,CAAC;QACrC,iBAAiB,EAAE,IAAA,eAAM,EAAC,0BAA0B,CAAC;QACrD,mBAAmB,EAAE,IAAA,eAAM,EAAC,2BAA2B,CAAC;QACxD,gBAAgB,EAAE,IAAA,gBAAO,EAAC,4BAA4B,CAAC;QACvD,eAAe,EAAE,IAAA,eAAM,EAAC,uBAAuB,CAAC;QAChD,OAAO,EAAE,IAAA,gBAAO,EAAC,cAAc,CAAC;QAEhC,QAAQ;QACR,eAAe,EAAE,IAAA,eAAM,EAAC,uBAAuB,CAAC;QAChD,iBAAiB,EAAE,IAAA,eAAM,EAAC,yBAAyB,CAAC;QACpD,iBAAiB,EAAE,IAAA,eAAM,EAAC,yBAAyB,CAAC;QAEpD,WAAW;QACX,UAAU,EAAE,IAAA,eAAM,EAAC,mBAAmB,CAAC;QACvC,UAAU,EAAE,IAAA,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AM,EAAC,0BAA0B,CAAC;QAEtD,MAAM;QACN,sBAAsB,EAAE,IAAA,eAAM,EAAC,iCAAiC,CAAC;QACjE,SAAS;QACT,+BAA+B,EAAE,IAAA,eAAM,EACrC,2CAA2C,CAC5C;QAED,kCAAkC;QAClC,qBAAqB,EAAE,IAAA,gBAAO,EAAC,6BAA6B,CAAC;QAE7D,QAAQ;QACR,oBAAoB,EAAE,IAAA,eAAM,EAAC,6BAA6B,CAAC;QAE3D,QAAQ;QACR,eAAe,EAAE,IAAA,gBAAO,EAAC,uBAAuB,CAAC;QACjD,mBAAmB,EAAE,IAAA,eAAM,EAAC,2BAA2B,CAAC;QACxD,gBAAgB,EAAE,IAAA,eAAM,EAAC,wBAAwB,CAAC;QAClD,oBAAoB,EAAE,IAAA,eAAM,EAAC,6BAA6B,CAAC;QAC3D,eAAe,EAAE,IAAA,eAAM,EAAC,uBAAuB,CAAC;QAChD,qBAAqB,EAAE,IAAA,gBAAO,EAAC,6BAA6B,CAAC;KAC9D,CAAA;AACH,CAAC,CAAA;AA1IY,QAAA,OAAO,WA0InB"}
|
package/dist/config/secrets.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"secrets.d.ts","sourceRoot":"","sources":["../../src/config/secrets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAEzC,eAAO,MAAM,YAAY,QAAS,iBAAiB,KAAG,
|
1
|
+
{"version":3,"file":"secrets.d.ts","sourceRoot":"","sources":["../../src/config/secrets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAEzC,eAAO,MAAM,YAAY,QAAS,iBAAiB,KAAG,aAiCrD,CAAA;AAED,MAAM,MAAM,aAAa,GAAG;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;IACjB,aAAa,EAAE,MAAM,CAAA;IACrB,cAAc,EAAE,aAAa,GAAG,gBAAgB,CAAA;IAChD,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC5B,CAAA;AAED,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,EAAE,KAAK,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,QAAQ,CAAA;IAClB,aAAa,EAAE,MAAM,CAAA;CACtB,CAAA"}
|
package/dist/config/secrets.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"secrets.js","sourceRoot":"","sources":["../../src/config/secrets.ts"],"names":[],"mappings":";;;AAEO,MAAM,YAAY,GAAG,CAAC,GAAsB,EAAiB,EAAE;IACpE,IAAI,cAA+C,CAAA;IACnD,IAAI,GAAG,CAAC,sBAAsB,IAAI,GAAG,CAAC,+BAA+B,EAAE,CAAC;QACtE,MAAM,IAAI,KAAK,CAAC,wDAAwD,CAAC,CAAA;IAC3E,CAAC;SAAM,IAAI,GAAG,CAAC,sBAAsB,EAAE,CAAC;QACtC,cAAc,GAAG;YACf,QAAQ,EAAE,KAAK;YACf,KAAK,EAAE,GAAG,CAAC,sBAAsB;SAClC,CAAA;IACH,CAAC;SAAM,IAAI,GAAG,CAAC,+BAA+B,EAAE,CAAC;QAC/C,cAAc,GAAG;YACf,QAAQ,EAAE,QAAQ;YAClB,aAAa,EAAE,GAAG,CAAC,+BAA+B;SACnD,CAAA;IACH,CAAC;SAAM,CAAC;QACN,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAA;IACpD,CAAC;IAED,IAAI,CAAC,GAAG,CAAC,SAAS,EAAE,CAAC;QACnB,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAA;IAC9C,CAAC;IAED,IAAI,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC;QACvB,MAAM,IAAI,KAAK,CAAC,gCAAgC,CAAC,CAAA;IACnD,CAAC;IAED,OAAO;QACL,UAAU,EA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AiCxB"}
|
package/dist/context.d.ts
CHANGED
@@ -40,6 +40,7 @@ export type AppContextOptions = {
|
|
40
40
|
moderationAgent?: AtpAgent;
|
41
41
|
reportingAgent?: AtpAgent;
|
42
42
|
entrywayAgent?: AtpAgent;
|
43
|
+
entrywayAdminAgent?: AtpAgent;
|
43
44
|
proxyAgent: undici.Dispatcher;
|
44
45
|
safeFetch: Fetch;
|
45
46
|
oauthProvider?: OAuthProvider;
|
@@ -66,6 +67,7 @@ export declare class AppContext {
|
|
66
67
|
moderationAgent: AtpAgent | undefined;
|
67
68
|
reportingAgent: AtpAgent | undefined;
|
68
69
|
entrywayAgent: AtpAgent | undefined;
|
70
|
+
entrywayAdminAgent: AtpAgent | undefined;
|
69
71
|
proxyAgent: undici.Dispatcher;
|
70
72
|
safeFetch: Fetch;
|
71
73
|
authVerifier: AuthVerifier;
|
@@ -92,4 +94,5 @@ export declare class AppContext {
|
|
92
94
|
}>;
|
93
95
|
serviceAuthJwt(did: string, aud: string, lxm: string): Promise<string>;
|
94
96
|
}
|
97
|
+
export default AppContext;
|
95
98
|
//# sourceMappingURL=context.d.ts.map
|
package/dist/context.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,GAAG,MAAM,cAAc,CAAA;AACnC,OAAO,OAAO,MAAM,SAAS,CAAA;AAC7B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,GAAG,MAAM,cAAc,CAAA;AACnC,OAAO,OAAO,MAAM,SAAS,CAAA;AAC7B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAG/B,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAA;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAEv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AAQ,GAAG,SAAS,CAAA;IACpC,aAAa,EAAE,QAAQ,GAAG,SAAS,CAAA;IACnC,kBAAkB,EAAE,QAAQ,GAAG,SAAS,CAAA;IACxC,UAAU,EAAE,MAAM,CAAC,UAAU,CAAA;IAC7B,SAAS,EAAE,KAAK,CAAA;IAChB,YAAY,EAAE,YAAY,CAAA;IAC1B,aAAa,CAAC,EAAE,aAAa,CAAA;IAC7B,cAAc,EAAE,MAAM,CAAC,OAAO,CAAA;IAC9B,GAAG,EAAE,YAAY,CAAA;gBAEZ,IAAI,EAAE,iBAAiB;WA4BtB,UAAU,CACrB,GAAG,EAAE,YAAY,EACjB,OAAO,EAAE,aAAa,EACtB,SAAS,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,GACrC,OAAO,CAAC,UAAU,CAAC;IAgShB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM;;;;;IAK3C,mBAAmB,CAAC,GAAG,EAAE,OAAO,CAAC,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM;;;IAUxE,uBAAuB,CAAC,GAAG,EAAE,OAAO,CAAC,OAAO;;;IAItC,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM;;;;;IAUxD,cAAc,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM;CAS3D;AAUD,eAAe,UAAU,CAAA"}
|
package/dist/context.js
CHANGED
@@ -30,6 +30,7 @@ exports.AppContext = void 0;
|
|
30
30
|
const node_assert_1 = __importDefault(require("node:assert"));
|
31
31
|
const plc = __importStar(require("@did-plc/lib"));
|
32
32
|
const nodemailer = __importStar(require("nodemailer"));
|
33
|
+
const ui8 = __importStar(require("uint8arrays"));
|
33
34
|
const undici = __importStar(require("undici"));
|
34
35
|
const api_1 = require("@atproto/api");
|
35
36
|
const aws_1 = require("@atproto/aws");
|
@@ -165,6 +166,12 @@ class AppContext {
|
|
165
166
|
writable: true,
|
166
167
|
value: void 0
|
167
168
|
});
|
169
|
+
Object.defineProperty(this, "entrywayAdminAgent", {
|
170
|
+
enumerable: true,
|
171
|
+
configurable: true,
|
172
|
+
writable: true,
|
173
|
+
value: void 0
|
174
|
+
});
|
168
175
|
Object.defineProperty(this, "proxyAgent", {
|
169
176
|
enumerable: true,
|
170
177
|
configurable: true,
|
@@ -219,6 +226,7 @@ class AppContext {
|
|
219
226
|
this.moderationAgent = opts.moderationAgent;
|
220
227
|
this.reportingAgent = opts.reportingAgent;
|
221
228
|
this.entrywayAgent = opts.entrywayAgent;
|
229
|
+
this.entrywayAdminAgent = opts.entrywayAdminAgent;
|
222
230
|
this.proxyAgent = opts.proxyAgent;
|
223
231
|
this.safeFetch = opts.safeFetch;
|
224
232
|
this.authVerifier = opts.authVerifier;
|
@@ -294,6 +302,11 @@ class AppContext {
|
|
294
302
|
const entrywayAgent = cfg.entryway
|
295
303
|
? new api_1.AtpAgent({ service: cfg.entryway.url })
|
296
304
|
: undefined;
|
305
|
+
let entrywayAdminAgent;
|
306
|
+
if (cfg.entryway && secrets.entrywayAdminToken) {
|
307
|
+
entrywayAdminAgent = new api_1.AtpAgent({ service: cfg.entryway.url });
|
308
|
+
entrywayAdminAgent.api.setHeader('authorization', basicAuthHeader('admin', secrets.entrywayAdminToken));
|
309
|
+
}
|
297
310
|
const jwtSecretKey = (0, auth_verifier_1.createSecretKeyObject)(secrets.jwtSecret);
|
298
311
|
const jwtPublicKey = cfg.entryway
|
299
312
|
? (0, auth_verifier_1.createPublicKeyObject)(cfg.entryway.jwtPublicKeyHex)
|
@@ -417,6 +430,7 @@ class AppContext {
|
|
417
430
|
moderationAgent,
|
418
431
|
reportingAgent,
|
419
432
|
entrywayAgent,
|
433
|
+
entrywayAdminAgent,
|
420
434
|
proxyAgent,
|
421
435
|
safeFetch,
|
422
436
|
authVerifier,
|
@@ -458,4 +472,9 @@ class AppContext {
|
|
458
472
|
}
|
459
473
|
}
|
460
474
|
exports.AppContext = AppContext;
|
475
|
+
const basicAuthHeader = (username, password) => {
|
476
|
+
const encoded = ui8.toString(ui8.fromString(`${username}:${password}`, 'utf8'), 'base64pad');
|
477
|
+
return `Basic ${encoded}`;
|
478
|
+
};
|
479
|
+
exports.default = AppContext;
|
461
480
|
//# sourceMappingURL=context.js.map
|
package/dist/context.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"context.js","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8DAAgC;AAChC,kDAAmC;AAGnC,uDAAwC;AACxC,+CAAgC;AAChC,sCAAuC;AACvC,sCAAsD;AACtD,wDAAyC;AACzC,gDAA8C;AAC9C,4DAKgC;AAEhC,sDAM6B;AAC7B,yDAMiC;AACjC,uEAAkE;AAClE,+DAA0D;AAC1D,2DAAsD;AACtD,uCAAwD;AACxD,mDAIwB;AACxB,6CAA8C;AAC9C,mDAA6C;AAE7C,yCAAqC;AACrC,2CAA4C;AAC5C,qDAAgD;AAChD,iEAA2D;AAC3D,qCAAsC;AACtC,qCAAuC;AACvC,oDAAsD;AACtD,sDAA2E;AAC3E,mCAAwC;AACxC,2CAAuC;AA6BvC,MAAa,UAAU;IA0BrB,YAAY,IAAuB;QAzB5B;;;;;WAAsB;QACtB;;;;;WAAqC;QACrC;;;;;WAA+B;QAC/B;;;;;WAAoB;QACpB;;;;;WAAkC;QAClC;;;;;WAAwB;QACxB;;;;;WAAsB;QACtB;;;;;WAAqB;QACrB;;;;;WAA8B;QAC9B;;;;;WAAoB;QACpB;;;;;WAAgC;QAChC;;;;;WAAoB;QACpB;;;;;WAAqC;QACrC;;;;;WAAkB;QAClB;;;;;WAAyB;QACzB;;;;;WAAqC;QACrC;;;;;WAAoC;QACpC;;;;;WAAmC;QACnC;;;;;WAA6B;QAC7B;;;;;WAAgB;QAChB;;;;;WAA0B;QAC1B;;;;;W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AY,EAAC,GAAG,EAAE,OAAO,CAAC,CAAA;IACnC,CAAC;IAED,uBAAuB,CAAC,GAAoB;QAC1C,OAAO,IAAA,oBAAY,EAAC,GAAG,EAAE,IAAA,oBAAY,EAAC,GAAG,CAAC,CAAC,CAAA;IAC7C,CAAC;IAED,KAAK,CAAC,kBAAkB,CAAC,GAAW,EAAE,GAAW,EAAE,GAAW;QAC5D,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC,CAAA;QAClD,OAAO,IAAA,sCAAwB,EAAC;YAC9B,GAAG,EAAE,GAAG;YACR,GAAG;YACH,GAAG;YACH,OAAO;SACR,CAAC,CAAA;IACJ,CAAC;IAED,KAAK,CAAC,cAAc,CAAC,GAAW,EAAE,GAAW,EAAE,GAAW;QACxD,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC,CAAA;QAClD,OAAO,IAAA,8BAAgB,EAAC;YACtB,GAAG,EAAE,GAAG;YACR,GAAG;YACH,GAAG;YACH,OAAO;SACR,CAAC,CAAA;IACJ,CAAC;CACF;AAjYD,gCAiYC;AAED,MAAM,eAAe,GAAG,CAAC,QAAgB,EAAE,QAAgB,EAAE,EAAE;IAC7D,MAAM,OAAO,GAAG,GAAG,CAAC,QAAQ,CAC1B,GAAG,CAAC,UAAU,CAAC,GAAG,QAAQ,IAAI,QAAQ,EAAE,EAAE,MAAM,CAAC,EACjD,WAAW,CACZ,CAAA;IACD,OAAO,SAAS,OAAO,EAAE,CAAA;AAC3B,CAAC,CAAA;AAED,kBAAe,UAAU,CAAA"}
|
package/dist/lexicon/index.d.ts
CHANGED
@@ -15,6 +15,7 @@ import * as ComAtprotoAdminSendEmail from './types/com/atproto/admin/sendEmail.j
|
|
15
15
|
import * as ComAtprotoAdminUpdateAccountEmail from './types/com/atproto/admin/updateAccountEmail.js';
|
16
16
|
import * as ComAtprotoAdminUpdateAccountHandle from './types/com/atproto/admin/updateAccountHandle.js';
|
17
17
|
import * as ComAtprotoAdminUpdateAccountPassword from './types/com/atproto/admin/updateAccountPassword.js';
|
18
|
+
import * as ComAtprotoAdminUpdateAccountSigningKey from './types/com/atproto/admin/updateAccountSigningKey.js';
|
18
19
|
import * as ComAtprotoAdminUpdateSubjectStatus from './types/com/atproto/admin/updateSubjectStatus.js';
|
19
20
|
import * as ComAtprotoIdentityGetRecommendedDidCredentials from './types/com/atproto/identity/getRecommendedDidCredentials.js';
|
20
21
|
import * as ComAtprotoIdentityRefreshIdentity from './types/com/atproto/identity/refreshIdentity.js';
|
@@ -135,9 +136,13 @@ import * as AppBskyNotificationRegisterPush from './types/app/bsky/notification/
|
|
135
136
|
import * as AppBskyNotificationUpdateSeen from './types/app/bsky/notification/updateSeen.js';
|
136
137
|
import * as AppBskyUnspeccedGetConfig from './types/app/bsky/unspecced/getConfig.js';
|
137
138
|
import * as AppBskyUnspeccedGetPopularFeedGenerators from './types/app/bsky/unspecced/getPopularFeedGenerators.js';
|
139
|
+
import * as AppBskyUnspeccedGetSuggestedStarterPacks from './types/app/bsky/unspecced/getSuggestedStarterPacks.js';
|
140
|
+
import * as AppBskyUnspeccedGetSuggestedStarterPacksSkeleton from './types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.js';
|
138
141
|
import * as AppBskyUnspeccedGetSuggestionsSkeleton from './types/app/bsky/unspecced/getSuggestionsSkeleton.js';
|
139
142
|
import * as AppBskyUnspeccedGetTaggedSuggestions from './types/app/bsky/unspecced/getTaggedSuggestions.js';
|
140
143
|
import * as AppBskyUnspeccedGetTrendingTopics from './types/app/bsky/unspecced/getTrendingTopics.js';
|
144
|
+
import * as AppBskyUnspeccedGetTrends from './types/app/bsky/unspecced/getTrends.js';
|
145
|
+
import * as AppBskyUnspeccedGetTrendsSkeleton from './types/app/bsky/unspecced/getTrendsSkeleton.js';
|
141
146
|
import * as AppBskyUnspeccedSearchActorsSkeleton from './types/app/bsky/unspecced/searchActorsSkeleton.js';
|
142
147
|
import * as AppBskyUnspeccedSearchPostsSkeleton from './types/app/bsky/unspecced/searchPostsSkeleton.js';
|
143
148
|
import * as AppBskyUnspeccedSearchStarterPacksSkeleton from './types/app/bsky/unspecced/searchStarterPacksSkeleton.js';
|
@@ -282,6 +287,7 @@ export declare class ComAtprotoAdminNS {
|
|
282
287
|
updateAccountEmail<AV extends AuthVerifier>(cfg: ConfigOf<AV, ComAtprotoAdminUpdateAccountEmail.Handler<ExtractAuth<AV>>, ComAtprotoAdminUpdateAccountEmail.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
283
288
|
updateAccountHandle<AV extends AuthVerifier>(cfg: ConfigOf<AV, ComAtprotoAdminUpdateAccountHandle.Handler<ExtractAuth<AV>>, ComAtprotoAdminUpdateAccountHandle.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
284
289
|
updateAccountPassword<AV extends AuthVerifier>(cfg: ConfigOf<AV, ComAtprotoAdminUpdateAccountPassword.Handler<ExtractAuth<AV>>, ComAtprotoAdminUpdateAccountPassword.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
290
|
+
updateAccountSigningKey<AV extends AuthVerifier>(cfg: ConfigOf<AV, ComAtprotoAdminUpdateAccountSigningKey.Handler<ExtractAuth<AV>>, ComAtprotoAdminUpdateAccountSigningKey.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
285
291
|
updateSubjectStatus<AV extends AuthVerifier>(cfg: ConfigOf<AV, ComAtprotoAdminUpdateSubjectStatus.Handler<ExtractAuth<AV>>, ComAtprotoAdminUpdateSubjectStatus.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
286
292
|
}
|
287
293
|
export declare class ComAtprotoIdentityNS {
|
@@ -484,9 +490,13 @@ export declare class AppBskyUnspeccedNS {
|
|
484
490
|
constructor(server: Server);
|
485
491
|
getConfig<AV extends AuthVerifier>(cfg: ConfigOf<AV, AppBskyUnspeccedGetConfig.Handler<ExtractAuth<AV>>, AppBskyUnspeccedGetConfig.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
486
492
|
getPopularFeedGenerators<AV extends AuthVerifier>(cfg: ConfigOf<AV, AppBskyUnspeccedGetPopularFeedGenerators.Handler<ExtractAuth<AV>>, AppBskyUnspeccedGetPopularFeedGenerators.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
493
|
+
getSuggestedStarterPacks<AV extends AuthVerifier>(cfg: ConfigOf<AV, AppBskyUnspeccedGetSuggestedStarterPacks.Handler<ExtractAuth<AV>>, AppBskyUnspeccedGetSuggestedStarterPacks.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
494
|
+
getSuggestedStarterPacksSkeleton<AV extends AuthVerifier>(cfg: ConfigOf<AV, AppBskyUnspeccedGetSuggestedStarterPacksSkeleton.Handler<ExtractAuth<AV>>, AppBskyUnspeccedGetSuggestedStarterPacksSkeleton.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
487
495
|
getSuggestionsSkeleton<AV extends AuthVerifier>(cfg: ConfigOf<AV, AppBskyUnspeccedGetSuggestionsSkeleton.Handler<ExtractAuth<AV>>, AppBskyUnspeccedGetSuggestionsSkeleton.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
488
496
|
getTaggedSuggestions<AV extends AuthVerifier>(cfg: ConfigOf<AV, AppBskyUnspeccedGetTaggedSuggestions.Handler<ExtractAuth<AV>>, AppBskyUnspeccedGetTaggedSuggestions.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
489
497
|
getTrendingTopics<AV extends AuthVerifier>(cfg: ConfigOf<AV, AppBskyUnspeccedGetTrendingTopics.Handler<ExtractAuth<AV>>, AppBskyUnspeccedGetTrendingTopics.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
498
|
+
getTrends<AV extends AuthVerifier>(cfg: ConfigOf<AV, AppBskyUnspeccedGetTrends.Handler<ExtractAuth<AV>>, AppBskyUnspeccedGetTrends.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
499
|
+
getTrendsSkeleton<AV extends AuthVerifier>(cfg: ConfigOf<AV, AppBskyUnspeccedGetTrendsSkeleton.Handler<ExtractAuth<AV>>, AppBskyUnspeccedGetTrendsSkeleton.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
490
500
|
searchActorsSkeleton<AV extends AuthVerifier>(cfg: ConfigOf<AV, AppBskyUnspeccedSearchActorsSkeleton.Handler<ExtractAuth<AV>>, AppBskyUnspeccedSearchActorsSkeleton.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
491
501
|
searchPostsSkeleton<AV extends AuthVerifier>(cfg: ConfigOf<AV, AppBskyUnspeccedSearchPostsSkeleton.Handler<ExtractAuth<AV>>, AppBskyUnspeccedSearchPostsSkeleton.HandlerReqCtx<ExtractAuth<AV>>>): void;
|
492
502
|
searchStarterPacksSkeleton<AV extends AuthVerifier>(cfg: ConfigOf<AV, AppBskyUnspeccedSearchStarterPacksSkeleton.Handler<ExtractAuth<AV>>, AppBskyUnspeccedSearchStarterPacksSkeleton.HandlerReqCtx<ExtractAuth<AV>>>): void;
|