This commit is contained in:
syuilo
2022-01-13 02:26:10 +09:00
parent f96d50bc07
commit 861d028d09
35 changed files with 50 additions and 50 deletions

View File

@@ -95,7 +95,7 @@ export default defineComponent({
reporterOrigin: 'combined',
targetUserOrigin: 'combined',
pagination: {
endpoint: 'admin/abuse-user-reports',
endpoint: 'admin/abuse-user-reports' as const,
limit: 10,
params: computed(() => ({
state: this.state,

View File

@@ -85,7 +85,7 @@ const selectMode = ref(false);
const selectedEmojis = ref<string[]>([]);
const pagination = {
endpoint: 'admin/emoji/list',
endpoint: 'admin/emoji/list' as const,
limit: 30,
params: computed(() => ({
query: (query.value && query.value !== '') ? query.value : null,
@@ -93,7 +93,7 @@ const pagination = {
};
const remotePagination = {
endpoint: 'admin/emoji/list-remote',
endpoint: 'admin/emoji/list-remote' as const,
limit: 30,
params: computed(() => ({
query: (queryRemote.value && queryRemote.value !== '') ? queryRemote.value : null,

View File

@@ -95,7 +95,7 @@ export default defineComponent({
type: null,
searchHost: '',
pagination: {
endpoint: 'admin/drive/files',
endpoint: 'admin/drive/files' as const,
limit: 10,
params: computed(() => ({
type: (this.type && this.type !== '') ? this.type : null,

View File

@@ -110,7 +110,7 @@ export default defineComponent({
searchUsername: '',
searchHost: '',
pagination: {
endpoint: 'admin/show-users',
endpoint: 'admin/show-users' as const,
limit: 10,
params: computed(() => ({
sort: this.sort,