-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: ajout des CGU et de leur validation (#2044)
* feat: add cgu_validated_at column * fix: remove vite config files * feat: force CGU approval * test: fix seeds and validate cgu for everyone * test: by default, validate cgus * test: don't validate cgu for arbol * test: fix typo * feat: add cgu text * fix: use fixed date in test Co-authored-by: Jonathan Perret <[email protected]> * fix: remove unused value --------- Co-authored-by: Jonathan Perret <[email protected]>
- Loading branch information
1 parent
3db45ed
commit bf94df5
Showing
16 changed files
with
839 additions
and
294 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<script lang="ts"> | ||
import type { MenuItem } from '$lib/types'; | ||
import Footer from '$lib/ui/base/Footer.svelte'; | ||
import Header from '$lib/ui/base/Header.svelte'; | ||
const menuItems: MenuItem[] = []; | ||
</script> | ||
|
||
<Header {menuItems} /> | ||
<div class="fr-container fr-mb-8w"> | ||
<slot /> | ||
</div> | ||
|
||
<Footer /> |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
mutation UpdateAccountCgu($cguValidatedAt: timestamptz!, $id: uuid!) { | ||
updateCgu: update_account_by_pk( | ||
_set: { cguValidatedAt: $cguValidatedAt } | ||
pk_columns: { id: $id } | ||
) { | ||
id | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.