first commit
This commit is contained in:
+52
@@ -0,0 +1,52 @@
|
||||
export declare function getAllPlatforms(includeInactive?: boolean): Promise<{
|
||||
id: number;
|
||||
isActive: boolean;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
name: string;
|
||||
contactInfo: string | null;
|
||||
}[]>;
|
||||
export declare function getPlatformById(id: number): Promise<({
|
||||
_count: {
|
||||
contracts: number;
|
||||
};
|
||||
} & {
|
||||
id: number;
|
||||
isActive: boolean;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
name: string;
|
||||
contactInfo: string | null;
|
||||
}) | null>;
|
||||
export declare function createPlatform(data: {
|
||||
name: string;
|
||||
contactInfo?: string;
|
||||
}): Promise<{
|
||||
id: number;
|
||||
isActive: boolean;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
name: string;
|
||||
contactInfo: string | null;
|
||||
}>;
|
||||
export declare function updatePlatform(id: number, data: {
|
||||
name?: string;
|
||||
contactInfo?: string;
|
||||
isActive?: boolean;
|
||||
}): Promise<{
|
||||
id: number;
|
||||
isActive: boolean;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
name: string;
|
||||
contactInfo: string | null;
|
||||
}>;
|
||||
export declare function deletePlatform(id: number): Promise<{
|
||||
id: number;
|
||||
isActive: boolean;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
name: string;
|
||||
contactInfo: string | null;
|
||||
}>;
|
||||
//# sourceMappingURL=platform.service.d.ts.map
|
||||
Reference in New Issue
Block a user