diff --git a/app/src/pages/association.tsx b/app/src/pages/association.tsx index ec0e56a..f3ab23b 100644 --- a/app/src/pages/association.tsx +++ b/app/src/pages/association.tsx @@ -7,6 +7,7 @@ import styles from "@/styles/Page.module.scss"; import { Association, AssociationMembership, + AssociationPole, Member, PublicFiles, SocialLink, @@ -30,6 +31,9 @@ export default function AssociationPage( publicFiles={props.publicFiles} /> + {props.poles.map((c) => ( +

{c.slug}

+ ))} ); @@ -38,6 +42,7 @@ export default function AssociationPage( export const getServerSideProps: GetServerSideProps<{ association: Association; socialLinks: SocialLink[]; + poles: AssociationPole[]; committee: (AssociationMembership & { member: Member })[]; publicFiles: PublicFiles[]; }> = populateLayoutProps(async (_) => { @@ -55,6 +60,7 @@ export const getServerSideProps: GetServerSideProps<{ .then((result) => result.map((s) => s.social_links_id) )) as SocialLink[], + poles: await directus().request(readItems("association_poles")), committee: (await directus().request( readItems("association_memberships", { fields: [ diff --git a/app/src/types/aliases.ts b/app/src/types/aliases.ts index 7191e88..b160de2 100644 --- a/app/src/types/aliases.ts +++ b/app/src/types/aliases.ts @@ -5,6 +5,7 @@ import { Schema } from "./schema"; export type Association = Schema["association"]; export type AssociationMembership = Schema["association_memberships"][0]; export type AssociationPartner = Schema["association_partners"][0]; +export type AssociationPole = Schema["association_poles"][0]; export type AssociationTranslation = Schema["association_translations"][0]; export type Commission = Schema["commissions"][0]; export type CommissionMembership = Schema["commission_memberships"][0]; diff --git a/app/src/types/schema.d.ts b/app/src/types/schema.d.ts index d9ff341..298b3dc 100644 --- a/app/src/types/schema.d.ts +++ b/app/src/types/schema.d.ts @@ -822,45 +822,6 @@ export interface paths { */ patch: operations["updateSingleItemsMembers"]; }; - "/items/association_memberships": { - /** - * List Items - * @description List the association_memberships items. - */ - get: operations["readItemsAssociationMemberships"]; - /** - * Create an Item - * @description Create a new association_memberships item. - */ - post: operations["createItemsAssociationMemberships"]; - /** - * Delete Multiple Items - * @description Delete multiple existing association_memberships items. - */ - delete: operations["deleteItemsAssociationMemberships"]; - /** - * Update Multiple Items - * @description Update multiple association_memberships items at the same time. - */ - patch: operations["updateItemsAssociationMemberships"]; - }; - "/items/association_memberships/{id}": { - /** - * Retrieve an Item - * @description Retrieve a single association_memberships item by unique identifier. - */ - get: operations["readSingleItemsAssociationMemberships"]; - /** - * Delete an Item - * @description Delete an existing association_memberships item. - */ - delete: operations["deleteSingleItemsAssociationMemberships"]; - /** - * Update an Item - * @description Update an existing association_memberships item. - */ - patch: operations["updateSingleItemsAssociationMemberships"]; - }; "/items/association_memberships_translations": { /** * List Items @@ -1485,6 +1446,45 @@ export interface paths { */ patch: operations["updateSingleItemsAssociationPartners"]; }; + "/items/association_memberships": { + /** + * List Items + * @description List the association_memberships items. + */ + get: operations["readItemsAssociationMemberships"]; + /** + * Create an Item + * @description Create a new association_memberships item. + */ + post: operations["createItemsAssociationMemberships"]; + /** + * Delete Multiple Items + * @description Delete multiple existing association_memberships items. + */ + delete: operations["deleteItemsAssociationMemberships"]; + /** + * Update Multiple Items + * @description Update multiple association_memberships items at the same time. + */ + patch: operations["updateItemsAssociationMemberships"]; + }; + "/items/association_memberships/{id}": { + /** + * Retrieve an Item + * @description Retrieve a single association_memberships item by unique identifier. + */ + get: operations["readSingleItemsAssociationMemberships"]; + /** + * Delete an Item + * @description Delete an existing association_memberships item. + */ + delete: operations["deleteSingleItemsAssociationMemberships"]; + /** + * Update an Item + * @description Update an existing association_memberships item. + */ + patch: operations["updateSingleItemsAssociationMemberships"]; + }; "/items/languages": { /** * List Items @@ -1719,6 +1719,123 @@ export interface paths { */ patch: operations["updateSingleItemsPartnerCategory"]; }; + "/items/association_pole_translations": { + /** + * List Items + * @description List the association_pole_translations items. + */ + get: operations["readItemsAssociationPoleTranslations"]; + /** + * Create an Item + * @description Create a new association_pole_translations item. + */ + post: operations["createItemsAssociationPoleTranslations"]; + /** + * Delete Multiple Items + * @description Delete multiple existing association_pole_translations items. + */ + delete: operations["deleteItemsAssociationPoleTranslations"]; + /** + * Update Multiple Items + * @description Update multiple association_pole_translations items at the same time. + */ + patch: operations["updateItemsAssociationPoleTranslations"]; + }; + "/items/association_pole_translations/{id}": { + /** + * Retrieve an Item + * @description Retrieve a single association_pole_translations item by unique identifier. + */ + get: operations["readSingleItemsAssociationPoleTranslations"]; + /** + * Delete an Item + * @description Delete an existing association_pole_translations item. + */ + delete: operations["deleteSingleItemsAssociationPoleTranslations"]; + /** + * Update an Item + * @description Update an existing association_pole_translations item. + */ + patch: operations["updateSingleItemsAssociationPoleTranslations"]; + }; + "/items/association_poles": { + /** + * List Items + * @description List the association_poles items. + */ + get: operations["readItemsAssociationPoles"]; + /** + * Create an Item + * @description Create a new association_poles item. + */ + post: operations["createItemsAssociationPoles"]; + /** + * Delete Multiple Items + * @description Delete multiple existing association_poles items. + */ + delete: operations["deleteItemsAssociationPoles"]; + /** + * Update Multiple Items + * @description Update multiple association_poles items at the same time. + */ + patch: operations["updateItemsAssociationPoles"]; + }; + "/items/association_poles/{id}": { + /** + * Retrieve an Item + * @description Retrieve a single association_poles item by unique identifier. + */ + get: operations["readSingleItemsAssociationPoles"]; + /** + * Delete an Item + * @description Delete an existing association_poles item. + */ + delete: operations["deleteSingleItemsAssociationPoles"]; + /** + * Update an Item + * @description Update an existing association_poles item. + */ + patch: operations["updateSingleItemsAssociationPoles"]; + }; + "/items/association_poles_translations": { + /** + * List Items + * @description List the association_poles_translations items. + */ + get: operations["readItemsAssociationPolesTranslations"]; + /** + * Create an Item + * @description Create a new association_poles_translations item. + */ + post: operations["createItemsAssociationPolesTranslations"]; + /** + * Delete Multiple Items + * @description Delete multiple existing association_poles_translations items. + */ + delete: operations["deleteItemsAssociationPolesTranslations"]; + /** + * Update Multiple Items + * @description Update multiple association_poles_translations items at the same time. + */ + patch: operations["updateItemsAssociationPolesTranslations"]; + }; + "/items/association_poles_translations/{id}": { + /** + * Retrieve an Item + * @description Retrieve a single association_poles_translations item by unique identifier. + */ + get: operations["readSingleItemsAssociationPolesTranslations"]; + /** + * Delete an Item + * @description Delete an existing association_poles_translations item. + */ + delete: operations["deleteSingleItemsAssociationPolesTranslations"]; + /** + * Update an Item + * @description Update an existing association_poles_translations item. + */ + patch: operations["updateSingleItemsAssociationPolesTranslations"]; + }; } export type webhooks = Record; @@ -2669,17 +2786,6 @@ export interface components { link?: string | null; picture?: string | components["schemas"]["Files"] | null; }; - ItemsAssociationMemberships: { - id?: number; - member?: number | components["schemas"]["ItemsMembers"]; - level?: string | null; - translations?: - | ( - | number - | components["schemas"]["ItemsAssociationMembershipsTranslations"] - )[] - | null; - }; ItemsAssociationMembershipsTranslations: { id?: number; association_memberships_id?: @@ -2848,6 +2954,17 @@ export interface components { | null; partners_id?: number | components["schemas"]["ItemsPartners"] | null; }; + ItemsAssociationMemberships: { + id?: number; + member?: number | components["schemas"]["ItemsMembers"]; + level?: string | null; + translations?: + | ( + | number + | components["schemas"]["ItemsAssociationMembershipsTranslations"] + )[] + | null; + }; ItemsLanguages: { code?: string; name?: string | null; @@ -2900,6 +3017,33 @@ export interface components { | (number | components["schemas"]["ItemsPartnerCategoryTranslations"])[] | null; }; + ItemsAssociationPoleTranslations: { + id?: number; + languages_code?: string | components["schemas"]["ItemsLanguages"] | null; + description?: string | null; + name?: string | null; + }; + ItemsAssociationPoles: { + id?: number; + slug?: string; + mail?: string | null; + translations?: + | ( + | number + | components["schemas"]["ItemsAssociationPolesTranslations"] + )[] + | null; + }; + ItemsAssociationPolesTranslations: { + id?: number; + association_poles_id?: + | number + | components["schemas"]["ItemsAssociationPoles"] + | null; + languages_code?: string | components["schemas"]["ItemsLanguages"] | null; + name?: string | null; + description?: string | null; + }; }; responses: { /** @description Error: Not found. */ @@ -7462,9 +7606,9 @@ export interface operations { }; /** * List Items - * @description List the association_memberships items. + * @description List the association_memberships_translations items. */ - readItemsAssociationMemberships: { + readItemsAssociationMembershipsTranslations: { parameters: { query?: { fields?: components["parameters"]["Fields"]; @@ -7481,7 +7625,7 @@ export interface operations { 200: { content: { "application/json": { - data?: components["schemas"]["ItemsAssociationMemberships"][]; + data?: components["schemas"]["ItemsAssociationMembershipsTranslations"][]; meta?: components["schemas"]["x-metadata"]; }; }; @@ -7491,9 +7635,9 @@ export interface operations { }; /** * Create an Item - * @description Create a new association_memberships item. + * @description Create a new association_memberships_translations item. */ - createItemsAssociationMemberships: { + createItemsAssociationMembershipsTranslations: { parameters: { query?: { meta?: components["parameters"]["Meta"]; @@ -7502,8 +7646,8 @@ export interface operations { requestBody?: { content: { "application/json": - | components["schemas"]["ItemsAssociationMemberships"][] - | components["schemas"]["ItemsAssociationMemberships"]; + | components["schemas"]["ItemsAssociationMembershipsTranslations"][] + | components["schemas"]["ItemsAssociationMembershipsTranslations"]; }; }; responses: { @@ -7520,9 +7664,9 @@ export interface operations { }; /** * Delete Multiple Items - * @description Delete multiple existing association_memberships items. + * @description Delete multiple existing association_memberships_translations items. */ - deleteItemsAssociationMemberships: { + deleteItemsAssociationMembershipsTranslations: { responses: { /** @description Successful request */ 200: { @@ -7533,9 +7677,9 @@ export interface operations { }; /** * Update Multiple Items - * @description Update multiple association_memberships items at the same time. + * @description Update multiple association_memberships_translations items at the same time. */ - updateItemsAssociationMemberships: { + updateItemsAssociationMembershipsTranslations: { parameters: { query?: { fields?: components["parameters"]["Fields"]; @@ -7550,8 +7694,8 @@ export interface operations { requestBody?: { content: { "application/json": - | components["schemas"]["ItemsAssociationMemberships"][] - | components["schemas"]["ItemsAssociationMemberships"]; + | components["schemas"]["ItemsAssociationMembershipsTranslations"][] + | components["schemas"]["ItemsAssociationMembershipsTranslations"]; }; }; responses: { @@ -7567,9 +7711,9 @@ export interface operations { }; /** * Retrieve an Item - * @description Retrieve a single association_memberships item by unique identifier. + * @description Retrieve a single association_memberships_translations item by unique identifier. */ - readSingleItemsAssociationMemberships: { + readSingleItemsAssociationMembershipsTranslations: { parameters: { query?: { fields?: components["parameters"]["Fields"]; @@ -7586,7 +7730,7 @@ export interface operations { 200: { content: { "application/json": { - data?: components["schemas"]["ItemsAssociationMemberships"]; + data?: components["schemas"]["ItemsAssociationMembershipsTranslations"]; }; }; }; @@ -7596,9 +7740,9 @@ export interface operations { }; /** * Delete an Item - * @description Delete an existing association_memberships item. + * @description Delete an existing association_memberships_translations item. */ - deleteSingleItemsAssociationMemberships: { + deleteSingleItemsAssociationMembershipsTranslations: { parameters: { path: { /** @description Index of the item. */ @@ -7616,9 +7760,9 @@ export interface operations { }; /** * Update an Item - * @description Update an existing association_memberships item. + * @description Update an existing association_memberships_translations item. */ - updateSingleItemsAssociationMemberships: { + updateSingleItemsAssociationMembershipsTranslations: { parameters: { query?: { fields?: components["parameters"]["Fields"]; @@ -7631,7 +7775,7 @@ export interface operations { }; requestBody?: { content: { - "application/json": components["schemas"]["ItemsAssociationMemberships"]; + "application/json": components["schemas"]["ItemsAssociationMembershipsTranslations"]; }; }; responses: { @@ -7639,7 +7783,7 @@ export interface operations { 200: { content: { "application/json": { - data?: components["schemas"]["ItemsAssociationMemberships"]; + data?: components["schemas"]["ItemsAssociationMembershipsTranslations"]; }; }; }; @@ -7649,9 +7793,9 @@ export interface operations { }; /** * List Items - * @description List the association_memberships_translations items. + * @description List the association items. */ - readItemsAssociationMembershipsTranslations: { + readItemsAssociation: { parameters: { query?: { fields?: components["parameters"]["Fields"]; @@ -7668,7 +7812,7 @@ export interface operations { 200: { content: { "application/json": { - data?: components["schemas"]["ItemsAssociationMembershipsTranslations"][]; + data?: components["schemas"]["ItemsAssociation"][]; meta?: components["schemas"]["x-metadata"]; }; }; @@ -7678,9 +7822,9 @@ export interface operations { }; /** * Create an Item - * @description Create a new association_memberships_translations item. + * @description Create a new association item. */ - createItemsAssociationMembershipsTranslations: { + createItemsAssociation: { parameters: { query?: { meta?: components["parameters"]["Meta"]; @@ -7689,8 +7833,8 @@ export interface operations { requestBody?: { content: { "application/json": - | components["schemas"]["ItemsAssociationMembershipsTranslations"][] - | components["schemas"]["ItemsAssociationMembershipsTranslations"]; + | components["schemas"]["ItemsAssociation"][] + | components["schemas"]["ItemsAssociation"]; }; }; responses: { @@ -7707,9 +7851,9 @@ export interface operations { }; /** * Delete Multiple Items - * @description Delete multiple existing association_memberships_translations items. + * @description Delete multiple existing association items. */ - deleteItemsAssociationMembershipsTranslations: { + deleteItemsAssociation: { responses: { /** @description Successful request */ 200: { @@ -7720,196 +7864,9 @@ export interface operations { }; /** * Update Multiple Items - * @description Update multiple association_memberships_translations items at the same time. + * @description Update multiple association items at the same time. */ - updateItemsAssociationMembershipsTranslations: { - parameters: { - query?: { - fields?: components["parameters"]["Fields"]; - limit?: components["parameters"]["Limit"]; - meta?: components["parameters"]["Meta"]; - offset?: components["parameters"]["Offset"]; - sort?: components["parameters"]["Sort"]; - filter?: components["parameters"]["Filter"]; - search?: components["parameters"]["Search"]; - }; - }; - requestBody?: { - content: { - "application/json": - | components["schemas"]["ItemsAssociationMembershipsTranslations"][] - | components["schemas"]["ItemsAssociationMembershipsTranslations"]; - }; - }; - responses: { - /** @description Successful request */ - 200: { - content: { - "application/json": { - data?: unknown; - }; - }; - }; - }; - }; - /** - * Retrieve an Item - * @description Retrieve a single association_memberships_translations item by unique identifier. - */ - readSingleItemsAssociationMembershipsTranslations: { - parameters: { - query?: { - fields?: components["parameters"]["Fields"]; - meta?: components["parameters"]["Meta"]; - version?: components["parameters"]["Version"]; - }; - path: { - /** @description Index of the item. */ - id: number | string; - }; - }; - responses: { - /** @description Successful request */ - 200: { - content: { - "application/json": { - data?: components["schemas"]["ItemsAssociationMembershipsTranslations"]; - }; - }; - }; - 401: components["responses"]["UnauthorizedError"]; - 404: components["responses"]["NotFoundError"]; - }; - }; - /** - * Delete an Item - * @description Delete an existing association_memberships_translations item. - */ - deleteSingleItemsAssociationMembershipsTranslations: { - parameters: { - path: { - /** @description Index of the item. */ - id: number | string; - }; - }; - responses: { - /** @description Successful request */ - 200: { - content: never; - }; - 401: components["responses"]["UnauthorizedError"]; - 404: components["responses"]["NotFoundError"]; - }; - }; - /** - * Update an Item - * @description Update an existing association_memberships_translations item. - */ - updateSingleItemsAssociationMembershipsTranslations: { - parameters: { - query?: { - fields?: components["parameters"]["Fields"]; - meta?: components["parameters"]["Meta"]; - }; - path: { - /** @description Index of the item. */ - id: number | string; - }; - }; - requestBody?: { - content: { - "application/json": components["schemas"]["ItemsAssociationMembershipsTranslations"]; - }; - }; - responses: { - /** @description Successful request */ - 200: { - content: { - "application/json": { - data?: components["schemas"]["ItemsAssociationMembershipsTranslations"]; - }; - }; - }; - 401: components["responses"]["UnauthorizedError"]; - 404: components["responses"]["NotFoundError"]; - }; - }; - /** - * List Items - * @description List the association items. - */ - readItemsAssociation: { - parameters: { - query?: { - fields?: components["parameters"]["Fields"]; - limit?: components["parameters"]["Limit"]; - meta?: components["parameters"]["Meta"]; - offset?: components["parameters"]["Offset"]; - sort?: components["parameters"]["Sort"]; - filter?: components["parameters"]["Filter"]; - search?: components["parameters"]["Search"]; - }; - }; - responses: { - /** @description Successful request */ - 200: { - content: { - "application/json": { - data?: components["schemas"]["ItemsAssociation"][]; - meta?: components["schemas"]["x-metadata"]; - }; - }; - }; - 401: components["responses"]["UnauthorizedError"]; - }; - }; - /** - * Create an Item - * @description Create a new association item. - */ - createItemsAssociation: { - parameters: { - query?: { - meta?: components["parameters"]["Meta"]; - }; - }; - requestBody?: { - content: { - "application/json": - | components["schemas"]["ItemsAssociation"][] - | components["schemas"]["ItemsAssociation"]; - }; - }; - responses: { - /** @description Successful request */ - 200: { - content: { - "application/json": { - data?: unknown; - }; - }; - }; - 401: components["responses"]["UnauthorizedError"]; - }; - }; - /** - * Delete Multiple Items - * @description Delete multiple existing association items. - */ - deleteItemsAssociation: { - responses: { - /** @description Successful request */ - 200: { - content: never; - }; - 401: components["responses"]["UnauthorizedError"]; - }; - }; - /** - * Update Multiple Items - * @description Update multiple association items at the same time. - */ - updateItemsAssociation: { + updateItemsAssociation: { parameters: { query?: { fields?: components["parameters"]["Fields"]; @@ -10641,9 +10598,9 @@ export interface operations { }; /** * List Items - * @description List the languages items. + * @description List the association_memberships items. */ - readItemsLanguages: { + readItemsAssociationMemberships: { parameters: { query?: { fields?: components["parameters"]["Fields"]; @@ -10660,7 +10617,7 @@ export interface operations { 200: { content: { "application/json": { - data?: components["schemas"]["ItemsLanguages"][]; + data?: components["schemas"]["ItemsAssociationMemberships"][]; meta?: components["schemas"]["x-metadata"]; }; }; @@ -10670,9 +10627,9 @@ export interface operations { }; /** * Create an Item - * @description Create a new languages item. + * @description Create a new association_memberships item. */ - createItemsLanguages: { + createItemsAssociationMemberships: { parameters: { query?: { meta?: components["parameters"]["Meta"]; @@ -10681,8 +10638,8 @@ export interface operations { requestBody?: { content: { "application/json": - | components["schemas"]["ItemsLanguages"][] - | components["schemas"]["ItemsLanguages"]; + | components["schemas"]["ItemsAssociationMemberships"][] + | components["schemas"]["ItemsAssociationMemberships"]; }; }; responses: { @@ -10699,9 +10656,9 @@ export interface operations { }; /** * Delete Multiple Items - * @description Delete multiple existing languages items. + * @description Delete multiple existing association_memberships items. */ - deleteItemsLanguages: { + deleteItemsAssociationMemberships: { responses: { /** @description Successful request */ 200: { @@ -10712,9 +10669,9 @@ export interface operations { }; /** * Update Multiple Items - * @description Update multiple languages items at the same time. + * @description Update multiple association_memberships items at the same time. */ - updateItemsLanguages: { + updateItemsAssociationMemberships: { parameters: { query?: { fields?: components["parameters"]["Fields"]; @@ -10729,8 +10686,8 @@ export interface operations { requestBody?: { content: { "application/json": - | components["schemas"]["ItemsLanguages"][] - | components["schemas"]["ItemsLanguages"]; + | components["schemas"]["ItemsAssociationMemberships"][] + | components["schemas"]["ItemsAssociationMemberships"]; }; }; responses: { @@ -10746,9 +10703,9 @@ export interface operations { }; /** * Retrieve an Item - * @description Retrieve a single languages item by unique identifier. + * @description Retrieve a single association_memberships item by unique identifier. */ - readSingleItemsLanguages: { + readSingleItemsAssociationMemberships: { parameters: { query?: { fields?: components["parameters"]["Fields"]; @@ -10765,7 +10722,7 @@ export interface operations { 200: { content: { "application/json": { - data?: components["schemas"]["ItemsLanguages"]; + data?: components["schemas"]["ItemsAssociationMemberships"]; }; }; }; @@ -10775,9 +10732,9 @@ export interface operations { }; /** * Delete an Item - * @description Delete an existing languages item. + * @description Delete an existing association_memberships item. */ - deleteSingleItemsLanguages: { + deleteSingleItemsAssociationMemberships: { parameters: { path: { /** @description Index of the item. */ @@ -10795,9 +10752,9 @@ export interface operations { }; /** * Update an Item - * @description Update an existing languages item. + * @description Update an existing association_memberships item. */ - updateSingleItemsLanguages: { + updateSingleItemsAssociationMemberships: { parameters: { query?: { fields?: components["parameters"]["Fields"]; @@ -10810,7 +10767,7 @@ export interface operations { }; requestBody?: { content: { - "application/json": components["schemas"]["ItemsLanguages"]; + "application/json": components["schemas"]["ItemsAssociationMemberships"]; }; }; responses: { @@ -10818,7 +10775,7 @@ export interface operations { 200: { content: { "application/json": { - data?: components["schemas"]["ItemsLanguages"]; + data?: components["schemas"]["ItemsAssociationMemberships"]; }; }; }; @@ -10828,9 +10785,9 @@ export interface operations { }; /** * List Items - * @description List the partners items. + * @description List the languages items. */ - readItemsPartners: { + readItemsLanguages: { parameters: { query?: { fields?: components["parameters"]["Fields"]; @@ -10847,7 +10804,7 @@ export interface operations { 200: { content: { "application/json": { - data?: components["schemas"]["ItemsPartners"][]; + data?: components["schemas"]["ItemsLanguages"][]; meta?: components["schemas"]["x-metadata"]; }; }; @@ -10857,9 +10814,9 @@ export interface operations { }; /** * Create an Item - * @description Create a new partners item. + * @description Create a new languages item. */ - createItemsPartners: { + createItemsLanguages: { parameters: { query?: { meta?: components["parameters"]["Meta"]; @@ -10868,8 +10825,8 @@ export interface operations { requestBody?: { content: { "application/json": - | components["schemas"]["ItemsPartners"][] - | components["schemas"]["ItemsPartners"]; + | components["schemas"]["ItemsLanguages"][] + | components["schemas"]["ItemsLanguages"]; }; }; responses: { @@ -10886,9 +10843,9 @@ export interface operations { }; /** * Delete Multiple Items - * @description Delete multiple existing partners items. + * @description Delete multiple existing languages items. */ - deleteItemsPartners: { + deleteItemsLanguages: { responses: { /** @description Successful request */ 200: { @@ -10899,9 +10856,9 @@ export interface operations { }; /** * Update Multiple Items - * @description Update multiple partners items at the same time. + * @description Update multiple languages items at the same time. */ - updateItemsPartners: { + updateItemsLanguages: { parameters: { query?: { fields?: components["parameters"]["Fields"]; @@ -10916,8 +10873,8 @@ export interface operations { requestBody?: { content: { "application/json": - | components["schemas"]["ItemsPartners"][] - | components["schemas"]["ItemsPartners"]; + | components["schemas"]["ItemsLanguages"][] + | components["schemas"]["ItemsLanguages"]; }; }; responses: { @@ -10933,7 +10890,194 @@ export interface operations { }; /** * Retrieve an Item - * @description Retrieve a single partners item by unique identifier. + * @description Retrieve a single languages item by unique identifier. + */ + readSingleItemsLanguages: { + parameters: { + query?: { + fields?: components["parameters"]["Fields"]; + meta?: components["parameters"]["Meta"]; + version?: components["parameters"]["Version"]; + }; + path: { + /** @description Index of the item. */ + id: number | string; + }; + }; + responses: { + /** @description Successful request */ + 200: { + content: { + "application/json": { + data?: components["schemas"]["ItemsLanguages"]; + }; + }; + }; + 401: components["responses"]["UnauthorizedError"]; + 404: components["responses"]["NotFoundError"]; + }; + }; + /** + * Delete an Item + * @description Delete an existing languages item. + */ + deleteSingleItemsLanguages: { + parameters: { + path: { + /** @description Index of the item. */ + id: number | string; + }; + }; + responses: { + /** @description Successful request */ + 200: { + content: never; + }; + 401: components["responses"]["UnauthorizedError"]; + 404: components["responses"]["NotFoundError"]; + }; + }; + /** + * Update an Item + * @description Update an existing languages item. + */ + updateSingleItemsLanguages: { + parameters: { + query?: { + fields?: components["parameters"]["Fields"]; + meta?: components["parameters"]["Meta"]; + }; + path: { + /** @description Index of the item. */ + id: number | string; + }; + }; + requestBody?: { + content: { + "application/json": components["schemas"]["ItemsLanguages"]; + }; + }; + responses: { + /** @description Successful request */ + 200: { + content: { + "application/json": { + data?: components["schemas"]["ItemsLanguages"]; + }; + }; + }; + 401: components["responses"]["UnauthorizedError"]; + 404: components["responses"]["NotFoundError"]; + }; + }; + /** + * List Items + * @description List the partners items. + */ + readItemsPartners: { + parameters: { + query?: { + fields?: components["parameters"]["Fields"]; + limit?: components["parameters"]["Limit"]; + meta?: components["parameters"]["Meta"]; + offset?: components["parameters"]["Offset"]; + sort?: components["parameters"]["Sort"]; + filter?: components["parameters"]["Filter"]; + search?: components["parameters"]["Search"]; + }; + }; + responses: { + /** @description Successful request */ + 200: { + content: { + "application/json": { + data?: components["schemas"]["ItemsPartners"][]; + meta?: components["schemas"]["x-metadata"]; + }; + }; + }; + 401: components["responses"]["UnauthorizedError"]; + }; + }; + /** + * Create an Item + * @description Create a new partners item. + */ + createItemsPartners: { + parameters: { + query?: { + meta?: components["parameters"]["Meta"]; + }; + }; + requestBody?: { + content: { + "application/json": + | components["schemas"]["ItemsPartners"][] + | components["schemas"]["ItemsPartners"]; + }; + }; + responses: { + /** @description Successful request */ + 200: { + content: { + "application/json": { + data?: unknown; + }; + }; + }; + 401: components["responses"]["UnauthorizedError"]; + }; + }; + /** + * Delete Multiple Items + * @description Delete multiple existing partners items. + */ + deleteItemsPartners: { + responses: { + /** @description Successful request */ + 200: { + content: never; + }; + 401: components["responses"]["UnauthorizedError"]; + }; + }; + /** + * Update Multiple Items + * @description Update multiple partners items at the same time. + */ + updateItemsPartners: { + parameters: { + query?: { + fields?: components["parameters"]["Fields"]; + limit?: components["parameters"]["Limit"]; + meta?: components["parameters"]["Meta"]; + offset?: components["parameters"]["Offset"]; + sort?: components["parameters"]["Sort"]; + filter?: components["parameters"]["Filter"]; + search?: components["parameters"]["Search"]; + }; + }; + requestBody?: { + content: { + "application/json": + | components["schemas"]["ItemsPartners"][] + | components["schemas"]["ItemsPartners"]; + }; + }; + responses: { + /** @description Successful request */ + 200: { + content: { + "application/json": { + data?: unknown; + }; + }; + }; + }; + }; + /** + * Retrieve an Item + * @description Retrieve a single partners item by unique identifier. */ readSingleItemsPartners: { parameters: { @@ -11761,31 +11905,595 @@ export interface operations { 404: components["responses"]["NotFoundError"]; }; }; -} - -export type Schema = { - members: components["schemas"]["ItemsMembers"][]; - association_memberships: components["schemas"]["ItemsAssociationMemberships"][]; - association_memberships_translations: components["schemas"]["ItemsAssociationMembershipsTranslations"][]; - association: components["schemas"]["ItemsAssociation"]; - social_links: components["schemas"]["ItemsSocialLinks"][]; - association_social_links: components["schemas"]["ItemsAssociationSocialLinks"][]; - association_translations: components["schemas"]["ItemsAssociationTranslations"][]; - commissions: components["schemas"]["ItemsCommissions"][]; - commission_memberships: components["schemas"]["ItemsCommissionMemberships"][]; - commission_memberships_translations: components["schemas"]["ItemsCommissionMembershipsTranslations"][]; - commissions_members: components["schemas"]["ItemsCommissionsMembers"][]; - commissions_social_links: components["schemas"]["ItemsCommissionsSocialLinks"][]; - commissions_translations: components["schemas"]["ItemsCommissionsTranslations"][]; - news_commissions: components["schemas"]["ItemsNewsCommissions"][]; - news_partners: components["schemas"]["ItemsNewsPartners"][]; - news_translations: components["schemas"]["ItemsNewsTranslations"][]; - news: components["schemas"]["ItemsNews"][]; - association_partners: components["schemas"]["ItemsAssociationPartners"][]; + /** + * List Items + * @description List the association_pole_translations items. + */ + readItemsAssociationPoleTranslations: { + parameters: { + query?: { + fields?: components["parameters"]["Fields"]; + limit?: components["parameters"]["Limit"]; + meta?: components["parameters"]["Meta"]; + offset?: components["parameters"]["Offset"]; + sort?: components["parameters"]["Sort"]; + filter?: components["parameters"]["Filter"]; + search?: components["parameters"]["Search"]; + }; + }; + responses: { + /** @description Successful request */ + 200: { + content: { + "application/json": { + data?: components["schemas"]["ItemsAssociationPoleTranslations"][]; + meta?: components["schemas"]["x-metadata"]; + }; + }; + }; + 401: components["responses"]["UnauthorizedError"]; + }; + }; + /** + * Create an Item + * @description Create a new association_pole_translations item. + */ + createItemsAssociationPoleTranslations: { + parameters: { + query?: { + meta?: components["parameters"]["Meta"]; + }; + }; + requestBody?: { + content: { + "application/json": + | components["schemas"]["ItemsAssociationPoleTranslations"][] + | components["schemas"]["ItemsAssociationPoleTranslations"]; + }; + }; + responses: { + /** @description Successful request */ + 200: { + content: { + "application/json": { + data?: unknown; + }; + }; + }; + 401: components["responses"]["UnauthorizedError"]; + }; + }; + /** + * Delete Multiple Items + * @description Delete multiple existing association_pole_translations items. + */ + deleteItemsAssociationPoleTranslations: { + responses: { + /** @description Successful request */ + 200: { + content: never; + }; + 401: components["responses"]["UnauthorizedError"]; + }; + }; + /** + * Update Multiple Items + * @description Update multiple association_pole_translations items at the same time. + */ + updateItemsAssociationPoleTranslations: { + parameters: { + query?: { + fields?: components["parameters"]["Fields"]; + limit?: components["parameters"]["Limit"]; + meta?: components["parameters"]["Meta"]; + offset?: components["parameters"]["Offset"]; + sort?: components["parameters"]["Sort"]; + filter?: components["parameters"]["Filter"]; + search?: components["parameters"]["Search"]; + }; + }; + requestBody?: { + content: { + "application/json": + | components["schemas"]["ItemsAssociationPoleTranslations"][] + | components["schemas"]["ItemsAssociationPoleTranslations"]; + }; + }; + responses: { + /** @description Successful request */ + 200: { + content: { + "application/json": { + data?: unknown; + }; + }; + }; + }; + }; + /** + * Retrieve an Item + * @description Retrieve a single association_pole_translations item by unique identifier. + */ + readSingleItemsAssociationPoleTranslations: { + parameters: { + query?: { + fields?: components["parameters"]["Fields"]; + meta?: components["parameters"]["Meta"]; + version?: components["parameters"]["Version"]; + }; + path: { + /** @description Index of the item. */ + id: number | string; + }; + }; + responses: { + /** @description Successful request */ + 200: { + content: { + "application/json": { + data?: components["schemas"]["ItemsAssociationPoleTranslations"]; + }; + }; + }; + 401: components["responses"]["UnauthorizedError"]; + 404: components["responses"]["NotFoundError"]; + }; + }; + /** + * Delete an Item + * @description Delete an existing association_pole_translations item. + */ + deleteSingleItemsAssociationPoleTranslations: { + parameters: { + path: { + /** @description Index of the item. */ + id: number | string; + }; + }; + responses: { + /** @description Successful request */ + 200: { + content: never; + }; + 401: components["responses"]["UnauthorizedError"]; + 404: components["responses"]["NotFoundError"]; + }; + }; + /** + * Update an Item + * @description Update an existing association_pole_translations item. + */ + updateSingleItemsAssociationPoleTranslations: { + parameters: { + query?: { + fields?: components["parameters"]["Fields"]; + meta?: components["parameters"]["Meta"]; + }; + path: { + /** @description Index of the item. */ + id: number | string; + }; + }; + requestBody?: { + content: { + "application/json": components["schemas"]["ItemsAssociationPoleTranslations"]; + }; + }; + responses: { + /** @description Successful request */ + 200: { + content: { + "application/json": { + data?: components["schemas"]["ItemsAssociationPoleTranslations"]; + }; + }; + }; + 401: components["responses"]["UnauthorizedError"]; + 404: components["responses"]["NotFoundError"]; + }; + }; + /** + * List Items + * @description List the association_poles items. + */ + readItemsAssociationPoles: { + parameters: { + query?: { + fields?: components["parameters"]["Fields"]; + limit?: components["parameters"]["Limit"]; + meta?: components["parameters"]["Meta"]; + offset?: components["parameters"]["Offset"]; + sort?: components["parameters"]["Sort"]; + filter?: components["parameters"]["Filter"]; + search?: components["parameters"]["Search"]; + }; + }; + responses: { + /** @description Successful request */ + 200: { + content: { + "application/json": { + data?: components["schemas"]["ItemsAssociationPoles"][]; + meta?: components["schemas"]["x-metadata"]; + }; + }; + }; + 401: components["responses"]["UnauthorizedError"]; + }; + }; + /** + * Create an Item + * @description Create a new association_poles item. + */ + createItemsAssociationPoles: { + parameters: { + query?: { + meta?: components["parameters"]["Meta"]; + }; + }; + requestBody?: { + content: { + "application/json": + | components["schemas"]["ItemsAssociationPoles"][] + | components["schemas"]["ItemsAssociationPoles"]; + }; + }; + responses: { + /** @description Successful request */ + 200: { + content: { + "application/json": { + data?: unknown; + }; + }; + }; + 401: components["responses"]["UnauthorizedError"]; + }; + }; + /** + * Delete Multiple Items + * @description Delete multiple existing association_poles items. + */ + deleteItemsAssociationPoles: { + responses: { + /** @description Successful request */ + 200: { + content: never; + }; + 401: components["responses"]["UnauthorizedError"]; + }; + }; + /** + * Update Multiple Items + * @description Update multiple association_poles items at the same time. + */ + updateItemsAssociationPoles: { + parameters: { + query?: { + fields?: components["parameters"]["Fields"]; + limit?: components["parameters"]["Limit"]; + meta?: components["parameters"]["Meta"]; + offset?: components["parameters"]["Offset"]; + sort?: components["parameters"]["Sort"]; + filter?: components["parameters"]["Filter"]; + search?: components["parameters"]["Search"]; + }; + }; + requestBody?: { + content: { + "application/json": + | components["schemas"]["ItemsAssociationPoles"][] + | components["schemas"]["ItemsAssociationPoles"]; + }; + }; + responses: { + /** @description Successful request */ + 200: { + content: { + "application/json": { + data?: unknown; + }; + }; + }; + }; + }; + /** + * Retrieve an Item + * @description Retrieve a single association_poles item by unique identifier. + */ + readSingleItemsAssociationPoles: { + parameters: { + query?: { + fields?: components["parameters"]["Fields"]; + meta?: components["parameters"]["Meta"]; + version?: components["parameters"]["Version"]; + }; + path: { + /** @description Index of the item. */ + id: number | string; + }; + }; + responses: { + /** @description Successful request */ + 200: { + content: { + "application/json": { + data?: components["schemas"]["ItemsAssociationPoles"]; + }; + }; + }; + 401: components["responses"]["UnauthorizedError"]; + 404: components["responses"]["NotFoundError"]; + }; + }; + /** + * Delete an Item + * @description Delete an existing association_poles item. + */ + deleteSingleItemsAssociationPoles: { + parameters: { + path: { + /** @description Index of the item. */ + id: number | string; + }; + }; + responses: { + /** @description Successful request */ + 200: { + content: never; + }; + 401: components["responses"]["UnauthorizedError"]; + 404: components["responses"]["NotFoundError"]; + }; + }; + /** + * Update an Item + * @description Update an existing association_poles item. + */ + updateSingleItemsAssociationPoles: { + parameters: { + query?: { + fields?: components["parameters"]["Fields"]; + meta?: components["parameters"]["Meta"]; + }; + path: { + /** @description Index of the item. */ + id: number | string; + }; + }; + requestBody?: { + content: { + "application/json": components["schemas"]["ItemsAssociationPoles"]; + }; + }; + responses: { + /** @description Successful request */ + 200: { + content: { + "application/json": { + data?: components["schemas"]["ItemsAssociationPoles"]; + }; + }; + }; + 401: components["responses"]["UnauthorizedError"]; + 404: components["responses"]["NotFoundError"]; + }; + }; + /** + * List Items + * @description List the association_poles_translations items. + */ + readItemsAssociationPolesTranslations: { + parameters: { + query?: { + fields?: components["parameters"]["Fields"]; + limit?: components["parameters"]["Limit"]; + meta?: components["parameters"]["Meta"]; + offset?: components["parameters"]["Offset"]; + sort?: components["parameters"]["Sort"]; + filter?: components["parameters"]["Filter"]; + search?: components["parameters"]["Search"]; + }; + }; + responses: { + /** @description Successful request */ + 200: { + content: { + "application/json": { + data?: components["schemas"]["ItemsAssociationPolesTranslations"][]; + meta?: components["schemas"]["x-metadata"]; + }; + }; + }; + 401: components["responses"]["UnauthorizedError"]; + }; + }; + /** + * Create an Item + * @description Create a new association_poles_translations item. + */ + createItemsAssociationPolesTranslations: { + parameters: { + query?: { + meta?: components["parameters"]["Meta"]; + }; + }; + requestBody?: { + content: { + "application/json": + | components["schemas"]["ItemsAssociationPolesTranslations"][] + | components["schemas"]["ItemsAssociationPolesTranslations"]; + }; + }; + responses: { + /** @description Successful request */ + 200: { + content: { + "application/json": { + data?: unknown; + }; + }; + }; + 401: components["responses"]["UnauthorizedError"]; + }; + }; + /** + * Delete Multiple Items + * @description Delete multiple existing association_poles_translations items. + */ + deleteItemsAssociationPolesTranslations: { + responses: { + /** @description Successful request */ + 200: { + content: never; + }; + 401: components["responses"]["UnauthorizedError"]; + }; + }; + /** + * Update Multiple Items + * @description Update multiple association_poles_translations items at the same time. + */ + updateItemsAssociationPolesTranslations: { + parameters: { + query?: { + fields?: components["parameters"]["Fields"]; + limit?: components["parameters"]["Limit"]; + meta?: components["parameters"]["Meta"]; + offset?: components["parameters"]["Offset"]; + sort?: components["parameters"]["Sort"]; + filter?: components["parameters"]["Filter"]; + search?: components["parameters"]["Search"]; + }; + }; + requestBody?: { + content: { + "application/json": + | components["schemas"]["ItemsAssociationPolesTranslations"][] + | components["schemas"]["ItemsAssociationPolesTranslations"]; + }; + }; + responses: { + /** @description Successful request */ + 200: { + content: { + "application/json": { + data?: unknown; + }; + }; + }; + }; + }; + /** + * Retrieve an Item + * @description Retrieve a single association_poles_translations item by unique identifier. + */ + readSingleItemsAssociationPolesTranslations: { + parameters: { + query?: { + fields?: components["parameters"]["Fields"]; + meta?: components["parameters"]["Meta"]; + version?: components["parameters"]["Version"]; + }; + path: { + /** @description Index of the item. */ + id: number | string; + }; + }; + responses: { + /** @description Successful request */ + 200: { + content: { + "application/json": { + data?: components["schemas"]["ItemsAssociationPolesTranslations"]; + }; + }; + }; + 401: components["responses"]["UnauthorizedError"]; + 404: components["responses"]["NotFoundError"]; + }; + }; + /** + * Delete an Item + * @description Delete an existing association_poles_translations item. + */ + deleteSingleItemsAssociationPolesTranslations: { + parameters: { + path: { + /** @description Index of the item. */ + id: number | string; + }; + }; + responses: { + /** @description Successful request */ + 200: { + content: never; + }; + 401: components["responses"]["UnauthorizedError"]; + 404: components["responses"]["NotFoundError"]; + }; + }; + /** + * Update an Item + * @description Update an existing association_poles_translations item. + */ + updateSingleItemsAssociationPolesTranslations: { + parameters: { + query?: { + fields?: components["parameters"]["Fields"]; + meta?: components["parameters"]["Meta"]; + }; + path: { + /** @description Index of the item. */ + id: number | string; + }; + }; + requestBody?: { + content: { + "application/json": components["schemas"]["ItemsAssociationPolesTranslations"]; + }; + }; + responses: { + /** @description Successful request */ + 200: { + content: { + "application/json": { + data?: components["schemas"]["ItemsAssociationPolesTranslations"]; + }; + }; + }; + 401: components["responses"]["UnauthorizedError"]; + 404: components["responses"]["NotFoundError"]; + }; + }; +} + +export type Schema = { + members: components["schemas"]["ItemsMembers"][]; + association_memberships_translations: components["schemas"]["ItemsAssociationMembershipsTranslations"][]; + association: components["schemas"]["ItemsAssociation"]; + social_links: components["schemas"]["ItemsSocialLinks"][]; + association_social_links: components["schemas"]["ItemsAssociationSocialLinks"][]; + association_translations: components["schemas"]["ItemsAssociationTranslations"][]; + commissions: components["schemas"]["ItemsCommissions"][]; + commission_memberships: components["schemas"]["ItemsCommissionMemberships"][]; + commission_memberships_translations: components["schemas"]["ItemsCommissionMembershipsTranslations"][]; + commissions_members: components["schemas"]["ItemsCommissionsMembers"][]; + commissions_social_links: components["schemas"]["ItemsCommissionsSocialLinks"][]; + commissions_translations: components["schemas"]["ItemsCommissionsTranslations"][]; + news_commissions: components["schemas"]["ItemsNewsCommissions"][]; + news_partners: components["schemas"]["ItemsNewsPartners"][]; + news_translations: components["schemas"]["ItemsNewsTranslations"][]; + news: components["schemas"]["ItemsNews"][]; + association_partners: components["schemas"]["ItemsAssociationPartners"][]; + association_memberships: components["schemas"]["ItemsAssociationMemberships"][]; languages: components["schemas"]["ItemsLanguages"][]; partners: components["schemas"]["ItemsPartners"][]; association_public_files: components["schemas"]["ItemsAssociationPublicFiles"][]; association_public_files_translations: components["schemas"]["ItemsAssociationPublicFilesTranslations"][]; partner_category_translations: components["schemas"]["ItemsPartnerCategoryTranslations"][]; partner_category: components["schemas"]["ItemsPartnerCategory"][]; + association_pole_translations: components["schemas"]["ItemsAssociationPoleTranslations"][]; + association_poles: components["schemas"]["ItemsAssociationPoles"][]; + association_poles_translations: components["schemas"]["ItemsAssociationPolesTranslations"][]; }; diff --git a/directus/snapshot.yaml b/directus/snapshot.yaml index 54ad142..797ab1f 100644 --- a/directus/snapshot.yaml +++ b/directus/snapshot.yaml @@ -19,7 +19,7 @@ collections: note: null preview_url: null singleton: true - sort: null + sort: 1 sort_field: null translations: null unarchive_value: null @@ -36,14 +36,14 @@ collections: collection: association_memberships color: null display_template: null - group: null + group: association hidden: false icon: null item_duplication_fields: null note: null preview_url: null singleton: false - sort: null + sort: 4 sort_field: null translations: null unarchive_value: null @@ -60,14 +60,14 @@ collections: collection: association_memberships_translations color: null display_template: null - group: null + group: association_memberships hidden: true icon: import_export item_duplication_fields: null note: null preview_url: null singleton: false - sort: null + sort: 1 sort_field: null translations: null unarchive_value: null @@ -84,6 +84,30 @@ collections: collection: association_partners color: null display_template: null + group: association + hidden: true + icon: import_export + item_duplication_fields: null + note: null + preview_url: null + singleton: false + sort: 5 + sort_field: null + translations: null + unarchive_value: null + versioning: false + schema: + name: association_partners + - collection: association_pole_translations + meta: + accountability: all + archive_app_filter: true + archive_field: null + archive_value: null + collapse: open + collection: association_pole_translations + color: null + display_template: null group: null hidden: true icon: import_export @@ -91,13 +115,61 @@ collections: note: null preview_url: null singleton: false + sort: 1 + sort_field: null + translations: null + unarchive_value: null + versioning: false + schema: + name: association_pole_translations + - collection: association_poles + meta: + accountability: all + archive_app_filter: true + archive_field: null + archive_value: null + collapse: open + collection: association_poles + color: null + display_template: null + group: null + hidden: false + icon: null + item_duplication_fields: null + note: null + preview_url: null + singleton: false sort: null sort_field: null translations: null unarchive_value: null versioning: false schema: - name: association_partners + name: association_poles + - collection: association_poles_translations + meta: + accountability: all + archive_app_filter: true + archive_field: null + archive_value: null + collapse: open + collection: association_poles_translations + color: null + display_template: null + group: null + hidden: true + icon: import_export + item_duplication_fields: null + note: null + preview_url: null + singleton: false + sort: null + sort_field: null + translations: null + unarchive_value: null + versioning: false + schema: + name: association_poles_translations - collection: association_public_files meta: accountability: all @@ -108,14 +180,14 @@ collections: collection: association_public_files color: null display_template: null - group: null + group: association hidden: false icon: null item_duplication_fields: null note: null preview_url: null singleton: false - sort: null + sort: 3 sort_field: null translations: null unarchive_value: null @@ -132,14 +204,14 @@ collections: collection: association_public_files_translations color: null display_template: null - group: null + group: association_public_files hidden: true icon: import_export item_duplication_fields: null note: null preview_url: null singleton: false - sort: null + sort: 1 sort_field: null translations: null unarchive_value: null @@ -156,14 +228,14 @@ collections: collection: association_social_links color: null display_template: null - group: null + group: association hidden: true icon: import_export item_duplication_fields: null note: null preview_url: null singleton: false - sort: null + sort: 2 sort_field: null translations: null unarchive_value: null @@ -180,14 +252,14 @@ collections: collection: association_translations color: null display_template: null - group: null + group: association hidden: true icon: import_export item_duplication_fields: null note: null preview_url: null singleton: false - sort: null + sort: 1 sort_field: null translations: null unarchive_value: null @@ -204,14 +276,14 @@ collections: collection: commission_memberships color: null display_template: null - group: null + group: commissions hidden: false icon: null item_duplication_fields: null note: null preview_url: null singleton: false - sort: null + sort: 2 sort_field: null translations: null unarchive_value: null @@ -228,14 +300,14 @@ collections: collection: commission_memberships_translations color: null display_template: null - group: null + group: commission_memberships hidden: true icon: import_export item_duplication_fields: null note: null preview_url: null singleton: false - sort: null + sort: 1 sort_field: null translations: null unarchive_value: null @@ -259,7 +331,7 @@ collections: note: null preview_url: null singleton: false - sort: null + sort: 2 sort_field: null translations: null unarchive_value: null @@ -276,14 +348,14 @@ collections: collection: commissions_members color: null display_template: null - group: null + group: commissions hidden: true icon: import_export item_duplication_fields: null note: null preview_url: null singleton: false - sort: null + sort: 1 sort_field: null translations: null unarchive_value: null @@ -307,7 +379,7 @@ collections: note: null preview_url: null singleton: false - sort: null + sort: 3 sort_field: null translations: null unarchive_value: null @@ -331,7 +403,7 @@ collections: note: null preview_url: null singleton: false - sort: null + sort: 4 sort_field: null translations: null unarchive_value: null @@ -355,7 +427,7 @@ collections: note: null preview_url: null singleton: false - sort: null + sort: 5 sort_field: null translations: null unarchive_value: null @@ -379,7 +451,7 @@ collections: note: null preview_url: null singleton: false - sort: null + sort: 6 sort_field: null translations: null unarchive_value: null @@ -403,7 +475,7 @@ collections: note: null preview_url: null singleton: false - sort: null + sort: 7 sort_field: sort translations: null unarchive_value: draft @@ -427,7 +499,7 @@ collections: note: null preview_url: null singleton: false - sort: null + sort: 8 sort_field: null translations: null unarchive_value: null @@ -451,7 +523,7 @@ collections: note: null preview_url: null singleton: false - sort: null + sort: 9 sort_field: null translations: null unarchive_value: null @@ -475,7 +547,7 @@ collections: note: null preview_url: null singleton: false - sort: null + sort: 10 sort_field: null translations: null unarchive_value: null @@ -499,7 +571,7 @@ collections: note: null preview_url: null singleton: false - sort: null + sort: 11 sort_field: null translations: null unarchive_value: null @@ -523,7 +595,7 @@ collections: note: null preview_url: null singleton: false - sort: null + sort: 12 sort_field: null translations: null unarchive_value: null @@ -547,7 +619,7 @@ collections: note: null preview_url: null singleton: false - sort: null + sort: 13 sort_field: null translations: null unarchive_value: draft @@ -571,7 +643,7 @@ collections: note: null preview_url: null singleton: false - sort: null + sort: 14 sort_field: null translations: null unarchive_value: null @@ -1002,45 +1074,463 @@ fields: has_auto_increment: false foreign_key_table: null foreign_key_column: null - - collection: association_memberships - field: translations - type: alias + - collection: association_memberships + field: translations + type: alias + meta: + collection: association_memberships + conditions: null + display: null + display_options: null + field: translations + group: null + hidden: false + interface: translations + note: null + options: + defaultOpenSplitView: true + readonly: false + required: true + sort: 4 + special: + - translations + translations: null + validation: null + validation_message: null + width: full + - collection: association_memberships_translations + field: id + type: integer + meta: + collection: association_memberships_translations + conditions: null + display: null + display_options: null + field: id + group: null + hidden: true + interface: null + note: null + options: null + readonly: false + required: false + sort: 1 + special: null + translations: null + validation: null + validation_message: null + width: full + schema: + name: id + table: association_memberships_translations + data_type: integer + default_value: nextval('association_memberships_translations_id_seq'::regclass) + max_length: null + numeric_precision: 32 + numeric_scale: 0 + is_nullable: false + is_unique: true + is_primary_key: true + is_generated: false + generation_expression: null + has_auto_increment: true + foreign_key_table: null + foreign_key_column: null + - collection: association_memberships_translations + field: association_memberships_id + type: integer + meta: + collection: association_memberships_translations + conditions: null + display: null + display_options: null + field: association_memberships_id + group: null + hidden: true + interface: null + note: null + options: null + readonly: false + required: false + sort: 2 + special: null + translations: null + validation: null + validation_message: null + width: full + schema: + name: association_memberships_id + table: association_memberships_translations + data_type: integer + default_value: null + max_length: null + numeric_precision: 32 + numeric_scale: 0 + is_nullable: true + is_unique: false + is_primary_key: false + is_generated: false + generation_expression: null + has_auto_increment: false + foreign_key_table: association_memberships + foreign_key_column: id + - collection: association_memberships_translations + field: languages_code + type: string + meta: + collection: association_memberships_translations + conditions: null + display: null + display_options: null + field: languages_code + group: null + hidden: true + interface: null + note: null + options: null + readonly: false + required: false + sort: 3 + special: null + translations: null + validation: null + validation_message: null + width: full + schema: + name: languages_code + table: association_memberships_translations + data_type: character varying + default_value: null + max_length: 255 + numeric_precision: null + numeric_scale: null + is_nullable: true + is_unique: false + is_primary_key: false + is_generated: false + generation_expression: null + has_auto_increment: false + foreign_key_table: languages + foreign_key_column: code + - collection: association_memberships_translations + field: title + type: string + meta: + collection: association_memberships_translations + conditions: null + display: null + display_options: null + field: title + group: null + hidden: false + interface: input + note: null + options: null + readonly: false + required: true + sort: 4 + special: null + translations: null + validation: null + validation_message: null + width: full + schema: + name: title + table: association_memberships_translations + data_type: character varying + default_value: null + max_length: 255 + numeric_precision: null + numeric_scale: null + is_nullable: true + is_unique: false + is_primary_key: false + is_generated: false + generation_expression: null + has_auto_increment: false + foreign_key_table: null + foreign_key_column: null + - collection: association_partners + field: id + type: integer + meta: + collection: association_partners + conditions: null + display: null + display_options: null + field: id + group: null + hidden: true + interface: null + note: null + options: null + readonly: false + required: false + sort: 1 + special: null + translations: null + validation: null + validation_message: null + width: full + schema: + name: id + table: association_partners + data_type: integer + default_value: nextval('association_partners_id_seq'::regclass) + max_length: null + numeric_precision: 32 + numeric_scale: 0 + is_nullable: false + is_unique: true + is_primary_key: true + is_generated: false + generation_expression: null + has_auto_increment: true + foreign_key_table: null + foreign_key_column: null + - collection: association_partners + field: association_id + type: integer + meta: + collection: association_partners + conditions: null + display: null + display_options: null + field: association_id + group: null + hidden: true + interface: null + note: null + options: null + readonly: false + required: false + sort: 2 + special: null + translations: null + validation: null + validation_message: null + width: full + schema: + name: association_id + table: association_partners + data_type: integer + default_value: null + max_length: null + numeric_precision: 32 + numeric_scale: 0 + is_nullable: true + is_unique: false + is_primary_key: false + is_generated: false + generation_expression: null + has_auto_increment: false + foreign_key_table: association + foreign_key_column: id + - collection: association_partners + field: partners_id + type: integer + meta: + collection: association_partners + conditions: null + display: null + display_options: null + field: partners_id + group: null + hidden: true + interface: null + note: null + options: null + readonly: false + required: false + sort: 3 + special: null + translations: null + validation: null + validation_message: null + width: full + schema: + name: partners_id + table: association_partners + data_type: integer + default_value: null + max_length: null + numeric_precision: 32 + numeric_scale: 0 + is_nullable: true + is_unique: false + is_primary_key: false + is_generated: false + generation_expression: null + has_auto_increment: false + foreign_key_table: partners + foreign_key_column: id + - collection: association_pole_translations + field: id + type: integer + meta: + collection: association_pole_translations + conditions: null + display: null + display_options: null + field: id + group: null + hidden: true + interface: null + note: null + options: null + readonly: false + required: false + sort: 1 + special: null + translations: null + validation: null + validation_message: null + width: full + schema: + name: id + table: association_pole_translations + data_type: integer + default_value: nextval('association_pole_translations_id_seq'::regclass) + max_length: null + numeric_precision: 32 + numeric_scale: 0 + is_nullable: false + is_unique: true + is_primary_key: true + is_generated: false + generation_expression: null + has_auto_increment: true + foreign_key_table: null + foreign_key_column: null + - collection: association_pole_translations + field: languages_code + type: string + meta: + collection: association_pole_translations + conditions: null + display: null + display_options: null + field: languages_code + group: null + hidden: true + interface: null + note: null + options: null + readonly: false + required: false + sort: 3 + special: null + translations: null + validation: null + validation_message: null + width: full + schema: + name: languages_code + table: association_pole_translations + data_type: character varying + default_value: null + max_length: 255 + numeric_precision: null + numeric_scale: null + is_nullable: true + is_unique: false + is_primary_key: false + is_generated: false + generation_expression: null + has_auto_increment: false + foreign_key_table: languages + foreign_key_column: code + - collection: association_pole_translations + field: description + type: text + meta: + collection: association_pole_translations + conditions: null + display: null + display_options: null + field: description + group: null + hidden: false + interface: input-multiline + note: null + options: null + readonly: false + required: false + sort: 5 + special: null + translations: null + validation: null + validation_message: null + width: full + schema: + name: description + table: association_pole_translations + data_type: text + default_value: null + max_length: null + numeric_precision: null + numeric_scale: null + is_nullable: true + is_unique: false + is_primary_key: false + is_generated: false + generation_expression: null + has_auto_increment: false + foreign_key_table: null + foreign_key_column: null + - collection: association_pole_translations + field: name + type: string meta: - collection: association_memberships + collection: association_pole_translations conditions: null display: null display_options: null - field: translations + field: name group: null hidden: false - interface: translations + interface: input note: null - options: - defaultOpenSplitView: true + options: null readonly: false - required: true + required: false sort: 4 - special: - - translations + special: null translations: null validation: null validation_message: null width: full - - collection: association_memberships_translations + schema: + name: name + table: association_pole_translations + data_type: character varying + default_value: null + max_length: 255 + numeric_precision: null + numeric_scale: null + is_nullable: true + is_unique: false + is_primary_key: false + is_generated: false + generation_expression: null + has_auto_increment: false + foreign_key_table: null + foreign_key_column: null + - collection: association_poles field: id type: integer meta: - collection: association_memberships_translations + collection: association_poles conditions: null display: null display_options: null field: id group: null hidden: true - interface: null + interface: input note: null options: null - readonly: false + readonly: true required: false sort: 1 special: null @@ -1050,9 +1540,9 @@ fields: width: full schema: name: id - table: association_memberships_translations + table: association_poles data_type: integer - default_value: nextval('association_memberships_translations_id_seq'::regclass) + default_value: nextval('association_poles_id_seq'::regclass) max_length: null numeric_precision: 32 numeric_scale: 0 @@ -1064,18 +1554,18 @@ fields: has_auto_increment: true foreign_key_table: null foreign_key_column: null - - collection: association_memberships_translations - field: association_memberships_id - type: integer + - collection: association_poles + field: slug + type: string meta: - collection: association_memberships_translations + collection: association_poles conditions: null display: null display_options: null - field: association_memberships_id + field: slug group: null - hidden: true - interface: null + hidden: false + interface: input note: null options: null readonly: false @@ -1087,75 +1577,60 @@ fields: validation_message: null width: full schema: - name: association_memberships_id - table: association_memberships_translations - data_type: integer + name: slug + table: association_poles + data_type: character varying default_value: null - max_length: null - numeric_precision: 32 - numeric_scale: 0 - is_nullable: true - is_unique: false + max_length: 255 + numeric_precision: null + numeric_scale: null + is_nullable: false + is_unique: true is_primary_key: false is_generated: false generation_expression: null has_auto_increment: false - foreign_key_table: association_memberships - foreign_key_column: id - - collection: association_memberships_translations - field: languages_code - type: string + foreign_key_table: null + foreign_key_column: null + - collection: association_poles + field: translations + type: alias meta: - collection: association_memberships_translations + collection: association_poles conditions: null display: null display_options: null - field: languages_code + field: translations group: null - hidden: true - interface: null + hidden: false + interface: translations note: null options: null readonly: false required: false sort: 3 - special: null + special: + - translations translations: null validation: null validation_message: null width: full - schema: - name: languages_code - table: association_memberships_translations - data_type: character varying - default_value: null - max_length: 255 - numeric_precision: null - numeric_scale: null - is_nullable: true - is_unique: false - is_primary_key: false - is_generated: false - generation_expression: null - has_auto_increment: false - foreign_key_table: languages - foreign_key_column: code - - collection: association_memberships_translations - field: title + - collection: association_poles + field: mail type: string meta: - collection: association_memberships_translations + collection: association_poles conditions: null display: null display_options: null - field: title + field: mail group: null hidden: false interface: input note: null options: null readonly: false - required: true + required: false sort: 4 special: null translations: null @@ -1163,8 +1638,8 @@ fields: validation_message: null width: full schema: - name: title - table: association_memberships_translations + name: mail + table: association_poles data_type: character varying default_value: null max_length: 255 @@ -1178,11 +1653,11 @@ fields: has_auto_increment: false foreign_key_table: null foreign_key_column: null - - collection: association_partners + - collection: association_poles_translations field: id type: integer meta: - collection: association_partners + collection: association_poles_translations conditions: null display: null display_options: null @@ -1202,9 +1677,9 @@ fields: width: full schema: name: id - table: association_partners + table: association_poles_translations data_type: integer - default_value: nextval('association_partners_id_seq'::regclass) + default_value: nextval('association_poles_translations_id_seq'::regclass) max_length: null numeric_precision: 32 numeric_scale: 0 @@ -1216,15 +1691,15 @@ fields: has_auto_increment: true foreign_key_table: null foreign_key_column: null - - collection: association_partners - field: association_id + - collection: association_poles_translations + field: association_poles_id type: integer meta: - collection: association_partners + collection: association_poles_translations conditions: null display: null display_options: null - field: association_id + field: association_poles_id group: null hidden: true interface: null @@ -1239,8 +1714,8 @@ fields: validation_message: null width: full schema: - name: association_id - table: association_partners + name: association_poles_id + table: association_poles_translations data_type: integer default_value: null max_length: null @@ -1252,17 +1727,17 @@ fields: is_generated: false generation_expression: null has_auto_increment: false - foreign_key_table: association + foreign_key_table: association_poles foreign_key_column: id - - collection: association_partners - field: partners_id - type: integer + - collection: association_poles_translations + field: languages_code + type: string meta: - collection: association_partners + collection: association_poles_translations conditions: null display: null display_options: null - field: partners_id + field: languages_code group: null hidden: true interface: null @@ -1277,21 +1752,97 @@ fields: validation_message: null width: full schema: - name: partners_id - table: association_partners - data_type: integer + name: languages_code + table: association_poles_translations + data_type: character varying + default_value: null + max_length: 255 + numeric_precision: null + numeric_scale: null + is_nullable: true + is_unique: false + is_primary_key: false + is_generated: false + generation_expression: null + has_auto_increment: false + foreign_key_table: languages + foreign_key_column: code + - collection: association_poles_translations + field: name + type: string + meta: + collection: association_poles_translations + conditions: null + display: null + display_options: null + field: name + group: null + hidden: false + interface: input + note: null + options: null + readonly: false + required: false + sort: 4 + special: null + translations: null + validation: null + validation_message: null + width: full + schema: + name: name + table: association_poles_translations + data_type: character varying + default_value: null + max_length: 255 + numeric_precision: null + numeric_scale: null + is_nullable: true + is_unique: false + is_primary_key: false + is_generated: false + generation_expression: null + has_auto_increment: false + foreign_key_table: null + foreign_key_column: null + - collection: association_poles_translations + field: description + type: text + meta: + collection: association_poles_translations + conditions: null + display: null + display_options: null + field: description + group: null + hidden: false + interface: input-multiline + note: null + options: null + readonly: false + required: false + sort: 5 + special: null + translations: null + validation: null + validation_message: null + width: full + schema: + name: description + table: association_poles_translations + data_type: text default_value: null max_length: null - numeric_precision: 32 - numeric_scale: 0 + numeric_precision: null + numeric_scale: null is_nullable: true is_unique: false is_primary_key: false is_generated: false generation_expression: null has_auto_increment: false - foreign_key_table: partners - foreign_key_column: id + foreign_key_table: null + foreign_key_column: null - collection: association_public_files field: id type: integer @@ -5075,6 +5626,69 @@ relations: constraint_name: association_partners_association_id_foreign on_update: NO ACTION on_delete: SET NULL + - collection: association_pole_translations + field: languages_code + related_collection: languages + meta: + junction_field: association_pole_id + many_collection: association_pole_translations + many_field: languages_code + one_allowed_collections: null + one_collection: languages + one_collection_field: null + one_deselect_action: nullify + one_field: null + sort_field: null + schema: + table: association_pole_translations + column: languages_code + foreign_key_table: languages + foreign_key_column: code + constraint_name: association_pole_translations_languages_code_foreign + on_update: NO ACTION + on_delete: SET NULL + - collection: association_poles_translations + field: languages_code + related_collection: languages + meta: + junction_field: association_poles_id + many_collection: association_poles_translations + many_field: languages_code + one_allowed_collections: null + one_collection: languages + one_collection_field: null + one_deselect_action: nullify + one_field: null + sort_field: null + schema: + table: association_poles_translations + column: languages_code + foreign_key_table: languages + foreign_key_column: code + constraint_name: association_poles_translations_languages_code_foreign + on_update: NO ACTION + on_delete: SET NULL + - collection: association_poles_translations + field: association_poles_id + related_collection: association_poles + meta: + junction_field: languages_code + many_collection: association_poles_translations + many_field: association_poles_id + one_allowed_collections: null + one_collection: association_poles + one_collection_field: null + one_deselect_action: nullify + one_field: translations + sort_field: null + schema: + table: association_poles_translations + column: association_poles_id + foreign_key_table: association_poles + foreign_key_column: id + constraint_name: association_poles_translations_association_poles_id_foreign + on_update: NO ACTION + on_delete: SET NULL - collection: association_public_files field: icon related_collection: directus_files