Skip to content

Commit dca8854

Browse files
committed
Убрать скобки для эмодзи
1 parent ea88bc2 commit dca8854

File tree

38 files changed

+283
-280
lines changed

38 files changed

+283
-280
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
let isWorker: boolean = false;
1+
let isWorker = false
22

3-
export const setIsWorker = (value: boolean) => isWorker = value;
3+
export const setIsWorker = (value: boolean) => (isWorker = value)
44

5-
export const getIsWorker = () => isWorker;
5+
export const getIsWorker = () => isWorker
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export * from './markGetByData'
1+
export * from './markGetByData'
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import type {ICacheData} from "@helpers";
2-
import {MarkModel} from "../../model";
1+
import type { ICacheData } from '@helpers'
2+
import { MarkModel } from '../../model'
33

44
export const markGetByData = async (taskId: bigint, authData: ICacheData) =>
5-
MarkModel.findOne({
6-
where: {
7-
taskId,
8-
diaryUserId: authData.localUserId
9-
}
10-
})
5+
MarkModel.findOne({
6+
where: {
7+
taskId,
8+
diaryUserId: authData.localUserId
9+
}
10+
})
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export * from './save'
22
export * from './delete'
3-
export * from './get'
3+
export * from './get'
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
import {MarkValueModel} from "../../model";
1+
import { MarkValueModel } from '../../model'
22

3-
export const markValueGetById = async (markValueId: number) => MarkValueModel.findOne({
3+
export const markValueGetById = async (markValueId: number) =>
4+
MarkValueModel.findOne({
45
where: {
5-
id: markValueId
6+
id: markValueId
67
}
7-
})
8+
})
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export * from './requiredGetByData'
1+
export * from './requiredGetByData'
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
import {RequiredModel} from "../../model";
1+
import { RequiredModel } from '../../model'
22

3-
export const requiredGetByData = (diaryUserId: bigint, taskId: bigint) => RequiredModel.findOne({
3+
export const requiredGetByData = (diaryUserId: bigint, taskId: bigint) =>
4+
RequiredModel.findOne({
45
where: {
5-
diaryUserId,
6-
taskId
6+
diaryUserId,
7+
taskId
78
}
8-
})
9+
})
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
export * from './save'
2-
export * from './get'
2+
export * from './get'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
export * from './scheduleGetFromDB'
2-
export * from './scheduleGetFromDBById'
2+
export * from './scheduleGetFromDBById'
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
import {ScheduleModel} from "../../model";
1+
import { ScheduleModel } from '../../model'
22

3-
export const scheduleGetFromDBById = async (scheduleId: bigint) => ScheduleModel.findOne({
3+
export const scheduleGetFromDBById = async (scheduleId: bigint) =>
4+
ScheduleModel.findOne({
45
where: {
5-
id: scheduleId
6+
id: scheduleId
67
}
7-
})
8+
})

0 commit comments

Comments
 (0)