|
1 | 1 | { |
| 2 | + "GraphQL API": { |
| 3 | + "enabled": "{{cookiecutter.api_type == 'graphql'}}", |
| 4 | + "resources": [ |
| 5 | + "{{cookiecutter.project_name}}/web/gql" |
| 6 | + ] |
| 7 | + }, |
| 8 | + "REST API": { |
| 9 | + "enabled": "{{cookiecutter.api_type == 'rest'}}", |
| 10 | + "resources": [ |
| 11 | + "{{cookiecutter.project_name}}/web/api/dummy", |
| 12 | + "{{cookiecutter.project_name}}/web/api/echo", |
| 13 | + "{{cookiecutter.project_name}}/web/api/redis" |
| 14 | + ] |
| 15 | + }, |
2 | 16 | "Redis": { |
3 | 17 | "enabled": "{{cookiecutter.enable_redis}}", |
4 | 18 | "resources": [ |
5 | 19 | "{{cookiecutter.project_name}}/web/api/redis", |
| 20 | + "{{cookiecutter.project_name}}/web/gql/redis", |
6 | 21 | "{{cookiecutter.project_name}}/services/redis", |
7 | 22 | "{{cookiecutter.project_name}}/tests/test_redis.py", |
8 | 23 | "deploy/kube/redis.yml" |
|
20 | 35 | "aerich.ini", |
21 | 36 | "alembic.ini", |
22 | 37 | "{{cookiecutter.project_name}}/web/api/dummy", |
| 38 | + "{{cookiecutter.project_name}}/web/gql/dummy", |
23 | 39 | "{{cookiecutter.project_name}}/db_sa", |
24 | 40 | "{{cookiecutter.project_name}}/tests/test_dummy.py", |
25 | 41 | "deploy/kube/db.yml" |
|
38 | 54 | "alembic.ini", |
39 | 55 | "{{cookiecutter.project_name}}/db_sa/migrations", |
40 | 56 | "{{cookiecutter.project_name}}/db_ormar/migrations", |
41 | | - "{{cookiecutter.project_name}}/db_tortoise/migrations" |
| 57 | + "{{cookiecutter.project_name}}/db_tortoise/migrations", |
| 58 | + "{{cookiecutter.project_name}}/db_piccolo/migrations" |
42 | 59 | ] |
43 | 60 | }, |
44 | 61 | "Alembic migrations": { |
|
83 | 100 | "{{cookiecutter.project_name}}/db_psycopg/dao", |
84 | 101 | "{{cookiecutter.project_name}}/db_psycopg/models/dummy_model.py", |
85 | 102 | "{{cookiecutter.project_name}}/tests/test_dummy.py", |
| 103 | + "{{cookiecutter.project_name}}/db_piccolo/dao", |
| 104 | + "{{cookiecutter.project_name}}/db_piccolo/models/dummy_model.py", |
86 | 105 | "{{cookiecutter.project_name}}/db_sa/migrations/versions/2021-08-16-16-55_2b7380507a71.py", |
87 | 106 | "{{cookiecutter.project_name}}/db_ormar/migrations/versions/2021-08-16-16-55_2b7380507a71.py", |
88 | 107 | "{{cookiecutter.project_name}}/db_tortoise/migrations/models/1_20210928165300_init_dummy_pg.sql", |
89 | 108 | "{{cookiecutter.project_name}}/db_tortoise/migrations/models/1_20210928165300_init_dummy_mysql.sql", |
90 | | - "{{cookiecutter.project_name}}/db_tortoise/migrations/models/1_20210928165300_init_dummy_sqlite.sql" |
| 109 | + "{{cookiecutter.project_name}}/db_tortoise/migrations/models/1_20210928165300_init_dummy_sqlite.sql", |
| 110 | + "{{cookiecutter.project_name}}/db_piccolo/migrations/2022-04-16T17-38-51-672827.py" |
91 | 111 | ] |
92 | 112 | }, |
93 | 113 | "Self-hosted swagger": { |
|
122 | 142 | "{{cookiecutter.project_name}}/db_psycopg" |
123 | 143 | ] |
124 | 144 | }, |
| 145 | + "Piccolo": { |
| 146 | + "enabled": "{{cookiecutter.orm == 'piccolo'}}", |
| 147 | + "resources": [ |
| 148 | + "{{cookiecutter.project_name}}/db_piccolo", |
| 149 | + "{{cookiecutter.project_name}}/piccolo_conf.py" |
| 150 | + ] |
| 151 | + }, |
125 | 152 | "Postgresql DB": { |
126 | 153 | "enabled": "{{cookiecutter.db_info.name == 'postgresql'}}", |
127 | 154 | "resources": [ |
|
0 commit comments