@mikezimm/fps-core-v7
Version:
Library of reusable core interfaces, types and constants migrated from fps-library-v2
42 lines • 1.54 kB
TypeScript
import { IAnySourceItem } from "./IAnyContent";
import { IDefaultUser } from "../../atoms/Users/IDefaultUser";
export interface IFPSFileObject extends IAnySourceItem {
ID: number;
FileRef: string;
FileLeafRef: string;
ServerRedirectedEmbedUrl: string;
Author?: IDefaultUser;
Editor?: IDefaultUser;
'Author/Title'?: string;
'Editor/Title'?: string;
'Author/Name'?: string;
'Editor/Name'?: string;
'File/ServerRelativeUrl'?: string;
CheckoutUserId?: number;
HasUniqueRoleAssignments?: boolean;
Title?: string;
FileSystemObjectType: 0 | 1;
FileSizeDisplay: string;
File_x0020_Type: string;
LinkFilename: string;
OData__UIVersion: number;
OData__UIVersionString: string;
DocIcon: string;
}
export declare const MinFileSelects: string[];
export declare const MinFileObjectSelects: string[];
export declare const libraryColumns: string[];
export declare const libraryColumnsMeta: string[];
export declare const SharedWithSelect: string[];
export declare const SharedWithExpand: string[];
/**
* These properties throw error on fetching.
* ,"ServerRedirectedPreviewURL", "SharedWithInternal"
*/
/**
* 2024-12-15: renamed thisSelect to SharedWithItemsSelect since it was exported
* Migrated from getOnlySharedItems file in restAPIs/lists/items/getOnlySharedItems
*/
export declare const SharedWithItemsSelect: string[];
export declare const filterSharedItems: string;
//# sourceMappingURL=IFPSFileObject.d.ts.map