diff --git a/packages/backend-rs/index.d.ts b/packages/backend-rs/index.d.ts index b7b3cb1e8a..50a212dd6a 100644 --- a/packages/backend-rs/index.d.ts +++ b/packages/backend-rs/index.d.ts @@ -1,5 +1,10 @@ /* auto-generated by NAPI-RS */ -/* eslint-disable */ +/* Do NOT edit this file manually */ + +type DateTimeWithTimeZone = Date; + +type Json = any; + export interface AbuseUserReport { id: string createdAt: DateTimeWithTimeZone diff --git a/packages/backend-rs/package.json b/packages/backend-rs/package.json index e96bfc5ef7..7b5ad60703 100644 --- a/packages/backend-rs/package.json +++ b/packages/backend-rs/package.json @@ -11,6 +11,6 @@ }, "scripts": { "build": "napi build --features napi --no-const-enum --platform --release --output-dir ./built/", - "build:debug": "napi build --features napi --no-const-enum --platform --output-dir ./built/" + "build:debug": "napi build --features napi --no-const-enum --platform --output-dir ./built/ --dts-header '/* auto-generated by NAPI-RS */\n/* Do NOT edit this file manually */\n\ntype DateTimeWithTimeZone = Date;\n\ntype Json = any;\n\n'" } } diff --git a/packages/backend/src/@types/backend-rs.d.ts b/packages/backend/src/@types/backend-rs.d.ts deleted file mode 100644 index c1a6cc71be..0000000000 --- a/packages/backend/src/@types/backend-rs.d.ts +++ /dev/null @@ -1 +0,0 @@ -type DateTimeWithTimeZone = Date;