-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathResponseDefinitions.php
More file actions
84 lines (80 loc) · 1.82 KB
/
ResponseDefinitions.php
File metadata and controls
84 lines (80 loc) · 1.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\Collectives;
/**
* @psalm-type CollectivesCollective = array{
* id: int,
* circleId: string,
* emoji?: string,
* trashTimestamp?: int,
* pageMode: int,
* name: string,
* level: int,
* editPermissionLevel: int,
* sharePermissionLevel: int,
* canEdit: bool,
* canShare: bool,
* shareToken?: string,
* isPageShare: bool,
* sharePageId?: int,
* shareEditable: bool,
* userPageOrder: int,
* userShowMembers: bool,
* userShowRecenPages: bool,
* userFavoritePages: list<int>,
* canLeave: bool,
* }
*
* @psalm-type CollectivesCollectiveShare = array{
* id: int,
* collectiveId: int,
* pageId: int,
* token: string,
* owner: string,
* editable: bool,
* password: string,
* expirationDate: string|null,
* }
*
* @psalm-type CollectivesPageInfo = array{
* id: int,
* lastUserId?: string,
* lastUserDisplayName?: string,
* emoji?: string,
* isFullWidth: bool,
* subpageOrder: list<int>,
* trashTimestamp?: int,
* title: string,
* timestamp: int,
* size: int,
* fileName: string,
* filePath: string,
* collectivePath: string,
* parentId: int,
* shareToken?: string,
* }
*
* @psalm-type CollectivesPageAttachment = array{
* id: int,
* name: string,
* filesize: int,
* mimetype: string,
* timestamp: int,
* path: string,
* internalPath: string,
* hasPreview: bool,
* }
*
* @psalm-type CollectivesTag = array{
* id: int,
* collectiveId: int,
* name: string,
* color: string,
* }
*/
class ResponseDefinitions {
}