Skip to content

Commit

Permalink
update: misskey-js
Browse files Browse the repository at this point in the history
  • Loading branch information
n1lsqn committed Aug 26, 2024
1 parent 3f7507b commit 0cf8c3a
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 62 deletions.
8 changes: 5 additions & 3 deletions packages/frontend/src/components/MkDeleteScheduleEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,11 @@ export type DeleteScheduleEditorModelValue = {
deleteAfter: number | null;
};
const props = defineProps<{
modelValue: DeleteScheduleEditorModelValue;
}>();
const props = withDefaults(defineProps<{
modelValue: DeleteScheduleEditorModelValue;
}>(), {
modelValue: () => ({ deleteAt: null, deleteAfter: null }),
});
const emit = defineEmits<{
(ev: 'update:modelValue', v: DeleteScheduleEditorModelValue): void;
}>();
Expand Down
35 changes: 8 additions & 27 deletions packages/misskey-js/src/autogen/apiClientJSDoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ declare module '../api.js' {
/**
* No description provided.
*
<<<<<<< HEAD
* **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
* **Credential required**: *Yes* / **Permission**: *read:admin:abuse-report:notification-recipient*
*/
Expand Down Expand Up @@ -89,8 +88,6 @@ declare module '../api.js' {
/**
* No description provided.
*
=======
>>>>>>> parent of ffceadae73 ((add) 緊急お知らせ・津波情報連携)
* **Credential required**: *No*
*/
request<E extends 'admin/accounts/create', P extends Endpoints[E]['req']>(
Expand Down Expand Up @@ -765,11 +762,7 @@ declare module '../api.js' {
/**
* No description provided.
*
<<<<<<< HEAD
* **Credential required**: *Yes* / **Permission**: *read:admin:show-user*
=======
* **Credential required**: *Yes* / **Permission**: *read:admin:show-users*
>>>>>>> parent of ffceadae73 ((add) 緊急お知らせ・津波情報連携)
*/
request<E extends 'admin/show-users', P extends Endpoints[E]['req']>(
endpoint: E,
Expand Down Expand Up @@ -934,7 +927,6 @@ declare module '../api.js' {
/**
* No description provided.
*
<<<<<<< HEAD
* **Internal Endpoint**: This endpoint is an API for the misskey mainframe and is not intended for use by third parties.
* **Credential required**: *Yes* / **Permission**: *write:admin:system-webhook*
*/
Expand Down Expand Up @@ -995,8 +987,6 @@ declare module '../api.js' {
/**
* No description provided.
*
=======
>>>>>>> parent of ffceadae73 ((add) 緊急お知らせ・津波情報連携)
* **Credential required**: *No*
*/
request<E extends 'announcements', P extends Endpoints[E]['req']>(
Expand All @@ -1008,7 +998,6 @@ declare module '../api.js' {
/**
* No description provided.
*
<<<<<<< HEAD
* **Credential required**: *No*
*/
request<E extends 'announcements/show', P extends Endpoints[E]['req']>(
Expand All @@ -1020,8 +1009,6 @@ declare module '../api.js' {
/**
* No description provided.
*
=======
>>>>>>> parent of ffceadae73 ((add) 緊急お知らせ・津波情報連携)
* **Credential required**: *Yes* / **Permission**: *write:account*
*/
request<E extends 'antennas/create', P extends Endpoints[E]['req']>(
Expand Down Expand Up @@ -2025,7 +2012,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *No*
* **Credential required**: *Yes* / **Permission**: *read:gallery*
*/
request<E extends 'gallery/featured', P extends Endpoints[E]['req']>(
endpoint: E,
Expand All @@ -2036,7 +2023,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *No*
* **Credential required**: *Yes* / **Permission**: *read:gallery*
*/
request<E extends 'gallery/popular', P extends Endpoints[E]['req']>(
endpoint: E,
Expand All @@ -2047,7 +2034,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *No*
* **Credential required**: *Yes* / **Permission**: *read:gallery*
*/
request<E extends 'gallery/posts', P extends Endpoints[E]['req']>(
endpoint: E,
Expand Down Expand Up @@ -2146,7 +2133,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *No*
* **Credential required**: *Yes* / **Permission**: *read:gallery*
*/
request<E extends 'hashtags/list', P extends Endpoints[E]['req']>(
endpoint: E,
Expand All @@ -2157,7 +2144,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *No*
* **Credential required**: *Yes* / **Permission**: *read:gallery*
*/
request<E extends 'hashtags/search', P extends Endpoints[E]['req']>(
endpoint: E,
Expand All @@ -2168,7 +2155,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *No*
* **Credential required**: *Yes* / **Permission**: *read:gallery*
*/
request<E extends 'hashtags/show', P extends Endpoints[E]['req']>(
endpoint: E,
Expand All @@ -2179,7 +2166,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *No*
* **Credential required**: *Yes* / **Permission**: *read:gallery*
*/
request<E extends 'hashtags/trend', P extends Endpoints[E]['req']>(
endpoint: E,
Expand All @@ -2190,7 +2177,7 @@ declare module '../api.js' {
/**
* No description provided.
*
* **Credential required**: *No*
* **Credential required**: *Yes* / **Permission**: *read:gallery*
*/
request<E extends 'hashtags/users', P extends Endpoints[E]['req']>(
endpoint: E,
Expand Down Expand Up @@ -3080,7 +3067,6 @@ declare module '../api.js' {
/**
* No description provided.
*
<<<<<<< HEAD
* **Credential required**: *Yes* / **Permission**: *write:notes*
*/
request<E extends 'notes/schedule/delete', P extends Endpoints[E]['req']>(
Expand All @@ -3104,8 +3090,6 @@ declare module '../api.js' {
/**
* No description provided.
*
=======
>>>>>>> parent of ffceadae73 ((add) 緊急お知らせ・津波情報連携)
* **Credential required**: *Yes* / **Permission**: *write:notes*
*/
request<E extends 'notes/delete', P extends Endpoints[E]['req']>(
Expand Down Expand Up @@ -3403,7 +3387,6 @@ declare module '../api.js' {
/**
* No description provided.
*
<<<<<<< HEAD
* **Credential required**: *Yes* / **Permission**: *write:notifications*
*/
request<E extends 'notifications/flush', P extends Endpoints[E]['req']>(
Expand All @@ -3415,8 +3398,6 @@ declare module '../api.js' {
/**
* No description provided.
*
=======
>>>>>>> parent of ffceadae73 ((add) 緊急お知らせ・津波情報連携)
* **Credential required**: *Yes* / **Permission**: *write:notifications*
*/
request<E extends 'notifications/mark-all-as-read', P extends Endpoints[E]['req']>(
Expand Down
49 changes: 17 additions & 32 deletions packages/misskey-js/src/autogen/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1759,7 +1759,7 @@ export type paths = {
* gallery/featured
* @description No description provided.
*
* **Credential required**: *No*
* **Credential required**: *Yes* / **Permission**: *read:gallery*
*/
post: operations['gallery___featured'];
};
Expand All @@ -1768,7 +1768,7 @@ export type paths = {
* gallery/popular
* @description No description provided.
*
* **Credential required**: *No*
* **Credential required**: *Yes* / **Permission**: *read:gallery*
*/
post: operations['gallery___popular'];
};
Expand All @@ -1777,7 +1777,7 @@ export type paths = {
* gallery/posts
* @description No description provided.
*
* **Credential required**: *No*
* **Credential required**: *Yes* / **Permission**: *read:gallery*
*/
post: operations['gallery___posts'];
};
Expand Down Expand Up @@ -1865,7 +1865,7 @@ export type paths = {
* hashtags/list
* @description No description provided.
*
* **Credential required**: *No*
* **Credential required**: *Yes* / **Permission**: *read:gallery*
*/
post: operations['hashtags___list'];
};
Expand All @@ -1874,7 +1874,7 @@ export type paths = {
* hashtags/search
* @description No description provided.
*
* **Credential required**: *No*
* **Credential required**: *Yes* / **Permission**: *read:gallery*
*/
post: operations['hashtags___search'];
};
Expand All @@ -1883,7 +1883,7 @@ export type paths = {
* hashtags/show
* @description No description provided.
*
* **Credential required**: *No*
* **Credential required**: *Yes* / **Permission**: *read:gallery*
*/
post: operations['hashtags___show'];
};
Expand All @@ -1892,14 +1892,14 @@ export type paths = {
* hashtags/trend
* @description No description provided.
*
* **Credential required**: *No*
* **Credential required**: *Yes* / **Permission**: *read:gallery*
*/
get: operations['hashtags___trend'];
/**
* hashtags/trend
* @description No description provided.
*
* **Credential required**: *No*
* **Credential required**: *Yes* / **Permission**: *read:gallery*
*/
post: operations['hashtags___trend'];
};
Expand All @@ -1908,7 +1908,7 @@ export type paths = {
* hashtags/users
* @description No description provided.
*
* **Credential required**: *No*
* **Credential required**: *Yes* / **Permission**: *read:gallery*
*/
post: operations['hashtags___users'];
};
Expand Down Expand Up @@ -5188,19 +5188,12 @@ export type operations = {
tosUrl: string | null;
uri: string;
version: string;
<<<<<<< HEAD
enableEmergencyAnnouncementIntegration: boolean;
emergencyAnnouncementIntegrationConfig: {
type: string;
};
urlPreviewEnabled: boolean;
urlPreviewTimeout: number;
urlPreviewMaximumContentLength: number;
urlPreviewRequireContentLength: boolean;
urlPreviewUserAgent: string | null;
urlPreviewSummaryProxyUrl: string | null;
=======
>>>>>>> parent of ffceadae73 ((add) 緊急お知らせ・津波情報連携)
};
};
};
Expand Down Expand Up @@ -9551,7 +9544,6 @@ export type operations = {
perUserListTimelineCacheMax?: number;
notesPerOneAd?: number;
silencedHosts?: string[] | null;
<<<<<<< HEAD
mediaSilencedHosts?: string[] | null;
/** @description [Deprecated] Use "urlPreviewSummaryProxyUrl" instead. */
summalyProxy?: string | null;
Expand All @@ -9561,8 +9553,6 @@ export type operations = {
urlPreviewRequireContentLength?: boolean;
urlPreviewUserAgent?: string | null;
urlPreviewSummaryProxyUrl?: string | null;
=======
>>>>>>> parent of ffceadae73 ((add) 緊急お知らせ・津波情報連携)
};
};
};
Expand Down Expand Up @@ -10516,11 +10506,6 @@ export type operations = {
'application/json': {
/** @default 10 */
limit?: number;
<<<<<<< HEAD
/** @enum {string|null} */
display?: 'normal' | 'banner' | 'dialog' | 'emergency';
=======
>>>>>>> parent of ffceadae73 ((add) 緊急お知らせ・津波情報連携)
/** Format: misskey:id */
sinceId?: string;
/** Format: misskey:id */
Expand Down Expand Up @@ -16007,7 +15992,7 @@ export type operations = {
* gallery/featured
* @description No description provided.
*
* **Credential required**: *No*
* **Credential required**: *Yes* / **Permission**: *read:gallery*
*/
gallery___featured: {
requestBody: {
Expand Down Expand Up @@ -16063,7 +16048,7 @@ export type operations = {
* gallery/popular
* @description No description provided.
*
* **Credential required**: *No*
* **Credential required**: *Yes* / **Permission**: *read:gallery*
*/
gallery___popular: {
responses: {
Expand Down Expand Up @@ -16109,7 +16094,7 @@ export type operations = {
* gallery/posts
* @description No description provided.
*
* **Credential required**: *No*
* **Credential required**: *Yes* / **Permission**: *read:gallery*
*/
gallery___posts: {
requestBody: {
Expand Down Expand Up @@ -16609,7 +16594,7 @@ export type operations = {
* hashtags/list
* @description No description provided.
*
* **Credential required**: *No*
* **Credential required**: *Yes* / **Permission**: *read:gallery*
*/
hashtags___list: {
requestBody: {
Expand Down Expand Up @@ -16671,7 +16656,7 @@ export type operations = {
* hashtags/search
* @description No description provided.
*
* **Credential required**: *No*
* **Credential required**: *Yes* / **Permission**: *read:gallery*
*/
hashtags___search: {
requestBody: {
Expand Down Expand Up @@ -16728,7 +16713,7 @@ export type operations = {
* hashtags/show
* @description No description provided.
*
* **Credential required**: *No*
* **Credential required**: *Yes* / **Permission**: *read:gallery*
*/
hashtags___show: {
requestBody: {
Expand Down Expand Up @@ -16781,7 +16766,7 @@ export type operations = {
* hashtags/trend
* @description No description provided.
*
* **Credential required**: *No*
* **Credential required**: *Yes* / **Permission**: *read:gallery*
*/
hashtags___trend: {
responses: {
Expand Down Expand Up @@ -16831,7 +16816,7 @@ export type operations = {
* hashtags/users
* @description No description provided.
*
* **Credential required**: *No*
* **Credential required**: *Yes* / **Permission**: *read:gallery*
*/
hashtags___users: {
requestBody: {
Expand Down

0 comments on commit 0cf8c3a

Please sign in to comment.