@atproto/api 0.4.3 → 0.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/lexicons.d.ts +14 -0
- package/dist/client/types/com/atproto/admin/defs.d.ts +2 -0
- package/dist/client/types/com/atproto/admin/disableAccountInvites.d.ts +1 -0
- package/dist/client/types/com/atproto/admin/enableAccountInvites.d.ts +1 -0
- package/dist/index.js +17 -3
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
- package/src/client/lexicons.ts +16 -0
- package/src/client/types/com/atproto/admin/defs.ts +2 -0
- package/src/client/types/com/atproto/admin/disableAccountInvites.ts +2 -0
- package/src/client/types/com/atproto/admin/enableAccountInvites.ts +2 -0
- package/tsconfig.build.tsbuildinfo +1 -1
|
@@ -276,6 +276,9 @@ export declare const schemaDict: {
|
|
|
276
276
|
invitesDisabled: {
|
|
277
277
|
type: string;
|
|
278
278
|
};
|
|
279
|
+
inviteNote: {
|
|
280
|
+
type: string;
|
|
281
|
+
};
|
|
279
282
|
};
|
|
280
283
|
};
|
|
281
284
|
repoViewDetail: {
|
|
@@ -328,6 +331,9 @@ export declare const schemaDict: {
|
|
|
328
331
|
invitesDisabled: {
|
|
329
332
|
type: string;
|
|
330
333
|
};
|
|
334
|
+
inviteNote: {
|
|
335
|
+
type: string;
|
|
336
|
+
};
|
|
331
337
|
};
|
|
332
338
|
};
|
|
333
339
|
repoViewNotFound: {
|
|
@@ -547,6 +553,10 @@ export declare const schemaDict: {
|
|
|
547
553
|
type: string;
|
|
548
554
|
format: string;
|
|
549
555
|
};
|
|
556
|
+
note: {
|
|
557
|
+
type: string;
|
|
558
|
+
description: string;
|
|
559
|
+
};
|
|
550
560
|
};
|
|
551
561
|
};
|
|
552
562
|
};
|
|
@@ -600,6 +610,10 @@ export declare const schemaDict: {
|
|
|
600
610
|
type: string;
|
|
601
611
|
format: string;
|
|
602
612
|
};
|
|
613
|
+
note: {
|
|
614
|
+
type: string;
|
|
615
|
+
description: string;
|
|
616
|
+
};
|
|
603
617
|
};
|
|
604
618
|
};
|
|
605
619
|
};
|
|
@@ -101,6 +101,7 @@ export interface RepoView {
|
|
|
101
101
|
moderation: Moderation;
|
|
102
102
|
invitedBy?: ComAtprotoServerDefs.InviteCode;
|
|
103
103
|
invitesDisabled?: boolean;
|
|
104
|
+
inviteNote?: string;
|
|
104
105
|
[k: string]: unknown;
|
|
105
106
|
}
|
|
106
107
|
export declare function isRepoView(v: unknown): v is RepoView;
|
|
@@ -116,6 +117,7 @@ export interface RepoViewDetail {
|
|
|
116
117
|
invitedBy?: ComAtprotoServerDefs.InviteCode;
|
|
117
118
|
invites?: ComAtprotoServerDefs.InviteCode[];
|
|
118
119
|
invitesDisabled?: boolean;
|
|
120
|
+
inviteNote?: string;
|
|
119
121
|
[k: string]: unknown;
|
|
120
122
|
}
|
|
121
123
|
export declare function isRepoViewDetail(v: unknown): v is RepoViewDetail;
|
package/dist/index.js
CHANGED
|
@@ -15395,7 +15395,7 @@ var ResponseType = /* @__PURE__ */ ((ResponseType2) => {
|
|
|
15395
15395
|
ResponseType2[ResponseType2["InternalServerError"] = 500] = "InternalServerError";
|
|
15396
15396
|
ResponseType2[ResponseType2["MethodNotImplemented"] = 501] = "MethodNotImplemented";
|
|
15397
15397
|
ResponseType2[ResponseType2["UpstreamFailure"] = 502] = "UpstreamFailure";
|
|
15398
|
-
ResponseType2[ResponseType2["
|
|
15398
|
+
ResponseType2[ResponseType2["NotEnoughResources"] = 503] = "NotEnoughResources";
|
|
15399
15399
|
ResponseType2[ResponseType2["UpstreamTimeout"] = 504] = "UpstreamTimeout";
|
|
15400
15400
|
return ResponseType2;
|
|
15401
15401
|
})(ResponseType || {});
|
|
@@ -15411,7 +15411,7 @@ var ResponseTypeNames = {
|
|
|
15411
15411
|
[500 /* InternalServerError */]: "InternalServerError",
|
|
15412
15412
|
[501 /* MethodNotImplemented */]: "MethodNotImplemented",
|
|
15413
15413
|
[502 /* UpstreamFailure */]: "UpstreamFailure",
|
|
15414
|
-
[503 /*
|
|
15414
|
+
[503 /* NotEnoughResources */]: "NotEnoughResources",
|
|
15415
15415
|
[504 /* UpstreamTimeout */]: "UpstreamTimeout"
|
|
15416
15416
|
};
|
|
15417
15417
|
var ResponseTypeStrings = {
|
|
@@ -15426,7 +15426,7 @@ var ResponseTypeStrings = {
|
|
|
15426
15426
|
[500 /* InternalServerError */]: "Internal Server Error",
|
|
15427
15427
|
[501 /* MethodNotImplemented */]: "Method Not Implemented",
|
|
15428
15428
|
[502 /* UpstreamFailure */]: "Upstream Failure",
|
|
15429
|
-
[503 /*
|
|
15429
|
+
[503 /* NotEnoughResources */]: "Not Enough Resources",
|
|
15430
15430
|
[504 /* UpstreamTimeout */]: "Upstream Timeout"
|
|
15431
15431
|
};
|
|
15432
15432
|
var XRPCResponse = class {
|
|
@@ -16036,6 +16036,9 @@ var schemaDict = {
|
|
|
16036
16036
|
},
|
|
16037
16037
|
invitesDisabled: {
|
|
16038
16038
|
type: "boolean"
|
|
16039
|
+
},
|
|
16040
|
+
inviteNote: {
|
|
16041
|
+
type: "string"
|
|
16039
16042
|
}
|
|
16040
16043
|
}
|
|
16041
16044
|
},
|
|
@@ -16094,6 +16097,9 @@ var schemaDict = {
|
|
|
16094
16097
|
},
|
|
16095
16098
|
invitesDisabled: {
|
|
16096
16099
|
type: "boolean"
|
|
16100
|
+
},
|
|
16101
|
+
inviteNote: {
|
|
16102
|
+
type: "string"
|
|
16097
16103
|
}
|
|
16098
16104
|
}
|
|
16099
16105
|
},
|
|
@@ -16332,6 +16338,10 @@ var schemaDict = {
|
|
|
16332
16338
|
account: {
|
|
16333
16339
|
type: "string",
|
|
16334
16340
|
format: "did"
|
|
16341
|
+
},
|
|
16342
|
+
note: {
|
|
16343
|
+
type: "string",
|
|
16344
|
+
description: "Additionally add a note describing why the invites were disabled"
|
|
16335
16345
|
}
|
|
16336
16346
|
}
|
|
16337
16347
|
}
|
|
@@ -16385,6 +16395,10 @@ var schemaDict = {
|
|
|
16385
16395
|
account: {
|
|
16386
16396
|
type: "string",
|
|
16387
16397
|
format: "did"
|
|
16398
|
+
},
|
|
16399
|
+
note: {
|
|
16400
|
+
type: "string",
|
|
16401
|
+
description: "Additionally add a note describing why the invites were disabled"
|
|
16388
16402
|
}
|
|
16389
16403
|
}
|
|
16390
16404
|
}
|