| @@ -1,11 +1,14 @@ | ||||
| import define from '../../define.js'; | ||||
| import { getJsonSchema } from '@/services/chart/core.js'; | ||||
| import { activeUsersChart } from '@/services/chart/index.js'; | ||||
| import define from '../../define.js'; | ||||
|  | ||||
| export const meta = { | ||||
| 	tags: ['charts', 'users'], | ||||
|  | ||||
| 	res: getJsonSchema(activeUsersChart.schema), | ||||
|  | ||||
| 	allowGet: true, | ||||
| 	cacheSec: 60 * 60, | ||||
| } as const; | ||||
|  | ||||
| export const paramDef = { | ||||
|   | ||||
| @@ -1,11 +1,14 @@ | ||||
| import define from '../../define.js'; | ||||
| import { getJsonSchema } from '@/services/chart/core.js'; | ||||
| import { apRequestChart } from '@/services/chart/index.js'; | ||||
| import define from '../../define.js'; | ||||
|  | ||||
| export const meta = { | ||||
| 	tags: ['charts'], | ||||
|  | ||||
| 	res: getJsonSchema(apRequestChart.schema), | ||||
|  | ||||
| 	allowGet: true, | ||||
| 	cacheSec: 60 * 60, | ||||
| } as const; | ||||
|  | ||||
| export const paramDef = { | ||||
|   | ||||
| @@ -1,11 +1,14 @@ | ||||
| import define from '../../define.js'; | ||||
| import { getJsonSchema } from '@/services/chart/core.js'; | ||||
| import { driveChart } from '@/services/chart/index.js'; | ||||
| import define from '../../define.js'; | ||||
|  | ||||
| export const meta = { | ||||
| 	tags: ['charts', 'drive'], | ||||
|  | ||||
| 	res: getJsonSchema(driveChart.schema), | ||||
|  | ||||
| 	allowGet: true, | ||||
| 	cacheSec: 60 * 60, | ||||
| } as const; | ||||
|  | ||||
| export const paramDef = { | ||||
|   | ||||
| @@ -1,11 +1,14 @@ | ||||
| import define from '../../define.js'; | ||||
| import { getJsonSchema } from '@/services/chart/core.js'; | ||||
| import { federationChart } from '@/services/chart/index.js'; | ||||
| import define from '../../define.js'; | ||||
|  | ||||
| export const meta = { | ||||
| 	tags: ['charts'], | ||||
|  | ||||
| 	res: getJsonSchema(federationChart.schema), | ||||
|  | ||||
| 	allowGet: true, | ||||
| 	cacheSec: 60 * 60, | ||||
| } as const; | ||||
|  | ||||
| export const paramDef = { | ||||
|   | ||||
| @@ -1,11 +1,14 @@ | ||||
| import define from '../../define.js'; | ||||
| import { getJsonSchema } from '@/services/chart/core.js'; | ||||
| import { hashtagChart } from '@/services/chart/index.js'; | ||||
| import define from '../../define.js'; | ||||
|  | ||||
| export const meta = { | ||||
| 	tags: ['charts', 'hashtags'], | ||||
|  | ||||
| 	res: getJsonSchema(hashtagChart.schema), | ||||
|  | ||||
| 	allowGet: true, | ||||
| 	cacheSec: 60 * 60, | ||||
| } as const; | ||||
|  | ||||
| export const paramDef = { | ||||
|   | ||||
| @@ -1,11 +1,14 @@ | ||||
| import define from '../../define.js'; | ||||
| import { getJsonSchema } from '@/services/chart/core.js'; | ||||
| import { instanceChart } from '@/services/chart/index.js'; | ||||
| import define from '../../define.js'; | ||||
|  | ||||
| export const meta = { | ||||
| 	tags: ['charts'], | ||||
|  | ||||
| 	res: getJsonSchema(instanceChart.schema), | ||||
|  | ||||
| 	allowGet: true, | ||||
| 	cacheSec: 60 * 60, | ||||
| } as const; | ||||
|  | ||||
| export const paramDef = { | ||||
|   | ||||
| @@ -1,11 +1,14 @@ | ||||
| import define from '../../define.js'; | ||||
| import { getJsonSchema } from '@/services/chart/core.js'; | ||||
| import { notesChart } from '@/services/chart/index.js'; | ||||
| import define from '../../define.js'; | ||||
|  | ||||
| export const meta = { | ||||
| 	tags: ['charts', 'notes'], | ||||
|  | ||||
| 	res: getJsonSchema(notesChart.schema), | ||||
|  | ||||
| 	allowGet: true, | ||||
| 	cacheSec: 60 * 60, | ||||
| } as const; | ||||
|  | ||||
| export const paramDef = { | ||||
|   | ||||
| @@ -1,11 +1,14 @@ | ||||
| import define from '../../../define.js'; | ||||
| import { getJsonSchema } from '@/services/chart/core.js'; | ||||
| import { perUserDriveChart } from '@/services/chart/index.js'; | ||||
| import define from '../../../define.js'; | ||||
|  | ||||
| export const meta = { | ||||
| 	tags: ['charts', 'drive', 'users'], | ||||
|  | ||||
| 	res: getJsonSchema(perUserDriveChart.schema), | ||||
|  | ||||
| 	allowGet: true, | ||||
| 	cacheSec: 60 * 60, | ||||
| } as const; | ||||
|  | ||||
| export const paramDef = { | ||||
|   | ||||
| @@ -6,6 +6,9 @@ export const meta = { | ||||
| 	tags: ['charts', 'users', 'following'], | ||||
|  | ||||
| 	res: getJsonSchema(perUserFollowingChart.schema), | ||||
|  | ||||
| 	allowGet: true, | ||||
| 	cacheSec: 60 * 60, | ||||
| } as const; | ||||
|  | ||||
| export const paramDef = { | ||||
|   | ||||
| @@ -1,11 +1,14 @@ | ||||
| import define from '../../../define.js'; | ||||
| import { getJsonSchema } from '@/services/chart/core.js'; | ||||
| import { perUserNotesChart } from '@/services/chart/index.js'; | ||||
| import define from '../../../define.js'; | ||||
|  | ||||
| export const meta = { | ||||
| 	tags: ['charts', 'users', 'notes'], | ||||
|  | ||||
| 	res: getJsonSchema(perUserNotesChart.schema), | ||||
|  | ||||
| 	allowGet: true, | ||||
| 	cacheSec: 60 * 60, | ||||
| } as const; | ||||
|  | ||||
| export const paramDef = { | ||||
|   | ||||
| @@ -1,11 +1,14 @@ | ||||
| import define from '../../../define.js'; | ||||
| import { getJsonSchema } from '@/services/chart/core.js'; | ||||
| import { perUserReactionsChart } from '@/services/chart/index.js'; | ||||
| import define from '../../../define.js'; | ||||
|  | ||||
| export const meta = { | ||||
| 	tags: ['charts', 'users', 'reactions'], | ||||
|  | ||||
| 	res: getJsonSchema(perUserReactionsChart.schema), | ||||
|  | ||||
| 	allowGet: true, | ||||
| 	cacheSec: 60 * 60, | ||||
| } as const; | ||||
|  | ||||
| export const paramDef = { | ||||
|   | ||||
| @@ -1,11 +1,14 @@ | ||||
| import define from '../../define.js'; | ||||
| import { getJsonSchema } from '@/services/chart/core.js'; | ||||
| import { usersChart } from '@/services/chart/index.js'; | ||||
| import define from '../../define.js'; | ||||
|  | ||||
| export const meta = { | ||||
| 	tags: ['charts', 'users'], | ||||
|  | ||||
| 	res: getJsonSchema(usersChart.schema), | ||||
|  | ||||
| 	allowGet: true, | ||||
| 	cacheSec: 60 * 60, | ||||
| } as const; | ||||
|  | ||||
| export const paramDef = { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 syuilo
					syuilo