Files Field - Add new controller (#17561)
Add new files field controller to fetch files from FILES field
This commit is contained in:
@@ -57,6 +57,12 @@ export type FileTokenJwtPayload = CommonPropertiesJwtPayload & {
|
||||
personId?: string;
|
||||
};
|
||||
|
||||
export type FilesFieldTokenJwtPayload = CommonPropertiesJwtPayload & {
|
||||
type: JwtTokenTypeEnum.FILE;
|
||||
workspaceId: string;
|
||||
fileId: string;
|
||||
};
|
||||
|
||||
export type LoginTokenJwtPayload = CommonPropertiesJwtPayload & {
|
||||
type: JwtTokenTypeEnum.LOGIN;
|
||||
workspaceId: string;
|
||||
@@ -127,4 +133,5 @@ export type JwtPayload =
|
||||
| TransientTokenJwtPayload
|
||||
| RefreshTokenJwtPayload
|
||||
| FileTokenJwtPayload
|
||||
| FilesFieldTokenJwtPayload
|
||||
| PostgresProxyTokenJwtPayload;
|
||||
|
||||
Reference in New Issue
Block a user