Skip to content

Commit 63c0506

Browse files
Merge pull request #35 from diffo-dev/dev
rebase
2 parents 224164f + c0023a2 commit 63c0506

36 files changed

Lines changed: 275 additions & 225 deletions

.formatter.exs

Lines changed: 11 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,21 @@
33
# SPDX-License-Identifier: MIT
44

55
# Used by "mix format"
6-
locals_without_parens = [
7-
id: 1,
8-
category: 1,
9-
is_enabled?: 1,
10-
characteristic: 2,
11-
pick: 1,
12-
rename: 1,
13-
field: 3,
14-
expect: 1,
15-
relate: 1,
16-
translate: 1,
17-
guard: 1,
18-
customize: 1,
19-
order: 1,
20-
initial_states: 1,
21-
default_initial_state: 1,
22-
state_attribute: 1,
23-
transition: 1
24-
]
6+
locals_without_parens = []
257

268
[
279
plugins: [Spark.Formatter],
2810
inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"],
29-
import_deps: [:ash],
11+
import_deps: [
12+
:diffo,
13+
:ash,
14+
:ash_state_machine,
15+
:ash_neo4j,
16+
:ash_jason,
17+
:ash_outstanding,
18+
:ash_json_api,
19+
:plug
20+
],
3021
locals_without_parens: locals_without_parens,
3122
export: [
3223
locals_without_parens: locals_without_parens

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,5 @@ diffo-*.tar
2727
.DS_Store
2828

2929
# Agent related
30-
.claude/*
30+
.claude/*
31+
CLAUDE*

.igniter.exs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# SPDX-FileCopyrightText: 2025 diffo_example contributors <https://github.com/diffo-dev/diffo_example/graphs.contributors>
2+
#
3+
# SPDX-License-Identifier: MIT
4+
5+
# This is a configuration file for igniter.
6+
# For option documentation, see https://hexdocs.pm/igniter/Igniter.Project.IgniterConfig.html
7+
# To keep it up to date, use `mix igniter.setup`
8+
[
9+
module_location: :outside_matching_folder,
10+
extensions: [],
11+
deps_location: :last_list_literal,
12+
source_folders: ["lib", "test/support"],
13+
dont_move_files: [~r"lib/mix"]
14+
]

config/runtime.exs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44

55
import Config
66

7+
config :bolty, Bolt,
8+
uri: "bolt://localhost:7687",
9+
auth: [username: "neo4j", password: "password"],
10+
pool_size: 10,
11+
name: Bolt
12+
713
if config_env() == :prod do
814
database_url =
915
System.get_env("DATABASE_URL") ||

lib/access/resources/characteristic_values/cable_value.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ defmodule DiffoExample.Access.CableValue do
1212

1313
jason do
1414
pick [:name, :pairs, :length, :loss, :technology]
15-
compact(true)
15+
compact true
1616
end
1717

1818
outstanding do

lib/access/resources/characteristic_values/card_value.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ defmodule DiffoExample.Access.CardValue do
1212

1313
jason do
1414
pick [:name, :family, :model, :technology]
15-
compact(true)
15+
compact true
1616
end
1717

1818
outstanding do

lib/access/resources/characteristic_values/float_unit.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ defmodule DiffoExample.Access.FloatUnit do
1212

1313
jason do
1414
pick [:amount, :unit]
15-
compact(true)
15+
compact true
1616
end
1717

1818
outstanding do

lib/access/resources/characteristic_values/integer_unit.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ defmodule DiffoExample.Access.IntegerUnit do
1212

1313
jason do
1414
pick [:amount, :unit]
15-
compact(true)
15+
compact true
1616
end
1717

1818
outstanding do

lib/access/resources/characteristic_values/path_value.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ defmodule DiffoExample.Access.PathValue do
1212

1313
jason do
1414
pick [:name, :sections, :length, :loss, :technology]
15-
compact(true)
15+
compact true
1616
end
1717

1818
outstanding do

lib/access/resources/characteristic_values/shelf_value.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ defmodule DiffoExample.Access.ShelfValue do
1212

1313
jason do
1414
pick [:name, :family, :model, :technology]
15-
compact(true)
15+
compact true
1616
end
1717

1818
outstanding do

0 commit comments

Comments
 (0)