rsl-gql 106.250.0

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 ADDED
@@ -0,0 +1,30 @@
1
+ # rsl-gql
2
+
3
+ Un générateur de code GraphQL qui crée des types TypeScript et des opérations (requêtes et mutations) à partir d'un schéma GraphQL.
4
+
5
+ ## Aperçu
6
+
7
+ Ce projet génère des définitions de types TypeScript et des opérations GraphQL basées sur un fichier de schéma GraphQL (`schema.graphql`).
8
+
9
+ ## Configuration du schéma
10
+
11
+ Le schéma GraphQL peut être fourni de deux manières :
12
+
13
+ 1. **Fichier local** : Placez votre fichier `schema.graphql` dans le répertoire `src/`
14
+ 2. **Téléchargement distant** : Utilisez la commande suivante pour télécharger le schéma depuis une URL :
15
+
16
+ ```bash
17
+ npm run download-schema
18
+ ```
19
+
20
+ ## Utilisation
21
+
22
+ Après avoir configuré votre schéma, exécutez le générateur pour créer les types TypeScript et les opérations pour vos requêtes et mutations GraphQL.
23
+
24
+ ## Structure du projet
25
+
26
+ ```
27
+ src/
28
+ ├── schema.graphql # Votre fichier de schéma GraphQL
29
+ └── ... # Types et opérations générés
30
+ ```