first commit

This commit is contained in:
2026-07-16 20:48:43 -03:00
commit 5696cee264
1111 changed files with 322270 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
export interface ICompany {
id?: string;
name: string;
slug: string;
description: string;
categoryId: number;
ownerId: string;
banned?: boolean;
// ... we don't need all the properties in the proxy model, just what we return/use
}
export type PaginateCompaniesParams = {
_id?: string;
name?: string;
ownerId?: string;
banned?: boolean;
page: number;
limit: number;
};
export type PaginateCompaniesResults = {
data: any[];
page: number;
pages: number;
};
export type UpdateCompanyParams = {
id: string;
name?: string;
description?: string;
categoryId?: number;
};
export type SetCompanyBannedParams = {
id: string;
banned: boolean;
};