OBJECT

Package

A Package is an object that groups dependent aiWARE resources together.

link GraphQL Schema definition

1type Package {
2
3# The UUID of the Package.
4id: ID!
5
6# Details for the organization that owns the package.
7organization: OrganizationInfo
8
9# The unique name of the package.
10name: String!
11
12description: String
13
14# The path for an icon image.
15icon: String
16
17# This determines how the package is distributed.
18distributionType: EngineDistributionType
19
20# The semantic version of the package.
21version: String!
22
23# This UUID is used to track a package's lineage and versions. This UUID is NOT
24# guaranteed to be a package ID and should not be used as such.
25sourceOriginId: ID
26
27# The source package ID of a package refers to the package it immediately derives
28# from, if any.
29#
30# For example, if there are two packages in the same lineage with versions 1.0 and
31# 2.0,
32# the 2.0 package derives from the 1.0 package. Therefore, the source package ID
33# of the 2.0
34# package would be the ID of the 1.0 package.
35sourcePackageId: ID
36
37# This specifies an aiWARE version that this package is dependent on, if
38# applicable.
39aiwareVersion: String
40
41deleted: Boolean
42
43deprecated: Boolean
44
45status: PackageStatus
46
47grantType: PackageGrantType
48
49# The date the package was installed onto the instance.
50installDate: DateTime
51
52# The date the package was available for distribution. This depends on the
53# package's status and distribution type.
54distributionDate: DateTime
55
56# A flag that indicates whether the package was generated as a result of an
57# automated process or not.
58autoGenerated: Boolean
59
60primaryResourceId: ID @deprecated( reason: "duplicate" )
61
62# This is the resource that the package was specifically made for. This is
63# typically set during automatic package
64# creation and is usually an engine or application.
65#
66# For example, if an application was created and a package was created for it, the
67# application would be the package’s
68# primary resource. This is especially useful because different packages might
69# share many resources, but one package
70# might have an application as a primary resource while another might have an
71# engine as a primary resource.
72primaryResource: PackageResource
73
74# Arguments
75# type: Filter results by Resource Type.
76resources(type: PackageResourceType, alias: String, offset: Int, limit: Int): PackageResourceList
77
78# nestedResources will return resources that are directly or indirectly nested to
79# this package.
80#
81# Arguments
82# type: Filter results by Resource Type.
83nestedResources(type: PackageResourceType, offset: Int, limit: Int): PackageResourceList
84
85# This is the date of when the package was originally created.
86createdAt: DateTime!
87
88modifiedAt: DateTime!
89
90createdBy: BasicUserInfo!
91
92modifiedBy: BasicUserInfo!
93
94}