|
125 | 125 | * ...<string, DefinitionType|AliasType|PrototypeType|StackType|ArgumentsType|null> |
126 | 126 | * } |
127 | 127 | * @psalm-type ExtensionType = array<string, mixed> |
128 | | - * @psalm-type PimcoreSeoConfig = array{ |
129 | | - * sitemaps?: array{ |
130 | | - * generators?: array<string, bool|string|array{ // Default: [] |
131 | | - * enabled?: bool|Param, // Default: true |
132 | | - * generator_id?: scalar|Param|null, |
133 | | - * priority?: int|Param, // Default: 0 |
134 | | - * }>, |
135 | | - * }, |
136 | | - * redirects?: array{ |
137 | | - * status_codes?: list<scalar|Param|null>, |
138 | | - * auto_create_redirects?: bool|Param, // Auto create redirects on moving documents & changing pretty url, updating Url slugs in Data Objects. // Default: false |
139 | | - * }, |
140 | | - * } |
141 | 128 | * @psalm-type PimcoreStaticRoutesConfig = array{ |
142 | 129 | * definitions?: list<array{ // Default: [] |
143 | 130 | * name?: scalar|Param|null, |
|
161 | 148 | * }, |
162 | 149 | * }, |
163 | 150 | * } |
164 | | - * @psalm-type PimcoreNewsletterConfig = array{ |
165 | | - * sender?: array{ |
166 | | - * name?: scalar|Param|null, |
167 | | - * email?: scalar|Param|null, |
168 | | - * }, |
169 | | - * return?: array{ |
170 | | - * name?: scalar|Param|null, |
171 | | - * email?: scalar|Param|null, |
172 | | - * }, |
173 | | - * method?: scalar|Param|null, // Default: null |
174 | | - * debug?: array{ |
175 | | - * email_addresses?: scalar|Param|null, // Default: "" |
176 | | - * }, |
177 | | - * use_specific?: bool|Param, // Default: false |
178 | | - * source_adapters?: array<string, scalar|Param|null>, |
179 | | - * default_url_prefix?: scalar|Param|null, // Default: null |
180 | | - * } |
181 | 151 | * @psalm-type PimcoreOpenSearchClientConfig = array{ |
182 | 152 | * clients?: array<string, array{ // Default: [] |
183 | 153 | * name?: scalar|Param|null, |
|
429 | 399 | * error_handling?: "continue_on_error"|"stop_on_first_error"|Param, // Error handling behavior which should be used by the job run. Overrides the global value. |
430 | 400 | * }>, |
431 | 401 | * } |
432 | | - * @psalm-type PimcoreAdminConfig = array{ |
433 | | - * gdpr_data_extractor?: array{ |
434 | | - * dataObjects?: array{ // Settings for DataObjects DataProvider |
435 | | - * classes?: list<array{ // MY_CLASS_NAME: include: true allowDelete: false includedRelations: - manualSegemens - calculatedSegments // Default: [] |
436 | | - * include?: bool|Param, // Set if class should be considered in export. // Default: true |
437 | | - * allowDelete?: bool|Param, // Allow delete of objects directly in preview grid. // Default: false |
438 | | - * includedRelations?: list<scalar|Param|null>, |
439 | | - * }>, |
440 | | - * }, |
441 | | - * assets?: array{ // Settings for Assets DataProvider |
442 | | - * types?: list<array{ // asset types // Default: [] |
443 | | - * }>, |
444 | | - * }, |
445 | | - * }, |
446 | | - * objects?: array{ |
447 | | - * notes_events?: array{ |
448 | | - * types?: list<scalar|Param|null>, |
449 | | - * }, |
450 | | - * }, |
451 | | - * assets?: array{ |
452 | | - * notes_events?: array{ |
453 | | - * types?: list<scalar|Param|null>, |
454 | | - * }, |
455 | | - * hide_edit_image?: bool|Param, // Default: false |
456 | | - * disable_tree_preview?: bool|Param, // Default: true |
457 | | - * }, |
458 | | - * documents?: array{ |
459 | | - * notes_events?: array{ |
460 | | - * types?: list<scalar|Param|null>, |
461 | | - * }, |
462 | | - * email_search?: list<scalar|Param|null>, |
463 | | - * }, |
464 | | - * notifications?: bool|array{ |
465 | | - * enabled?: bool|Param, // Default: true |
466 | | - * check_new_notification?: bool|array{ // Can be used to enable or disable the check of new notifications (url: /admin/notification/find-last-unread). |
467 | | - * enabled?: bool|Param, // Default: true |
468 | | - * interval?: int|Param, // Interval in seconds to check new notifications // Default: 30 |
469 | | - * }, |
470 | | - * }, |
471 | | - * user?: array{ |
472 | | - * default_key_bindings?: list<array{ // Default: [] |
473 | | - * key: scalar|Param|null, |
474 | | - * action: scalar|Param|null, |
475 | | - * alt?: scalar|Param|null, // Default: false |
476 | | - * ctrl?: scalar|Param|null, // Default: false |
477 | | - * shift?: scalar|Param|null, // Default: false |
478 | | - * }>, |
479 | | - * }, |
480 | | - * admin_languages?: list<scalar|Param|null>, |
481 | | - * csrf_protection?: array{ |
482 | | - * excluded_routes?: list<scalar|Param|null>, |
483 | | - * }, |
484 | | - * admin_csp_header?: bool|array{ // Can be used to enable or disable the Content Security Policy headers. |
485 | | - * enabled?: bool|Param, // Default: true |
486 | | - * exclude_paths?: list<scalar|Param|null>, |
487 | | - * additional_urls?: array{ |
488 | | - * default-src?: list<scalar|Param|null>, |
489 | | - * img-src?: list<scalar|Param|null>, |
490 | | - * script-src?: list<scalar|Param|null>, |
491 | | - * style-src?: list<scalar|Param|null>, |
492 | | - * connect-src?: list<scalar|Param|null>, |
493 | | - * font-src?: list<scalar|Param|null>, |
494 | | - * media-src?: list<scalar|Param|null>, |
495 | | - * frame-src?: list<scalar|Param|null>, |
496 | | - * }, |
497 | | - * }, |
498 | | - * custom_admin_path_identifier?: scalar|Param|null, // Default: null |
499 | | - * custom_admin_route_name?: scalar|Param|null, // Default: "my_custom_admin_entry_point" |
500 | | - * branding?: array{ |
501 | | - * login_screen_invert_colors?: bool|Param, // Default: false |
502 | | - * color_login_screen?: scalar|Param|null, // Default: null |
503 | | - * color_admin_interface?: scalar|Param|null, // Default: null |
504 | | - * color_admin_interface_background?: scalar|Param|null, // Default: null |
505 | | - * login_screen_custom_image?: scalar|Param|null, // Default: "" |
506 | | - * }, |
507 | | - * session?: array{ |
508 | | - * attribute_bags?: array<string, array{ // Default: [] |
509 | | - * storage_key?: scalar|Param|null, // Default: null |
510 | | - * }>, |
511 | | - * }, |
512 | | - * translations?: array{ |
513 | | - * path?: scalar|Param|null, // Default: null |
514 | | - * }, |
515 | | - * security_firewall?: mixed, |
516 | | - * config_location?: array{ |
517 | | - * admin_system_settings?: array{ |
518 | | - * write_target?: array{ |
519 | | - * type?: "symfony-config"|"settings-store"|"disabled"|Param, // Default: "symfony-config" |
520 | | - * options?: list<mixed>, |
521 | | - * }, |
522 | | - * read_target?: array{ |
523 | | - * type?: "symfony-config"|"settings-store"|Param, // Default: null |
524 | | - * options?: list<mixed>, |
525 | | - * }, |
526 | | - * }, |
527 | | - * }, |
528 | | - * } |
529 | 402 | * @psalm-type PimcoreCustomReportsConfig = array{ |
530 | 403 | * definitions?: list<array{ // Default: [] |
531 | 404 | * id?: scalar|Param|null, |
|
3890 | 3763 | * }, |
3891 | 3764 | * }>, |
3892 | 3765 | * } |
| 3766 | + * @psalm-type WebpackEncoreConfig = array{ |
| 3767 | + * output_path: scalar|Param|null, // The path where Encore is building the assets - i.e. Encore.setOutputPath() |
| 3768 | + * crossorigin?: false|"anonymous"|"use-credentials"|Param, // crossorigin value when Encore.enableIntegrityHashes() is used, can be false (default), anonymous or use-credentials // Default: false |
| 3769 | + * preload?: bool|Param, // preload all rendered script and link tags automatically via the http2 Link header. // Default: false |
| 3770 | + * cache?: bool|Param, // Enable caching of the entry point file(s) // Default: false |
| 3771 | + * strict_mode?: bool|Param, // Throw an exception if the entrypoints.json file is missing or an entry is missing from the data // Default: true |
| 3772 | + * builds?: array<string, scalar|Param|null>, |
| 3773 | + * script_attributes?: array<string, scalar|Param|null>, |
| 3774 | + * link_attributes?: array<string, scalar|Param|null>, |
| 3775 | + * } |
3893 | 3776 | * @psalm-type DebugConfig = array{ |
3894 | 3777 | * max_items?: int|Param, // Max number of displayed items past the first level, -1 means no limit. // Default: 2500 |
3895 | 3778 | * min_depth?: int|Param, // Minimum tree depth to clone all the items, 1 is default. // Default: 1 |
|
3905 | 3788 | * intercept_redirects?: bool|Param, // Default: false |
3906 | 3789 | * excluded_ajax_paths?: scalar|Param|null, // Default: "^/((index|app(_[\\w]+)?)\\.php/)?_wdt" |
3907 | 3790 | * } |
3908 | | - * @psalm-type PrestaSitemapConfig = array{ |
3909 | | - * generator?: scalar|Param|null, // Default: "presta_sitemap.generator_default" |
3910 | | - * dumper?: scalar|Param|null, // Default: "presta_sitemap.dumper_default" |
3911 | | - * timetolive?: int|Param, // Default: 3600 |
3912 | | - * sitemap_file_prefix?: scalar|Param|null, // Sets sitemap filename prefix defaults to "sitemap" -> sitemap.xml (for index); sitemap.<section>.xml(.gz) (for sitemaps) // Default: "sitemap" |
3913 | | - * items_by_set?: int|Param, // The maximum number of items allowed in single sitemap. // Default: 50000 |
3914 | | - * route_annotation_listener?: scalar|Param|null, // Default: true |
3915 | | - * dump_directory?: scalar|Param|null, // The directory to which the sitemap will be dumped. It can be either absolute, or relative (to the place where the command will be triggered). Default to Symfony's public dir. // Default: "%kernel.project_dir%/public" |
3916 | | - * defaults?: array{ |
3917 | | - * priority?: scalar|Param|null, // Default: 0.5 |
3918 | | - * changefreq?: scalar|Param|null, // Default: "daily" |
3919 | | - * lastmod?: scalar|Param|null, // Default: "now" |
3920 | | - * }, |
3921 | | - * default_section?: scalar|Param|null, // The default section in which static routes are registered. // Default: "default" |
3922 | | - * alternate?: bool|array{ // Automatically generate alternate (hreflang) urls with static routes. Requires route_annotation_listener config to be enabled. |
3923 | | - * enabled?: bool|Param, // Default: false |
3924 | | - * default_locale?: scalar|Param|null, // The default locale of your routes. // Default: "en" |
3925 | | - * locales?: list<scalar|Param|null>, |
3926 | | - * i18n?: "symfony"|"jms"|Param, // Strategy used to create your i18n routes. // Default: "symfony" |
3927 | | - * }, |
3928 | | - * } |
3929 | 3791 | * @psalm-type PimcoreElasticsearchClientConfig = array{ |
3930 | 3792 | * es_clients?: array<string, array{ // Default: [] |
3931 | 3793 | * name?: scalar|Param|null, |
|
3964 | 3826 | * default_cookie_lifetime?: int|Param, // Default lifetime of the cookie containing the JWT, in seconds. Defaults to the value of "framework.session.cookie_lifetime". // Default: null |
3965 | 3827 | * enable_profiler?: bool|Param, // Deprecated: The child node "enable_profiler" at path "mercure.enable_profiler" is deprecated. // Enable Symfony Web Profiler integration. |
3966 | 3828 | * } |
3967 | | - * @psalm-type WebpackEncoreConfig = array{ |
3968 | | - * output_path: scalar|Param|null, // The path where Encore is building the assets - i.e. Encore.setOutputPath() |
3969 | | - * crossorigin?: false|"anonymous"|"use-credentials"|Param, // crossorigin value when Encore.enableIntegrityHashes() is used, can be false (default), anonymous or use-credentials // Default: false |
3970 | | - * preload?: bool|Param, // preload all rendered script and link tags automatically via the http2 Link header. // Default: false |
3971 | | - * cache?: bool|Param, // Enable caching of the entry point file(s) // Default: false |
3972 | | - * strict_mode?: bool|Param, // Throw an exception if the entrypoints.json file is missing or an entry is missing from the data // Default: true |
3973 | | - * builds?: array<string, scalar|Param|null>, |
3974 | | - * script_attributes?: array<string, scalar|Param|null>, |
3975 | | - * link_attributes?: array<string, scalar|Param|null>, |
3976 | | - * } |
3977 | 3829 | * @psalm-type KnpMenuConfig = array{ |
3978 | 3830 | * providers?: array{ |
3979 | 3831 | * builder_alias?: bool|Param, // Default: true |
|
4627 | 4479 | * imports?: ImportsConfig, |
4628 | 4480 | * parameters?: ParametersConfig, |
4629 | 4481 | * services?: ServicesConfig, |
4630 | | - * pimcore_seo?: PimcoreSeoConfig, |
4631 | 4482 | * pimcore_static_routes?: PimcoreStaticRoutesConfig, |
4632 | | - * pimcore_newsletter?: PimcoreNewsletterConfig, |
4633 | 4483 | * pimcore_open_search_client?: PimcoreOpenSearchClientConfig, |
4634 | 4484 | * pimcore_studio_ui?: PimcoreStudioUiConfig, |
4635 | 4485 | * pimcore_studio_backend?: PimcoreStudioBackendConfig, |
4636 | 4486 | * pimcore_generic_data_index?: PimcoreGenericDataIndexConfig, |
4637 | 4487 | * pimcore_generic_execution_engine?: PimcoreGenericExecutionEngineConfig, |
4638 | | - * pimcore_admin?: PimcoreAdminConfig, |
4639 | 4488 | * pimcore_custom_reports?: PimcoreCustomReportsConfig, |
4640 | 4489 | * core_shop_menu?: CoreShopMenuConfig, |
4641 | 4490 | * jms_serializer?: JmsSerializerConfig, |
|
4689 | 4538 | * knp_paginator?: KnpPaginatorConfig, |
4690 | 4539 | * core_shop_core?: CoreShopCoreConfig, |
4691 | 4540 | * core_shop_storage_list?: CoreShopStorageListConfig, |
| 4541 | + * webpack_encore?: WebpackEncoreConfig, |
4692 | 4542 | * debug?: DebugConfig, |
4693 | 4543 | * web_profiler?: WebProfilerConfig, |
4694 | | - * presta_sitemap?: PrestaSitemapConfig, |
4695 | 4544 | * pimcore_elasticsearch_client?: PimcoreElasticsearchClientConfig, |
4696 | 4545 | * mercure?: MercureConfig, |
4697 | | - * webpack_encore?: WebpackEncoreConfig, |
4698 | 4546 | * knp_menu?: KnpMenuConfig, |
4699 | 4547 | * pimcore?: PimcoreConfig, |
4700 | 4548 | * "when@dev"?: array{ |
4701 | 4549 | * imports?: ImportsConfig, |
4702 | 4550 | * parameters?: ParametersConfig, |
4703 | 4551 | * services?: ServicesConfig, |
4704 | | - * pimcore_seo?: PimcoreSeoConfig, |
4705 | 4552 | * pimcore_static_routes?: PimcoreStaticRoutesConfig, |
4706 | | - * pimcore_newsletter?: PimcoreNewsletterConfig, |
4707 | 4553 | * pimcore_open_search_client?: PimcoreOpenSearchClientConfig, |
4708 | 4554 | * pimcore_studio_ui?: PimcoreStudioUiConfig, |
4709 | 4555 | * pimcore_studio_backend?: PimcoreStudioBackendConfig, |
4710 | 4556 | * pimcore_generic_data_index?: PimcoreGenericDataIndexConfig, |
4711 | 4557 | * pimcore_generic_execution_engine?: PimcoreGenericExecutionEngineConfig, |
4712 | | - * pimcore_admin?: PimcoreAdminConfig, |
4713 | 4558 | * }, |
4714 | 4559 | * ...<string, ExtensionType|array{ // extra keys must follow the when@%env% pattern or match an extension alias |
4715 | 4560 | * imports?: ImportsConfig, |
|
0 commit comments