feat(qzone): 添加空友爱看推荐与互动接口 (#2125)
* feat(qzone): 添加空友爱看推荐与互动接口 * fix(qzone): accept nullable public feed identities and preserve error codes * docs(qzone): remove redundant public API readme
This commit is contained in:
28 files changed
+1955
-1
No files matched your search
@@ -9,6 +9,7 @@ import {
|
||||
NTQQFlashApi,
|
||||
NTQQOnlineApi,
|
||||
NTQQDatabaseApi,
|
||||
NTQQQzonePublicApi,
|
||||
} from '@/napcat-core/apis';
|
||||
import { NTQQCollectionApi } from '@/napcat-core/apis/collection';
|
||||
import {
|
||||
@@ -171,6 +172,7 @@ export class NapCatCore {
|
||||
FlashApi: new NTQQFlashApi(this.context, this),
|
||||
OnlineApi: new NTQQOnlineApi(this.context, this),
|
||||
DatabaseApi: new NTQQDatabaseApi(this.context, this),
|
||||
QzonePublicApi: new NTQQQzonePublicApi(this.context, this),
|
||||
};
|
||||
container.bind(NapCatCore).toConstantValue(this);
|
||||
container.bind(TypedEventEmitter).toConstantValue(this.event);
|
||||
@@ -382,4 +384,5 @@ export interface StableNTApiWrapper {
|
||||
FlashApi: NTQQFlashApi,
|
||||
OnlineApi: NTQQOnlineApi,
|
||||
DatabaseApi: NTQQDatabaseApi,
|
||||
QzonePublicApi: NTQQQzonePublicApi,
|
||||
}
|
||||
Reference in new issue
Block a user