@appsemble/types 0.22.5 → 0.22.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/appCollection.d.ts +56 -0
- package/appCollection.js +2 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
#  Appsemble Types
|
|
2
2
|
|
|
3
3
|
> Reusable TypeScript types
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@appsemble/types)
|
|
6
|
-
[](https://gitlab.com/appsemble/appsemble/-/releases/0.22.7)
|
|
7
7
|
[](https://prettier.io)
|
|
8
8
|
|
|
9
9
|
## Table of Contents
|
|
@@ -26,5 +26,5 @@ not guaranteed.
|
|
|
26
26
|
|
|
27
27
|
## License
|
|
28
28
|
|
|
29
|
-
[LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.22.
|
|
29
|
+
[LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.22.7/LICENSE.md) ©
|
|
30
30
|
[Appsemble](https://appsemble.com)
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
export type AppCollectionVisibility = 'private' | 'public';
|
|
2
|
+
export interface AppCollection {
|
|
3
|
+
/**
|
|
4
|
+
* The unique ID of the collection.
|
|
5
|
+
*/
|
|
6
|
+
id: number;
|
|
7
|
+
/**
|
|
8
|
+
* The name of the app collection.
|
|
9
|
+
*/
|
|
10
|
+
name: string;
|
|
11
|
+
/**
|
|
12
|
+
* The id of the organization this app collection belongs to.
|
|
13
|
+
*/
|
|
14
|
+
OrganizationId: string;
|
|
15
|
+
/**
|
|
16
|
+
* The name of the organization this app collection belongs to.
|
|
17
|
+
*/
|
|
18
|
+
OrganizationName?: string;
|
|
19
|
+
/**
|
|
20
|
+
* The visibility of the app collection.
|
|
21
|
+
*/
|
|
22
|
+
visibility: AppCollectionVisibility;
|
|
23
|
+
/**
|
|
24
|
+
* The app collection's expert/curator.
|
|
25
|
+
*/
|
|
26
|
+
$expert: {
|
|
27
|
+
/**
|
|
28
|
+
* The expert's name.
|
|
29
|
+
*/
|
|
30
|
+
name: string;
|
|
31
|
+
/**
|
|
32
|
+
* The expert's personal description.
|
|
33
|
+
*/
|
|
34
|
+
description?: string;
|
|
35
|
+
/**
|
|
36
|
+
* The URL at which the expert's profile image can be found.
|
|
37
|
+
*/
|
|
38
|
+
profileImage: string;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* The URL at which the app collection's header image can be found.
|
|
42
|
+
*/
|
|
43
|
+
headerImage: string;
|
|
44
|
+
/**
|
|
45
|
+
* A domain name on which this app collection should be served.
|
|
46
|
+
*/
|
|
47
|
+
domain?: string;
|
|
48
|
+
/**
|
|
49
|
+
* When the collection was first created as an ISO 8601 formatted string.
|
|
50
|
+
*/
|
|
51
|
+
$created?: string;
|
|
52
|
+
/**
|
|
53
|
+
* When the collection was last updated as an ISO 8601 formatted string.
|
|
54
|
+
*/
|
|
55
|
+
$updated?: string;
|
|
56
|
+
}
|
package/appCollection.js
ADDED
package/index.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export * from './asset.js';
|
|
|
14
14
|
export * from './authentication.js';
|
|
15
15
|
export * from './author.js';
|
|
16
16
|
export * from './bulma.js';
|
|
17
|
+
export * from './appCollection.js';
|
|
17
18
|
export * from './http.js';
|
|
18
19
|
export * from './cli.js';
|
|
19
20
|
export * from './snapshot.js';
|
package/index.js
CHANGED