tweak
This commit is contained in:
parent
124f65810e
commit
23f77fc878
|
@ -1136,7 +1136,6 @@ _serverRules:
|
||||||
description: "新規登録前に表示する、サーバーの簡潔なルールを設定します。内容は利用規約の要約とすることを推奨します。"
|
description: "新規登録前に表示する、サーバーの簡潔なルールを設定します。内容は利用規約の要約とすることを推奨します。"
|
||||||
|
|
||||||
_event:
|
_event:
|
||||||
title: "題名"
|
|
||||||
startDateTime: "開始日時"
|
startDateTime: "開始日時"
|
||||||
endDateTime: "終了日時"
|
endDateTime: "終了日時"
|
||||||
startDate: "開始日"
|
startDate: "開始日"
|
||||||
|
@ -1146,7 +1145,6 @@ _event:
|
||||||
detailName: "属性"
|
detailName: "属性"
|
||||||
detailValue: "値"
|
detailValue: "値"
|
||||||
location: "Location"
|
location: "Location"
|
||||||
url: "URL"
|
|
||||||
doorTime: "Door Time"
|
doorTime: "Door Time"
|
||||||
organizer: "Organizer"
|
organizer: "Organizer"
|
||||||
organizerLink: "Organizer Link"
|
organizerLink: "Organizer Link"
|
||||||
|
|
|
@ -23,7 +23,7 @@ import { MfmService } from '@/core/MfmService.js';
|
||||||
import { UserEntityService } from '@/core/entities/UserEntityService.js';
|
import { UserEntityService } from '@/core/entities/UserEntityService.js';
|
||||||
import { DriveFileEntityService } from '@/core/entities/DriveFileEntityService.js';
|
import { DriveFileEntityService } from '@/core/entities/DriveFileEntityService.js';
|
||||||
import type { MiUserKeypair } from '@/models/entities/UserKeypair.js';
|
import type { MiUserKeypair } from '@/models/entities/UserKeypair.js';
|
||||||
import type { UsersRepository, UserProfilesRepository, NotesRepository, DriveFilesRepository, PollsRepository } from '@/models/index.js';
|
import type { UsersRepository, UserProfilesRepository, NotesRepository, DriveFilesRepository, PollsRepository, EventsRepository } from '@/models/index.js';
|
||||||
import { bindThis } from '@/decorators.js';
|
import { bindThis } from '@/decorators.js';
|
||||||
import { CustomEmojiService } from '@/core/CustomEmojiService.js';
|
import { CustomEmojiService } from '@/core/CustomEmojiService.js';
|
||||||
import { isNotNull } from '@/misc/is-not-null.js';
|
import { isNotNull } from '@/misc/is-not-null.js';
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
import { Inject, Injectable } from '@nestjs/common';
|
import { Inject, Injectable } from '@nestjs/common';
|
||||||
import { DI } from '@/di-symbols.js';
|
import { DI } from '@/di-symbols.js';
|
||||||
import type { EventsRepository, NotesRepository } from '@/models/index.js';
|
|
||||||
import type { Config } from '@/config.js';
|
|
||||||
import type Logger from '@/logger.js';
|
import type Logger from '@/logger.js';
|
||||||
import { bindThis } from '@/decorators.js';
|
import { bindThis } from '@/decorators.js';
|
||||||
import { IEvent } from '@/models/entities/Event.js';
|
import { IEvent } from '@/models/entities/Event.js';
|
||||||
|
@ -16,15 +14,6 @@ export class ApEventService {
|
||||||
private logger: Logger;
|
private logger: Logger;
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
@Inject(DI.config)
|
|
||||||
private config: Config,
|
|
||||||
|
|
||||||
@Inject(DI.notesRepository)
|
|
||||||
private notesRepository: NotesRepository,
|
|
||||||
|
|
||||||
@Inject(DI.eventsRepository)
|
|
||||||
private eventsRepository: EventsRepository,
|
|
||||||
|
|
||||||
private apResolverService: ApResolverService,
|
private apResolverService: ApResolverService,
|
||||||
private apLoggerService: ApLoggerService,
|
private apLoggerService: ApLoggerService,
|
||||||
) {
|
) {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="zmdxowut">
|
<div class="zmdxowut">
|
||||||
<MkInput v-model="title" small type="text" class="input">
|
<MkInput v-model="title" small type="text" class="input">
|
||||||
<template #label>*{{ i18n.ts._event.title }}</template>
|
<template #label>*{{ i18n.ts.title }}</template>
|
||||||
</MkInput>
|
</MkInput>
|
||||||
<section>
|
<section>
|
||||||
<div>
|
<div>
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
</section>
|
</section>
|
||||||
<section>
|
<section>
|
||||||
<MkInput v-model="url" small type="url" class="input">
|
<MkInput v-model="url" small type="url" class="input">
|
||||||
<template #label>{{ i18n.ts._event.url }}</template>
|
<template #label>URL</template>
|
||||||
</MkInput>
|
</MkInput>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
@ -194,7 +194,7 @@ function get(): misskey.entities.Note['event'] {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
watch([title, startDate, startTime, endDate, endTime, location, url, doorTime, organizer, organizerLink, audience, language,
|
watch([title, startDate, startTime, endDate, endTime, location, url, doorTime, organizer, organizerLink, audience, language,
|
||||||
ageRange, ticketsUrl, isFree, price, availabilityStart, availabilityEnd, keywords], () => emit('update:modelValue', get()), {
|
ageRange, ticketsUrl, isFree, price, availabilityStart, availabilityEnd, keywords], () => emit('update:modelValue', get()), {
|
||||||
deep: true,
|
deep: true,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue