Skip to content

Commit

Permalink
add capacity "get"
Browse files Browse the repository at this point in the history
  • Loading branch information
clemzarch committed Aug 7, 2023
1 parent 9516871 commit cfafc43
Show file tree
Hide file tree
Showing 8 changed files with 1,089 additions and 314 deletions.
1,389 changes: 1,075 additions & 314 deletions composer.lock

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/Capacity/All.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ final class All implements CapacityInterface
'shops',
'stock_availables',
'suppliers',
'tags',
'tax_rule_groups',
'tax_rules',
];
Expand Down
1 change: 1 addition & 0 deletions src/Capacity/Create.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ final class Create implements CapacityInterface
'products',
'shops',
'suppliers',
'tags',
'tax_rule_groups',
'tax_rules',
];
Expand Down
1 change: 1 addition & 0 deletions src/Capacity/Get.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ final class Get implements CapacityInterface
'shops',
'stock_availables',
'suppliers',
'tags',
'tax_rule_groups',
'tax_rules',
];
Expand Down
1 change: 1 addition & 0 deletions src/Capacity/Update.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ final class Update implements CapacityInterface
'shops',
'stock_availables',
'suppliers',
'tags',
'tax_rule_groups',
'tax_rules',
];
Expand Down
1 change: 1 addition & 0 deletions src/Capacity/Upsert.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ final class Upsert implements CapacityInterface
'shops',
'stock_availables',
'suppliers',
'tags',
'tax_rule_groups',
'tax_rules',
];
Expand Down
4 changes: 4 additions & 0 deletions src/Configuration/Extractor.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ final class Extractor implements PluginConfigurationInterface
'all',
'get',
],
'tags' => [
'all',
'get',
],
'tax_rule_groups' => [
'all',
'get',
Expand Down
5 changes: 5 additions & 0 deletions src/Configuration/Loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ final class Loader implements PluginConfigurationInterface
'update',
'upsert',
],
'tags' => [
'create',
'update',
'upsert',
],
'tax_rule_groups' => [
'create',
'update',
Expand Down

0 comments on commit cfafc43

Please sign in to comment.