techne-sdk 0.12.0 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +40 -0
- package/dist/auth/placement.gen.d.ts +1 -1
- package/dist/auth/placement.gen.js +3 -0
- package/dist/catalog/catalog.gen.d.ts +22 -0
- package/dist/catalog/catalog.gen.js +1522 -44
- package/dist/generated/index.d.ts +141 -0
- package/dist/generated/index.js +186 -0
- package/dist/generated/lexicons.d.ts +840 -54
- package/dist/generated/lexicons.js +466 -18
- package/dist/generated/nsid.d.ts +41 -0
- package/dist/generated/nsid.js +41 -0
- package/dist/generated/nsid.json +41 -0
- package/dist/generated/records.d.ts +134 -124
- package/dist/generated/types/pub/techne/draft/beaconSpotV2.d.ts +23 -0
- package/dist/generated/types/pub/techne/draft/beaconSpotV2.js +12 -0
- package/dist/generated/types/pub/techne/draft/collectiveV2.d.ts +31 -0
- package/dist/generated/types/pub/techne/draft/collectiveV2.js +12 -0
- package/dist/generated/types/pub/techne/draft/locationEntry.d.ts +23 -0
- package/dist/generated/types/pub/techne/draft/locationEntry.js +11 -0
- package/dist/generated/types/pub/techne/draft/org.d.ts +6 -4
- package/dist/generated/types/pub/techne/draft/pendingBeaconSpotV2.d.ts +24 -0
- package/dist/generated/types/pub/techne/draft/pendingBeaconSpotV2.js +12 -0
- package/dist/generated/types/pub/techne/draft/placeV2.d.ts +42 -0
- package/dist/generated/types/pub/techne/draft/placeV2.js +12 -0
- package/dist/generated/types/pub/techne/draft/query/composeRecords.d.ts +6 -2
- package/dist/generated/types/pub/techne/draft/query/countRecords.d.ts +2 -0
- package/dist/generated/types/pub/techne/draft/query/listRecords.d.ts +34 -0
- package/dist/generated/types/pub/techne/draft/query/listRecords.js +14 -0
- package/dist/generated/types/pub/techne/draft/region.d.ts +20 -0
- package/dist/generated/types/pub/techne/draft/region.js +12 -0
- package/dist/generated/types/pub/techne/draft/statement.d.ts +15 -1
- package/dist/generated/types/pub/techne/draft/statement.js +7 -0
- package/dist/query/compose.d.ts +2 -2
- package/dist/query/compose.js +1 -1
- package/dist/query/index.d.ts +19 -1
- package/dist/query/index.js +2 -0
- package/dist/wasm/techne-wasm.gen.js +1 -1
- package/dist/wasm/techne-wasm2js.gen.js +20452 -20454
- package/package.json +1 -1
|
@@ -22,10 +22,12 @@ import * as PubTechneDraftAttentionPrefs from './types/pub/techne/draft/attentio
|
|
|
22
22
|
import * as PubTechneDraftBeacon from './types/pub/techne/draft/beacon.js';
|
|
23
23
|
import * as PubTechneDraftBeaconLists from './types/pub/techne/draft/beaconLists.js';
|
|
24
24
|
import * as PubTechneDraftBeaconSpot from './types/pub/techne/draft/beaconSpot.js';
|
|
25
|
+
import * as PubTechneDraftBeaconSpotV2 from './types/pub/techne/draft/beaconSpotV2.js';
|
|
25
26
|
import * as PubTechneDraftBlock from './types/pub/techne/draft/block.js';
|
|
26
27
|
import * as PubTechneDraftChannelVerification from './types/pub/techne/draft/channelVerification.js';
|
|
27
28
|
import * as PubTechneDraftCircleBeacon from './types/pub/techne/draft/circleBeacon.js';
|
|
28
29
|
import * as PubTechneDraftCollective from './types/pub/techne/draft/collective.js';
|
|
30
|
+
import * as PubTechneDraftCollectiveV2 from './types/pub/techne/draft/collectiveV2.js';
|
|
29
31
|
import * as PubTechneDraftCommonsCreateServiceAccount from './types/pub/techne/draft/commons/createServiceAccount.js';
|
|
30
32
|
import * as PubTechneDraftCommonsGetVersions from './types/pub/techne/draft/commons/getVersions.js';
|
|
31
33
|
import * as PubTechneDraftCommonsMoveAccountHandle from './types/pub/techne/draft/commons/moveAccountHandle.js';
|
|
@@ -89,6 +91,7 @@ import * as PubTechneDraftOrg from './types/pub/techne/draft/org.js';
|
|
|
89
91
|
import * as PubTechneDraftOrgAtPlace from './types/pub/techne/draft/orgAtPlace.js';
|
|
90
92
|
import * as PubTechneDraftPassage from './types/pub/techne/draft/passage.js';
|
|
91
93
|
import * as PubTechneDraftPendingBeaconSpot from './types/pub/techne/draft/pendingBeaconSpot.js';
|
|
94
|
+
import * as PubTechneDraftPendingBeaconSpotV2 from './types/pub/techne/draft/pendingBeaconSpotV2.js';
|
|
92
95
|
import * as PubTechneDraftPermissionedDeleteRecord from './types/pub/techne/draft/permissioned/deleteRecord.js';
|
|
93
96
|
import * as PubTechneDraftPermissionedGetGrants from './types/pub/techne/draft/permissioned/getGrants.js';
|
|
94
97
|
import * as PubTechneDraftPermissionedGetRecord from './types/pub/techne/draft/permissioned/getRecord.js';
|
|
@@ -98,6 +101,7 @@ import * as PubTechneDraftPermissionedPutRecord from './types/pub/techne/draft/p
|
|
|
98
101
|
import * as PubTechneDraftPermissionedPutRecords from './types/pub/techne/draft/permissioned/putRecords.js';
|
|
99
102
|
import * as PubTechneDraftPlace from './types/pub/techne/draft/place.js';
|
|
100
103
|
import * as PubTechneDraftPlaceResearch from './types/pub/techne/draft/placeResearch.js';
|
|
104
|
+
import * as PubTechneDraftPlaceV2 from './types/pub/techne/draft/placeV2.js';
|
|
101
105
|
import * as PubTechneDraftPost from './types/pub/techne/draft/post.js';
|
|
102
106
|
import * as PubTechneDraftPresence from './types/pub/techne/draft/presence.js';
|
|
103
107
|
import * as PubTechneDraftProfile from './types/pub/techne/draft/profile.js';
|
|
@@ -111,6 +115,7 @@ import * as PubTechneDraftQueryListRejections from './types/pub/techne/draft/que
|
|
|
111
115
|
import * as PubTechneDraftQuestionSet from './types/pub/techne/draft/questionSet.js';
|
|
112
116
|
import * as PubTechneDraftReceipt from './types/pub/techne/draft/receipt.js';
|
|
113
117
|
import * as PubTechneDraftReflection from './types/pub/techne/draft/reflection.js';
|
|
118
|
+
import * as PubTechneDraftRegion from './types/pub/techne/draft/region.js';
|
|
114
119
|
import * as PubTechneDraftRegistryBlockIndex from './types/pub/techne/draft/registry/blockIndex.js';
|
|
115
120
|
import * as PubTechneDraftRegistryGetType from './types/pub/techne/draft/registry/getType.js';
|
|
116
121
|
import * as PubTechneDraftRegistryGetTypeRequest from './types/pub/techne/draft/registry/getTypeRequest.js';
|
|
@@ -188,10 +193,12 @@ export * as PubTechneDraftAttentionPrefs from './types/pub/techne/draft/attentio
|
|
|
188
193
|
export * as PubTechneDraftBeacon from './types/pub/techne/draft/beacon.js';
|
|
189
194
|
export * as PubTechneDraftBeaconLists from './types/pub/techne/draft/beaconLists.js';
|
|
190
195
|
export * as PubTechneDraftBeaconSpot from './types/pub/techne/draft/beaconSpot.js';
|
|
196
|
+
export * as PubTechneDraftBeaconSpotV2 from './types/pub/techne/draft/beaconSpotV2.js';
|
|
191
197
|
export * as PubTechneDraftBlock from './types/pub/techne/draft/block.js';
|
|
192
198
|
export * as PubTechneDraftChannelVerification from './types/pub/techne/draft/channelVerification.js';
|
|
193
199
|
export * as PubTechneDraftCircleBeacon from './types/pub/techne/draft/circleBeacon.js';
|
|
194
200
|
export * as PubTechneDraftCollective from './types/pub/techne/draft/collective.js';
|
|
201
|
+
export * as PubTechneDraftCollectiveV2 from './types/pub/techne/draft/collectiveV2.js';
|
|
195
202
|
export * as PubTechneDraftCommonsCreateServiceAccount from './types/pub/techne/draft/commons/createServiceAccount.js';
|
|
196
203
|
export * as PubTechneDraftCommonsGetVersions from './types/pub/techne/draft/commons/getVersions.js';
|
|
197
204
|
export * as PubTechneDraftCommonsMoveAccountHandle from './types/pub/techne/draft/commons/moveAccountHandle.js';
|
|
@@ -247,6 +254,7 @@ export * as PubTechneDraftIdentityWriteAsCollective from './types/pub/techne/dra
|
|
|
247
254
|
export * as PubTechneDraftInterest from './types/pub/techne/draft/interest.js';
|
|
248
255
|
export * as PubTechneDraftIntroProposal from './types/pub/techne/draft/introProposal.js';
|
|
249
256
|
export * as PubTechneDraftInvite from './types/pub/techne/draft/invite.js';
|
|
257
|
+
export * as PubTechneDraftLocationEntry from './types/pub/techne/draft/locationEntry.js';
|
|
250
258
|
export * as PubTechneDraftMarketAsk from './types/pub/techne/draft/market/ask.js';
|
|
251
259
|
export * as PubTechneDraftMarketOffer from './types/pub/techne/draft/market/offer.js';
|
|
252
260
|
export * as PubTechneDraftMembership from './types/pub/techne/draft/membership.js';
|
|
@@ -256,6 +264,7 @@ export * as PubTechneDraftOrg from './types/pub/techne/draft/org.js';
|
|
|
256
264
|
export * as PubTechneDraftOrgAtPlace from './types/pub/techne/draft/orgAtPlace.js';
|
|
257
265
|
export * as PubTechneDraftPassage from './types/pub/techne/draft/passage.js';
|
|
258
266
|
export * as PubTechneDraftPendingBeaconSpot from './types/pub/techne/draft/pendingBeaconSpot.js';
|
|
267
|
+
export * as PubTechneDraftPendingBeaconSpotV2 from './types/pub/techne/draft/pendingBeaconSpotV2.js';
|
|
259
268
|
export * as PubTechneDraftPermissionedDeleteRecord from './types/pub/techne/draft/permissioned/deleteRecord.js';
|
|
260
269
|
export * as PubTechneDraftPermissionedGetGrants from './types/pub/techne/draft/permissioned/getGrants.js';
|
|
261
270
|
export * as PubTechneDraftPermissionedGetRecord from './types/pub/techne/draft/permissioned/getRecord.js';
|
|
@@ -265,6 +274,7 @@ export * as PubTechneDraftPermissionedPutRecord from './types/pub/techne/draft/p
|
|
|
265
274
|
export * as PubTechneDraftPermissionedPutRecords from './types/pub/techne/draft/permissioned/putRecords.js';
|
|
266
275
|
export * as PubTechneDraftPlace from './types/pub/techne/draft/place.js';
|
|
267
276
|
export * as PubTechneDraftPlaceResearch from './types/pub/techne/draft/placeResearch.js';
|
|
277
|
+
export * as PubTechneDraftPlaceV2 from './types/pub/techne/draft/placeV2.js';
|
|
268
278
|
export * as PubTechneDraftPost from './types/pub/techne/draft/post.js';
|
|
269
279
|
export * as PubTechneDraftPresence from './types/pub/techne/draft/presence.js';
|
|
270
280
|
export * as PubTechneDraftProfile from './types/pub/techne/draft/profile.js';
|
|
@@ -278,6 +288,7 @@ export * as PubTechneDraftQueryListRejections from './types/pub/techne/draft/que
|
|
|
278
288
|
export * as PubTechneDraftQuestionSet from './types/pub/techne/draft/questionSet.js';
|
|
279
289
|
export * as PubTechneDraftReceipt from './types/pub/techne/draft/receipt.js';
|
|
280
290
|
export * as PubTechneDraftReflection from './types/pub/techne/draft/reflection.js';
|
|
291
|
+
export * as PubTechneDraftRegion from './types/pub/techne/draft/region.js';
|
|
281
292
|
export * as PubTechneDraftRegistryBlockIndex from './types/pub/techne/draft/registry/blockIndex.js';
|
|
282
293
|
export * as PubTechneDraftRegistryDefs from './types/pub/techne/draft/registry/defs.js';
|
|
283
294
|
export * as PubTechneDraftRegistryGetType from './types/pub/techne/draft/registry/getType.js';
|
|
@@ -538,10 +549,12 @@ export declare class PubTechneDraftNS {
|
|
|
538
549
|
beacon: PubTechneDraftBeaconRecord;
|
|
539
550
|
beaconLists: PubTechneDraftBeaconListsRecord;
|
|
540
551
|
beaconSpot: PubTechneDraftBeaconSpotRecord;
|
|
552
|
+
beaconSpotV2: PubTechneDraftBeaconSpotV2Record;
|
|
541
553
|
block: PubTechneDraftBlockRecord;
|
|
542
554
|
channelVerification: PubTechneDraftChannelVerificationRecord;
|
|
543
555
|
circleBeacon: PubTechneDraftCircleBeaconRecord;
|
|
544
556
|
collective: PubTechneDraftCollectiveRecord;
|
|
557
|
+
collectiveV2: PubTechneDraftCollectiveV2Record;
|
|
545
558
|
connection: PubTechneDraftConnectionRecord;
|
|
546
559
|
contact: PubTechneDraftContactRecord;
|
|
547
560
|
contactChannel: PubTechneDraftContactChannelRecord;
|
|
@@ -566,8 +579,10 @@ export declare class PubTechneDraftNS {
|
|
|
566
579
|
orgAtPlace: PubTechneDraftOrgAtPlaceRecord;
|
|
567
580
|
passage: PubTechneDraftPassageRecord;
|
|
568
581
|
pendingBeaconSpot: PubTechneDraftPendingBeaconSpotRecord;
|
|
582
|
+
pendingBeaconSpotV2: PubTechneDraftPendingBeaconSpotV2Record;
|
|
569
583
|
place: PubTechneDraftPlaceRecord;
|
|
570
584
|
placeResearch: PubTechneDraftPlaceResearchRecord;
|
|
585
|
+
placeV2: PubTechneDraftPlaceV2Record;
|
|
571
586
|
post: PubTechneDraftPostRecord;
|
|
572
587
|
presence: PubTechneDraftPresenceRecord;
|
|
573
588
|
profile: PubTechneDraftProfileRecord;
|
|
@@ -576,6 +591,7 @@ export declare class PubTechneDraftNS {
|
|
|
576
591
|
questionSet: PubTechneDraftQuestionSetRecord;
|
|
577
592
|
receipt: PubTechneDraftReceiptRecord;
|
|
578
593
|
reflection: PubTechneDraftReflectionRecord;
|
|
594
|
+
region: PubTechneDraftRegionRecord;
|
|
579
595
|
retirement: PubTechneDraftRetirementRecord;
|
|
580
596
|
rsvpNote: PubTechneDraftRsvpNoteRecord;
|
|
581
597
|
sameAs: PubTechneDraftSameAsRecord;
|
|
@@ -1261,6 +1277,31 @@ export declare class PubTechneDraftBeaconSpotRecord {
|
|
|
1261
1277
|
}>;
|
|
1262
1278
|
delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
1263
1279
|
}
|
|
1280
|
+
export declare class PubTechneDraftBeaconSpotV2Record {
|
|
1281
|
+
_client: XrpcClient;
|
|
1282
|
+
constructor(client: XrpcClient);
|
|
1283
|
+
list(params: OmitKey<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
|
|
1284
|
+
cursor?: string;
|
|
1285
|
+
records: {
|
|
1286
|
+
uri: string;
|
|
1287
|
+
value: PubTechneDraftBeaconSpotV2.Record;
|
|
1288
|
+
}[];
|
|
1289
|
+
}>;
|
|
1290
|
+
get(params: OmitKey<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
|
|
1291
|
+
uri: string;
|
|
1292
|
+
cid: string;
|
|
1293
|
+
value: PubTechneDraftBeaconSpotV2.Record;
|
|
1294
|
+
}>;
|
|
1295
|
+
create(params: OmitKey<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<PubTechneDraftBeaconSpotV2.Record>, headers?: Record<string, string>): Promise<{
|
|
1296
|
+
uri: string;
|
|
1297
|
+
cid: string;
|
|
1298
|
+
}>;
|
|
1299
|
+
put(params: OmitKey<ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<PubTechneDraftBeaconSpotV2.Record>, headers?: Record<string, string>): Promise<{
|
|
1300
|
+
uri: string;
|
|
1301
|
+
cid: string;
|
|
1302
|
+
}>;
|
|
1303
|
+
delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
1304
|
+
}
|
|
1264
1305
|
export declare class PubTechneDraftBlockRecord {
|
|
1265
1306
|
_client: XrpcClient;
|
|
1266
1307
|
constructor(client: XrpcClient);
|
|
@@ -1361,6 +1402,31 @@ export declare class PubTechneDraftCollectiveRecord {
|
|
|
1361
1402
|
}>;
|
|
1362
1403
|
delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
1363
1404
|
}
|
|
1405
|
+
export declare class PubTechneDraftCollectiveV2Record {
|
|
1406
|
+
_client: XrpcClient;
|
|
1407
|
+
constructor(client: XrpcClient);
|
|
1408
|
+
list(params: OmitKey<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
|
|
1409
|
+
cursor?: string;
|
|
1410
|
+
records: {
|
|
1411
|
+
uri: string;
|
|
1412
|
+
value: PubTechneDraftCollectiveV2.Record;
|
|
1413
|
+
}[];
|
|
1414
|
+
}>;
|
|
1415
|
+
get(params: OmitKey<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
|
|
1416
|
+
uri: string;
|
|
1417
|
+
cid: string;
|
|
1418
|
+
value: PubTechneDraftCollectiveV2.Record;
|
|
1419
|
+
}>;
|
|
1420
|
+
create(params: OmitKey<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<PubTechneDraftCollectiveV2.Record>, headers?: Record<string, string>): Promise<{
|
|
1421
|
+
uri: string;
|
|
1422
|
+
cid: string;
|
|
1423
|
+
}>;
|
|
1424
|
+
put(params: OmitKey<ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<PubTechneDraftCollectiveV2.Record>, headers?: Record<string, string>): Promise<{
|
|
1425
|
+
uri: string;
|
|
1426
|
+
cid: string;
|
|
1427
|
+
}>;
|
|
1428
|
+
delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
1429
|
+
}
|
|
1364
1430
|
export declare class PubTechneDraftConnectionRecord {
|
|
1365
1431
|
_client: XrpcClient;
|
|
1366
1432
|
constructor(client: XrpcClient);
|
|
@@ -1961,6 +2027,31 @@ export declare class PubTechneDraftPendingBeaconSpotRecord {
|
|
|
1961
2027
|
}>;
|
|
1962
2028
|
delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
1963
2029
|
}
|
|
2030
|
+
export declare class PubTechneDraftPendingBeaconSpotV2Record {
|
|
2031
|
+
_client: XrpcClient;
|
|
2032
|
+
constructor(client: XrpcClient);
|
|
2033
|
+
list(params: OmitKey<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
|
|
2034
|
+
cursor?: string;
|
|
2035
|
+
records: {
|
|
2036
|
+
uri: string;
|
|
2037
|
+
value: PubTechneDraftPendingBeaconSpotV2.Record;
|
|
2038
|
+
}[];
|
|
2039
|
+
}>;
|
|
2040
|
+
get(params: OmitKey<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
|
|
2041
|
+
uri: string;
|
|
2042
|
+
cid: string;
|
|
2043
|
+
value: PubTechneDraftPendingBeaconSpotV2.Record;
|
|
2044
|
+
}>;
|
|
2045
|
+
create(params: OmitKey<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<PubTechneDraftPendingBeaconSpotV2.Record>, headers?: Record<string, string>): Promise<{
|
|
2046
|
+
uri: string;
|
|
2047
|
+
cid: string;
|
|
2048
|
+
}>;
|
|
2049
|
+
put(params: OmitKey<ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<PubTechneDraftPendingBeaconSpotV2.Record>, headers?: Record<string, string>): Promise<{
|
|
2050
|
+
uri: string;
|
|
2051
|
+
cid: string;
|
|
2052
|
+
}>;
|
|
2053
|
+
delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
2054
|
+
}
|
|
1964
2055
|
export declare class PubTechneDraftPlaceRecord {
|
|
1965
2056
|
_client: XrpcClient;
|
|
1966
2057
|
constructor(client: XrpcClient);
|
|
@@ -2011,6 +2102,31 @@ export declare class PubTechneDraftPlaceResearchRecord {
|
|
|
2011
2102
|
}>;
|
|
2012
2103
|
delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
2013
2104
|
}
|
|
2105
|
+
export declare class PubTechneDraftPlaceV2Record {
|
|
2106
|
+
_client: XrpcClient;
|
|
2107
|
+
constructor(client: XrpcClient);
|
|
2108
|
+
list(params: OmitKey<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
|
|
2109
|
+
cursor?: string;
|
|
2110
|
+
records: {
|
|
2111
|
+
uri: string;
|
|
2112
|
+
value: PubTechneDraftPlaceV2.Record;
|
|
2113
|
+
}[];
|
|
2114
|
+
}>;
|
|
2115
|
+
get(params: OmitKey<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
|
|
2116
|
+
uri: string;
|
|
2117
|
+
cid: string;
|
|
2118
|
+
value: PubTechneDraftPlaceV2.Record;
|
|
2119
|
+
}>;
|
|
2120
|
+
create(params: OmitKey<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<PubTechneDraftPlaceV2.Record>, headers?: Record<string, string>): Promise<{
|
|
2121
|
+
uri: string;
|
|
2122
|
+
cid: string;
|
|
2123
|
+
}>;
|
|
2124
|
+
put(params: OmitKey<ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<PubTechneDraftPlaceV2.Record>, headers?: Record<string, string>): Promise<{
|
|
2125
|
+
uri: string;
|
|
2126
|
+
cid: string;
|
|
2127
|
+
}>;
|
|
2128
|
+
delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
2129
|
+
}
|
|
2014
2130
|
export declare class PubTechneDraftPostRecord {
|
|
2015
2131
|
_client: XrpcClient;
|
|
2016
2132
|
constructor(client: XrpcClient);
|
|
@@ -2211,6 +2327,31 @@ export declare class PubTechneDraftReflectionRecord {
|
|
|
2211
2327
|
}>;
|
|
2212
2328
|
delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
2213
2329
|
}
|
|
2330
|
+
export declare class PubTechneDraftRegionRecord {
|
|
2331
|
+
_client: XrpcClient;
|
|
2332
|
+
constructor(client: XrpcClient);
|
|
2333
|
+
list(params: OmitKey<ComAtprotoRepoListRecords.QueryParams, 'collection'>): Promise<{
|
|
2334
|
+
cursor?: string;
|
|
2335
|
+
records: {
|
|
2336
|
+
uri: string;
|
|
2337
|
+
value: PubTechneDraftRegion.Record;
|
|
2338
|
+
}[];
|
|
2339
|
+
}>;
|
|
2340
|
+
get(params: OmitKey<ComAtprotoRepoGetRecord.QueryParams, 'collection'>): Promise<{
|
|
2341
|
+
uri: string;
|
|
2342
|
+
cid: string;
|
|
2343
|
+
value: PubTechneDraftRegion.Record;
|
|
2344
|
+
}>;
|
|
2345
|
+
create(params: OmitKey<ComAtprotoRepoCreateRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<PubTechneDraftRegion.Record>, headers?: Record<string, string>): Promise<{
|
|
2346
|
+
uri: string;
|
|
2347
|
+
cid: string;
|
|
2348
|
+
}>;
|
|
2349
|
+
put(params: OmitKey<ComAtprotoRepoPutRecord.InputSchema, 'collection' | 'record'>, record: Un$Typed<PubTechneDraftRegion.Record>, headers?: Record<string, string>): Promise<{
|
|
2350
|
+
uri: string;
|
|
2351
|
+
cid: string;
|
|
2352
|
+
}>;
|
|
2353
|
+
delete(params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>, headers?: Record<string, string>): Promise<void>;
|
|
2354
|
+
}
|
|
2214
2355
|
export declare class PubTechneDraftRetirementRecord {
|
|
2215
2356
|
_client: XrpcClient;
|
|
2216
2357
|
constructor(client: XrpcClient);
|
package/dist/generated/index.js
CHANGED
|
@@ -106,10 +106,12 @@ export * as PubTechneDraftAttentionPrefs from './types/pub/techne/draft/attentio
|
|
|
106
106
|
export * as PubTechneDraftBeacon from './types/pub/techne/draft/beacon.js';
|
|
107
107
|
export * as PubTechneDraftBeaconLists from './types/pub/techne/draft/beaconLists.js';
|
|
108
108
|
export * as PubTechneDraftBeaconSpot from './types/pub/techne/draft/beaconSpot.js';
|
|
109
|
+
export * as PubTechneDraftBeaconSpotV2 from './types/pub/techne/draft/beaconSpotV2.js';
|
|
109
110
|
export * as PubTechneDraftBlock from './types/pub/techne/draft/block.js';
|
|
110
111
|
export * as PubTechneDraftChannelVerification from './types/pub/techne/draft/channelVerification.js';
|
|
111
112
|
export * as PubTechneDraftCircleBeacon from './types/pub/techne/draft/circleBeacon.js';
|
|
112
113
|
export * as PubTechneDraftCollective from './types/pub/techne/draft/collective.js';
|
|
114
|
+
export * as PubTechneDraftCollectiveV2 from './types/pub/techne/draft/collectiveV2.js';
|
|
113
115
|
export * as PubTechneDraftCommonsCreateServiceAccount from './types/pub/techne/draft/commons/createServiceAccount.js';
|
|
114
116
|
export * as PubTechneDraftCommonsGetVersions from './types/pub/techne/draft/commons/getVersions.js';
|
|
115
117
|
export * as PubTechneDraftCommonsMoveAccountHandle from './types/pub/techne/draft/commons/moveAccountHandle.js';
|
|
@@ -165,6 +167,7 @@ export * as PubTechneDraftIdentityWriteAsCollective from './types/pub/techne/dra
|
|
|
165
167
|
export * as PubTechneDraftInterest from './types/pub/techne/draft/interest.js';
|
|
166
168
|
export * as PubTechneDraftIntroProposal from './types/pub/techne/draft/introProposal.js';
|
|
167
169
|
export * as PubTechneDraftInvite from './types/pub/techne/draft/invite.js';
|
|
170
|
+
export * as PubTechneDraftLocationEntry from './types/pub/techne/draft/locationEntry.js';
|
|
168
171
|
export * as PubTechneDraftMarketAsk from './types/pub/techne/draft/market/ask.js';
|
|
169
172
|
export * as PubTechneDraftMarketOffer from './types/pub/techne/draft/market/offer.js';
|
|
170
173
|
export * as PubTechneDraftMembership from './types/pub/techne/draft/membership.js';
|
|
@@ -174,6 +177,7 @@ export * as PubTechneDraftOrg from './types/pub/techne/draft/org.js';
|
|
|
174
177
|
export * as PubTechneDraftOrgAtPlace from './types/pub/techne/draft/orgAtPlace.js';
|
|
175
178
|
export * as PubTechneDraftPassage from './types/pub/techne/draft/passage.js';
|
|
176
179
|
export * as PubTechneDraftPendingBeaconSpot from './types/pub/techne/draft/pendingBeaconSpot.js';
|
|
180
|
+
export * as PubTechneDraftPendingBeaconSpotV2 from './types/pub/techne/draft/pendingBeaconSpotV2.js';
|
|
177
181
|
export * as PubTechneDraftPermissionedDeleteRecord from './types/pub/techne/draft/permissioned/deleteRecord.js';
|
|
178
182
|
export * as PubTechneDraftPermissionedGetGrants from './types/pub/techne/draft/permissioned/getGrants.js';
|
|
179
183
|
export * as PubTechneDraftPermissionedGetRecord from './types/pub/techne/draft/permissioned/getRecord.js';
|
|
@@ -183,6 +187,7 @@ export * as PubTechneDraftPermissionedPutRecord from './types/pub/techne/draft/p
|
|
|
183
187
|
export * as PubTechneDraftPermissionedPutRecords from './types/pub/techne/draft/permissioned/putRecords.js';
|
|
184
188
|
export * as PubTechneDraftPlace from './types/pub/techne/draft/place.js';
|
|
185
189
|
export * as PubTechneDraftPlaceResearch from './types/pub/techne/draft/placeResearch.js';
|
|
190
|
+
export * as PubTechneDraftPlaceV2 from './types/pub/techne/draft/placeV2.js';
|
|
186
191
|
export * as PubTechneDraftPost from './types/pub/techne/draft/post.js';
|
|
187
192
|
export * as PubTechneDraftPresence from './types/pub/techne/draft/presence.js';
|
|
188
193
|
export * as PubTechneDraftProfile from './types/pub/techne/draft/profile.js';
|
|
@@ -196,6 +201,7 @@ export * as PubTechneDraftQueryListRejections from './types/pub/techne/draft/que
|
|
|
196
201
|
export * as PubTechneDraftQuestionSet from './types/pub/techne/draft/questionSet.js';
|
|
197
202
|
export * as PubTechneDraftReceipt from './types/pub/techne/draft/receipt.js';
|
|
198
203
|
export * as PubTechneDraftReflection from './types/pub/techne/draft/reflection.js';
|
|
204
|
+
export * as PubTechneDraftRegion from './types/pub/techne/draft/region.js';
|
|
199
205
|
export * as PubTechneDraftRegistryBlockIndex from './types/pub/techne/draft/registry/blockIndex.js';
|
|
200
206
|
export * as PubTechneDraftRegistryDefs from './types/pub/techne/draft/registry/defs.js';
|
|
201
207
|
export * as PubTechneDraftRegistryGetType from './types/pub/techne/draft/registry/getType.js';
|
|
@@ -580,10 +586,12 @@ export class PubTechneDraftNS {
|
|
|
580
586
|
beacon;
|
|
581
587
|
beaconLists;
|
|
582
588
|
beaconSpot;
|
|
589
|
+
beaconSpotV2;
|
|
583
590
|
block;
|
|
584
591
|
channelVerification;
|
|
585
592
|
circleBeacon;
|
|
586
593
|
collective;
|
|
594
|
+
collectiveV2;
|
|
587
595
|
connection;
|
|
588
596
|
contact;
|
|
589
597
|
contactChannel;
|
|
@@ -608,8 +616,10 @@ export class PubTechneDraftNS {
|
|
|
608
616
|
orgAtPlace;
|
|
609
617
|
passage;
|
|
610
618
|
pendingBeaconSpot;
|
|
619
|
+
pendingBeaconSpotV2;
|
|
611
620
|
place;
|
|
612
621
|
placeResearch;
|
|
622
|
+
placeV2;
|
|
613
623
|
post;
|
|
614
624
|
presence;
|
|
615
625
|
profile;
|
|
@@ -618,6 +628,7 @@ export class PubTechneDraftNS {
|
|
|
618
628
|
questionSet;
|
|
619
629
|
receipt;
|
|
620
630
|
reflection;
|
|
631
|
+
region;
|
|
621
632
|
retirement;
|
|
622
633
|
rsvpNote;
|
|
623
634
|
sameAs;
|
|
@@ -667,10 +678,12 @@ export class PubTechneDraftNS {
|
|
|
667
678
|
this.beacon = new PubTechneDraftBeaconRecord(client);
|
|
668
679
|
this.beaconLists = new PubTechneDraftBeaconListsRecord(client);
|
|
669
680
|
this.beaconSpot = new PubTechneDraftBeaconSpotRecord(client);
|
|
681
|
+
this.beaconSpotV2 = new PubTechneDraftBeaconSpotV2Record(client);
|
|
670
682
|
this.block = new PubTechneDraftBlockRecord(client);
|
|
671
683
|
this.channelVerification = new PubTechneDraftChannelVerificationRecord(client);
|
|
672
684
|
this.circleBeacon = new PubTechneDraftCircleBeaconRecord(client);
|
|
673
685
|
this.collective = new PubTechneDraftCollectiveRecord(client);
|
|
686
|
+
this.collectiveV2 = new PubTechneDraftCollectiveV2Record(client);
|
|
674
687
|
this.connection = new PubTechneDraftConnectionRecord(client);
|
|
675
688
|
this.contact = new PubTechneDraftContactRecord(client);
|
|
676
689
|
this.contactChannel = new PubTechneDraftContactChannelRecord(client);
|
|
@@ -695,8 +708,10 @@ export class PubTechneDraftNS {
|
|
|
695
708
|
this.orgAtPlace = new PubTechneDraftOrgAtPlaceRecord(client);
|
|
696
709
|
this.passage = new PubTechneDraftPassageRecord(client);
|
|
697
710
|
this.pendingBeaconSpot = new PubTechneDraftPendingBeaconSpotRecord(client);
|
|
711
|
+
this.pendingBeaconSpotV2 = new PubTechneDraftPendingBeaconSpotV2Record(client);
|
|
698
712
|
this.place = new PubTechneDraftPlaceRecord(client);
|
|
699
713
|
this.placeResearch = new PubTechneDraftPlaceResearchRecord(client);
|
|
714
|
+
this.placeV2 = new PubTechneDraftPlaceV2Record(client);
|
|
700
715
|
this.post = new PubTechneDraftPostRecord(client);
|
|
701
716
|
this.presence = new PubTechneDraftPresenceRecord(client);
|
|
702
717
|
this.profile = new PubTechneDraftProfileRecord(client);
|
|
@@ -705,6 +720,7 @@ export class PubTechneDraftNS {
|
|
|
705
720
|
this.questionSet = new PubTechneDraftQuestionSetRecord(client);
|
|
706
721
|
this.receipt = new PubTechneDraftReceiptRecord(client);
|
|
707
722
|
this.reflection = new PubTechneDraftReflectionRecord(client);
|
|
723
|
+
this.region = new PubTechneDraftRegionRecord(client);
|
|
708
724
|
this.retirement = new PubTechneDraftRetirementRecord(client);
|
|
709
725
|
this.rsvpNote = new PubTechneDraftRsvpNoteRecord(client);
|
|
710
726
|
this.sameAs = new PubTechneDraftSameAsRecord(client);
|
|
@@ -1913,6 +1929,39 @@ export class PubTechneDraftBeaconSpotRecord {
|
|
|
1913
1929
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.beaconSpot', ...params }, { headers });
|
|
1914
1930
|
}
|
|
1915
1931
|
}
|
|
1932
|
+
export class PubTechneDraftBeaconSpotV2Record {
|
|
1933
|
+
_client;
|
|
1934
|
+
constructor(client) {
|
|
1935
|
+
this._client = client;
|
|
1936
|
+
}
|
|
1937
|
+
async list(params) {
|
|
1938
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
1939
|
+
collection: 'pub.techne.draft.beaconSpotV2',
|
|
1940
|
+
...params,
|
|
1941
|
+
});
|
|
1942
|
+
return res.data;
|
|
1943
|
+
}
|
|
1944
|
+
async get(params) {
|
|
1945
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
1946
|
+
collection: 'pub.techne.draft.beaconSpotV2',
|
|
1947
|
+
...params,
|
|
1948
|
+
});
|
|
1949
|
+
return res.data;
|
|
1950
|
+
}
|
|
1951
|
+
async create(params, record, headers) {
|
|
1952
|
+
const collection = 'pub.techne.draft.beaconSpotV2';
|
|
1953
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1954
|
+
return res.data;
|
|
1955
|
+
}
|
|
1956
|
+
async put(params, record, headers) {
|
|
1957
|
+
const collection = 'pub.techne.draft.beaconSpotV2';
|
|
1958
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
1959
|
+
return res.data;
|
|
1960
|
+
}
|
|
1961
|
+
async delete(params, headers) {
|
|
1962
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.beaconSpotV2', ...params }, { headers });
|
|
1963
|
+
}
|
|
1964
|
+
}
|
|
1916
1965
|
export class PubTechneDraftBlockRecord {
|
|
1917
1966
|
_client;
|
|
1918
1967
|
constructor(client) {
|
|
@@ -2050,6 +2099,44 @@ export class PubTechneDraftCollectiveRecord {
|
|
|
2050
2099
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.collective', ...params }, { headers });
|
|
2051
2100
|
}
|
|
2052
2101
|
}
|
|
2102
|
+
export class PubTechneDraftCollectiveV2Record {
|
|
2103
|
+
_client;
|
|
2104
|
+
constructor(client) {
|
|
2105
|
+
this._client = client;
|
|
2106
|
+
}
|
|
2107
|
+
async list(params) {
|
|
2108
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
2109
|
+
collection: 'pub.techne.draft.collectiveV2',
|
|
2110
|
+
...params,
|
|
2111
|
+
});
|
|
2112
|
+
return res.data;
|
|
2113
|
+
}
|
|
2114
|
+
async get(params) {
|
|
2115
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
2116
|
+
collection: 'pub.techne.draft.collectiveV2',
|
|
2117
|
+
...params,
|
|
2118
|
+
});
|
|
2119
|
+
return res.data;
|
|
2120
|
+
}
|
|
2121
|
+
async create(params, record, headers) {
|
|
2122
|
+
const collection = 'pub.techne.draft.collectiveV2';
|
|
2123
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, {
|
|
2124
|
+
collection,
|
|
2125
|
+
rkey: 'self',
|
|
2126
|
+
...params,
|
|
2127
|
+
record: { ...record, $type: collection },
|
|
2128
|
+
}, { encoding: 'application/json', headers });
|
|
2129
|
+
return res.data;
|
|
2130
|
+
}
|
|
2131
|
+
async put(params, record, headers) {
|
|
2132
|
+
const collection = 'pub.techne.draft.collectiveV2';
|
|
2133
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2134
|
+
return res.data;
|
|
2135
|
+
}
|
|
2136
|
+
async delete(params, headers) {
|
|
2137
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.collectiveV2', ...params }, { headers });
|
|
2138
|
+
}
|
|
2139
|
+
}
|
|
2053
2140
|
export class PubTechneDraftConnectionRecord {
|
|
2054
2141
|
_client;
|
|
2055
2142
|
constructor(client) {
|
|
@@ -2847,6 +2934,39 @@ export class PubTechneDraftPendingBeaconSpotRecord {
|
|
|
2847
2934
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.pendingBeaconSpot', ...params }, { headers });
|
|
2848
2935
|
}
|
|
2849
2936
|
}
|
|
2937
|
+
export class PubTechneDraftPendingBeaconSpotV2Record {
|
|
2938
|
+
_client;
|
|
2939
|
+
constructor(client) {
|
|
2940
|
+
this._client = client;
|
|
2941
|
+
}
|
|
2942
|
+
async list(params) {
|
|
2943
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
2944
|
+
collection: 'pub.techne.draft.pendingBeaconSpotV2',
|
|
2945
|
+
...params,
|
|
2946
|
+
});
|
|
2947
|
+
return res.data;
|
|
2948
|
+
}
|
|
2949
|
+
async get(params) {
|
|
2950
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
2951
|
+
collection: 'pub.techne.draft.pendingBeaconSpotV2',
|
|
2952
|
+
...params,
|
|
2953
|
+
});
|
|
2954
|
+
return res.data;
|
|
2955
|
+
}
|
|
2956
|
+
async create(params, record, headers) {
|
|
2957
|
+
const collection = 'pub.techne.draft.pendingBeaconSpotV2';
|
|
2958
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2959
|
+
return res.data;
|
|
2960
|
+
}
|
|
2961
|
+
async put(params, record, headers) {
|
|
2962
|
+
const collection = 'pub.techne.draft.pendingBeaconSpotV2';
|
|
2963
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
2964
|
+
return res.data;
|
|
2965
|
+
}
|
|
2966
|
+
async delete(params, headers) {
|
|
2967
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.pendingBeaconSpotV2', ...params }, { headers });
|
|
2968
|
+
}
|
|
2969
|
+
}
|
|
2850
2970
|
export class PubTechneDraftPlaceRecord {
|
|
2851
2971
|
_client;
|
|
2852
2972
|
constructor(client) {
|
|
@@ -2913,6 +3033,39 @@ export class PubTechneDraftPlaceResearchRecord {
|
|
|
2913
3033
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.placeResearch', ...params }, { headers });
|
|
2914
3034
|
}
|
|
2915
3035
|
}
|
|
3036
|
+
export class PubTechneDraftPlaceV2Record {
|
|
3037
|
+
_client;
|
|
3038
|
+
constructor(client) {
|
|
3039
|
+
this._client = client;
|
|
3040
|
+
}
|
|
3041
|
+
async list(params) {
|
|
3042
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
3043
|
+
collection: 'pub.techne.draft.placeV2',
|
|
3044
|
+
...params,
|
|
3045
|
+
});
|
|
3046
|
+
return res.data;
|
|
3047
|
+
}
|
|
3048
|
+
async get(params) {
|
|
3049
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
3050
|
+
collection: 'pub.techne.draft.placeV2',
|
|
3051
|
+
...params,
|
|
3052
|
+
});
|
|
3053
|
+
return res.data;
|
|
3054
|
+
}
|
|
3055
|
+
async create(params, record, headers) {
|
|
3056
|
+
const collection = 'pub.techne.draft.placeV2';
|
|
3057
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
3058
|
+
return res.data;
|
|
3059
|
+
}
|
|
3060
|
+
async put(params, record, headers) {
|
|
3061
|
+
const collection = 'pub.techne.draft.placeV2';
|
|
3062
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
3063
|
+
return res.data;
|
|
3064
|
+
}
|
|
3065
|
+
async delete(params, headers) {
|
|
3066
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.placeV2', ...params }, { headers });
|
|
3067
|
+
}
|
|
3068
|
+
}
|
|
2916
3069
|
export class PubTechneDraftPostRecord {
|
|
2917
3070
|
_client;
|
|
2918
3071
|
constructor(client) {
|
|
@@ -3182,6 +3335,39 @@ export class PubTechneDraftReflectionRecord {
|
|
|
3182
3335
|
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.reflection', ...params }, { headers });
|
|
3183
3336
|
}
|
|
3184
3337
|
}
|
|
3338
|
+
export class PubTechneDraftRegionRecord {
|
|
3339
|
+
_client;
|
|
3340
|
+
constructor(client) {
|
|
3341
|
+
this._client = client;
|
|
3342
|
+
}
|
|
3343
|
+
async list(params) {
|
|
3344
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
3345
|
+
collection: 'pub.techne.draft.region',
|
|
3346
|
+
...params,
|
|
3347
|
+
});
|
|
3348
|
+
return res.data;
|
|
3349
|
+
}
|
|
3350
|
+
async get(params) {
|
|
3351
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
3352
|
+
collection: 'pub.techne.draft.region',
|
|
3353
|
+
...params,
|
|
3354
|
+
});
|
|
3355
|
+
return res.data;
|
|
3356
|
+
}
|
|
3357
|
+
async create(params, record, headers) {
|
|
3358
|
+
const collection = 'pub.techne.draft.region';
|
|
3359
|
+
const res = await this._client.call('com.atproto.repo.createRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
3360
|
+
return res.data;
|
|
3361
|
+
}
|
|
3362
|
+
async put(params, record, headers) {
|
|
3363
|
+
const collection = 'pub.techne.draft.region';
|
|
3364
|
+
const res = await this._client.call('com.atproto.repo.putRecord', undefined, { collection, ...params, record: { ...record, $type: collection } }, { encoding: 'application/json', headers });
|
|
3365
|
+
return res.data;
|
|
3366
|
+
}
|
|
3367
|
+
async delete(params, headers) {
|
|
3368
|
+
await this._client.call('com.atproto.repo.deleteRecord', undefined, { collection: 'pub.techne.draft.region', ...params }, { headers });
|
|
3369
|
+
}
|
|
3370
|
+
}
|
|
3185
3371
|
export class PubTechneDraftRetirementRecord {
|
|
3186
3372
|
_client;
|
|
3187
3373
|
constructor(client) {
|