Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
ad5e72aaf1 |
|
@ -13,6 +13,7 @@ ENV PNPM_CACHE_FOLDER .cache/pnpm/
|
||||||
|
|
||||||
COPY package.json ./
|
COPY package.json ./
|
||||||
COPY pnpm-lock.yaml ./
|
COPY pnpm-lock.yaml ./
|
||||||
|
COPY patches /build/patches
|
||||||
|
|
||||||
RUN if [ "$USE_RELEASE" != true ]; then \
|
RUN if [ "$USE_RELEASE" != true ]; then \
|
||||||
# https://pnpm.io/installation#using-corepack
|
# https://pnpm.io/installation#using-corepack
|
||||||
|
|
|
@ -5,7 +5,7 @@ import type { IUser } from '@/modelTypes/IUser'
|
||||||
import type { IFile } from '@/modelTypes/IFile'
|
import type { IFile } from '@/modelTypes/IFile'
|
||||||
import type { IAttachment } from '@/modelTypes/IAttachment'
|
import type { IAttachment } from '@/modelTypes/IAttachment'
|
||||||
|
|
||||||
export const SUPPORTED_IMAGE_SUFFIX = ['.jpg', '.png', '.bmp', '.gif']
|
export const SUPPORTED_IMAGE_SUFFIX = ['.jpg','.jpeg', '.png', '.bmp', '.gif']
|
||||||
|
|
||||||
export default class AttachmentModel extends AbstractModel<IAttachment> implements IAttachment {
|
export default class AttachmentModel extends AbstractModel<IAttachment> implements IAttachment {
|
||||||
id = 0
|
id = 0
|
||||||
|
|
Reference in New Issue
Block a user