Reorganize repo structure and standards references
This commit is contained in:
1 parent
3cb93a81be
commit
be2054274d
5885 files changed
+2588
-195
No files matched your search
+9
@@ -0,0 +1,9 @@
|
||||
export type ApiCallSummaryDto = {
|
||||
tenantId: string | null;
|
||||
method: string;
|
||||
endpoint: string;
|
||||
params: string;
|
||||
status: number;
|
||||
_avg: { duration: number | null };
|
||||
_count: { _all: number };
|
||||
};
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
import type { LegacyEntityWithDetails } from "@toolctrl/db/entities.server";
|
||||
|
||||
export type ApiEndpointDto = {
|
||||
entity: LegacyEntityWithDetails;
|
||||
route: string;
|
||||
method: string;
|
||||
description: string;
|
||||
responseSchema: string;
|
||||
bodyExample: string;
|
||||
};
|
||||
@@ -0,0 +1,6 @@
|
||||
import { ApiKeyLog } from "@toolctrl/db/prisma-browser";
|
||||
|
||||
export type ApiKeyLogDto = ApiKeyLog & {
|
||||
apiKey: { alias: string; tenant: { id: string; name: string } } | null;
|
||||
tenant?: { id: string; name: string; slug: string } | null | undefined;
|
||||
};
|
||||
Reference in new issue
Block a user