Skip to content

Commit

Permalink
Merge branch 'dev' into 'master'
Browse files Browse the repository at this point in the history
Dev

See merge request la-fabrique-numerique/biocarburants!235
  • Loading branch information
benjamin-grilleres committed Nov 13, 2024
2 parents b9a49a4 + c75bf18 commit 52b30f2
Show file tree
Hide file tree
Showing 169 changed files with 3,190 additions and 6,961 deletions.
51 changes: 51 additions & 0 deletions api-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,39 @@ info:
version: 1.0.0
description: Carbure
paths:
/api/entities/{company_id}/enable/:
post:
operationId: entities_enable_create
parameters:
- in: path
name: company_id
schema:
type: integer
description: The id of the company that is being enabled
required: true
- in: query
name: entity_id
schema:
type: integer
description: The id of the admin entity enabling the company
required: true
tags:
- entities
security:
- cookieAuth: []
- basicAuth: []
responses:
"200":
content:
application/json:
schema: {}
description: ""
"400":
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorResponse"
description: ""
/api/saf/clients/:
get:
operationId: saf_clients_list
Expand All @@ -24,6 +57,12 @@ paths:
description: A page number within the paginated result set.
schema:
type: integer
- name: page_size
required: false
in: query
description: Number of results to return per page.
schema:
type: integer
- name: search
required: false
in: query
Expand Down Expand Up @@ -230,6 +269,12 @@ paths:
description: A page number within the paginated result set.
schema:
type: integer
- name: page_size
required: false
in: query
description: Number of results to return per page.
schema:
type: integer
- in: query
name: periods
schema:
Expand Down Expand Up @@ -773,6 +818,12 @@ paths:
description: A page number within the paginated result set.
schema:
type: integer
- name: page_size
required: false
in: query
description: Number of results to return per page.
schema:
type: integer
- in: query
name: periods
schema:
Expand Down
4 changes: 2 additions & 2 deletions front/i18next-parser.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module.exports = {
export default {
input: ["./src/**/*.{ts,tsx}", "!./src/**/__test__/**"],
output: "public/locales/$LOCALE/$NAMESPACE.json",
locales: ["fr", "en"],
keySeparator: false,
namespaceSeparator: false,
verbose: true,
defaultValue: (locale, namespace, key, value) => key
defaultValue: (locale, namespace, key, value) => key,
}
Loading

0 comments on commit 52b30f2

Please sign in to comment.