1
1
import Config
2
2
3
- config :spark ,
4
- formatter: [
5
- remove_parens?: true ,
6
- "Ash.Resource": [
7
- section_order: [
8
- :postgres ,
9
- :resource ,
10
- :code_interface ,
11
- :actions ,
12
- :policies ,
13
- :pub_sub ,
14
- :preparations ,
15
- :changes ,
16
- :validations ,
17
- :multitenancy ,
18
- :attributes ,
19
- :relationships ,
20
- :calculations ,
21
- :aggregates ,
22
- :identities
23
- ]
24
- ] ,
25
- "Ash.Domain": [ section_order: [ :resources , :policies , :authorization , :domain , :execution ] ]
26
- ]
3
+ config :ash , :policies , no_filter_static_forbidden_reads?: false
4
+ config :ash , include_embedded_source_by_default?: false , default_page_type: :keyset
27
5
28
- config :demo ,
29
- namespace: Demo ,
30
- ecto_repos: [ Demo.Repo ] ,
31
- ash_domains: [ Demo.Helpdesk ] ,
32
- generators: [ binary_id: true ]
6
+ config :backpex ,
7
+ pubsub_server: Demo.PubSub ,
8
+ translator_function: { DemoWeb.CoreComponents , :translate_backpex } ,
9
+ error_translator_function: { DemoWeb.CoreComponents , :translate_error }
10
+
11
+ config :demo , Demo.Repo , migration_primary_key: [ name: :id , type: :binary_id ]
33
12
34
13
config :demo , DemoWeb.Endpoint ,
35
14
adapter: Bandit.PhoenixAdapter ,
@@ -40,7 +19,13 @@ config :demo, DemoWeb.Endpoint,
40
19
] ,
41
20
pubsub_server: Demo.PubSub
42
21
43
- config :demo , Demo.Repo , migration_primary_key: [ name: :id , type: :binary_id ]
22
+ config :demo , DemoWeb.Gettext , default_locale: "en"
23
+
24
+ config :demo ,
25
+ namespace: Demo ,
26
+ ecto_repos: [ Demo.Repo ] ,
27
+ ash_domains: [ Demo.Helpdesk ] ,
28
+ generators: [ binary_id: true ]
44
29
45
30
config :esbuild ,
46
31
version: "0.25.9" ,
@@ -56,35 +41,49 @@ config :esbuild,
56
41
env: % { "NODE_PATH" => Path . expand ( "../deps" , __DIR__ ) }
57
42
]
58
43
59
- config :tailwind ,
60
- version: "4.1.13" ,
61
- default: [
62
- args: ~w(
63
- --input=assets/css/app.css
64
- --output=priv/static/assets/css/app.css
65
- ) ,
66
- cd: Path . expand ( ".." , __DIR__ )
67
- ]
68
-
69
44
config :logger , :default_formatter ,
70
45
format: "$time $metadata[$level] $message\n " ,
71
46
metadata: [ :request_id ]
72
47
48
+ config :phoenix , :json_library , Jason
49
+
73
50
config :sentry ,
74
51
enable_source_code_context: true ,
75
52
root_source_code_paths: [ File . cwd! ( ) ]
76
53
77
- config :phoenix , :json_library , Jason
78
-
79
- config :demo , DemoWeb.Gettext , default_locale: "en"
80
-
81
- config :ash , include_embedded_source_by_default?: false , default_page_type: :keyset
82
-
83
- config :ash , :policies , no_filter_static_forbidden_reads?: false
54
+ config :spark ,
55
+ formatter: [
56
+ remove_parens?: true ,
57
+ "Ash.Resource": [
58
+ section_order: [
59
+ :postgres ,
60
+ :resource ,
61
+ :code_interface ,
62
+ :actions ,
63
+ :policies ,
64
+ :pub_sub ,
65
+ :preparations ,
66
+ :changes ,
67
+ :validations ,
68
+ :multitenancy ,
69
+ :attributes ,
70
+ :relationships ,
71
+ :calculations ,
72
+ :aggregates ,
73
+ :identities
74
+ ]
75
+ ] ,
76
+ "Ash.Domain": [ section_order: [ :resources , :policies , :authorization , :domain , :execution ] ]
77
+ ]
84
78
85
- config :backpex ,
86
- pubsub_server: Demo.PubSub ,
87
- translator_function: { DemoWeb.CoreComponents , :translate_backpex } ,
88
- error_translator_function: { DemoWeb.CoreComponents , :translate_error }
79
+ config :tailwind ,
80
+ version: "4.1.13" ,
81
+ default: [
82
+ args: ~w(
83
+ --input=assets/css/app.css
84
+ --output=priv/static/assets/css/app.css
85
+ ) ,
86
+ cd: Path . expand ( ".." , __DIR__ )
87
+ ]
89
88
90
89
import_config "#{ config_env ( ) } .exs"
0 commit comments