Skip to content

Commit 3be7ad8

Browse files
committed
Add SiteID mock type #9660
1 parent 385f048 commit 3be7ad8

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/Api/Scalar/SiteIDType.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace Ecodev\Felix\Api\Scalar;
6+
7+
use GraphQL\Type\Definition\IDType;
8+
9+
// Mock a SiteID GraphQL type without the need of a Site model
10+
class SiteIDType extends IDType
11+
{
12+
public $name = 'SiteID';
13+
14+
public $description = 'The ID of a site where a door is located';
15+
}

0 commit comments

Comments
 (0)