Skip to content

Commit

Permalink
chore: Revert to default configuration of payload generated types
Browse files Browse the repository at this point in the history
  • Loading branch information
m453h committed Jul 17, 2024
1 parent 52a587e commit ecd189c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 4 additions & 0 deletions apps/roboshield/payload-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -414,3 +414,7 @@ export interface SettingsSite {
updatedAt?: string | null;
createdAt?: string | null;
}

declare module "payload" {
export interface GeneratedTypes extends Config {}
}
3 changes: 0 additions & 3 deletions apps/roboshield/payload.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,4 @@ export default buildConfig({
}),
] as any[],
telemetry: process?.env?.NODE_ENV !== "production",
typescript: {
declare: false,
},
});

0 comments on commit ecd189c

Please sign in to comment.