Skip to content

Commit

Permalink
MAJ database.types.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
amandinejacquelin authored and derfurth committed Oct 27, 2023
1 parent 221407b commit 0ec2177
Showing 3 changed files with 742 additions and 141 deletions.
182 changes: 135 additions & 47 deletions api_tests/lib/database.types.ts
Original file line number Diff line number Diff line change
@@ -3297,6 +3297,8 @@ export interface Database {
modified_by: string | null
nom: string | null
parent: number | null
plan: number | null
type: number | null
}
Insert: {
collectivite_id: number
@@ -3306,6 +3308,8 @@ export interface Database {
modified_by?: string | null
nom?: string | null
parent?: number | null
plan?: number | null
type?: number | null
}
Update: {
collectivite_id?: number
@@ -3315,6 +3319,8 @@ export interface Database {
modified_by?: string | null
nom?: string | null
parent?: number | null
plan?: number | null
type?: number | null
}
Relationships: [
{
@@ -3640,6 +3646,30 @@ export interface Database {
columns: ["parent"]
referencedRelation: "plan_action_profondeur"
referencedColumns: ["id"]
},
{
foreignKeyName: "axe_plan_fkey"
columns: ["plan"]
referencedRelation: "axe"
referencedColumns: ["id"]
},
{
foreignKeyName: "axe_plan_fkey"
columns: ["plan"]
referencedRelation: "plan_action"
referencedColumns: ["id"]
},
{
foreignKeyName: "axe_plan_fkey"
columns: ["plan"]
referencedRelation: "plan_action_profondeur"
referencedColumns: ["id"]
},
{
foreignKeyName: "axe_type_fkey"
columns: ["type"]
referencedRelation: "plan_action_type"
referencedColumns: ["id"]
}
]
}
@@ -6316,6 +6346,7 @@ export interface Database {
| Database["public"]["Enums"]["fiche_action_piliers_eci"][]
| null
ressources: string | null
restreint: boolean | null
resultats_attendus:
| Database["public"]["Enums"]["fiche_action_resultats_attendus"][]
| null
@@ -6346,6 +6377,7 @@ export interface Database {
| Database["public"]["Enums"]["fiche_action_piliers_eci"][]
| null
ressources?: string | null
restreint?: boolean | null
resultats_attendus?:
| Database["public"]["Enums"]["fiche_action_resultats_attendus"][]
| null
@@ -6376,6 +6408,7 @@ export interface Database {
| Database["public"]["Enums"]["fiche_action_piliers_eci"][]
| null
ressources?: string | null
restreint?: boolean | null
resultats_attendus?:
| Database["public"]["Enums"]["fiche_action_resultats_attendus"][]
| null
@@ -12296,6 +12329,46 @@ export interface Database {
}
Relationships: []
}
plan_action_type: {
Row: {
categorie: string
detail: string | null
id: number
type: string
}
Insert: {
categorie: string
detail?: string | null
id?: number
type: string
}
Update: {
categorie?: string
detail?: string | null
id?: number
type?: string
}
Relationships: [
{
foreignKeyName: "plan_action_type_categorie_fkey"
columns: ["categorie"]
referencedRelation: "plan_action_type_categorie"
referencedColumns: ["categorie"]
}
]
}
plan_action_type_categorie: {
Row: {
categorie: string
}
Insert: {
categorie: string
}
Update: {
categorie?: string
}
Relationships: []
}
post_audit_scores: {
Row: {
audit_id: number
@@ -19168,6 +19241,7 @@ export interface Database {
| null
pilotes: Database["public"]["CompositeTypes"]["personne"][] | null
plans: unknown[] | null
restreint: boolean | null
statut: Database["public"]["Enums"]["fiche_action_statuts"] | null
titre: string | null
}
@@ -19511,6 +19585,7 @@ export interface Database {
pilotes: Database["public"]["CompositeTypes"]["personne"][] | null
referents: Database["public"]["CompositeTypes"]["personne"][] | null
ressources: string | null
restreint: boolean | null
resultats_attendus:
| Database["public"]["Enums"]["fiche_action_resultats_attendus"][]
| null
@@ -23683,6 +23758,7 @@ export interface Database {
col_is_null:
| {
Args: {
schema_name: unknown
table_name: unknown
column_name: unknown
description?: string
@@ -23691,7 +23767,6 @@ export interface Database {
}
| {
Args: {
schema_name: unknown
table_name: unknown
column_name: unknown
description?: string
@@ -23814,6 +23889,7 @@ export interface Database {
| null
pilotes: Database["public"]["CompositeTypes"]["personne"][] | null
plans: unknown[] | null
restreint: boolean | null
statut: Database["public"]["Enums"]["fiche_action_statuts"] | null
titre: string | null
}
@@ -24039,7 +24115,7 @@ export interface Database {
fiche_resume:
| {
Args: {
fiche_action_indicateur: unknown
fiche_action_action: unknown
}
Returns: {
collectivite_id: number | null
@@ -24051,13 +24127,14 @@ export interface Database {
| null
pilotes: Database["public"]["CompositeTypes"]["personne"][] | null
plans: unknown[] | null
restreint: boolean | null
statut: Database["public"]["Enums"]["fiche_action_statuts"] | null
titre: string | null
}[]
}
| {
Args: {
fiche_action_action: unknown
fiche_action_indicateur: unknown
}
Returns: {
collectivite_id: number | null
@@ -24069,6 +24146,7 @@ export interface Database {
| null
pilotes: Database["public"]["CompositeTypes"]["personne"][] | null
plans: unknown[] | null
restreint: boolean | null
statut: Database["public"]["Enums"]["fiche_action_statuts"] | null
titre: string | null
}[]
@@ -24109,6 +24187,7 @@ export interface Database {
| null
pilotes: Database["public"]["CompositeTypes"]["personne"][] | null
plans: unknown[] | null
restreint: boolean | null
statut: Database["public"]["Enums"]["fiche_action_statuts"] | null
titre: string | null
}[]
@@ -25330,6 +25409,8 @@ export interface Database {
modified_by: string | null
nom: string | null
parent: number | null
plan: number | null
type: number | null
}[]
}
preuve_count: {
@@ -25416,6 +25497,13 @@ export interface Database {
}
Returns: undefined
}
restreindre_plan: {
Args: {
plan_id: number
restreindre: boolean
}
Returns: undefined
}
retool_user_list: {
Args: Record<PropertyKey, never>
Returns: {
@@ -25724,41 +25812,19 @@ export interface Database {
time_bucket:
| {
Args: {
bucket_width: number
ts: number
}
Returns: number
}
| {
Args: {
bucket_width: number
ts: number
}
Returns: number
}
| {
Args: {
bucket_width: number
ts: number
offset: number
}
Returns: number
}
| {
Args: {
bucket_width: number
ts: number
offset: number
bucket_width: unknown
ts: string
offset: unknown
}
Returns: number
Returns: string
}
| {
Args: {
bucket_width: number
ts: number
offset: number
bucket_width: unknown
ts: string
offset: unknown
}
Returns: number
Returns: string
}
| {
Args: {
@@ -25817,27 +25883,25 @@ export interface Database {
Args: {
bucket_width: unknown
ts: string
offset: unknown
timezone: string
origin?: string
offset?: unknown
}
Returns: string
}
| {
Args: {
bucket_width: unknown
ts: string
offset: unknown
bucket_width: number
ts: number
}
Returns: string
Returns: number
}
| {
Args: {
bucket_width: unknown
ts: string
timezone: string
origin?: string
offset?: unknown
bucket_width: number
ts: number
}
Returns: string
Returns: number
}
| {
Args: {
@@ -25846,6 +25910,30 @@ export interface Database {
}
Returns: number
}
| {
Args: {
bucket_width: number
ts: number
offset: number
}
Returns: number
}
| {
Args: {
bucket_width: number
ts: number
offset: number
}
Returns: number
}
| {
Args: {
bucket_width: number
ts: number
offset: number
}
Returns: number
}
time_bucket_gapfill:
| {
Args: {
@@ -25926,27 +26014,27 @@ export interface Database {
todo:
| {
Args: {
why: string
how_many: number
}
Returns: boolean[]
}
| {
Args: {
how_many: number
why: string
how_many: number
}
Returns: boolean[]
}
| {
Args: {
how_many: number
why: string
}
Returns: boolean[]
}
| {
Args: {
how_many: number
why: string
}
Returns: boolean[]
}
Loading

0 comments on commit 0ec2177

Please sign in to comment.