mirror of
https://github.com/docmost/docmost.git
synced 2026-09-02 20:05:41 +08:00
space updates
* space UI * space management * space permissions * other fixes
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { IsNumber, IsOptional, IsString } from 'class-validator';
|
||||
import { IsBoolean, IsNumber, IsOptional, IsString } from 'class-validator';
|
||||
|
||||
export class SearchDTO {
|
||||
@IsString()
|
||||
@@ -16,3 +16,16 @@ export class SearchDTO {
|
||||
@IsNumber()
|
||||
offset?: number;
|
||||
}
|
||||
|
||||
export class SearchSuggestionDTO {
|
||||
@IsString()
|
||||
query: string;
|
||||
|
||||
@IsOptional()
|
||||
@IsBoolean()
|
||||
includeUsers?: string;
|
||||
|
||||
@IsOptional()
|
||||
@IsBoolean()
|
||||
includeGroups?: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user