File tree Expand file tree Collapse file tree 13 files changed +39
-13
lines changed Expand file tree Collapse file tree 13 files changed +39
-13
lines changed Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ namespace FiveamCode \LaravelNotionApi \Entities \Contracts ;
4
+
5
+ use FiveamCode \LaravelNotionApi \Entities \Properties \Property ;
6
+
7
+ interface Modifiable
8
+ {
9
+ public static function value ($ value ): Property ;
10
+ }
Original file line number Diff line number Diff line change 2
2
3
3
namespace FiveamCode \LaravelNotionApi \Entities \Properties ;
4
4
5
+ use FiveamCode \LaravelNotionApi \Entities \Contracts \Modifiable ;
5
6
use FiveamCode \LaravelNotionApi \Exceptions \HandlingException ;
6
7
7
8
/**
8
9
* Class Checkbox
9
10
* @package FiveamCode\LaravelNotionApi\Entities\Properties
10
11
*/
11
- class Checkbox extends Property
12
+ class Checkbox extends Property implements Modifiable
12
13
{
13
14
14
15
/**
Original file line number Diff line number Diff line change 3
3
namespace FiveamCode \LaravelNotionApi \Entities \Properties ;
4
4
5
5
use DateTime ;
6
- use FiveamCode \LaravelNotionApi \Entities \PropertyItems \RichDate ;
7
6
use FiveamCode \LaravelNotionApi \Exceptions \HandlingException ;
7
+ use FiveamCode \LaravelNotionApi \Entities \Contracts \Modifiable ;
8
+ use FiveamCode \LaravelNotionApi \Entities \PropertyItems \RichDate ;
8
9
9
10
/**
10
11
* Class Date
11
12
* @package FiveamCode\LaravelNotionApi\Entities\Properties
12
13
*/
13
- class Date extends Property
14
+ class Date extends Property implements Modifiable
14
15
{
15
16
16
17
/**
Original file line number Diff line number Diff line change 2
2
3
3
namespace FiveamCode \LaravelNotionApi \Entities \Properties ;
4
4
5
+ use FiveamCode \LaravelNotionApi \Entities \Contracts \Modifiable ;
6
+
5
7
/**
6
8
* Class Email
7
9
* @package FiveamCode\LaravelNotionApi\Entities\Properties
8
10
*/
9
- class Email extends Property
11
+ class Email extends Property implements Modifiable
10
12
{
11
13
/**
12
14
* @param $email
Original file line number Diff line number Diff line change 2
2
3
3
namespace FiveamCode \LaravelNotionApi \Entities \Properties ;
4
4
5
+ use FiveamCode \LaravelNotionApi \Entities \Contracts \Modifiable ;
5
6
use Illuminate \Support \Collection ;
6
7
use FiveamCode \LaravelNotionApi \Exceptions \HandlingException ;
7
8
use FiveamCode \LaravelNotionApi \Entities \PropertyItems \SelectItem ;
10
11
* Class MultiSelect
11
12
* @package FiveamCode\LaravelNotionApi\Entities\Properties
12
13
*/
13
- class MultiSelect extends Property
14
+ class MultiSelect extends Property implements Modifiable
14
15
{
15
16
/**
16
17
* @param $names
Original file line number Diff line number Diff line change 2
2
3
3
namespace FiveamCode \LaravelNotionApi \Entities \Properties ;
4
4
5
+ use FiveamCode \LaravelNotionApi \Entities \Contracts \Modifiable ;
6
+
5
7
/**
6
8
* Class Number
7
9
* @package FiveamCode\LaravelNotionApi\Entities\Properties
8
10
*/
9
- class Number extends Property
11
+ class Number extends Property implements Modifiable
10
12
{
11
13
/**
12
14
* @var float|int
Original file line number Diff line number Diff line change 2
2
3
3
namespace FiveamCode \LaravelNotionApi \Entities \Properties ;
4
4
5
+ use FiveamCode \LaravelNotionApi \Entities \Contracts \Modifiable ;
5
6
use FiveamCode \LaravelNotionApi \Entities \User ;
6
7
use FiveamCode \LaravelNotionApi \Exceptions \HandlingException ;
7
8
use Illuminate \Support \Collection ;
10
11
* Class People
11
12
* @package FiveamCode\LaravelNotionApi\Entities\Properties
12
13
*/
13
- class People extends Property
14
+ class People extends Property implements Modifiable
14
15
{
15
16
/**
16
17
* @param $userIds
Original file line number Diff line number Diff line change 2
2
3
3
namespace FiveamCode \LaravelNotionApi \Entities \Properties ;
4
4
5
+ use FiveamCode \LaravelNotionApi \Entities \Contracts \Modifiable ;
6
+
5
7
/**
6
8
* Class PhoneNumber
7
9
* @package FiveamCode\LaravelNotionApi\Entities\Properties
8
10
*/
9
- class PhoneNumber extends Property
11
+ class PhoneNumber extends Property implements Modifiable
10
12
{
11
13
/**
12
14
* @param $phoneNumber
Original file line number Diff line number Diff line change 2
2
3
3
namespace FiveamCode \LaravelNotionApi \Entities \Properties ;
4
4
5
+ use FiveamCode \LaravelNotionApi \Entities \Contracts \Modifiable ;
5
6
use Illuminate \Support \Collection ;
6
7
7
8
/**
8
9
* Class Relation
9
10
* @package FiveamCode\LaravelNotionApi\Entities\Properties
10
11
*/
11
- class Relation extends Property
12
+ class Relation extends Property implements Modifiable
12
13
{
13
14
/**
14
15
* @param $relationIds
Original file line number Diff line number Diff line change 2
2
3
3
namespace FiveamCode \LaravelNotionApi \Entities \Properties ;
4
4
5
+ use FiveamCode \LaravelNotionApi \Entities \Contracts \Modifiable ;
5
6
use FiveamCode \LaravelNotionApi \Exceptions \HandlingException ;
6
7
use FiveamCode \LaravelNotionApi \Entities \PropertyItems \SelectItem ;
7
8
8
9
/**
9
10
* Class Select
10
11
* @package FiveamCode\LaravelNotionApi\Entities\Properties
11
12
*/
12
- class Select extends Property
13
+ class Select extends Property implements Modifiable
13
14
{
14
15
15
16
/**
You can’t perform that action at this time.
0 commit comments