Skip to content

Commit

Permalink
Better exports
Browse files Browse the repository at this point in the history
  • Loading branch information
j3lte committed Dec 8, 2023
1 parent 685eea5 commit e6d974a
Show file tree
Hide file tree
Showing 69 changed files with 345 additions and 69 deletions.
6 changes: 5 additions & 1 deletion scripts/templates/provider.ts.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
//
// *******************************************************
import type { AuthOpts, Options } from "https://deno.land/x/soda@<%= it.item.sodaVersion %>/mod.ts";
import type { AuthOpts, Options, SodaQuery } from "https://deno.land/x/soda@<%= it.item.sodaVersion %>/mod.ts";
import { createQueryWithDataset, DataType, Field } from "https://deno.land/x/soda@<%= it.item.sodaVersion %>/mod.ts";
/**
Expand Down Expand Up @@ -103,6 +103,10 @@ export const RDWQuery = (auth: AuthOpts = {}, opts: Options = {}) =>
});
export const <%= it.item.name %> = {
RDWQuery: (auth?: AuthOpts, opts?: Options) => SodaQuery<<%= it.item.name %>_ResponseData>;
Fields: typeof Fields;
Info: typeof Info;
} = {
RDWQuery,
Fields: Fields,
Info: Info,
Expand Down
6 changes: 5 additions & 1 deletion src/providers/AsGegevensEegUitvoering.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//
// *******************************************************

import type { AuthOpts, Options } from "https://deno.land/x/soda@0.4.5/mod.ts";
import type { AuthOpts, Options, SodaQuery } from "https://deno.land/x/soda@0.4.5/mod.ts";
import { createQueryWithDataset, DataType, Field } from "https://deno.land/x/soda@0.4.5/mod.ts";

/**
Expand Down Expand Up @@ -441,6 +441,10 @@ export const RDWQuery = (auth: AuthOpts = {}, opts: Options = {}) =>
});

export const AsGegevensEegUitvoering = {
RDWQuery: (auth?: AuthOpts, opts?: Options) => SodaQuery<AsGegevensEegUitvoering_ResponseData>;
Fields: typeof Fields;
Info: typeof Info;
} = {
RDWQuery,
Fields: Fields,
Info: Info,
Expand Down
6 changes: 5 additions & 1 deletion src/providers/BasisgegevensEegUitvoering.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//
// *******************************************************

import type { AuthOpts, Options } from "https://deno.land/x/soda@0.4.5/mod.ts";
import type { AuthOpts, Options, SodaQuery } from "https://deno.land/x/soda@0.4.5/mod.ts";
import { createQueryWithDataset, DataType, Field } from "https://deno.land/x/soda@0.4.5/mod.ts";

/**
Expand Down Expand Up @@ -1545,6 +1545,10 @@ export const RDWQuery = (auth: AuthOpts = {}, opts: Options = {}) =>
});

export const BasisgegevensEegUitvoering = {
RDWQuery: (auth?: AuthOpts, opts?: Options) => SodaQuery<BasisgegevensEegUitvoering_ResponseData>;
Fields: typeof Fields;
Info: typeof Info;
} = {
RDWQuery,
Fields: Fields,
Info: Info,
Expand Down
6 changes: 5 additions & 1 deletion src/providers/BrandstoffenOpPc4.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//
// *******************************************************

import type { AuthOpts, Options } from "https://deno.land/x/soda@0.4.5/mod.ts";
import type { AuthOpts, Options, SodaQuery } from "https://deno.land/x/soda@0.4.5/mod.ts";
import { createQueryWithDataset, DataType, Field } from "https://deno.land/x/soda@0.4.5/mod.ts";

/**
Expand Down Expand Up @@ -153,6 +153,10 @@ export const RDWQuery = (auth: AuthOpts = {}, opts: Options = {}) =>
});

export const BrandstoffenOpPc4 = {
RDWQuery: (auth?: AuthOpts, opts?: Options) => SodaQuery<BrandstoffenOpPc4_ResponseData>;
Fields: typeof Fields;
Info: typeof Info;
} = {
RDWQuery,
Fields: Fields,
Info: Info,
Expand Down
6 changes: 5 additions & 1 deletion src/providers/CarrosserieUitvoering.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//
// *******************************************************

import type { AuthOpts, Options } from "https://deno.land/x/soda@0.4.5/mod.ts";
import type { AuthOpts, Options, SodaQuery } from "https://deno.land/x/soda@0.4.5/mod.ts";
import { createQueryWithDataset, DataType, Field } from "https://deno.land/x/soda@0.4.5/mod.ts";

/**
Expand Down Expand Up @@ -169,6 +169,10 @@ export const RDWQuery = (auth: AuthOpts = {}, opts: Options = {}) =>
});

export const CarrosserieUitvoering = {
RDWQuery: (auth?: AuthOpts, opts?: Options) => SodaQuery<CarrosserieUitvoering_ResponseData>;
Fields: typeof Fields;
Info: typeof Info;
} = {
RDWQuery,
Fields: Fields,
Info: Info,
Expand Down
6 changes: 5 additions & 1 deletion src/providers/CarrosserieUitvoeringKlasse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//
// *******************************************************

import type { AuthOpts, Options } from "https://deno.land/x/soda@0.4.5/mod.ts";
import type { AuthOpts, Options, SodaQuery } from "https://deno.land/x/soda@0.4.5/mod.ts";
import { createQueryWithDataset, DataType, Field } from "https://deno.land/x/soda@0.4.5/mod.ts";

/**
Expand Down Expand Up @@ -185,6 +185,10 @@ export const RDWQuery = (auth: AuthOpts = {}, opts: Options = {}) =>
});

export const CarrosserieUitvoeringKlasse = {
RDWQuery: (auth?: AuthOpts, opts?: Options) => SodaQuery<CarrosserieUitvoeringKlasse_ResponseData>;
Fields: typeof Fields;
Info: typeof Info;
} = {
RDWQuery,
Fields: Fields,
Info: Info,
Expand Down
6 changes: 5 additions & 1 deletion src/providers/CarrosserieUitvoeringNummeriekeCode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//
// *******************************************************

import type { AuthOpts, Options } from "https://deno.land/x/soda@0.4.5/mod.ts";
import type { AuthOpts, Options, SodaQuery } from "https://deno.land/x/soda@0.4.5/mod.ts";
import { createQueryWithDataset, DataType, Field } from "https://deno.land/x/soda@0.4.5/mod.ts";

/**
Expand Down Expand Up @@ -185,6 +185,10 @@ export const RDWQuery = (auth: AuthOpts = {}, opts: Options = {}) =>
});

export const CarrosserieUitvoeringNummeriekeCode = {
RDWQuery: (auth?: AuthOpts, opts?: Options) => SodaQuery<CarrosserieUitvoeringNummeriekeCode_ResponseData>;
Fields: typeof Fields;
Info: typeof Info;
} = {
RDWQuery,
Fields: Fields,
Info: Info,
Expand Down
6 changes: 5 additions & 1 deletion src/providers/EegVoertuigtypegoedkeuring.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//
// *******************************************************

import type { AuthOpts, Options } from "https://deno.land/x/soda@0.4.5/mod.ts";
import type { AuthOpts, Options, SodaQuery } from "https://deno.land/x/soda@0.4.5/mod.ts";
import { createQueryWithDataset, DataType, Field } from "https://deno.land/x/soda@0.4.5/mod.ts";

/**
Expand Down Expand Up @@ -665,6 +665,10 @@ export const RDWQuery = (auth: AuthOpts = {}, opts: Options = {}) =>
});

export const EegVoertuigtypegoedkeuring = {
RDWQuery: (auth?: AuthOpts, opts?: Options) => SodaQuery<EegVoertuigtypegoedkeuring_ResponseData>;
Fields: typeof Fields;
Info: typeof Info;
} = {
RDWQuery,
Fields: Fields,
Info: Info,
Expand Down
6 changes: 5 additions & 1 deletion src/providers/ErkendeBedrijven.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//
// *******************************************************

import type { AuthOpts, Options } from "https://deno.land/x/soda@0.4.5/mod.ts";
import type { AuthOpts, Options, SodaQuery } from "https://deno.land/x/soda@0.4.5/mod.ts";
import { createQueryWithDataset, DataType, Field } from "https://deno.land/x/soda@0.4.5/mod.ts";

/**
Expand Down Expand Up @@ -236,6 +236,10 @@ export const RDWQuery = (auth: AuthOpts = {}, opts: Options = {}) =>
});

export const ErkendeBedrijven = {
RDWQuery: (auth?: AuthOpts, opts?: Options) => SodaQuery<ErkendeBedrijven_ResponseData>;
Fields: typeof Fields;
Info: typeof Info;
} = {
RDWQuery,
Fields: Fields,
Info: Info,
Expand Down
6 changes: 5 additions & 1 deletion src/providers/Erkenningen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//
// *******************************************************

import type { AuthOpts, Options } from "https://deno.land/x/soda@0.4.5/mod.ts";
import type { AuthOpts, Options, SodaQuery } from "https://deno.land/x/soda@0.4.5/mod.ts";
import { createQueryWithDataset, DataType, Field } from "https://deno.land/x/soda@0.4.5/mod.ts";

/**
Expand Down Expand Up @@ -116,6 +116,10 @@ export const RDWQuery = (auth: AuthOpts = {}, opts: Options = {}) =>
});

export const Erkenningen = {
RDWQuery: (auth?: AuthOpts, opts?: Options) => SodaQuery<Erkenningen_ResponseData>;
Fields: typeof Fields;
Info: typeof Info;
} = {
RDWQuery,
Fields: Fields,
Info: Info,
Expand Down
6 changes: 5 additions & 1 deletion src/providers/Gebreken.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//
// *******************************************************

import type { AuthOpts, Options } from "https://deno.land/x/soda@0.4.5/mod.ts";
import type { AuthOpts, Options, SodaQuery } from "https://deno.land/x/soda@0.4.5/mod.ts";
import { createQueryWithDataset, DataType, Field } from "https://deno.land/x/soda@0.4.5/mod.ts";

/**
Expand Down Expand Up @@ -204,6 +204,10 @@ export const RDWQuery = (auth: AuthOpts = {}, opts: Options = {}) =>
});

export const Gebreken = {
RDWQuery: (auth?: AuthOpts, opts?: Options) => SodaQuery<Gebreken_ResponseData>;
Fields: typeof Fields;
Info: typeof Info;
} = {
RDWQuery,
Fields: Fields,
Info: Info,
Expand Down
6 changes: 5 additions & 1 deletion src/providers/GeconstateerdeGebreken.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//
// *******************************************************

import type { AuthOpts, Options } from "https://deno.land/x/soda@0.4.5/mod.ts";
import type { AuthOpts, Options, SodaQuery } from "https://deno.land/x/soda@0.4.5/mod.ts";
import { createQueryWithDataset, DataType, Field } from "https://deno.land/x/soda@0.4.5/mod.ts";

/**
Expand Down Expand Up @@ -204,6 +204,10 @@ export const RDWQuery = (auth: AuthOpts = {}, opts: Options = {}) =>
});

export const GeconstateerdeGebreken = {
RDWQuery: (auth?: AuthOpts, opts?: Options) => SodaQuery<GeconstateerdeGebreken_ResponseData>;
Fields: typeof Fields;
Info: typeof Info;
} = {
RDWQuery,
Fields: Fields,
Info: Info,
Expand Down
6 changes: 5 additions & 1 deletion src/providers/GeoCarpool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//
// *******************************************************

import type { AuthOpts, Options } from "https://deno.land/x/soda@0.4.5/mod.ts";
import type { AuthOpts, Options, SodaQuery } from "https://deno.land/x/soda@0.4.5/mod.ts";
import { createQueryWithDataset, DataType, Field } from "https://deno.land/x/soda@0.4.5/mod.ts";

/**
Expand Down Expand Up @@ -316,6 +316,10 @@ export const RDWQuery = (auth: AuthOpts = {}, opts: Options = {}) =>
});

export const GeoCarpool = {
RDWQuery: (auth?: AuthOpts, opts?: Options) => SodaQuery<GeoCarpool_ResponseData>;
Fields: typeof Fields;
Info: typeof Info;
} = {
RDWQuery,
Fields: Fields,
Info: Info,
Expand Down
6 changes: 5 additions & 1 deletion src/providers/GeoParkeerGarages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//
// *******************************************************

import type { AuthOpts, Options } from "https://deno.land/x/soda@0.4.5/mod.ts";
import type { AuthOpts, Options, SodaQuery } from "https://deno.land/x/soda@0.4.5/mod.ts";
import { createQueryWithDataset, DataType, Field } from "https://deno.land/x/soda@0.4.5/mod.ts";

/**
Expand Down Expand Up @@ -252,6 +252,10 @@ export const RDWQuery = (auth: AuthOpts = {}, opts: Options = {}) =>
});

export const GeoParkeerGarages = {
RDWQuery: (auth?: AuthOpts, opts?: Options) => SodaQuery<GeoParkeerGarages_ResponseData>;
Fields: typeof Fields;
Info: typeof Info;
} = {
RDWQuery,
Fields: Fields,
Info: Info,
Expand Down
6 changes: 5 additions & 1 deletion src/providers/GeoPenr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//
// *******************************************************

import type { AuthOpts, Options } from "https://deno.land/x/soda@0.4.5/mod.ts";
import type { AuthOpts, Options, SodaQuery } from "https://deno.land/x/soda@0.4.5/mod.ts";
import { createQueryWithDataset, DataType, Field } from "https://deno.land/x/soda@0.4.5/mod.ts";

/**
Expand Down Expand Up @@ -252,6 +252,10 @@ export const RDWQuery = (auth: AuthOpts = {}, opts: Options = {}) =>
});

export const GeoPenr = {
RDWQuery: (auth?: AuthOpts, opts?: Options) => SodaQuery<GeoPenr_ResponseData>;
Fields: typeof Fields;
Info: typeof Info;
} = {
RDWQuery,
Fields: Fields,
Info: Info,
Expand Down
6 changes: 5 additions & 1 deletion src/providers/HandelsbenamingUitvoering.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//
// *******************************************************

import type { AuthOpts, Options } from "https://deno.land/x/soda@0.4.5/mod.ts";
import type { AuthOpts, Options, SodaQuery } from "https://deno.land/x/soda@0.4.5/mod.ts";
import { createQueryWithDataset, DataType, Field } from "https://deno.land/x/soda@0.4.5/mod.ts";

/**
Expand Down Expand Up @@ -201,6 +201,10 @@ export const RDWQuery = (auth: AuthOpts = {}, opts: Options = {}) =>
});

export const HandelsbenamingUitvoering = {
RDWQuery: (auth?: AuthOpts, opts?: Options) => SodaQuery<HandelsbenamingUitvoering_ResponseData>;
Fields: typeof Fields;
Info: typeof Info;
} = {
RDWQuery,
Fields: Fields,
Info: Info,
Expand Down
6 changes: 5 additions & 1 deletion src/providers/KentekenVoertuigen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//
// *******************************************************

import type { AuthOpts, Options } from "https://deno.land/x/soda@0.4.5/mod.ts";
import type { AuthOpts, Options, SodaQuery } from "https://deno.land/x/soda@0.4.5/mod.ts";
import { createQueryWithDataset, DataType, Field } from "https://deno.land/x/soda@0.4.5/mod.ts";

/**
Expand Down Expand Up @@ -1609,6 +1609,10 @@ export const RDWQuery = (auth: AuthOpts = {}, opts: Options = {}) =>
});

export const KentekenVoertuigen = {
RDWQuery: (auth?: AuthOpts, opts?: Options) => SodaQuery<KentekenVoertuigen_ResponseData>;
Fields: typeof Fields;
Info: typeof Info;
} = {
RDWQuery,
Fields: Fields,
Info: Info,
Expand Down
6 changes: 5 additions & 1 deletion src/providers/KentekenVoertuigenAssen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//
// *******************************************************

import type { AuthOpts, Options } from "https://deno.land/x/soda@0.4.5/mod.ts";
import type { AuthOpts, Options, SodaQuery } from "https://deno.land/x/soda@0.4.5/mod.ts";
import { createQueryWithDataset, DataType, Field } from "https://deno.land/x/soda@0.4.5/mod.ts";

/**
Expand Down Expand Up @@ -391,6 +391,10 @@ export const RDWQuery = (auth: AuthOpts = {}, opts: Options = {}) =>
});

export const KentekenVoertuigenAssen = {
RDWQuery: (auth?: AuthOpts, opts?: Options) => SodaQuery<KentekenVoertuigenAssen_ResponseData>;
Fields: typeof Fields;
Info: typeof Info;
} = {
RDWQuery,
Fields: Fields,
Info: Info,
Expand Down
6 changes: 5 additions & 1 deletion src/providers/KentekenVoertuigenBijzonderheden.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//
// *******************************************************

import type { AuthOpts, Options } from "https://deno.land/x/soda@0.4.5/mod.ts";
import type { AuthOpts, Options, SodaQuery } from "https://deno.land/x/soda@0.4.5/mod.ts";
import { createQueryWithDataset, DataType, Field } from "https://deno.land/x/soda@0.4.5/mod.ts";

/**
Expand Down Expand Up @@ -169,6 +169,10 @@ export const RDWQuery = (auth: AuthOpts = {}, opts: Options = {}) =>
});

export const KentekenVoertuigenBijzonderheden = {
RDWQuery: (auth?: AuthOpts, opts?: Options) => SodaQuery<KentekenVoertuigenBijzonderheden_ResponseData>;
Fields: typeof Fields;
Info: typeof Info;
} = {
RDWQuery,
Fields: Fields,
Info: Info,
Expand Down
6 changes: 5 additions & 1 deletion src/providers/KentekenVoertuigenBrandstof.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//
// *******************************************************

import type { AuthOpts, Options } from "https://deno.land/x/soda@0.4.5/mod.ts";
import type { AuthOpts, Options, SodaQuery } from "https://deno.land/x/soda@0.4.5/mod.ts";
import { createQueryWithDataset, DataType, Field } from "https://deno.land/x/soda@0.4.5/mod.ts";

/**
Expand Down Expand Up @@ -781,6 +781,10 @@ export const RDWQuery = (auth: AuthOpts = {}, opts: Options = {}) =>
});

export const KentekenVoertuigenBrandstof = {
RDWQuery: (auth?: AuthOpts, opts?: Options) => SodaQuery<KentekenVoertuigenBrandstof_ResponseData>;
Fields: typeof Fields;
Info: typeof Info;
} = {
RDWQuery,
Fields: Fields,
Info: Info,
Expand Down
Loading

0 comments on commit e6d974a

Please sign in to comment.