merge: misskey 2025.5.0 (!1028)

View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1028

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
This commit is contained in:
dakkar 2025-06-29 09:54:12 +00:00
commit 13d045d813
152 changed files with 1690 additions and 842 deletions

View file

@ -30,6 +30,12 @@ declare namespace acct {
}
export { acct }
// @public (undocumented)
type Achievement = components['schemas']['Achievement'];
// @public (undocumented)
type AchievementName = components['schemas']['AchievementName'];
// @public (undocumented)
type Ad = components['schemas']['Ad'];
@ -2162,6 +2168,8 @@ declare namespace entities {
UserDetailed,
User,
UserList,
Achievement,
AchievementName,
Ad,
Announcement,
App,

View file

@ -1,7 +1,7 @@
{
"type": "module",
"name": "misskey-js",
"version": "2025.5.0-dev",
"version": "2025.5.2-dev",
"description": "Misskey SDK for JavaScript",
"license": "MIT",
"main": "./built/index.js",

View file

@ -8,6 +8,8 @@ export type MeDetailed = components['schemas']['MeDetailed'];
export type UserDetailed = components['schemas']['UserDetailed'];
export type User = components['schemas']['User'];
export type UserList = components['schemas']['UserList'];
export type Achievement = components['schemas']['Achievement'];
export type AchievementName = components['schemas']['AchievementName'];
export type Ad = components['schemas']['Ad'];
export type Announcement = components['schemas']['Announcement'];
export type App = components['schemas']['App'];

View file

@ -4252,13 +4252,14 @@ export type components = {
* @example misskey.example.com
*/
host: string | null;
/** Format: date-time */
createdAt: string;
approved: boolean;
/** @example Hi masters, I am Ai! */
description: string | null;
/** Format: url */
avatarUrl: string | null;
avatarBlurhash: string | null;
/** @example Hi masters, I am Ai! */
description: string | null;
/** Format: date-time */
createdAt: string;
avatarDecorations: {
/** Format: id */
id: string;
@ -4296,6 +4297,9 @@ export type components = {
themeColor: string | null;
isSilenced: boolean;
};
followersCount: number;
followingCount: number;
notesCount: number;
emojis: {
[key: string]: string;
};
@ -4342,9 +4346,6 @@ export type components = {
value: string;
}[];
verifiedLinks: string[];
followersCount: number;
followingCount: number;
notesCount: number;
pinnedNoteIds: string[];
pinnedNotes: components['schemas']['Note'][];
pinnedPageId: string | null;
@ -4552,10 +4553,7 @@ export type components = {
}]>;
};
emailNotificationTypes: string[];
achievements: {
name: string;
unlockedAt: number;
}[];
achievements: components['schemas']['Achievement'][];
loggedInDays: number;
policies: components['schemas']['RolePolicies'];
/** @default false */
@ -4566,6 +4564,7 @@ export type components = {
securityKeys: boolean;
email?: string | null;
emailVerified?: boolean | null;
signupReason?: string | null;
securityKeysList?: {
/**
* Format: id
@ -4598,6 +4597,12 @@ export type components = {
userIds?: string[];
isPublic: boolean;
};
Achievement: {
name: components['schemas']['AchievementName'];
unlockedAt: number;
};
/** @enum {string} */
AchievementName: 'notes1' | 'notes10' | 'notes100' | 'notes500' | 'notes1000' | 'notes5000' | 'notes10000' | 'notes20000' | 'notes30000' | 'notes40000' | 'notes50000' | 'notes60000' | 'notes70000' | 'notes80000' | 'notes90000' | 'notes100000' | 'login3' | 'login7' | 'login15' | 'login30' | 'login60' | 'login100' | 'login200' | 'login300' | 'login400' | 'login500' | 'login600' | 'login700' | 'login800' | 'login900' | 'login1000' | 'passedSinceAccountCreated1' | 'passedSinceAccountCreated2' | 'passedSinceAccountCreated3' | 'loggedInOnBirthday' | 'loggedInOnNewYearsDay' | 'noteClipped1' | 'noteFavorited1' | 'myNoteFavorited1' | 'profileFilled' | 'markedAsCat' | 'following1' | 'following10' | 'following50' | 'following100' | 'following300' | 'followers1' | 'followers10' | 'followers50' | 'followers100' | 'followers300' | 'followers500' | 'followers1000' | 'collectAchievements30' | 'viewAchievements3min' | 'iLoveMisskey' | 'foundTreasure' | 'client30min' | 'client60min' | 'noteDeletedWithin1min' | 'postedAtLateNight' | 'postedAt0min0sec' | 'selfQuote' | 'htl20npm' | 'viewInstanceChart' | 'outputHelloWorldOnScratchpad' | 'open3windows' | 'driveFolderCircularReference' | 'reactWithoutRead' | 'clickedClickHere' | 'justPlainLucky' | 'setNameToSyuilo' | 'cookieClicked' | 'brainDiver' | 'smashTestNotificationButton' | 'tutorialCompleted' | 'bubbleGameExplodingHead' | 'bubbleGameDoubleExplodingHead';
Ad: {
/**
* Format: id
@ -4888,16 +4893,15 @@ export type components = {
/** @enum {string} */
type: 'chatRoomInvitationReceived';
invitation: components['schemas']['ChatRoomInvitation'];
} | ({
} | {
/** Format: id */
id: string;
/** Format: date-time */
createdAt: string;
/** @enum {string} */
type: 'achievementEarned';
/** @enum {string} */
achievement: 'notes1' | 'notes10' | 'notes100' | 'notes500' | 'notes1000' | 'notes5000' | 'notes10000' | 'notes20000' | 'notes30000' | 'notes40000' | 'notes50000' | 'notes60000' | 'notes70000' | 'notes80000' | 'notes90000' | 'notes100000' | 'login3' | 'login7' | 'login15' | 'login30' | 'login60' | 'login100' | 'login200' | 'login300' | 'login400' | 'login500' | 'login600' | 'login700' | 'login800' | 'login900' | 'login1000' | 'passedSinceAccountCreated1' | 'passedSinceAccountCreated2' | 'passedSinceAccountCreated3' | 'loggedInOnBirthday' | 'loggedInOnNewYearsDay' | 'noteClipped1' | 'noteFavorited1' | 'myNoteFavorited1' | 'profileFilled' | 'markedAsCat' | 'following1' | 'following10' | 'following50' | 'following100' | 'following300' | 'followers1' | 'followers10' | 'followers50' | 'followers100' | 'followers300' | 'followers500' | 'followers1000' | 'collectAchievements30' | 'viewAchievements3min' | 'iLoveMisskey' | 'foundTreasure' | 'client30min' | 'client60min' | 'noteDeletedWithin1min' | 'postedAtLateNight' | 'postedAt0min0sec' | 'selfQuote' | 'htl20npm' | 'viewInstanceChart' | 'outputHelloWorldOnScratchpad' | 'open3windows' | 'driveFolderCircularReference' | 'reactWithoutRead' | 'clickedClickHere' | 'justPlainLucky' | 'setNameToSyuilo' | 'cookieClicked' | 'brainDiver' | 'smashTestNotificationButton' | 'tutorialCompleted' | 'bubbleGameExplodingHead' | 'bubbleGameDoubleExplodingHead';
}) | ({
achievement: components['schemas']['AchievementName'];
} | ({
/** Format: id */
id: string;
/** Format: date-time */
@ -5288,7 +5292,7 @@ export type components = {
isNotResponding: boolean;
isSuspended: boolean;
/** @enum {string} */
suspensionState: 'none' | 'manuallySuspended' | 'goneSuspended' | 'autoSuspendedForNotResponding';
suspensionState: 'none' | 'manuallySuspended' | 'goneSuspended' | 'autoSuspendedForNotResponding' | 'softwareSuspended';
isBlocked: boolean;
/** @example misskey */
softwareName: string | null;
@ -9319,6 +9323,10 @@ export type operations = {
/** @enum {string} */
allowUnsignedFetch: 'never' | 'always' | 'essential';
enableProxyAccount: boolean;
deliverSuspendedSoftware: {
software: string;
versionRange: string;
}[];
};
};
};
@ -12331,6 +12339,10 @@ export type operations = {
/** @enum {string} */
allowUnsignedFetch?: 'never' | 'always' | 'essential';
enableProxyAccount?: boolean;
deliverSuspendedSoftware?: {
software: string;
versionRange: string;
}[];
};
};
};
@ -31671,10 +31683,7 @@ export type operations = {
/** @description OK (with results) */
200: {
content: {
'application/json': {
name: string;
unlockedAt: number;
}[];
'application/json': components['schemas']['Achievement'][];
};
};
/** @description Client error */