Skip to content

Commit

Permalink
feat: relax url validations, increase url max length. fix: add valida…
Browse files Browse the repository at this point in the history
…te missing features, feat: add .js extensions to defs ts import paths. (#267)
  • Loading branch information
ramiroaisen authored Jan 29, 2024
2 parents f909163 + f714f0c commit 4d3f72f
Show file tree
Hide file tree
Showing 210 changed files with 593 additions and 584 deletions.
2 changes: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion defs/AccountLimits.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { AccountLimit } from "./AccountLimit";
import type { AccountLimit } from "./AccountLimit.js";

export type AccountLimits = {
stations: AccountLimit;
Expand Down
2 changes: 1 addition & 1 deletion defs/AdminPublicAccount.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { Account } from "./db/Account";
import type { Account } from "./db/Account.js";

export type AdminPublicAccount = Account;
2 changes: 1 addition & 1 deletion defs/AdminPublicStation.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { Station } from "./db/Station";
import type { Station } from "./db/Station.js";

export type AdminPublicStation = Station;
4 changes: 2 additions & 2 deletions defs/Device.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { DateTime } from "./DateTime";
import type { UserAgent } from "./UserAgent";
import type { DateTime } from "./DateTime.js";
import type { UserAgent } from "./UserAgent.js";

export type Device = {
_id: string;
Expand Down
4 changes: 2 additions & 2 deletions defs/PublicAccount.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { AdminPublicAccount } from "./AdminPublicAccount";
import type { UserPublicAccount } from "./UserPublicAccount";
import type { AdminPublicAccount } from "./AdminPublicAccount.js";
import type { UserPublicAccount } from "./UserPublicAccount.js";

export type PublicAccount = AdminPublicAccount | UserPublicAccount;
4 changes: 2 additions & 2 deletions defs/PublicAdmin.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { DateTime } from "./DateTime";
import type { Metadata } from "./db/Metadata";
import type { DateTime } from "./DateTime.js";
import type { Metadata } from "./db/Metadata.js";

export type PublicAdmin = {
_id: string;
Expand Down
4 changes: 2 additions & 2 deletions defs/PublicPaymentMethod.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { DateTime } from "./DateTime";
import type { PublicPaymentMethodKind } from "./PublicPaymentMethodKind";
import type { DateTime } from "./DateTime.js";
import type { PublicPaymentMethodKind } from "./PublicPaymentMethodKind.js";

export type PublicPaymentMethod = {
_id: string;
Expand Down
4 changes: 2 additions & 2 deletions defs/PublicStation.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { AdminPublicStation } from "./AdminPublicStation";
import type { UserPublicStation } from "./UserPublicStation";
import type { AdminPublicStation } from "./AdminPublicStation.js";
import type { UserPublicStation } from "./UserPublicStation.js";

export type PublicStation = AdminPublicStation | UserPublicStation;
2 changes: 1 addition & 1 deletion defs/StationFrequency.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { StationFrequencyKind } from "./StationFrequencyKind";
import type { StationFrequencyKind } from "./StationFrequencyKind.js";

export type StationFrequency = { kind: StationFrequencyKind; freq: number };
6 changes: 3 additions & 3 deletions defs/UserPublicAccount.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { AccountLimits } from "./AccountLimits";
import type { DateTime } from "./DateTime";
import type { Metadata } from "./db/Metadata";
import type { AccountLimits } from "./AccountLimits.js";
import type { DateTime } from "./DateTime.js";
import type { Metadata } from "./db/Metadata.js";

export type UserPublicAccount = {
_id: string;
Expand Down
12 changes: 6 additions & 6 deletions defs/UserPublicStation.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { CountryCode } from "./CountryCode";
import type { DateTime } from "./DateTime";
import type { LangCode } from "./LangCode";
import type { Metadata } from "./db/Metadata";
import type { StationFrequency } from "./StationFrequency";
import type { StationTypeOfContent } from "./db/StationTypeOfContent";
import type { CountryCode } from "./CountryCode.js";
import type { DateTime } from "./DateTime.js";
import type { LangCode } from "./LangCode.js";
import type { Metadata } from "./db/Metadata.js";
import type { StationFrequency } from "./StationFrequency.js";
import type { StationTypeOfContent } from "./db/StationTypeOfContent.js";

export type UserPublicStation = {
_id: string;
Expand Down
16 changes: 8 additions & 8 deletions defs/analytics/Analytics.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { AnalyticsItem } from "./AnalyticsItem";
import type { AnalyticsQueryKind } from "./AnalyticsQueryKind";
import type { AnalyticsStation } from "./AnalyticsStation";
import type { CountryCode } from "../CountryCode";
import type { DateTime } from "../DateTime";
import type { TimezoneDateTime } from "../TimezoneDateTime";
import type { YearMonthDay } from "./YearMonthDay";
import type { YearMonthDayHour } from "./YearMonthDayHour";
import type { AnalyticsItem } from "./AnalyticsItem.js";
import type { AnalyticsQueryKind } from "./AnalyticsQueryKind.js";
import type { AnalyticsStation } from "./AnalyticsStation.js";
import type { CountryCode } from "../CountryCode.js";
import type { DateTime } from "../DateTime.js";
import type { TimezoneDateTime } from "../TimezoneDateTime.js";
import type { YearMonthDay } from "./YearMonthDay.js";
import type { YearMonthDayHour } from "./YearMonthDayHour.js";

export type Analytics = {
is_now: boolean;
Expand Down
2 changes: 1 addition & 1 deletion defs/analytics/AnalyticsItem.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { DateTime } from "../DateTime";
import type { DateTime } from "../DateTime.js";

export type AnalyticsItem<K> = {
key: K;
Expand Down
2 changes: 1 addition & 1 deletion defs/analytics/AnalyticsQueryKind.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { TimezoneDateTime } from "../TimezoneDateTime";
import type { TimezoneDateTime } from "../TimezoneDateTime.js";

export type AnalyticsQueryKind = { now: { offset_date: TimezoneDateTime } } | {
time_range: { since: TimezoneDateTime; until: TimezoneDateTime };
Expand Down
2 changes: 1 addition & 1 deletion defs/analytics/AnalyticsStation.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { DateTime } from "../DateTime";
import type { DateTime } from "../DateTime.js";

export type AnalyticsStation = {
_id: string;
Expand Down
2 changes: 1 addition & 1 deletion defs/api/ApiKey.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { DateTime } from "../DateTime";
import type { DateTime } from "../DateTime.js";

export type ApiKey = {
_id: string;
Expand Down
4 changes: 2 additions & 2 deletions defs/api/Me.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { PublicAdmin } from "../PublicAdmin";
import type { PublicUser } from "../db/PublicUser";
import type { PublicAdmin } from "../PublicAdmin.js";
import type { PublicUser } from "../db/PublicUser.js";

export type Me =
| { scope: "global" }
Expand Down
12 changes: 6 additions & 6 deletions defs/api/PublicInvitation.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { AccountInvitationState } from "../db/AccountInvitationState";
import type { DateTime } from "../DateTime";
import type { InvitationAccount } from "./InvitationAccount";
import type { InvitationAdminSender } from "./InvitationAdminSender";
import type { InvitationReceiver } from "./InvitationReceiver";
import type { InvitationUserSender } from "./InvitationUserSender";
import type { AccountInvitationState } from "../db/AccountInvitationState.js";
import type { DateTime } from "../DateTime.js";
import type { InvitationAccount } from "./InvitationAccount.js";
import type { InvitationAdminSender } from "./InvitationAdminSender.js";
import type { InvitationReceiver } from "./InvitationReceiver.js";
import type { InvitationUserSender } from "./InvitationUserSender.js";

export type PublicInvitation = {
id: string;
Expand Down
4 changes: 2 additions & 2 deletions defs/api/accounts/GET/Output.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { Paged } from "../../../Paged";
import type { PublicAccount } from "../../../PublicAccount";
import type { Paged } from "../../../Paged.js";
import type { PublicAccount } from "../../../PublicAccount.js";

export type Output = Paged<PublicAccount>;
4 changes: 2 additions & 2 deletions defs/api/accounts/GET/Query.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { PaginationQs } from "../../../qs/PaginationQs";
import type { VisibilityQs } from "../../../qs/VisibilityQs";
import type { PaginationQs } from "../../../qs/PaginationQs.js";
import type { VisibilityQs } from "../../../qs/VisibilityQs.js";

export type Query = { user_id?: string } & PaginationQs & VisibilityQs;
2 changes: 1 addition & 1 deletion defs/api/accounts/POST/Output.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { PublicAccount } from "../../../PublicAccount";
import type { PublicAccount } from "../../../PublicAccount.js";

export type Output = { account: PublicAccount };
2 changes: 1 addition & 1 deletion defs/api/accounts/POST/Payload.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { Metadata } from "../../../db/Metadata";
import type { Metadata } from "../../../db/Metadata.js";

export type Payload = {
name: string;
Expand Down
2 changes: 1 addition & 1 deletion defs/api/accounts/[account]/DELETE/Output.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { PublicAccount } from "../../../../PublicAccount";
import type { PublicAccount } from "../../../../PublicAccount.js";

export type Output = PublicAccount;
2 changes: 1 addition & 1 deletion defs/api/accounts/[account]/GET/Output.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { PublicAccount } from "../../../../PublicAccount";
import type { PublicAccount } from "../../../../PublicAccount.js";

export type Output = { is_owner: boolean; account: PublicAccount };
2 changes: 1 addition & 1 deletion defs/api/accounts/[account]/PATCH/Output.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { PublicAccount } from "../../../../PublicAccount";
import type { PublicAccount } from "../../../../PublicAccount.js";

export type Output = PublicAccount;
2 changes: 1 addition & 1 deletion defs/api/accounts/[account]/PATCH/Payload.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { AccountPatch } from "../../../../ops/AccountPatch";
import type { AccountPatch } from "../../../../ops/AccountPatch.js";

export type Payload = {} & AccountPatch;
2 changes: 1 addition & 1 deletion defs/api/accounts/[account]/members/GET/Member.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { UserAccountRelationKind } from "../../../../../db/UserAccountRelationKind";
import type { UserAccountRelationKind } from "../../../../../db/UserAccountRelationKind.js";

export type Member = {
_id: string;
Expand Down
2 changes: 1 addition & 1 deletion defs/api/accounts/[account]/members/GET/Output.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { Member } from "./Member";
import type { Member } from "./Member.js";

export type Output = { members: Array<Member> };
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { EmptyStruct } from "../../../../../../EmptyStruct";
import type { EmptyStruct } from "../../../../../../EmptyStruct.js";

export type Output = EmptyStruct;
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { EmptyStruct } from "../../../../../../../EmptyStruct";
import type { EmptyStruct } from "../../../../../../../EmptyStruct.js";

export type Output = EmptyStruct;
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { AccessKind } from "./AccessKind";
import type { AccessKind } from "./AccessKind.js";

export type Payload = { role: AccessKind };
2 changes: 1 addition & 1 deletion defs/api/accounts/[account]/stream-stats/GET/Output.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { Stats } from "../../../../../stream-connection-stats/Stats";
import type { Stats } from "../../../../../stream-connection-stats/Stats.js";

export type Output = { stats: Stats };
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { StatsItem } from "../../../../../../stream-connection-stats/StatsItem";
import type { StatsItem } from "../../../../../../stream-connection-stats/StatsItem.js";

export type Output = { stats: StatsItem };
2 changes: 1 addition & 1 deletion defs/api/accounts/[account]/stream-stats/now/GET/Output.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { StatsItem } from "../../../../../../stream-connection-stats/StatsItem";
import type { StatsItem } from "../../../../../../stream-connection-stats/StatsItem.js";

export type Output = { stats: StatsItem };
4 changes: 2 additions & 2 deletions defs/api/admins/GET/Output.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { Paged } from "../../../Paged";
import type { PublicAdmin } from "../../../PublicAdmin";
import type { Paged } from "../../../Paged.js";
import type { PublicAdmin } from "../../../PublicAdmin.js";

export type Output = Paged<PublicAdmin>;
4 changes: 2 additions & 2 deletions defs/api/admins/GET/Query.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { PaginationQs } from "../../../qs/PaginationQs";
import type { VisibilityQs } from "../../../qs/VisibilityQs";
import type { PaginationQs } from "../../../qs/PaginationQs.js";
import type { VisibilityQs } from "../../../qs/VisibilityQs.js";

export type Query = {} & PaginationQs & VisibilityQs;
2 changes: 1 addition & 1 deletion defs/api/admins/POST/Output.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { PublicAdmin } from "../../../PublicAdmin";
import type { PublicAdmin } from "../../../PublicAdmin.js";

export type Output = { admin: PublicAdmin };
2 changes: 1 addition & 1 deletion defs/api/admins/POST/Payload.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { Metadata } from "../../../db/Metadata";
import type { Metadata } from "../../../db/Metadata.js";

export type Payload = {
first_name: string;
Expand Down
2 changes: 1 addition & 1 deletion defs/api/admins/[admin]/GET/Output.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { PublicAdmin } from "../../../../PublicAdmin";
import type { PublicAdmin } from "../../../../PublicAdmin.js";

export type Output = { admin: PublicAdmin };
2 changes: 1 addition & 1 deletion defs/api/admins/[admin]/PATCH/Output.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { PublicAdmin } from "../../../../PublicAdmin";
import type { PublicAdmin } from "../../../../PublicAdmin.js";

export type Output = PublicAdmin;
2 changes: 1 addition & 1 deletion defs/api/admins/[admin]/PATCH/Payload.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { AdminPatch } from "../../../../ops/AdminPatch";
import type { AdminPatch } from "../../../../ops/AdminPatch.js";

export type Payload = {} & AdminPatch;
2 changes: 1 addition & 1 deletion defs/api/admins/[admin]/change-password/POST/Output.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { EmptyStruct } from "../../../../../EmptyStruct";
import type { EmptyStruct } from "../../../../../EmptyStruct.js";

export type Output = EmptyStruct;
4 changes: 2 additions & 2 deletions defs/api/analytics/GET/CountryCodeOrZZ.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { CountryCode } from "../../../CountryCode";
import type { ZZ } from "./ZZ";
import type { CountryCode } from "../../../CountryCode.js";
import type { ZZ } from "./ZZ.js";

export type CountryCodeOrZZ = ZZ | CountryCode;
2 changes: 1 addition & 1 deletion defs/api/analytics/GET/Output.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { Analytics } from "../../../analytics/Analytics";
import type { Analytics } from "../../../analytics/Analytics.js";

export type Output = { analytics: Analytics };
4 changes: 2 additions & 2 deletions defs/api/analytics/GET/Query.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { AnalyticsQueryKind } from "../../../analytics/AnalyticsQueryKind";
import type { CountryCodeOrZZ } from "./CountryCodeOrZZ";
import type { AnalyticsQueryKind } from "../../../analytics/AnalyticsQueryKind.js";
import type { CountryCodeOrZZ } from "./CountryCodeOrZZ.js";

export type Query = {
kind: AnalyticsQueryKind;
Expand Down
4 changes: 2 additions & 2 deletions defs/api/app-analytics/GET/CountryCodeOrZZ.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { CountryCode } from "../../../CountryCode";
import type { ZZ } from "./ZZ";
import type { CountryCode } from "../../../CountryCode.js";
import type { ZZ } from "./ZZ.js";

export type CountryCodeOrZZ = ZZ | CountryCode;
2 changes: 1 addition & 1 deletion defs/api/app-analytics/GET/Output.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { Analytics } from "../../../app-analytics/Analytics";
import type { Analytics } from "../../../app-analytics/Analytics.js";

export type Output = { analytics: Analytics };
4 changes: 2 additions & 2 deletions defs/api/app-analytics/GET/Query.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { AnalyticsQueryKind } from "../../../app-analytics/AnalyticsQueryKind";
import type { CountryCodeOrZZ } from "./CountryCodeOrZZ";
import type { AnalyticsQueryKind } from "../../../app-analytics/AnalyticsQueryKind.js";
import type { CountryCodeOrZZ } from "./CountryCodeOrZZ.js";

export type Query = {
kind: AnalyticsQueryKind;
Expand Down
2 changes: 1 addition & 1 deletion defs/api/auth/admin/delegate/[user]/POST/Output.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { AdminPublicUser } from "../../../../../../db/AdminPublicUser";
import type { AdminPublicUser } from "../../../../../../db/AdminPublicUser.js";

export type Output = {
user: AdminPublicUser;
Expand Down
2 changes: 1 addition & 1 deletion defs/api/auth/admin/login/POST/Output.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { PublicAdmin } from "../../../../../PublicAdmin";
import type { PublicAdmin } from "../../../../../PublicAdmin.js";

export type Output = { admin: PublicAdmin; token: string; media_key: string };
Loading

0 comments on commit 4d3f72f

Please sign in to comment.