From 3d9eaf542d5fa5a4738bf2f96b8199665a912370 Mon Sep 17 00:00:00 2001 From: Luphia Chang Date: Thu, 9 Jan 2025 15:03:55 +0800 Subject: [PATCH] remove new data seed --- prisma/seed_json/file.json | 56 -------------------------------------- prisma/seed_json/user.json | 32 ---------------------- src/interfaces/session.ts | 2 +- 3 files changed, 1 insertion(+), 89 deletions(-) diff --git a/prisma/seed_json/file.json b/prisma/seed_json/file.json index 99c9a0221..42755ad0a 100644 --- a/prisma/seed_json/file.json +++ b/prisma/seed_json/file.json @@ -1,60 +1,4 @@ [ - { - "id": 0, - "name": "0.jpg", - "size": 0, - "mimeType": "N/A", - "type": "N/A", - "url": "N/A", - "isEncrypted": false, - "encryptedSymmetricKey": "=", - "iv": "", - "createdAt": 0, - "updatedAt": 0, - "deletedAt": null - }, - { - "id": 1, - "name": "1.jpg", - "size": 0, - "mimeType": "N/A", - "type": "N/A", - "url": "N/A", - "isEncrypted": false, - "encryptedSymmetricKey": "=", - "iv": "", - "createdAt": 0, - "updatedAt": 0, - "deletedAt": null - }, - { - "id": 2, - "name": "2.jpg", - "size": 0, - "mimeType": "N/A", - "type": "N/A", - "url": "N/A", - "isEncrypted": false, - "encryptedSymmetricKey": "=", - "iv": "", - "createdAt": 0, - "updatedAt": 0, - "deletedAt": null - }, - { - "id": 555, - "name": "555.jpg", - "size": 0, - "mimeType": "N/A", - "type": "N/A", - "url": "N/A", - "isEncrypted": false, - "encryptedSymmetricKey": "=", - "iv": "", - "createdAt": 0, - "updatedAt": 0, - "deletedAt": null - }, { "id": 1000, "name": "100000.jpg", diff --git a/prisma/seed_json/user.json b/prisma/seed_json/user.json index 8b1db9b3c..71c7c0140 100644 --- a/prisma/seed_json/user.json +++ b/prisma/seed_json/user.json @@ -1,36 +1,4 @@ [ - { - "id": 0, - "name": "PROCESSING", - "email": "PROCESSING@ISUNFA.COM", - "imageFileId": 0, - "createdAt": 0, - "updatedAt": 0 - }, - { - "id": 1, - "name": "GUEST", - "email": "GUEST@ISUNFA.COM", - "imageFileId": 1, - "createdAt": 0, - "updatedAt": 0 - }, - { - "id": 2, - "name": "SYSTEM", - "email": "SYSTEM@ISUNFA.COM", - "imageFileId": 2, - "createdAt": 0, - "updatedAt": 0 - }, - { - "id": 555, - "name": "UNKNOWN", - "email": "UNKNOWN@ISUNFA.COM", - "imageFileId": 555, - "createdAt": 0, - "updatedAt": 0 - }, { "id": 1000, "name": "Test_User_1", diff --git a/src/interfaces/session.ts b/src/interfaces/session.ts index 0baafe9da..d7ea1410b 100644 --- a/src/interfaces/session.ts +++ b/src/interfaces/session.ts @@ -5,7 +5,7 @@ export interface ISessionOption { httpOnly?: boolean; path?: string; secure?: boolean; - sameSite?: 'string'; + sameSite?: 'Strict' | 'Lax' | 'None'; }; }