Skip to content

Commit

Permalink
run api extractor
Browse files Browse the repository at this point in the history
  • Loading branch information
kakkokari-gtyih committed May 2, 2024
1 parent 63adaca commit a9f9c66
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions packages/misskey-js/etc/misskey-js.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,13 @@ class APIClient {
// (undocumented)
fetch: FetchLike;
// (undocumented)
getMiAuthURL(options: {
name?: string;
icon?: string;
callback?: string;
permission?: typeof permissions_2[number][];
}, sessionId?: string): string;
// (undocumented)
origin: string;
}

Expand Down Expand Up @@ -1085,6 +1092,22 @@ export type Endpoints = Overwrite<Endpoints_2, {
};
};
};
'meta': {
req: MetaRequest;
res: {
$switch: {
$cases: [
[
{
detail: true;
},
MetaDetailed
]
];
$default: MetaLite;
};
};
};
'signup': {
req: SignupRequest;
res: SignupResponse;
Expand All @@ -1097,6 +1120,10 @@ export type Endpoints = Overwrite<Endpoints_2, {
req: SigninRequest;
res: SigninResponse;
};
'miauth/placeholder/check': {
req: EmptyRequest;
res: MiAuthCheckResponse;
};
}>;

// @public (undocumented)
Expand All @@ -1122,6 +1149,7 @@ declare namespace entities {
SignupPendingResponse,
SigninRequest,
SigninResponse,
MiAuthCheckResponse,
EmptyRequest,
EmptyResponse,
AdminMetaResponse,
Expand Down Expand Up @@ -2248,6 +2276,12 @@ type MetaRequest = operations['meta']['requestBody']['content']['application/jso
// @public (undocumented)
type MetaResponse = operations['meta']['responses']['200']['content']['application/json'];

// @public (undocumented)
type MiAuthCheckResponse = {
token: string;
user: UserDetailedNotMe;
};

// @public (undocumented)
type MiauthGenTokenRequest = operations['miauth___gen-token']['requestBody']['content']['application/json'];

Expand Down Expand Up @@ -3110,6 +3144,7 @@ type UsersUpdateMemoRequest = operations['users___update-memo']['requestBody']['

// Warnings were encountered during analysis:
//
// src/api.ts:90:3 - (ae-forgotten-export) The symbol "permissions_2" needs to be exported by the entry point index.d.ts
// src/entities.ts:25:2 - (ae-forgotten-export) The symbol "ModerationLogPayloads" needs to be exported by the entry point index.d.ts

// (No @packageDocumentation comment for this package)
Expand Down

0 comments on commit a9f9c66

Please sign in to comment.