vue-lib-exo-corrected 1.0.1-beta.0 → 1.0.1-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -0
- package/dist/components/Atoms/Dropdown/Dropdown.vue.d.ts +117 -0
- package/dist/components/Atoms/Tag/Tag.vue.d.ts +33 -0
- package/dist/components/Molecules/ColorPicker/ColorPicker.vue.d.ts +27 -0
- package/dist/components/Molecules/ListNote/ListNote.vue.d.ts +8 -6
- package/dist/components/Molecules/ListUsers/ListUsers.vue.d.ts +6 -6
- package/dist/components/Molecules/LoginForm/LoginForm.vue.d.ts +48 -0
- package/dist/components/Molecules/MarkdownText/MarkdownText.vue.d.ts +3 -3
- package/dist/components/Molecules/ModalLayout/ModalLayout.vue.d.ts +46 -0
- package/dist/components/Molecules/NoteCard/NoteCard.vue.d.ts +8 -6
- package/dist/components/Molecules/NoteCreation/NoteCreation.vue.d.ts +16 -0
- package/dist/components/Molecules/RegisterForm/RegisterForm.vue.d.ts +66 -0
- package/dist/components/Molecules/SidebarTags/SidebarTags.vue.d.ts +57 -0
- package/dist/components/Molecules/TagCreationModal/TagCreationModal.vue.d.ts +16 -0
- package/dist/components/Molecules/TagDropdown/TagDropdown.vue.d.ts +54 -0
- package/dist/components/Molecules/UserCard/UserCard.vue.d.ts +6 -6
- package/dist/components/Organisms/Header/Header.vue.d.ts +2 -0
- package/dist/components/Organisms/Layout/Layout.vue.d.ts +80 -1
- package/dist/components/TodoListEasyExercice/AddItem.vue.d.ts +4 -0
- package/dist/components/TodoListEasyExercice/TodoItem.vue.d.ts +23 -0
- package/dist/components/TodoListEasyExercice/TodoList.vue.d.ts +16 -0
- package/dist/components/TodoListEasyExercice/TodoListVModel.vue.d.ts +15 -0
- package/dist/composables/useValidation/useValidation.d.ts +22 -0
- package/dist/index.d.ts +16 -8
- package/dist/lidinAppKitConfig/createLidinAppKit.d.ts +13 -7
- package/dist/lidinAppKitConfig/vuetifyConfig/defaultVuetifyConfig.d.ts +42 -42
- package/dist/schemas/note.schema.d.ts +77 -0
- package/dist/schemas/note.schema.ts +47 -0
- package/dist/schemas/tag.schema.d.ts +57 -0
- package/dist/schemas/tag.schema.ts +32 -0
- package/dist/style.css +2 -2
- package/dist/types/NoteType.d.ts +26 -0
- package/dist/types/TagType.d.ts +24 -0
- package/dist/vue-lib-exo-corrected.js +15453 -11360
- package/dist/vue-lib-exo-corrected.umd.cjs +9 -7
- package/package.json +4 -3
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type de base pour une Note
|
|
3
|
+
* Utilisé par les composants de la lib et peut être étendu dans le projet hôte
|
|
4
|
+
*/
|
|
5
|
+
export type NoteType = {
|
|
6
|
+
id: string;
|
|
7
|
+
contentMd: string;
|
|
8
|
+
tagsId: string[];
|
|
9
|
+
createdAt?: string;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Type pour la création d'une note (sans id ni dates)
|
|
13
|
+
*/
|
|
14
|
+
export type NoteCreateInput = {
|
|
15
|
+
title?: string;
|
|
16
|
+
contentMd: string;
|
|
17
|
+
tagsId?: string[];
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Type pour la mise à jour d'une note
|
|
21
|
+
*/
|
|
22
|
+
export type NoteUpdateInput = {
|
|
23
|
+
id: string;
|
|
24
|
+
contentMd?: string;
|
|
25
|
+
tagsId?: string[];
|
|
26
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type de base pour un Tag
|
|
3
|
+
* Utilisé par les composants de la lib et peut être étendu dans le projet hôte
|
|
4
|
+
*/
|
|
5
|
+
export type TagType = {
|
|
6
|
+
id: string;
|
|
7
|
+
title: string;
|
|
8
|
+
color: string;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Type pour la création d'un tag (sans id)
|
|
12
|
+
*/
|
|
13
|
+
export type TagCreateInput = {
|
|
14
|
+
title: string;
|
|
15
|
+
color: string;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Type pour la mise à jour d'un tag
|
|
19
|
+
*/
|
|
20
|
+
export type TagUpdateInput = {
|
|
21
|
+
id: string;
|
|
22
|
+
title?: string;
|
|
23
|
+
color?: string;
|
|
24
|
+
};
|