mirror of
https://github.com/docmost/docmost.git
synced 2025-11-21 10:11:08 +10:00
Refactoring
* Refactor workspace membership system * Create setup endpoint * Use Passport.js * Several updates and fixes
This commit is contained in:
@ -9,4 +9,8 @@ export class CreateSpaceDto {
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
description?: string;
|
||||
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
slug?: string;
|
||||
}
|
||||
|
||||
8
apps/server/src/core/space/dto/space-id.dto.ts
Normal file
8
apps/server/src/core/space/dto/space-id.dto.ts
Normal file
@ -0,0 +1,8 @@
|
||||
import { IsNotEmpty, IsString, IsUUID } from 'class-validator';
|
||||
|
||||
export class SpaceIdDto {
|
||||
@IsString()
|
||||
@IsNotEmpty()
|
||||
@IsUUID()
|
||||
spaceId: string;
|
||||
}
|
||||
Reference in New Issue
Block a user