Skip to content

Commit 5f79d2e

Browse files
feat: compile dark mode assets and update reference
1 parent 51f75a3 commit 5f79d2e

5 files changed

Lines changed: 49 additions & 52 deletions

File tree

config/reference.php

Lines changed: 45 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -208,29 +208,29 @@
208208
* initial_marking?: list<scalar|Param|null>,
209209
* events_to_dispatch?: list<string|Param>|null,
210210
* places?: list<array{ // Default: []
211-
* name?: scalar|Param|null,
212-
* metadata?: array<string, mixed>,
211+
* name: scalar|Param|null,
212+
* metadata?: list<mixed>,
213213
* }>,
214-
* transitions?: list<array{ // Default: []
215-
* name?: string|Param,
214+
* transitions: list<array{ // Default: []
215+
* name: string|Param,
216216
* guard?: string|Param, // An expression to block the transition.
217217
* from?: list<array{ // Default: []
218-
* place?: string|Param,
218+
* place: string|Param,
219219
* weight?: int|Param, // Default: 1
220220
* }>,
221221
* to?: list<array{ // Default: []
222-
* place?: string|Param,
222+
* place: string|Param,
223223
* weight?: int|Param, // Default: 1
224224
* }>,
225225
* weight?: int|Param, // Default: 1
226-
* metadata?: array<string, mixed>,
226+
* metadata?: list<mixed>,
227227
* }>,
228-
* metadata?: array<string, mixed>,
228+
* metadata?: list<mixed>,
229229
* }>,
230230
* },
231231
* router?: bool|array{ // Router configuration
232232
* enabled?: bool|Param, // Default: false
233-
* resource?: scalar|Param|null,
233+
* resource: scalar|Param|null,
234234
* type?: scalar|Param|null,
235235
* default_uri?: scalar|Param|null, // The default URI used to generate URLs in a non-HTTP context. // Default: null
236236
* http_port?: scalar|Param|null, // Default: 80
@@ -353,10 +353,10 @@
353353
* mapping?: array{
354354
* paths?: list<scalar|Param|null>,
355355
* },
356-
* default_context?: array<string, mixed>,
356+
* default_context?: list<mixed>,
357357
* named_serializers?: array<string, array{ // Default: []
358358
* name_converter?: scalar|Param|null,
359-
* default_context?: array<string, mixed>,
359+
* default_context?: list<mixed>,
360360
* include_built_in_normalizers?: bool|Param, // Whether to include the built-in normalizers // Default: true
361361
* include_built_in_encoders?: bool|Param, // Whether to include the built-in encoders // Default: true
362362
* }>,
@@ -420,7 +420,7 @@
420420
* },
421421
* messenger?: bool|array{ // Messenger configuration
422422
* enabled?: bool|Param, // Default: false
423-
* routing?: array<string, string|array{ // Default: []
423+
* routing?: array<string, array{ // Default: []
424424
* senders?: list<scalar|Param|null>,
425425
* }>,
426426
* serializer?: array{
@@ -433,7 +433,7 @@
433433
* transports?: array<string, string|array{ // Default: []
434434
* dsn?: scalar|Param|null,
435435
* serializer?: scalar|Param|null, // Service id of a custom serializer to use. // Default: null
436-
* options?: array<string, mixed>,
436+
* options?: list<mixed>,
437437
* failure_transport?: scalar|Param|null, // Transport name to send failed messages to (after all retries have failed). // Default: null
438438
* retry_strategy?: string|array{
439439
* service?: scalar|Param|null, // Service id to override the retry strategy entirely. // Default: null
@@ -455,7 +455,7 @@
455455
* allow_no_senders?: bool|Param, // Default: true
456456
* },
457457
* middleware?: list<string|array{ // Default: []
458-
* id?: scalar|Param|null,
458+
* id: scalar|Param|null,
459459
* arguments?: list<mixed>,
460460
* }>,
461461
* }>,
@@ -627,7 +627,7 @@
627627
* lock_factory?: scalar|Param|null, // The service ID of the lock factory used by this limiter (or null to disable locking). // Default: "auto"
628628
* cache_pool?: scalar|Param|null, // The cache pool to use for storing the current limiter state. // Default: "cache.rate_limiter"
629629
* storage_service?: scalar|Param|null, // The service ID of a custom storage implementation, this precedes any configured "cache_pool". // Default: null
630-
* policy?: "fixed_window"|"token_bucket"|"sliding_window"|"compound"|"no_limit"|Param, // The algorithm to be used by this limiter.
630+
* policy: "fixed_window"|"token_bucket"|"sliding_window"|"compound"|"no_limit"|Param, // The algorithm to be used by this limiter.
631631
* limiters?: list<scalar|Param|null>,
632632
* limit?: int|Param, // The maximum allowed hits in a fixed interval or burst.
633633
* interval?: scalar|Param|null, // Configures the fixed interval if "policy" is set to "fixed_window" or "sliding_window". The value must be a number followed by "second", "minute", "hour", "day", "week" or "month" (or their plural equivalent).
@@ -672,7 +672,7 @@
672672
* enabled?: bool|Param, // Default: false
673673
* message_bus?: scalar|Param|null, // The message bus to use. // Default: "messenger.default_bus"
674674
* routing?: array<string, array{ // Default: []
675-
* service?: scalar|Param|null,
675+
* service: scalar|Param|null,
676676
* secret?: scalar|Param|null, // Default: ""
677677
* }>,
678678
* },
@@ -777,7 +777,7 @@
777777
* dbal?: array{
778778
* default_connection?: scalar|Param|null,
779779
* types?: array<string, string|array{ // Default: []
780-
* class?: scalar|Param|null,
780+
* class: scalar|Param|null,
781781
* }>,
782782
* driver_schemes?: array<string, scalar|Param|null>,
783783
* connections?: array<string, array{ // Default: []
@@ -948,7 +948,7 @@
948948
* datetime_functions?: array<string, scalar|Param|null>,
949949
* },
950950
* filters?: array<string, string|array{ // Default: []
951-
* class?: scalar|Param|null,
951+
* class: scalar|Param|null,
952952
* enabled?: bool|Param, // Default: false
953953
* parameters?: array<string, mixed>,
954954
* }>,
@@ -971,8 +971,8 @@
971971
* options?: mixed, // Deprecated: The "options" node at "sylius_resource.resources..options" is deprecated and will be removed in 2.0.
972972
* templates?: scalar|Param|null,
973973
* state_machine_component?: scalar|Param|null, // Default: null
974-
* classes?: array{
975-
* model?: scalar|Param|null,
974+
* classes: array{
975+
* model: scalar|Param|null,
976976
* interface?: scalar|Param|null,
977977
* controller?: scalar|Param|null, // Default: "Sylius\\Bundle\\ResourceBundle\\Controller\\ResourceController"
978978
* repository?: scalar|Param|null,
@@ -981,8 +981,8 @@
981981
* },
982982
* translation?: array{
983983
* options?: mixed, // Deprecated: The "options" node at "sylius_resource.resources..translation.options" is deprecated and will be removed in 2.0.
984-
* classes?: array{
985-
* model?: scalar|Param|null,
984+
* classes: array{
985+
* model: scalar|Param|null,
986986
* interface?: scalar|Param|null,
987987
* controller?: scalar|Param|null, // Default: "Sylius\\Bundle\\ResourceBundle\\Controller\\ResourceController"
988988
* repository?: scalar|Param|null,
@@ -1087,7 +1087,7 @@
10871087
* sorting?: array<string, "asc"|"desc"|Param>,
10881088
* limits?: list<int|Param>,
10891089
* fields?: array<string, array{ // Default: []
1090-
* type?: scalar|Param|null,
1090+
* type: scalar|Param|null,
10911091
* label?: scalar|Param|null,
10921092
* path?: scalar|Param|null,
10931093
* sortable?: scalar|Param|null,
@@ -1096,7 +1096,7 @@
10961096
* options?: list<mixed>,
10971097
* }>,
10981098
* filters?: array<string, array{ // Default: []
1099-
* type?: scalar|Param|null,
1099+
* type: scalar|Param|null,
11001100
* label?: scalar|Param|null,
11011101
* enabled?: scalar|Param|null, // Default: true
11021102
* template?: scalar|Param|null,
@@ -1106,7 +1106,7 @@
11061106
* default_value?: mixed,
11071107
* }>,
11081108
* actions?: array<string, array<string, array{ // Default: []
1109-
* type?: scalar|Param|null,
1109+
* type: scalar|Param|null,
11101110
* label?: scalar|Param|null,
11111111
* enabled?: scalar|Param|null, // Default: true
11121112
* template?: scalar|Param|null,
@@ -1119,7 +1119,7 @@
11191119
* }
11201120
* @psalm-type VichUploaderConfig = array{
11211121
* default_filename_attribute_suffix?: scalar|Param|null, // Default: "_name"
1122-
* db_driver?: scalar|Param|null,
1122+
* db_driver: scalar|Param|null,
11231123
* storage?: scalar|Param|null, // Default: "file_system"
11241124
* use_flysystem_to_resolve_uri?: bool|Param, // Default: false
11251125
* twig?: scalar|Param|null, // twig requires templating // Default: true
@@ -1132,7 +1132,7 @@
11321132
* },
11331133
* auto_detection?: bool|Param, // Default: true
11341134
* directories?: list<array{ // Default: []
1135-
* path?: scalar|Param|null,
1135+
* path: scalar|Param|null,
11361136
* namespace_prefix?: scalar|Param|null, // Default: ""
11371137
* }>,
11381138
* },
@@ -1191,7 +1191,7 @@
11911191
* providers?: list<scalar|Param|null>,
11921192
* },
11931193
* entity?: array{
1194-
* class?: scalar|Param|null, // The full entity class name of your user class.
1194+
* class: scalar|Param|null, // The full entity class name of your user class.
11951195
* property?: scalar|Param|null, // Default: null
11961196
* manager_name?: scalar|Param|null, // Default: null
11971197
* },
@@ -1202,8 +1202,8 @@
12021202
* }>,
12031203
* },
12041204
* ldap?: array{
1205-
* service?: scalar|Param|null,
1206-
* base_dn?: scalar|Param|null,
1205+
* service: scalar|Param|null,
1206+
* base_dn: scalar|Param|null,
12071207
* search_dn?: scalar|Param|null, // Default: null
12081208
* search_password?: scalar|Param|null, // Default: null
12091209
* extra_fields?: list<scalar|Param|null>,
@@ -1214,7 +1214,7 @@
12141214
* password_attribute?: scalar|Param|null, // Default: null
12151215
* },
12161216
* }>,
1217-
* firewalls?: array<string, array{ // Default: []
1217+
* firewalls: array<string, array{ // Default: []
12181218
* pattern?: scalar|Param|null,
12191219
* host?: scalar|Param|null,
12201220
* methods?: list<scalar|Param|null>,
@@ -1272,9 +1272,9 @@
12721272
* user?: scalar|Param|null, // Default: "REMOTE_USER"
12731273
* },
12741274
* login_link?: array{
1275-
* check_route?: scalar|Param|null, // Route that will validate the login link - e.g. "app_login_link_verify".
1275+
* check_route: scalar|Param|null, // Route that will validate the login link - e.g. "app_login_link_verify".
12761276
* check_post_only?: scalar|Param|null, // If true, only HTTP POST requests to "check_route" will be handled by the authenticator. // Default: false
1277-
* signature_properties?: list<scalar|Param|null>,
1277+
* signature_properties: list<scalar|Param|null>,
12781278
* lifetime?: int|Param, // The lifetime of the login link in seconds. // Default: 600
12791279
* max_uses?: int|Param, // Max number of times a login link can be used - null means unlimited within lifetime. // Default: null
12801280
* used_link_cache?: scalar|Param|null, // Cache service id used to expired links of max_uses is set.
@@ -1376,39 +1376,39 @@
13761376
* failure_handler?: scalar|Param|null,
13771377
* realm?: scalar|Param|null, // Default: null
13781378
* token_extractors?: list<scalar|Param|null>,
1379-
* token_handler?: string|array{
1379+
* token_handler: string|array{
13801380
* id?: scalar|Param|null,
13811381
* oidc_user_info?: string|array{
1382-
* base_uri?: scalar|Param|null, // Base URI of the userinfo endpoint on the OIDC server, or the OIDC server URI to use the discovery (require "discovery" to be configured).
1382+
* base_uri: scalar|Param|null, // Base URI of the userinfo endpoint on the OIDC server, or the OIDC server URI to use the discovery (require "discovery" to be configured).
13831383
* discovery?: array{ // Enable the OIDC discovery.
13841384
* cache?: array{
1385-
* id?: scalar|Param|null, // Cache service id to use to cache the OIDC discovery configuration.
1385+
* id: scalar|Param|null, // Cache service id to use to cache the OIDC discovery configuration.
13861386
* },
13871387
* },
13881388
* claim?: scalar|Param|null, // Claim which contains the user identifier (e.g. sub, email, etc.). // Default: "sub"
13891389
* client?: scalar|Param|null, // HttpClient service id to use to call the OIDC server.
13901390
* },
13911391
* oidc?: array{
13921392
* discovery?: array{ // Enable the OIDC discovery.
1393-
* base_uri?: list<scalar|Param|null>,
1393+
* base_uri: list<scalar|Param|null>,
13941394
* cache?: array{
1395-
* id?: scalar|Param|null, // Cache service id to use to cache the OIDC discovery configuration.
1395+
* id: scalar|Param|null, // Cache service id to use to cache the OIDC discovery configuration.
13961396
* },
13971397
* },
13981398
* claim?: scalar|Param|null, // Claim which contains the user identifier (e.g.: sub, email..). // Default: "sub"
1399-
* audience?: scalar|Param|null, // Audience set in the token, for validation purpose.
1400-
* issuers?: list<scalar|Param|null>,
1401-
* algorithms?: list<scalar|Param|null>,
1399+
* audience: scalar|Param|null, // Audience set in the token, for validation purpose.
1400+
* issuers: list<scalar|Param|null>,
1401+
* algorithms: list<scalar|Param|null>,
14021402
* keyset?: scalar|Param|null, // JSON-encoded JWKSet used to sign the token (must contain a list of valid public keys).
14031403
* encryption?: bool|array{
14041404
* enabled?: bool|Param, // Default: false
14051405
* enforce?: bool|Param, // When enabled, the token shall be encrypted. // Default: false
1406-
* algorithms?: list<scalar|Param|null>,
1407-
* keyset?: scalar|Param|null, // JSON-encoded JWKSet used to decrypt the token (must contain a list of valid private keys).
1406+
* algorithms: list<scalar|Param|null>,
1407+
* keyset: scalar|Param|null, // JSON-encoded JWKSet used to decrypt the token (must contain a list of valid private keys).
14081408
* },
14091409
* },
14101410
* cas?: array{
1411-
* validation_url?: scalar|Param|null, // CAS server validation URL
1411+
* validation_url: scalar|Param|null, // CAS server validation URL
14121412
* prefix?: scalar|Param|null, // CAS prefix // Default: "cas"
14131413
* http_client?: scalar|Param|null, // HTTP Client service // Default: null
14141414
* },
@@ -1601,10 +1601,7 @@ final class App
16011601
*/
16021602
public static function config(array $config): array
16031603
{
1604-
/** @var ConfigType $config */
1605-
$config = AppReference::config($config);
1606-
1607-
return $config;
1604+
return AppReference::config($config);
16081605
}
16091606
}
16101607

src/BootstrapAdminUi/public/app.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/BootstrapAdminUi/public/app.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)