refactor: Use ESM (#8358)
* wip * wip * fix * clean up * Update tsconfig.json * Update activitypub.ts * wip
This commit is contained in:
parent
0a882471f3
commit
d071d18dd7
737 changed files with 4135 additions and 3678 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import define from '../../define';
|
||||
import { getJsonSchema } from '@/services/chart/core';
|
||||
import { activeUsersChart } from '@/services/chart/index';
|
||||
import define from '../../define.js';
|
||||
import { getJsonSchema } from '@/services/chart/core.js';
|
||||
import { activeUsersChart } from '@/services/chart/index.js';
|
||||
|
||||
export const meta = {
|
||||
tags: ['charts', 'users'],
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import define from '../../define';
|
||||
import { getJsonSchema } from '@/services/chart/core';
|
||||
import { apRequestChart } from '@/services/chart/index';
|
||||
import define from '../../define.js';
|
||||
import { getJsonSchema } from '@/services/chart/core.js';
|
||||
import { apRequestChart } from '@/services/chart/index.js';
|
||||
|
||||
export const meta = {
|
||||
tags: ['charts'],
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import define from '../../define';
|
||||
import { getJsonSchema } from '@/services/chart/core';
|
||||
import { driveChart } from '@/services/chart/index';
|
||||
import define from '../../define.js';
|
||||
import { getJsonSchema } from '@/services/chart/core.js';
|
||||
import { driveChart } from '@/services/chart/index.js';
|
||||
|
||||
export const meta = {
|
||||
tags: ['charts', 'drive'],
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import define from '../../define';
|
||||
import { getJsonSchema } from '@/services/chart/core';
|
||||
import { federationChart } from '@/services/chart/index';
|
||||
import define from '../../define.js';
|
||||
import { getJsonSchema } from '@/services/chart/core.js';
|
||||
import { federationChart } from '@/services/chart/index.js';
|
||||
|
||||
export const meta = {
|
||||
tags: ['charts'],
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import define from '../../define';
|
||||
import { getJsonSchema } from '@/services/chart/core';
|
||||
import { hashtagChart } from '@/services/chart/index';
|
||||
import define from '../../define.js';
|
||||
import { getJsonSchema } from '@/services/chart/core.js';
|
||||
import { hashtagChart } from '@/services/chart/index.js';
|
||||
|
||||
export const meta = {
|
||||
tags: ['charts', 'hashtags'],
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import define from '../../define';
|
||||
import { getJsonSchema } from '@/services/chart/core';
|
||||
import { instanceChart } from '@/services/chart/index';
|
||||
import define from '../../define.js';
|
||||
import { getJsonSchema } from '@/services/chart/core.js';
|
||||
import { instanceChart } from '@/services/chart/index.js';
|
||||
|
||||
export const meta = {
|
||||
tags: ['charts'],
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import define from '../../define';
|
||||
import { getJsonSchema } from '@/services/chart/core';
|
||||
import { notesChart } from '@/services/chart/index';
|
||||
import define from '../../define.js';
|
||||
import { getJsonSchema } from '@/services/chart/core.js';
|
||||
import { notesChart } from '@/services/chart/index.js';
|
||||
|
||||
export const meta = {
|
||||
tags: ['charts', 'notes'],
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import define from '../../../define';
|
||||
import { getJsonSchema } from '@/services/chart/core';
|
||||
import { perUserDriveChart } from '@/services/chart/index';
|
||||
import define from '../../../define.js';
|
||||
import { getJsonSchema } from '@/services/chart/core.js';
|
||||
import { perUserDriveChart } from '@/services/chart/index.js';
|
||||
|
||||
export const meta = {
|
||||
tags: ['charts', 'drive', 'users'],
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import define from '../../../define';
|
||||
import { getJsonSchema } from '@/services/chart/core';
|
||||
import { perUserFollowingChart } from '@/services/chart/index';
|
||||
import define from '../../../define.js';
|
||||
import { getJsonSchema } from '@/services/chart/core.js';
|
||||
import { perUserFollowingChart } from '@/services/chart/index.js';
|
||||
|
||||
export const meta = {
|
||||
tags: ['charts', 'users', 'following'],
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import define from '../../../define';
|
||||
import { getJsonSchema } from '@/services/chart/core';
|
||||
import { perUserNotesChart } from '@/services/chart/index';
|
||||
import define from '../../../define.js';
|
||||
import { getJsonSchema } from '@/services/chart/core.js';
|
||||
import { perUserNotesChart } from '@/services/chart/index.js';
|
||||
|
||||
export const meta = {
|
||||
tags: ['charts', 'users', 'notes'],
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import define from '../../../define';
|
||||
import { getJsonSchema } from '@/services/chart/core';
|
||||
import { perUserReactionsChart } from '@/services/chart/index';
|
||||
import define from '../../../define.js';
|
||||
import { getJsonSchema } from '@/services/chart/core.js';
|
||||
import { perUserReactionsChart } from '@/services/chart/index.js';
|
||||
|
||||
export const meta = {
|
||||
tags: ['charts', 'users', 'reactions'],
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import define from '../../define';
|
||||
import { getJsonSchema } from '@/services/chart/core';
|
||||
import { usersChart } from '@/services/chart/index';
|
||||
import define from '../../define.js';
|
||||
import { getJsonSchema } from '@/services/chart/core.js';
|
||||
import { usersChart } from '@/services/chart/index.js';
|
||||
|
||||
export const meta = {
|
||||
tags: ['charts', 'users'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue