INPUT_OBJECT

PackageUpdateInput

link GraphQL Schema definition

1input PackageUpdateInput {
4
2# The UUID of the Package to be updated.
3id: ID!
7
5# The name of the package. Must be unique.
6name: String
9
8description: String
12
10# The path for an icon image
11icon: String
15
13# This determines how the package is distributed. Defaults to "private".
14distributionType: EngineDistributionType
18
16# The semantic version of the package.
17version: String
30
19# Specify the resources to be added or removed from the package.
20#
21# A Resource is an aiWARE asset that a package is dependent on, such as an
22# application, engine, schema,
23# engine build, and so on. Refer to __PackageResourceType__ for the aiWARE assets
24# that can be added to a package.
25#
26# Note that removing an existing resource that is set as this package's primary
27# resource is prohibited. To do so,
28# the primary resource must also be updated.
29resources: [PackageResourceInput]
36
31# This is the ID of the resource that the package is specifically created for.
32#
33# Note that if provided, the primaryResourceId _must_ exist as a resourceId in the
34# __resources__ field.
35primaryResourceId: ID
39
37# A flag that indicates whether this package has been deprecated or not.
38deprecated: Boolean
42
40# Specifies an aiWARE version that this package is dependent on, if applicable.
41aiwareVersion: String
44
43status: PackageStatus
47
45# The date the package was installed onto the instance.
46installDate: DateTime
48}