popoll_web 0.0.73 → 0.0.74

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.
Files changed (47) hide show
  1. package/package.json +2 -1
  2. package/.env.development +0 -1
  3. package/.env.production +0 -1
  4. package/.prettierignore +0 -4
  5. package/.prettierrc +0 -8
  6. package/.svelte-kit/ambient.d.ts +0 -476
  7. package/.svelte-kit/non-ambient.d.ts +0 -25
  8. package/.svelte-kit/tsconfig.json +0 -46
  9. package/.svelte-kit/types/route_meta_data.json +0 -7
  10. package/.svelte-kit/types/src/routes/$types.d.ts +0 -24
  11. package/.svelte-kit/types/src/routes/[poll]/$types.d.ts +0 -18
  12. package/.svelte-kit/types/src/routes/about/$types.d.ts +0 -17
  13. package/e2e/00_create_db.spec.ts +0 -13
  14. package/e2e/01_create_poll.spec.ts +0 -47
  15. package/e2e/02_poll_not_exist.spec.ts +0 -23
  16. package/e2e/03_create_user.spec.ts +0 -71
  17. package/e2e/04_create_date.spec.ts +0 -57
  18. package/e2e/05_create_answer.spec.ts +0 -51
  19. package/e2e/06_handle_old_dates.spec.ts +0 -53
  20. package/e2e/07_left_menu_create_poll.spec.ts +0 -38
  21. package/e2e/08_update_user.spec.ts +0 -64
  22. package/e2e/09_choose_another_user.spec.ts +0 -37
  23. package/e2e/10_delete_user.spec.ts +0 -33
  24. package/e2e/11_update_date.spec.ts +0 -57
  25. package/e2e/12_delete_date.spec.ts +0 -32
  26. package/e2e/13_update_answer.spec.ts +0 -100
  27. package/e2e/14_date_page.spec.ts +0 -201
  28. package/e2e/README.md +0 -2
  29. package/e2e/constants.ts +0 -9
  30. package/e2e/helpers/aSelect.ts +0 -94
  31. package/e2e/helpers/answerHelper.ts +0 -67
  32. package/e2e/helpers/commonHelper.ts +0 -30
  33. package/e2e/helpers/data.ts +0 -54
  34. package/e2e/helpers/dateHelper.ts +0 -126
  35. package/e2e/helpers/helper.ts +0 -18
  36. package/e2e/helpers/instrumentsHelper.ts +0 -72
  37. package/e2e/helpers/pollHelper.ts +0 -87
  38. package/e2e/helpers/restHelper.ts +0 -10
  39. package/e2e/helpers/userHelper.ts +0 -81
  40. package/e2e/utils.ts +0 -95
  41. package/eslint.config.js +0 -33
  42. package/lifecycle.py +0 -49
  43. package/next_version.py +0 -26
  44. package/playwright.config.ts +0 -83
  45. package/screenshot.png +0 -0
  46. package/svelte.config.js +0 -18
  47. package/tsconfig.json +0 -19
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "popoll_web",
3
- "version": "0.0.73",
3
+ "version": "0.0.74",
4
4
  "main": "server.js",
5
5
  "repository": {
6
6
  "url": "https://gitlab.com/popoll/popoll_web"
7
7
  },
8
+ "files": ["build", "static", "src", "vite.config.ts"],
8
9
  "scripts": {
9
10
  "dev": "vite dev",
10
11
  "sync": "svelte-kit sync",
package/.env.development DELETED
@@ -1 +0,0 @@
1
- PUBLIC_BACKEND_URL="http://localhost:4444"
package/.env.production DELETED
@@ -1 +0,0 @@
1
- PUBLIC_BACKEND_URL="http://localhost:4444"
package/.prettierignore DELETED
@@ -1,4 +0,0 @@
1
- # Ignore files for PNPM, NPM and YARN
2
- pnpm-lock.yaml
3
- package-lock.json
4
- yarn.lock
package/.prettierrc DELETED
@@ -1,8 +0,0 @@
1
- {
2
- "useTabs": true,
3
- "singleQuote": true,
4
- "trailingComma": "none",
5
- "printWidth": 100,
6
- "plugins": ["prettier-plugin-svelte"],
7
- "overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }]
8
- }
@@ -1,476 +0,0 @@
1
-
2
- // this file is generated — do not edit it
3
-
4
-
5
- /// <reference types="@sveltejs/kit" />
6
-
7
- /**
8
- * Environment variables [loaded by Vite](https://vitejs.dev/guide/env-and-mode.html#env-files) from `.env` files and `process.env`. Like [`$env/dynamic/private`](https://kit.svelte.dev/docs/modules#$env-dynamic-private), this module cannot be imported into client-side code. This module only includes variables that _do not_ begin with [`config.kit.env.publicPrefix`](https://kit.svelte.dev/docs/configuration#env) _and do_ start with [`config.kit.env.privatePrefix`](https://kit.svelte.dev/docs/configuration#env) (if configured).
9
- *
10
- * _Unlike_ [`$env/dynamic/private`](https://kit.svelte.dev/docs/modules#$env-dynamic-private), the values exported from this module are statically injected into your bundle at build time, enabling optimisations like dead code elimination.
11
- *
12
- * ```ts
13
- * import { API_KEY } from '$env/static/private';
14
- * ```
15
- *
16
- * Note that all environment variables referenced in your code should be declared (for example in an `.env` file), even if they don't have a value until the app is deployed:
17
- *
18
- * ```
19
- * MY_FEATURE_FLAG=""
20
- * ```
21
- *
22
- * You can override `.env` values from the command line like so:
23
- *
24
- * ```bash
25
- * MY_FEATURE_FLAG="enabled" npm run dev
26
- * ```
27
- */
28
- declare module '$env/static/private' {
29
- export const CI_SERVER_REVISION: string;
30
- export const FF_USE_WINDOWS_LEGACY_PROCESS_STRATEGY: string;
31
- export const GITLAB_USER_LOGIN: string;
32
- export const CI_COMMIT_SHORT_SHA: string;
33
- export const FF_SCRIPT_SECTIONS: string;
34
- export const CI_SERVER_VERSION_PATCH: string;
35
- export const FF_POSIXLY_CORRECT_ESCAPES: string;
36
- export const CI_DEPENDENCY_PROXY_PASSWORD: string;
37
- export const CI_DEPENDENCY_PROXY_SERVER: string;
38
- export const CI_JOB_STARTED_AT_SLUG: string;
39
- export const FF_USE_DUMB_INIT_WITH_KUBERNETES_EXECUTOR: string;
40
- export const FF_USE_ADAPTIVE_REQUEST_CONCURRENCY: string;
41
- export const npm_config_user_agent: string;
42
- export const CI_PROJECT_NAME: string;
43
- export const FF_USE_LEGACY_S3_CACHE_ADAPTER: string;
44
- export const CI_SERVER_PROTOCOL: string;
45
- export const FF_USE_LEGACY_KUBERNETES_EXECUTION_STRATEGY: string;
46
- export const CI_RUNNER_REVISION: string;
47
- export const FF_LOG_IMAGES_CONFIGURED_FOR_JOB: string;
48
- export const CI: string;
49
- export const HOSTNAME: string;
50
- export const CI_COMMIT_DESCRIPTION: string;
51
- export const CI_JOB_STAGE: string;
52
- export const ARTIFACT_DOWNLOAD_ATTEMPTS: string;
53
- export const CI_PROJECT_DESCRIPTION: string;
54
- export const FF_USE_GIT_NATIVE_CLONE: string;
55
- export const npm_node_execpath: string;
56
- export const CI_SERVER_VERSION: string;
57
- export const SHLVL: string;
58
- export const CI_DEPENDENCY_PROXY_USER: string;
59
- export const npm_config_noproxy: string;
60
- export const FF_DISABLE_POWERSHELL_STDIN: string;
61
- export const HOME: string;
62
- export const FF_DISABLE_AUTOMATIC_TOKEN_ROTATION: string;
63
- export const CI_PROJECT_ROOT_NAMESPACE: string;
64
- export const FF_CLEAN_UP_FAILED_CACHE_EXTRACT: string;
65
- export const OLDPWD: string;
66
- export const FF_NETWORK_PER_BUILD: string;
67
- export const CI_COMMIT_REF_NAME: string;
68
- export const CI_SERVER_HOST: string;
69
- export const CI_JOB_ID: string;
70
- export const npm_package_json: string;
71
- export const CI_RUNNER_VERSION: string;
72
- export const CI_PIPELINE_SOURCE: string;
73
- export const FF_RESOLVE_FULL_TLS_CHAIN: string;
74
- export const FF_SKIP_NOOP_BUILD_STAGES: string;
75
- export const FF_USE_WINDOWS_JOB_OBJECT: string;
76
- export const CI_DEFAULT_BRANCH: string;
77
- export const CI_BUILDS_DIR: string;
78
- export const CI_SERVER_VERSION_MAJOR: string;
79
- export const FF_USE_FASTZIP: string;
80
- export const CI_REGISTRY_PASSWORD: string;
81
- export const CI_COMMIT_REF_PROTECTED: string;
82
- export const CI_SERVER_URL: string;
83
- export const CI_TEMPLATE_REGISTRY_HOST: string;
84
- export const POETRY_HOME: string;
85
- export const npm_config_userconfig: string;
86
- export const npm_config_local_prefix: string;
87
- export const PYTHON_SHA256: string;
88
- export const GITLAB_FEATURES: string;
89
- export const CI_REGISTRY_IMAGE: string;
90
- export const CI_PROJECT_ID: string;
91
- export const CI_COMMIT_MESSAGE_IS_TRUNCATED: string;
92
- export const npm_config_engine_strict: string;
93
- export const CI_COMMIT_SHA: string;
94
- export const GITLAB_CI: string;
95
- export const FF_USE_LEGACY_GCS_CACHE_ADAPTER: string;
96
- export const COLOR: string;
97
- export const RESTORE_CACHE_ATTEMPTS: string;
98
- export const CI_CONCURRENT_ID: string;
99
- export const CI_REGISTRY_USER: string;
100
- export const FF_USE_DOCKER_AUTOSCALER_DIAL_STDIO: string;
101
- export const CI_SERVER_PORT: string;
102
- export const FF_DISABLE_UMASK_FOR_DOCKER_EXECUTOR: string;
103
- export const CI_PROJECT_PATH: string;
104
- export const FORCE_COLOR: string;
105
- export const NPM_ID_TOKEN: string;
106
- export const CI_PROJECT_DIR: string;
107
- export const FF_USE_GIT_PROACTIVE_AUTH: string;
108
- export const CI_PROJECT_NAMESPACE: string;
109
- export const FF_WAIT_FOR_POD_TO_BE_REACHABLE: string;
110
- export const SIGSTORE_ID_TOKEN: string;
111
- export const FF_ENABLE_JOB_CLEANUP: string;
112
- export const CI_COMMIT_TIMESTAMP: string;
113
- export const DOCKER_DRIVER: string;
114
- export const _: string;
115
- export const npm_config_prefix: string;
116
- export const npm_config_npm_version: string;
117
- export const CI_SERVER_NAME: string;
118
- export const FF_USE_DIRECT_DOWNLOAD: string;
119
- export const CI_JOB_TOKEN: string;
120
- export const FF_USE_DYNAMIC_TRACE_FORCE_SEND_INTERVAL: string;
121
- export const CI_NODE_TOTAL: string;
122
- export const CI_PROJECT_NAMESPACE_ID: string;
123
- export const CI_PIPELINE_CREATED_AT: string;
124
- export const npm_config_cache: string;
125
- export const CI_JOB_NAME_SLUG: string;
126
- export const RUNNER_TEMP_PROJECT_DIR: string;
127
- export const GIT_STRATEGY: string;
128
- export const CI_CONCURRENT_PROJECT_ID: string;
129
- export const CI_PIPELINE_URL: string;
130
- export const FF_KUBERNETES_HONOR_ENTRYPOINT: string;
131
- export const npm_config_node_gyp: string;
132
- export const PATH: string;
133
- export const CI_RUNNER_DESCRIPTION: string;
134
- export const FF_ENABLE_JOB_INPUTS_INTERPOLATION: string;
135
- export const CI_SERVER_VERSION_MINOR: string;
136
- export const DOCKER_IPTABLES_LEGACY: string;
137
- export const FF_EXPORT_HIGH_CARDINALITY_METRICS: string;
138
- export const CI_JOB_STARTED_AT: string;
139
- export const NODE: string;
140
- export const npm_package_name: string;
141
- export const GITLAB_USER_EMAIL: string;
142
- export const FF_USE_NEW_BASH_EVAL_STRATEGY: string;
143
- export const FF_MASK_ALL_DEFAULT_TOKENS: string;
144
- export const FF_DISABLE_UMASK_FOR_KUBERNETES_EXECUTOR: string;
145
- export const CI_PROJECT_VISIBILITY: string;
146
- export const CI_COMMIT_TITLE: string;
147
- export const GIT_SUBMODULE_STRATEGY: string;
148
- export const CI_PROJECT_TITLE: string;
149
- export const CI_SERVER: string;
150
- export const FF_USE_GIT_BUNDLE_URIS: string;
151
- export const CI_JOB_GROUP_NAME: string;
152
- export const FF_USE_FLEETING_ACQUIRE_HEARTBEATS: string;
153
- export const CI_PROJECT_TOPICS: string;
154
- export const NPM_AUTH_TOKEN: string;
155
- export const FF_TIMESTAMPS: string;
156
- export const CI_PAGES_URL: string;
157
- export const CI_PROJECT_REPOSITORY_LANGUAGES: string;
158
- export const FF_USE_JOB_ROUTER: string;
159
- export const FF_SET_PERMISSIONS_BEFORE_CLEANUP: string;
160
- export const FF_PRINT_POD_EVENTS: string;
161
- export const CI_SERVER_FQDN: string;
162
- export const CI_COMMIT_AUTHOR: string;
163
- export const FF_USE_EXPONENTIAL_BACKOFF_STAGE_RETRY: string;
164
- export const npm_lifecycle_script: string;
165
- export const CI_RUNNER_SHORT_TOKEN: string;
166
- export const CI_PAGES_DOMAIN: string;
167
- export const CI_JOB_IMAGE: string;
168
- export const CI_PIPELINE_NAME: string;
169
- export const CI_JOB_TIMEOUT: string;
170
- export const CI_REPOSITORY_URL: string;
171
- export const GITLAB_ENV: string;
172
- export const CI_COMMIT_BRANCH: string;
173
- export const CI_PROJECT_CLASSIFICATION_LABEL: string;
174
- export const npm_package_version: string;
175
- export const npm_lifecycle_event: string;
176
- export const PYTHON_VERSION: string;
177
- export const FF_USE_POWERSHELL_PATH_RESOLVER: string;
178
- export const CI_API_GRAPHQL_URL: string;
179
- export const FF_GIT_URLS_WITHOUT_TOKENS: string;
180
- export const CI_RUNNER_ID: string;
181
- export const CI_DEFAULT_BRANCH_SLUG: string;
182
- export const CI_API_V4_URL: string;
183
- export const CI_DEPENDENCY_PROXY_DIRECT_GROUP_IMAGE_PREFIX: string;
184
- export const DOCKER_TLS_CERTDIR: string;
185
- export const CI_REGISTRY: string;
186
- export const GITLAB_USER_NAME: string;
187
- export const CI_PIPELINE_IID: string;
188
- export const CI_RUNNER_EXECUTABLE_ARCH: string;
189
- export const FF_USE_POD_ACTIVE_DEADLINE_SECONDS: string;
190
- export const FF_USE_ADVANCED_POD_SPEC_CONFIGURATION: string;
191
- export const CI_SERVER_SHELL_SSH_HOST: string;
192
- export const CI_JOB_URL: string;
193
- export const FF_USE_INIT_WITH_DOCKER_EXECUTOR: string;
194
- export const FF_TEST_FEATURE: string;
195
- export const npm_config_globalconfig: string;
196
- export const npm_config_init_module: string;
197
- export const CI_COMMIT_REF_SLUG: string;
198
- export const PWD: string;
199
- export const CI_DISPOSABLE_ENVIRONMENT: string;
200
- export const FF_SCRIPT_TO_STEP_MIGRATION: string;
201
- export const GET_SOURCES_ATTEMPTS: string;
202
- export const npm_execpath: string;
203
- export const CI_RUNNER_TAGS: string;
204
- export const FF_USE_GITALY_CORRELATION_ID: string;
205
- export const FF_SECRET_RESOLVING_FAILS_IF_MISSING: string;
206
- export const npm_config_global_prefix: string;
207
- export const CI_PIPELINE_ID: string;
208
- export const CI_SERVER_TLS_CA_FILE: string;
209
- export const CI_PROJECT_PATH_SLUG: string;
210
- export const CI_COMMIT_BEFORE_SHA: string;
211
- export const CI_CONFIG_PATH: string;
212
- export const CI_PROJECT_URL: string;
213
- export const npm_command: string;
214
- export const FF_HASH_CACHE_KEYS: string;
215
- export const CI_PROJECT_NAMESPACE_SLUG: string;
216
- export const CI_COMMIT_MESSAGE: string;
217
- export const GITLAB_USER_ID: string;
218
- export const CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX: string;
219
- export const CI_PAGES_HOSTNAME: string;
220
- export const FF_ENABLE_BASH_EXIT_CODE_CHECK: string;
221
- export const CI_JOB_NAME: string;
222
- export const CI_JOB_STATUS: string;
223
- export const CI_SERVER_SHELL_SSH_PORT: string;
224
- export const INIT_CWD: string;
225
- export const EDITOR: string;
226
- }
227
-
228
- /**
229
- * Similar to [`$env/static/private`](https://kit.svelte.dev/docs/modules#$env-static-private), except that it only includes environment variables that begin with [`config.kit.env.publicPrefix`](https://kit.svelte.dev/docs/configuration#env) (which defaults to `PUBLIC_`), and can therefore safely be exposed to client-side code.
230
- *
231
- * Values are replaced statically at build time.
232
- *
233
- * ```ts
234
- * import { PUBLIC_BASE_URL } from '$env/static/public';
235
- * ```
236
- */
237
- declare module '$env/static/public' {
238
- export const PUBLIC_BACKEND_URL: string;
239
- }
240
-
241
- /**
242
- * This module provides access to runtime environment variables, as defined by the platform you're running on. For example if you're using [`adapter-node`](https://github.com/sveltejs/kit/tree/main/packages/adapter-node) (or running [`vite preview`](https://kit.svelte.dev/docs/cli)), this is equivalent to `process.env`. This module only includes variables that _do not_ begin with [`config.kit.env.publicPrefix`](https://kit.svelte.dev/docs/configuration#env) _and do_ start with [`config.kit.env.privatePrefix`](https://kit.svelte.dev/docs/configuration#env) (if configured).
243
- *
244
- * This module cannot be imported into client-side code.
245
- *
246
- * Dynamic environment variables cannot be used during prerendering.
247
- *
248
- * ```ts
249
- * import { env } from '$env/dynamic/private';
250
- * console.log(env.DEPLOYMENT_SPECIFIC_VARIABLE);
251
- * ```
252
- *
253
- * > In `dev`, `$env/dynamic` always includes environment variables from `.env`. In `prod`, this behavior will depend on your adapter.
254
- */
255
- declare module '$env/dynamic/private' {
256
- export const env: {
257
- CI_SERVER_REVISION: string;
258
- FF_USE_WINDOWS_LEGACY_PROCESS_STRATEGY: string;
259
- GITLAB_USER_LOGIN: string;
260
- CI_COMMIT_SHORT_SHA: string;
261
- FF_SCRIPT_SECTIONS: string;
262
- CI_SERVER_VERSION_PATCH: string;
263
- FF_POSIXLY_CORRECT_ESCAPES: string;
264
- CI_DEPENDENCY_PROXY_PASSWORD: string;
265
- CI_DEPENDENCY_PROXY_SERVER: string;
266
- CI_JOB_STARTED_AT_SLUG: string;
267
- FF_USE_DUMB_INIT_WITH_KUBERNETES_EXECUTOR: string;
268
- FF_USE_ADAPTIVE_REQUEST_CONCURRENCY: string;
269
- npm_config_user_agent: string;
270
- CI_PROJECT_NAME: string;
271
- FF_USE_LEGACY_S3_CACHE_ADAPTER: string;
272
- CI_SERVER_PROTOCOL: string;
273
- FF_USE_LEGACY_KUBERNETES_EXECUTION_STRATEGY: string;
274
- CI_RUNNER_REVISION: string;
275
- FF_LOG_IMAGES_CONFIGURED_FOR_JOB: string;
276
- CI: string;
277
- HOSTNAME: string;
278
- CI_COMMIT_DESCRIPTION: string;
279
- CI_JOB_STAGE: string;
280
- ARTIFACT_DOWNLOAD_ATTEMPTS: string;
281
- CI_PROJECT_DESCRIPTION: string;
282
- FF_USE_GIT_NATIVE_CLONE: string;
283
- npm_node_execpath: string;
284
- CI_SERVER_VERSION: string;
285
- SHLVL: string;
286
- CI_DEPENDENCY_PROXY_USER: string;
287
- npm_config_noproxy: string;
288
- FF_DISABLE_POWERSHELL_STDIN: string;
289
- HOME: string;
290
- FF_DISABLE_AUTOMATIC_TOKEN_ROTATION: string;
291
- CI_PROJECT_ROOT_NAMESPACE: string;
292
- FF_CLEAN_UP_FAILED_CACHE_EXTRACT: string;
293
- OLDPWD: string;
294
- FF_NETWORK_PER_BUILD: string;
295
- CI_COMMIT_REF_NAME: string;
296
- CI_SERVER_HOST: string;
297
- CI_JOB_ID: string;
298
- npm_package_json: string;
299
- CI_RUNNER_VERSION: string;
300
- CI_PIPELINE_SOURCE: string;
301
- FF_RESOLVE_FULL_TLS_CHAIN: string;
302
- FF_SKIP_NOOP_BUILD_STAGES: string;
303
- FF_USE_WINDOWS_JOB_OBJECT: string;
304
- CI_DEFAULT_BRANCH: string;
305
- CI_BUILDS_DIR: string;
306
- CI_SERVER_VERSION_MAJOR: string;
307
- FF_USE_FASTZIP: string;
308
- CI_REGISTRY_PASSWORD: string;
309
- CI_COMMIT_REF_PROTECTED: string;
310
- CI_SERVER_URL: string;
311
- CI_TEMPLATE_REGISTRY_HOST: string;
312
- POETRY_HOME: string;
313
- npm_config_userconfig: string;
314
- npm_config_local_prefix: string;
315
- PYTHON_SHA256: string;
316
- GITLAB_FEATURES: string;
317
- CI_REGISTRY_IMAGE: string;
318
- CI_PROJECT_ID: string;
319
- CI_COMMIT_MESSAGE_IS_TRUNCATED: string;
320
- npm_config_engine_strict: string;
321
- CI_COMMIT_SHA: string;
322
- GITLAB_CI: string;
323
- FF_USE_LEGACY_GCS_CACHE_ADAPTER: string;
324
- COLOR: string;
325
- RESTORE_CACHE_ATTEMPTS: string;
326
- CI_CONCURRENT_ID: string;
327
- CI_REGISTRY_USER: string;
328
- FF_USE_DOCKER_AUTOSCALER_DIAL_STDIO: string;
329
- CI_SERVER_PORT: string;
330
- FF_DISABLE_UMASK_FOR_DOCKER_EXECUTOR: string;
331
- CI_PROJECT_PATH: string;
332
- FORCE_COLOR: string;
333
- NPM_ID_TOKEN: string;
334
- CI_PROJECT_DIR: string;
335
- FF_USE_GIT_PROACTIVE_AUTH: string;
336
- CI_PROJECT_NAMESPACE: string;
337
- FF_WAIT_FOR_POD_TO_BE_REACHABLE: string;
338
- SIGSTORE_ID_TOKEN: string;
339
- FF_ENABLE_JOB_CLEANUP: string;
340
- CI_COMMIT_TIMESTAMP: string;
341
- DOCKER_DRIVER: string;
342
- _: string;
343
- npm_config_prefix: string;
344
- npm_config_npm_version: string;
345
- CI_SERVER_NAME: string;
346
- FF_USE_DIRECT_DOWNLOAD: string;
347
- CI_JOB_TOKEN: string;
348
- FF_USE_DYNAMIC_TRACE_FORCE_SEND_INTERVAL: string;
349
- CI_NODE_TOTAL: string;
350
- CI_PROJECT_NAMESPACE_ID: string;
351
- CI_PIPELINE_CREATED_AT: string;
352
- npm_config_cache: string;
353
- CI_JOB_NAME_SLUG: string;
354
- RUNNER_TEMP_PROJECT_DIR: string;
355
- GIT_STRATEGY: string;
356
- CI_CONCURRENT_PROJECT_ID: string;
357
- CI_PIPELINE_URL: string;
358
- FF_KUBERNETES_HONOR_ENTRYPOINT: string;
359
- npm_config_node_gyp: string;
360
- PATH: string;
361
- CI_RUNNER_DESCRIPTION: string;
362
- FF_ENABLE_JOB_INPUTS_INTERPOLATION: string;
363
- CI_SERVER_VERSION_MINOR: string;
364
- DOCKER_IPTABLES_LEGACY: string;
365
- FF_EXPORT_HIGH_CARDINALITY_METRICS: string;
366
- CI_JOB_STARTED_AT: string;
367
- NODE: string;
368
- npm_package_name: string;
369
- GITLAB_USER_EMAIL: string;
370
- FF_USE_NEW_BASH_EVAL_STRATEGY: string;
371
- FF_MASK_ALL_DEFAULT_TOKENS: string;
372
- FF_DISABLE_UMASK_FOR_KUBERNETES_EXECUTOR: string;
373
- CI_PROJECT_VISIBILITY: string;
374
- CI_COMMIT_TITLE: string;
375
- GIT_SUBMODULE_STRATEGY: string;
376
- CI_PROJECT_TITLE: string;
377
- CI_SERVER: string;
378
- FF_USE_GIT_BUNDLE_URIS: string;
379
- CI_JOB_GROUP_NAME: string;
380
- FF_USE_FLEETING_ACQUIRE_HEARTBEATS: string;
381
- CI_PROJECT_TOPICS: string;
382
- NPM_AUTH_TOKEN: string;
383
- FF_TIMESTAMPS: string;
384
- CI_PAGES_URL: string;
385
- CI_PROJECT_REPOSITORY_LANGUAGES: string;
386
- FF_USE_JOB_ROUTER: string;
387
- FF_SET_PERMISSIONS_BEFORE_CLEANUP: string;
388
- FF_PRINT_POD_EVENTS: string;
389
- CI_SERVER_FQDN: string;
390
- CI_COMMIT_AUTHOR: string;
391
- FF_USE_EXPONENTIAL_BACKOFF_STAGE_RETRY: string;
392
- npm_lifecycle_script: string;
393
- CI_RUNNER_SHORT_TOKEN: string;
394
- CI_PAGES_DOMAIN: string;
395
- CI_JOB_IMAGE: string;
396
- CI_PIPELINE_NAME: string;
397
- CI_JOB_TIMEOUT: string;
398
- CI_REPOSITORY_URL: string;
399
- GITLAB_ENV: string;
400
- CI_COMMIT_BRANCH: string;
401
- CI_PROJECT_CLASSIFICATION_LABEL: string;
402
- npm_package_version: string;
403
- npm_lifecycle_event: string;
404
- PYTHON_VERSION: string;
405
- FF_USE_POWERSHELL_PATH_RESOLVER: string;
406
- CI_API_GRAPHQL_URL: string;
407
- FF_GIT_URLS_WITHOUT_TOKENS: string;
408
- CI_RUNNER_ID: string;
409
- CI_DEFAULT_BRANCH_SLUG: string;
410
- CI_API_V4_URL: string;
411
- CI_DEPENDENCY_PROXY_DIRECT_GROUP_IMAGE_PREFIX: string;
412
- DOCKER_TLS_CERTDIR: string;
413
- CI_REGISTRY: string;
414
- GITLAB_USER_NAME: string;
415
- CI_PIPELINE_IID: string;
416
- CI_RUNNER_EXECUTABLE_ARCH: string;
417
- FF_USE_POD_ACTIVE_DEADLINE_SECONDS: string;
418
- FF_USE_ADVANCED_POD_SPEC_CONFIGURATION: string;
419
- CI_SERVER_SHELL_SSH_HOST: string;
420
- CI_JOB_URL: string;
421
- FF_USE_INIT_WITH_DOCKER_EXECUTOR: string;
422
- FF_TEST_FEATURE: string;
423
- npm_config_globalconfig: string;
424
- npm_config_init_module: string;
425
- CI_COMMIT_REF_SLUG: string;
426
- PWD: string;
427
- CI_DISPOSABLE_ENVIRONMENT: string;
428
- FF_SCRIPT_TO_STEP_MIGRATION: string;
429
- GET_SOURCES_ATTEMPTS: string;
430
- npm_execpath: string;
431
- CI_RUNNER_TAGS: string;
432
- FF_USE_GITALY_CORRELATION_ID: string;
433
- FF_SECRET_RESOLVING_FAILS_IF_MISSING: string;
434
- npm_config_global_prefix: string;
435
- CI_PIPELINE_ID: string;
436
- CI_SERVER_TLS_CA_FILE: string;
437
- CI_PROJECT_PATH_SLUG: string;
438
- CI_COMMIT_BEFORE_SHA: string;
439
- CI_CONFIG_PATH: string;
440
- CI_PROJECT_URL: string;
441
- npm_command: string;
442
- FF_HASH_CACHE_KEYS: string;
443
- CI_PROJECT_NAMESPACE_SLUG: string;
444
- CI_COMMIT_MESSAGE: string;
445
- GITLAB_USER_ID: string;
446
- CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX: string;
447
- CI_PAGES_HOSTNAME: string;
448
- FF_ENABLE_BASH_EXIT_CODE_CHECK: string;
449
- CI_JOB_NAME: string;
450
- CI_JOB_STATUS: string;
451
- CI_SERVER_SHELL_SSH_PORT: string;
452
- INIT_CWD: string;
453
- EDITOR: string;
454
- [key: `PUBLIC_${string}`]: undefined;
455
- [key: `${string}`]: string | undefined;
456
- }
457
- }
458
-
459
- /**
460
- * Similar to [`$env/dynamic/private`](https://kit.svelte.dev/docs/modules#$env-dynamic-private), but only includes variables that begin with [`config.kit.env.publicPrefix`](https://kit.svelte.dev/docs/configuration#env) (which defaults to `PUBLIC_`), and can therefore safely be exposed to client-side code.
461
- *
462
- * Note that public dynamic environment variables must all be sent from the server to the client, causing larger network requests — when possible, use `$env/static/public` instead.
463
- *
464
- * Dynamic environment variables cannot be used during prerendering.
465
- *
466
- * ```ts
467
- * import { env } from '$env/dynamic/public';
468
- * console.log(env.PUBLIC_DEPLOYMENT_SPECIFIC_VARIABLE);
469
- * ```
470
- */
471
- declare module '$env/dynamic/public' {
472
- export const env: {
473
- PUBLIC_BACKEND_URL: string;
474
- [key: `PUBLIC_${string}`]: string | undefined;
475
- }
476
- }
@@ -1,25 +0,0 @@
1
-
2
- // this file is generated — do not edit it
3
-
4
-
5
- declare module "svelte/elements" {
6
- export interface HTMLAttributes<T> {
7
- 'data-sveltekit-keepfocus'?: true | '' | 'off' | undefined | null;
8
- 'data-sveltekit-noscroll'?: true | '' | 'off' | undefined | null;
9
- 'data-sveltekit-preload-code'?:
10
- | true
11
- | ''
12
- | 'eager'
13
- | 'viewport'
14
- | 'hover'
15
- | 'tap'
16
- | 'off'
17
- | undefined
18
- | null;
19
- 'data-sveltekit-preload-data'?: true | '' | 'hover' | 'tap' | 'off' | undefined | null;
20
- 'data-sveltekit-reload'?: true | '' | 'off' | undefined | null;
21
- 'data-sveltekit-replacestate'?: true | '' | 'off' | undefined | null;
22
- }
23
- }
24
-
25
- export {};
@@ -1,46 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "paths": {
4
- "$lib": [
5
- "../src/lib"
6
- ],
7
- "$lib/*": [
8
- "../src/lib/*"
9
- ]
10
- },
11
- "rootDirs": [
12
- "..",
13
- "./types"
14
- ],
15
- "verbatimModuleSyntax": true,
16
- "isolatedModules": true,
17
- "lib": [
18
- "esnext",
19
- "DOM",
20
- "DOM.Iterable"
21
- ],
22
- "moduleResolution": "bundler",
23
- "module": "esnext",
24
- "noEmit": true,
25
- "target": "esnext"
26
- },
27
- "include": [
28
- "ambient.d.ts",
29
- "non-ambient.d.ts",
30
- "./types/**/$types.d.ts",
31
- "../vite.config.js",
32
- "../vite.config.ts",
33
- "../src/**/*.js",
34
- "../src/**/*.ts",
35
- "../src/**/*.svelte",
36
- "../tests/**/*.js",
37
- "../tests/**/*.ts",
38
- "../tests/**/*.svelte"
39
- ],
40
- "exclude": [
41
- "../node_modules/**",
42
- "../src/service-worker.js",
43
- "../src/service-worker.ts",
44
- "../src/service-worker.d.ts"
45
- ]
46
- }
@@ -1,7 +0,0 @@
1
- {
2
- "/": [
3
- "src/routes/+page.ts"
4
- ],
5
- "/about": [],
6
- "/[poll]": []
7
- }
@@ -1,24 +0,0 @@
1
- import type * as Kit from '@sveltejs/kit';
2
-
3
- type Expand<T> = T extends infer O ? { [K in keyof O]: O[K] } : never;
4
- // @ts-ignore
5
- type MatcherParam<M> = M extends (param : string) => param is infer U ? U extends string ? U : string : string;
6
- type RouteParams = { };
7
- type RouteId = '/';
8
- type MaybeWithVoid<T> = {} extends T ? T | void : T;
9
- export type RequiredKeys<T> = { [K in keyof T]-?: {} extends { [P in K]: T[K] } ? never : K; }[keyof T];
10
- type OutputDataShape<T> = MaybeWithVoid<Omit<App.PageData, RequiredKeys<T>> & Partial<Pick<App.PageData, keyof T & keyof App.PageData>> & Record<string, any>>
11
- type EnsureDefined<T> = T extends null | undefined ? {} : T;
12
- type OptionalUnion<U extends Record<string, any>, A extends keyof U = U extends U ? keyof U : never> = U extends unknown ? { [P in Exclude<A, keyof U>]?: never } & U : never;
13
- export type Snapshot<T = any> = Kit.Snapshot<T>;
14
- type PageParentData = EnsureDefined<LayoutData>;
15
- type LayoutRouteId = RouteId | "/" | "/[poll]" | "/about" | null
16
- type LayoutParams = RouteParams & { poll?: string }
17
- type LayoutParentData = EnsureDefined<{}>;
18
-
19
- export type PageServerData = null;
20
- export type PageLoad<OutputData extends OutputDataShape<PageParentData> = OutputDataShape<PageParentData>> = Kit.Load<RouteParams, PageServerData, PageParentData, OutputData, RouteId>;
21
- export type PageLoadEvent = Parameters<PageLoad>[0];
22
- export type PageData = Expand<Omit<PageParentData, keyof PageParentData & EnsureDefined<PageServerData>> & OptionalUnion<EnsureDefined<PageParentData & EnsureDefined<PageServerData>>>>;
23
- export type LayoutServerData = null;
24
- export type LayoutData = Expand<LayoutParentData>;
@@ -1,18 +0,0 @@
1
- import type * as Kit from '@sveltejs/kit';
2
-
3
- type Expand<T> = T extends infer O ? { [K in keyof O]: O[K] } : never;
4
- // @ts-ignore
5
- type MatcherParam<M> = M extends (param : string) => param is infer U ? U extends string ? U : string : string;
6
- type RouteParams = { poll: string };
7
- type RouteId = '/[poll]';
8
- type MaybeWithVoid<T> = {} extends T ? T | void : T;
9
- export type RequiredKeys<T> = { [K in keyof T]-?: {} extends { [P in K]: T[K] } ? never : K; }[keyof T];
10
- type OutputDataShape<T> = MaybeWithVoid<Omit<App.PageData, RequiredKeys<T>> & Partial<Pick<App.PageData, keyof T & keyof App.PageData>> & Record<string, any>>
11
- type EnsureDefined<T> = T extends null | undefined ? {} : T;
12
- type OptionalUnion<U extends Record<string, any>, A extends keyof U = U extends U ? keyof U : never> = U extends unknown ? { [P in Exclude<A, keyof U>]?: never } & U : never;
13
- export type Snapshot<T = any> = Kit.Snapshot<T>;
14
- type PageParentData = EnsureDefined<import('../$types.js').LayoutData>;
15
-
16
- export type EntryGenerator = () => Promise<Array<RouteParams>> | Array<RouteParams>;
17
- export type PageServerData = null;
18
- export type PageData = Expand<PageParentData>;
@@ -1,17 +0,0 @@
1
- import type * as Kit from '@sveltejs/kit';
2
-
3
- type Expand<T> = T extends infer O ? { [K in keyof O]: O[K] } : never;
4
- // @ts-ignore
5
- type MatcherParam<M> = M extends (param : string) => param is infer U ? U extends string ? U : string : string;
6
- type RouteParams = { };
7
- type RouteId = '/about';
8
- type MaybeWithVoid<T> = {} extends T ? T | void : T;
9
- export type RequiredKeys<T> = { [K in keyof T]-?: {} extends { [P in K]: T[K] } ? never : K; }[keyof T];
10
- type OutputDataShape<T> = MaybeWithVoid<Omit<App.PageData, RequiredKeys<T>> & Partial<Pick<App.PageData, keyof T & keyof App.PageData>> & Record<string, any>>
11
- type EnsureDefined<T> = T extends null | undefined ? {} : T;
12
- type OptionalUnion<U extends Record<string, any>, A extends keyof U = U extends U ? keyof U : never> = U extends unknown ? { [P in Exclude<A, keyof U>]?: never } & U : never;
13
- export type Snapshot<T = any> = Kit.Snapshot<T>;
14
- type PageParentData = EnsureDefined<import('../$types.js').LayoutData>;
15
-
16
- export type PageServerData = null;
17
- export type PageData = Expand<PageParentData>;
@@ -1,13 +0,0 @@
1
- import { test } from '@playwright/test';
2
- import { title } from './utils';
3
- import { basicSetup } from './helpers/pollHelper';
4
-
5
- const ID = 0;
6
- const TITLE = "create_db";
7
-
8
- test.beforeEach('before', async ({ page }) => {
9
- });
10
-
11
- test(title(ID, TITLE, 'Create DB', true), async ({ page }) => {
12
- await basicSetup(page);
13
- });