Skip to content

Commit a0c0ae6

Browse files
committed
chore(organization): remove dead code
1 parent f34011e commit a0c0ae6

File tree

4 files changed

+13
-109
lines changed

4 files changed

+13
-109
lines changed

packages/~/app/urls/src/pattern.d.ts

Lines changed: 12 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,8 @@ declare const app: import("hono/hono-base").HonoBase<
222222
};
223223
} & {
224224
query: {
225-
user_id: string;
226225
organization_id: string;
226+
user_id: string;
227227
};
228228
};
229229
output: {};
@@ -306,6 +306,17 @@ declare const app: import("hono/hono-base").HonoBase<
306306
add_member: "AS_INTERNAL" | "AS_EXTERNAL";
307307
add_domain?: string | undefined;
308308
send_notitfication?: string | undefined;
309+
verification_type?:
310+
| "null"
311+
| "code_sent_to_official_contact_email"
312+
| "in_liste_dirigeants_rna"
313+
| "no_validation_means_available"
314+
| "official_contact_domain"
315+
| "official_contact_email"
316+
| "trackdechets_email_domain"
317+
| "verified_by_coop_mediation_numerique"
318+
| "verified_email_domain"
319+
| undefined;
309320
};
310321
};
311322
output: {};
@@ -701,28 +712,6 @@ declare const app: import("hono/hono-base").HonoBase<
701712
};
702713
}),
703714
"/members"
704-
>
705-
| import("hono/types").MergeSchemaPath<
706-
| import("hono/types").BlankSchema
707-
| import("hono/types").MergeSchemaPath<
708-
{
709-
"/:domain": {
710-
$patch: {
711-
input: {
712-
param: {
713-
id: string;
714-
domain: string;
715-
};
716-
};
717-
output: "OK";
718-
outputFormat: "text";
719-
status: 200;
720-
};
721-
};
722-
},
723-
"/verify"
724-
>,
725-
"/$procedures"
726715
>,
727716
"/:id"
728717
>

packages/~/organizations/api/src/:id/$procedures/index.ts

Lines changed: 0 additions & 8 deletions
This file was deleted.

packages/~/organizations/api/src/:id/$procedures/verify_domain.ts

Lines changed: 0 additions & 75 deletions
This file was deleted.

packages/~/organizations/api/src/:id/index.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import { to as await_to } from "await-to-js";
1313
import { Hono } from "hono";
1414
import { getContext } from "hono/context-storage";
1515
import { jsxRenderer } from "hono/jsx-renderer";
16-
import organization_procedures_router from "./$procedures";
1716
import type { ContextType, ContextVariablesType } from "./context";
1817
import organization_domains_router from "./domains";
1918
import organization_members_router from "./members";
@@ -108,5 +107,4 @@ export default new Hono<ContextType>()
108107
)
109108
//
110109
.route("/members", organization_members_router)
111-
.route("/domains", organization_domains_router)
112-
.route("/$procedures", organization_procedures_router);
110+
.route("/domains", organization_domains_router);

0 commit comments

Comments
 (0)