mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-04 04:22:50 +00:00
@@ -49,9 +49,9 @@ export enum SCThingType {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A thing
|
* A thing without references
|
||||||
*/
|
*/
|
||||||
export interface SCThing {
|
export interface SCThingWithoutReferences {
|
||||||
/**
|
/**
|
||||||
* Alternate names of the thing
|
* Alternate names of the thing
|
||||||
*/
|
*/
|
||||||
@@ -72,10 +72,6 @@ export interface SCThing {
|
|||||||
* @minLength 1
|
* @minLength 1
|
||||||
*/
|
*/
|
||||||
name: string;
|
name: string;
|
||||||
/**
|
|
||||||
* Origin of the thing
|
|
||||||
*/
|
|
||||||
origin: SCThingRemoteOrigin | SCThingUserOrigin;
|
|
||||||
/**
|
/**
|
||||||
* Translations of specific values of the object
|
* Translations of specific values of the object
|
||||||
*
|
*
|
||||||
@@ -96,6 +92,16 @@ export interface SCThing {
|
|||||||
url?: string;
|
url?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A thing
|
||||||
|
*/
|
||||||
|
export interface SCThing extends SCThingWithoutReferences {
|
||||||
|
/**
|
||||||
|
* Origin of the thing
|
||||||
|
*/
|
||||||
|
origin: SCThingRemoteOrigin | SCThingUserOrigin;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Possible types of an origin
|
* Possible types of an origin
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user