Rename /data to /legal.

This commit is contained in:
Emmanuel 2022-08-14 14:23:42 +02:00
parent 87df843b82
commit d45fc414a9
47 changed files with 46 additions and 46 deletions

View file

@ -7,7 +7,7 @@ import path from "path"
import type { JSONValue } from "postgres" import type { JSONValue } from "postgres"
import sade from "sade" import sade from "sade"
import type { DossierLegislatif, XmlHeader } from "$lib/data" import type { DossierLegislatif, XmlHeader } from "$lib/legal"
import { db } from "$lib/server/database" import { db } from "$lib/server/database"
import { walkDir } from "$lib/server/file_systems" import { walkDir } from "$lib/server/file_systems"

View file

@ -16,7 +16,7 @@ import type {
TexteVersion, TexteVersion,
Versions, Versions,
XmlHeader, XmlHeader,
} from "$lib/data" } from "$lib/legal"
import { db } from "$lib/server/database" import { db } from "$lib/server/database"
import { walkDir } from "$lib/server/file_systems" import { walkDir } from "$lib/server/file_systems"

View file

@ -15,7 +15,7 @@ import type {
Textelr, Textelr,
TexteVersion, TexteVersion,
XmlHeader, XmlHeader,
} from "$lib/data" } from "$lib/legal"
import { db } from "$lib/server/database" import { db } from "$lib/server/database"
import { walkDir } from "$lib/server/file_systems" import { walkDir } from "$lib/server/file_systems"

View file

@ -15,7 +15,7 @@ import type {
TexteVersion, TexteVersion,
Versions, Versions,
XmlHeader, XmlHeader,
} from "$lib/data" } from "$lib/legal"
import { db } from "$lib/server/database" import { db } from "$lib/server/database"
import { walkDir } from "$lib/server/file_systems" import { walkDir } from "$lib/server/file_systems"

View file

@ -19,7 +19,7 @@ import {
type LienArt, type LienArt,
type VersionsWrapper, type VersionsWrapper,
type DossierLegislatif, type DossierLegislatif,
} from "$lib/data" } from "$lib/legal"
export const summarizeArticleProperties: Summarizer = (access, value) => { export const summarizeArticleProperties: Summarizer = (access, value) => {
if (access?.key === "article" && typeof value !== "number") { if (access?.key === "article" && typeof value !== "number") {

View file

@ -2,7 +2,7 @@
import { TreeView, SummaryView } from "augmented-data-viewer" import { TreeView, SummaryView } from "augmented-data-viewer"
import ErrorAlert from "$lib/components/errors/ErrorAlert.svelte" import ErrorAlert from "$lib/components/errors/ErrorAlert.svelte"
import type { Article } from "$lib/data" import type { Article } from "$lib/legal"
import { import {
summarizeArticleProperties, summarizeArticleProperties,
summarizeLegalObject, summarizeLegalObject,

View file

@ -1,7 +1,7 @@
import type { RequestHandler } from "@sveltejs/kit" import type { RequestHandler } from "@sveltejs/kit"
import type { JSONObject } from "@sveltejs/kit/types/private" import type { JSONObject } from "@sveltejs/kit/types/private"
import type { Article } from "$lib/data" import type { Article } from "$lib/legal"
import { db } from "$lib/server/database" import { db } from "$lib/server/database"
export const GET: RequestHandler = async ({ params }) => { export const GET: RequestHandler = async ({ params }) => {

View file

@ -6,7 +6,7 @@
// import { page } from "$app/stores" // import { page } from "$app/stores"
import ErrorAlert from "$lib/components/errors/ErrorAlert.svelte" import ErrorAlert from "$lib/components/errors/ErrorAlert.svelte"
import Pagination from "$lib/components/Pagination.svelte" import Pagination from "$lib/components/Pagination.svelte"
import type { Article } from "$lib/data" import type { Article } from "$lib/legal"
import { summarizeArticleProperties } from "$lib/summaries" import { summarizeArticleProperties } from "$lib/summaries"
let articles: Article[] let articles: Article[]

View file

@ -3,7 +3,7 @@ import type { RequestHandler } from "@sveltejs/kit"
import type { JSONObject } from "@sveltejs/kit/types/private" import type { JSONObject } from "@sveltejs/kit/types/private"
import { auditSearchQueryContent } from "$lib/auditors/queries" import { auditSearchQueryContent } from "$lib/auditors/queries"
import type { Article } from "$lib/data" import type { Article } from "$lib/legal"
import { db } from "$lib/server/database" import { db } from "$lib/server/database"
export function auditQuery( export function auditQuery(

View file

@ -2,7 +2,7 @@
import { TreeView, SummaryView } from "augmented-data-viewer" import { TreeView, SummaryView } from "augmented-data-viewer"
import ErrorAlert from "$lib/components/errors/ErrorAlert.svelte" import ErrorAlert from "$lib/components/errors/ErrorAlert.svelte"
import type { DossierLegislatif } from "$lib/data" import type { DossierLegislatif } from "$lib/legal"
import { import {
summarizeDossierLegislatifProperties, summarizeDossierLegislatifProperties,
summarizeLegalObject, summarizeLegalObject,

View file

@ -1,7 +1,7 @@
import type { RequestHandler } from "@sveltejs/kit" import type { RequestHandler } from "@sveltejs/kit"
import type { JSONObject } from "@sveltejs/kit/types/private" import type { JSONObject } from "@sveltejs/kit/types/private"
import type { DossierLegislatif } from "$lib/data" import type { DossierLegislatif } from "$lib/legal"
import { db } from "$lib/server/database" import { db } from "$lib/server/database"
export const GET: RequestHandler = async ({ params }) => { export const GET: RequestHandler = async ({ params }) => {

View file

@ -6,7 +6,7 @@
// import { page } from "$app/stores" // import { page } from "$app/stores"
import ErrorAlert from "$lib/components/errors/ErrorAlert.svelte" import ErrorAlert from "$lib/components/errors/ErrorAlert.svelte"
import Pagination from "$lib/components/Pagination.svelte" import Pagination from "$lib/components/Pagination.svelte"
import type { DossierLegislatif } from "$lib/data" import type { DossierLegislatif } from "$lib/legal"
import { summarizeDossierLegislatifProperties } from "$lib/summaries" import { summarizeDossierLegislatifProperties } from "$lib/summaries"
let dossiersLegislatifs: DossierLegislatif[] let dossiersLegislatifs: DossierLegislatif[]

View file

@ -3,7 +3,7 @@ import type { RequestHandler } from "@sveltejs/kit"
import type { JSONObject } from "@sveltejs/kit/types/private" import type { JSONObject } from "@sveltejs/kit/types/private"
import { auditSearchQueryContent } from "$lib/auditors/queries" import { auditSearchQueryContent } from "$lib/auditors/queries"
import type { DossierLegislatif } from "$lib/data" import type { DossierLegislatif } from "$lib/legal"
import { db } from "$lib/server/database" import { db } from "$lib/server/database"
export function auditQuery( export function auditQuery(

View file

@ -2,7 +2,7 @@
import { TreeView, SummaryView } from "augmented-data-viewer" import { TreeView, SummaryView } from "augmented-data-viewer"
import ErrorAlert from "$lib/components/errors/ErrorAlert.svelte" import ErrorAlert from "$lib/components/errors/ErrorAlert.svelte"
import type { IdWrapper } from "$lib/data" import type { IdWrapper } from "$lib/legal"
import { import {
summarizeIdWrapperProperties, summarizeIdWrapperProperties,
summarizeLegalObject, summarizeLegalObject,

View file

@ -1,7 +1,7 @@
import type { RequestHandler } from "@sveltejs/kit" import type { RequestHandler } from "@sveltejs/kit"
import type { JSONObject } from "@sveltejs/kit/types/private" import type { JSONObject } from "@sveltejs/kit/types/private"
import type { IdWrapper } from "$lib/data" import type { IdWrapper } from "$lib/legal"
import { db } from "$lib/server/database" import { db } from "$lib/server/database"
export const GET: RequestHandler = async ({ params }) => { export const GET: RequestHandler = async ({ params }) => {

View file

@ -6,7 +6,7 @@
// import { page } from "$app/stores" // import { page } from "$app/stores"
import ErrorAlert from "$lib/components/errors/ErrorAlert.svelte" import ErrorAlert from "$lib/components/errors/ErrorAlert.svelte"
import Pagination from "$lib/components/Pagination.svelte" import Pagination from "$lib/components/Pagination.svelte"
import type { IdWrapper } from "$lib/data" import type { IdWrapper } from "$lib/legal"
import { summarizeIdWrapperProperties } from "$lib/summaries" import { summarizeIdWrapperProperties } from "$lib/summaries"
let idsWrapper: IdWrapper[] let idsWrapper: IdWrapper[]

View file

@ -3,7 +3,7 @@ import type { RequestHandler } from "@sveltejs/kit"
import type { JSONObject } from "@sveltejs/kit/types/private" import type { JSONObject } from "@sveltejs/kit/types/private"
import { auditSearchQueryContent } from "$lib/auditors/queries" import { auditSearchQueryContent } from "$lib/auditors/queries"
import type { IdWrapper } from "$lib/data" import type { IdWrapper } from "$lib/legal"
import { db } from "$lib/server/database" import { db } from "$lib/server/database"
export function auditQuery( export function auditQuery(

View file

@ -2,7 +2,7 @@
import { TreeView, SummaryView } from "augmented-data-viewer" import { TreeView, SummaryView } from "augmented-data-viewer"
import ErrorAlert from "$lib/components/errors/ErrorAlert.svelte" import ErrorAlert from "$lib/components/errors/ErrorAlert.svelte"
import type { Idcc } from "$lib/data" import type { Idcc } from "$lib/legal"
import { summarizeIdccProperties, summarizeLegalObject } from "$lib/summaries" import { summarizeIdccProperties, summarizeLegalObject } from "$lib/summaries"
export let error: unknown export let error: unknown

View file

@ -1,7 +1,7 @@
import type { RequestHandler } from "@sveltejs/kit" import type { RequestHandler } from "@sveltejs/kit"
import type { JSONObject } from "@sveltejs/kit/types/private" import type { JSONObject } from "@sveltejs/kit/types/private"
import type { Idcc } from "$lib/data" import type { Idcc } from "$lib/legal"
import { db } from "$lib/server/database" import { db } from "$lib/server/database"
export const GET: RequestHandler = async ({ params }) => { export const GET: RequestHandler = async ({ params }) => {

View file

@ -6,7 +6,7 @@
// import { page } from "$app/stores" // import { page } from "$app/stores"
import ErrorAlert from "$lib/components/errors/ErrorAlert.svelte" import ErrorAlert from "$lib/components/errors/ErrorAlert.svelte"
import Pagination from "$lib/components/Pagination.svelte" import Pagination from "$lib/components/Pagination.svelte"
import type { Idcc } from "$lib/data" import type { Idcc } from "$lib/legal"
import { summarizeIdccProperties } from "$lib/summaries" import { summarizeIdccProperties } from "$lib/summaries"
export let error: unknown export let error: unknown

View file

@ -3,7 +3,7 @@ import type { RequestHandler } from "@sveltejs/kit"
import type { JSONObject } from "@sveltejs/kit/types/private" import type { JSONObject } from "@sveltejs/kit/types/private"
import { auditSearchQueryContent } from "$lib/auditors/queries" import { auditSearchQueryContent } from "$lib/auditors/queries"
import type { Idcc } from "$lib/data" import type { Idcc } from "$lib/legal"
import { db } from "$lib/server/database" import { db } from "$lib/server/database"
export function auditQuery( export function auditQuery(

View file

@ -2,7 +2,7 @@
import { TreeView, SummaryView } from "augmented-data-viewer" import { TreeView, SummaryView } from "augmented-data-viewer"
import ErrorAlert from "$lib/components/errors/ErrorAlert.svelte" import ErrorAlert from "$lib/components/errors/ErrorAlert.svelte"
import type { Jo } from "$lib/data" import type { Jo } from "$lib/legal"
import { summarizeJoProperties, summarizeLegalObject } from "$lib/summaries" import { summarizeJoProperties, summarizeLegalObject } from "$lib/summaries"
export let error: unknown export let error: unknown

View file

@ -1,7 +1,7 @@
import type { RequestHandler } from "@sveltejs/kit" import type { RequestHandler } from "@sveltejs/kit"
import type { JSONObject } from "@sveltejs/kit/types/private" import type { JSONObject } from "@sveltejs/kit/types/private"
import type { Jo } from "$lib/data" import type { Jo } from "$lib/legal"
import { db } from "$lib/server/database" import { db } from "$lib/server/database"
export const GET: RequestHandler = async ({ params }) => { export const GET: RequestHandler = async ({ params }) => {

View file

@ -6,7 +6,7 @@
// import { page } from "$app/stores" // import { page } from "$app/stores"
import ErrorAlert from "$lib/components/errors/ErrorAlert.svelte" import ErrorAlert from "$lib/components/errors/ErrorAlert.svelte"
import Pagination from "$lib/components/Pagination.svelte" import Pagination from "$lib/components/Pagination.svelte"
import type { Jo } from "$lib/data" import type { Jo } from "$lib/legal"
import { summarizeJoProperties } from "$lib/summaries" import { summarizeJoProperties } from "$lib/summaries"
export let error: unknown export let error: unknown

View file

@ -3,7 +3,7 @@ import type { RequestHandler } from "@sveltejs/kit"
import type { JSONObject } from "@sveltejs/kit/types/private" import type { JSONObject } from "@sveltejs/kit/types/private"
import { auditSearchQueryContent } from "$lib/auditors/queries" import { auditSearchQueryContent } from "$lib/auditors/queries"
import type { Jo } from "$lib/data" import type { Jo } from "$lib/legal"
import { db } from "$lib/server/database" import { db } from "$lib/server/database"
export function auditQuery( export function auditQuery(

View file

@ -3,7 +3,7 @@ import type { RequestHandler } from "@sveltejs/kit"
import type { JSONObject } from "@sveltejs/kit/types/private" import type { JSONObject } from "@sveltejs/kit/types/private"
import { auditSearchQueryContent } from "$lib/auditors/queries" import { auditSearchQueryContent } from "$lib/auditors/queries"
import type { Article } from "$lib/data" import type { Article } from "$lib/legal"
import { db } from "$lib/server/database" import { db } from "$lib/server/database"
export function auditQuery( export function auditQuery(

View file

@ -2,7 +2,7 @@
import { TreeView, SummaryView } from "augmented-data-viewer" import { TreeView, SummaryView } from "augmented-data-viewer"
import ErrorAlert from "$lib/components/errors/ErrorAlert.svelte" import ErrorAlert from "$lib/components/errors/ErrorAlert.svelte"
import type { SectionTa } from "$lib/data" import type { SectionTa } from "$lib/legal"
import { import {
summarizeSectionTaProperties, summarizeSectionTaProperties,
summarizeLegalObject, summarizeLegalObject,

View file

@ -1,7 +1,7 @@
import type { RequestHandler } from "@sveltejs/kit" import type { RequestHandler } from "@sveltejs/kit"
import type { JSONObject } from "@sveltejs/kit/types/private" import type { JSONObject } from "@sveltejs/kit/types/private"
import type { SectionTa } from "$lib/data" import type { SectionTa } from "$lib/legal"
import { db } from "$lib/server/database" import { db } from "$lib/server/database"
export const GET: RequestHandler = async ({ params }) => { export const GET: RequestHandler = async ({ params }) => {

View file

@ -6,7 +6,7 @@
// import { page } from "$app/stores" // import { page } from "$app/stores"
import ErrorAlert from "$lib/components/errors/ErrorAlert.svelte" import ErrorAlert from "$lib/components/errors/ErrorAlert.svelte"
import Pagination from "$lib/components/Pagination.svelte" import Pagination from "$lib/components/Pagination.svelte"
import type { SectionTa } from "$lib/data" import type { SectionTa } from "$lib/legal"
import { summarizeSectionTaProperties } from "$lib/summaries" import { summarizeSectionTaProperties } from "$lib/summaries"
export let error: unknown export let error: unknown

View file

@ -3,7 +3,7 @@ import type { RequestHandler } from "@sveltejs/kit"
import type { JSONObject } from "@sveltejs/kit/types/private" import type { JSONObject } from "@sveltejs/kit/types/private"
import { auditSearchQueryContent } from "$lib/auditors/queries" import { auditSearchQueryContent } from "$lib/auditors/queries"
import type { SectionTa } from "$lib/data" import type { SectionTa } from "$lib/legal"
import { db } from "$lib/server/database" import { db } from "$lib/server/database"
export function auditQuery( export function auditQuery(

View file

@ -2,7 +2,7 @@
import { TreeView, SummaryView } from "augmented-data-viewer" import { TreeView, SummaryView } from "augmented-data-viewer"
import ErrorAlert from "$lib/components/errors/ErrorAlert.svelte" import ErrorAlert from "$lib/components/errors/ErrorAlert.svelte"
import type { TexteVersion } from "$lib/data" import type { TexteVersion } from "$lib/legal"
import { import {
summarizeTexteVersionProperties, summarizeTexteVersionProperties,
summarizeLegalObject, summarizeLegalObject,

View file

@ -1,7 +1,7 @@
import type { RequestHandler } from "@sveltejs/kit" import type { RequestHandler } from "@sveltejs/kit"
import type { JSONObject } from "@sveltejs/kit/types/private" import type { JSONObject } from "@sveltejs/kit/types/private"
import type { TexteVersion } from "$lib/data" import type { TexteVersion } from "$lib/legal"
import { db } from "$lib/server/database" import { db } from "$lib/server/database"
export const GET: RequestHandler = async ({ params }) => { export const GET: RequestHandler = async ({ params }) => {

View file

@ -6,7 +6,7 @@
// import { page } from "$app/stores" // import { page } from "$app/stores"
import ErrorAlert from "$lib/components/errors/ErrorAlert.svelte" import ErrorAlert from "$lib/components/errors/ErrorAlert.svelte"
import Pagination from "$lib/components/Pagination.svelte" import Pagination from "$lib/components/Pagination.svelte"
import type { TexteVersion } from "$lib/data" import type { TexteVersion } from "$lib/legal"
import { summarizeTexteVersionProperties } from "$lib/summaries" import { summarizeTexteVersionProperties } from "$lib/summaries"
export let error: unknown export let error: unknown

View file

@ -3,7 +3,7 @@ import type { RequestHandler } from "@sveltejs/kit"
import type { JSONObject } from "@sveltejs/kit/types/private" import type { JSONObject } from "@sveltejs/kit/types/private"
import { auditSearchQueryContent } from "$lib/auditors/queries" import { auditSearchQueryContent } from "$lib/auditors/queries"
import type { TexteVersion } from "$lib/data" import type { TexteVersion } from "$lib/legal"
import { db } from "$lib/server/database" import { db } from "$lib/server/database"
export function auditQuery( export function auditQuery(

View file

@ -2,7 +2,7 @@
import { TreeView, SummaryView } from "augmented-data-viewer" import { TreeView, SummaryView } from "augmented-data-viewer"
import ErrorAlert from "$lib/components/errors/ErrorAlert.svelte" import ErrorAlert from "$lib/components/errors/ErrorAlert.svelte"
import type { Textekali } from "$lib/data" import type { Textekali } from "$lib/legal"
import { import {
summarizeTextekaliProperties, summarizeTextekaliProperties,
summarizeLegalObject, summarizeLegalObject,

View file

@ -1,7 +1,7 @@
import type { RequestHandler } from "@sveltejs/kit" import type { RequestHandler } from "@sveltejs/kit"
import type { JSONObject } from "@sveltejs/kit/types/private" import type { JSONObject } from "@sveltejs/kit/types/private"
import type { Textekali } from "$lib/data" import type { Textekali } from "$lib/legal"
import { db } from "$lib/server/database" import { db } from "$lib/server/database"
export const GET: RequestHandler = async ({ params }) => { export const GET: RequestHandler = async ({ params }) => {

View file

@ -6,7 +6,7 @@
// import { page } from "$app/stores" // import { page } from "$app/stores"
import ErrorAlert from "$lib/components/errors/ErrorAlert.svelte" import ErrorAlert from "$lib/components/errors/ErrorAlert.svelte"
import Pagination from "$lib/components/Pagination.svelte" import Pagination from "$lib/components/Pagination.svelte"
import type { Textekali } from "$lib/data" import type { Textekali } from "$lib/legal"
import { summarizeTextekaliProperties } from "$lib/summaries" import { summarizeTextekaliProperties } from "$lib/summaries"
export let error: unknown export let error: unknown

View file

@ -3,7 +3,7 @@ import type { RequestHandler } from "@sveltejs/kit"
import type { JSONObject } from "@sveltejs/kit/types/private" import type { JSONObject } from "@sveltejs/kit/types/private"
import { auditSearchQueryContent } from "$lib/auditors/queries" import { auditSearchQueryContent } from "$lib/auditors/queries"
import type { Textekali } from "$lib/data" import type { Textekali } from "$lib/legal"
import { db } from "$lib/server/database" import { db } from "$lib/server/database"
export function auditQuery( export function auditQuery(

View file

@ -2,7 +2,7 @@
import { TreeView, SummaryView } from "augmented-data-viewer" import { TreeView, SummaryView } from "augmented-data-viewer"
import ErrorAlert from "$lib/components/errors/ErrorAlert.svelte" import ErrorAlert from "$lib/components/errors/ErrorAlert.svelte"
import type { Textelr } from "$lib/data" import type { Textelr } from "$lib/legal"
import { import {
summarizeTextelrProperties, summarizeTextelrProperties,
summarizeLegalObject, summarizeLegalObject,

View file

@ -1,7 +1,7 @@
import type { RequestHandler } from "@sveltejs/kit" import type { RequestHandler } from "@sveltejs/kit"
import type { JSONObject } from "@sveltejs/kit/types/private" import type { JSONObject } from "@sveltejs/kit/types/private"
import type { Textelr } from "$lib/data" import type { Textelr } from "$lib/legal"
import { db } from "$lib/server/database" import { db } from "$lib/server/database"
export const GET: RequestHandler = async ({ params }) => { export const GET: RequestHandler = async ({ params }) => {

View file

@ -6,7 +6,7 @@
// import { page } from "$app/stores" // import { page } from "$app/stores"
import ErrorAlert from "$lib/components/errors/ErrorAlert.svelte" import ErrorAlert from "$lib/components/errors/ErrorAlert.svelte"
import Pagination from "$lib/components/Pagination.svelte" import Pagination from "$lib/components/Pagination.svelte"
import type { Textelr } from "$lib/data" import type { Textelr } from "$lib/legal"
import { summarizeTextelrProperties } from "$lib/summaries" import { summarizeTextelrProperties } from "$lib/summaries"
export let error: unknown export let error: unknown

View file

@ -3,7 +3,7 @@ import type { RequestHandler } from "@sveltejs/kit"
import type { JSONObject } from "@sveltejs/kit/types/private" import type { JSONObject } from "@sveltejs/kit/types/private"
import { auditSearchQueryContent } from "$lib/auditors/queries" import { auditSearchQueryContent } from "$lib/auditors/queries"
import type { Textelr } from "$lib/data" import type { Textelr } from "$lib/legal"
import { db } from "$lib/server/database" import { db } from "$lib/server/database"
export function auditQuery( export function auditQuery(

View file

@ -2,7 +2,7 @@
import { TreeView, SummaryView } from "augmented-data-viewer" import { TreeView, SummaryView } from "augmented-data-viewer"
import ErrorAlert from "$lib/components/errors/ErrorAlert.svelte" import ErrorAlert from "$lib/components/errors/ErrorAlert.svelte"
import type { VersionsWrapper } from "$lib/data" import type { VersionsWrapper } from "$lib/legal"
import { import {
summarizeVersionsWrapperProperties, summarizeVersionsWrapperProperties,
summarizeLegalObject, summarizeLegalObject,

View file

@ -1,7 +1,7 @@
import type { RequestHandler } from "@sveltejs/kit" import type { RequestHandler } from "@sveltejs/kit"
import type { JSONObject } from "@sveltejs/kit/types/private" import type { JSONObject } from "@sveltejs/kit/types/private"
import type { VersionsWrapper } from "$lib/data" import type { VersionsWrapper } from "$lib/legal"
import { db } from "$lib/server/database" import { db } from "$lib/server/database"
export const GET: RequestHandler = async ({ params }) => { export const GET: RequestHandler = async ({ params }) => {

View file

@ -6,7 +6,7 @@
// import { page } from "$app/stores" // import { page } from "$app/stores"
import ErrorAlert from "$lib/components/errors/ErrorAlert.svelte" import ErrorAlert from "$lib/components/errors/ErrorAlert.svelte"
import Pagination from "$lib/components/Pagination.svelte" import Pagination from "$lib/components/Pagination.svelte"
import type { VersionsWrapper } from "$lib/data" import type { VersionsWrapper } from "$lib/legal"
import { summarizeVersionsWrapperProperties } from "$lib/summaries" import { summarizeVersionsWrapperProperties } from "$lib/summaries"
let versionsWrapper: VersionsWrapper[] let versionsWrapper: VersionsWrapper[]

View file

@ -3,7 +3,7 @@ import type { RequestHandler } from "@sveltejs/kit"
import type { JSONObject } from "@sveltejs/kit/types/private" import type { JSONObject } from "@sveltejs/kit/types/private"
import { auditSearchQueryContent } from "$lib/auditors/queries" import { auditSearchQueryContent } from "$lib/auditors/queries"
import type { VersionsWrapper } from "$lib/data" import type { VersionsWrapper } from "$lib/legal"
import { db } from "$lib/server/database" import { db } from "$lib/server/database"
export function auditQuery( export function auditQuery(