INPUT_OBJECT
PackageCreateInput
link GraphQL Schema definition
1 input PackageCreateInput { 4 2 # The UUID of the Package. 3 ID : 8 5 # The ID of the organization this Package will belong to. 6 # Defaults to the user's organization. 7 ID : 11 9 # The name of the package. Must be unique. 10 String! : 13 12 String : 16 14 # The path for an icon image 15 String : 19 17 # This determines how the package is distributed. Defaults to "private". 18 EngineDistributionType : 22 20 # The semantic version of the package. 21 String! : 30 23 # Specify the resources to be added to the package. 24 # 25 # A Resource is an aiWARE asset that a package is dependent on, such as an 26 # application, engine, schema, 27 # engine build, and so on. Refer to __PackageResourceType__ for the aiWARE assets 28 # that can be added to a package. 29 PackageResourceInput] : [ 40 31 # This is the ID of the resource that the package is specifically created for. 32 # 33 # This is typically set when a package is created during an automated process such 34 # as when an application 35 # or engine is created. This is entirely optional for manual package creation. 36 # 37 # Note that if provided, the primaryResourceId _must_ exist as a resourceId in the 38 # __resources__ field. 39 ID : 44 41 # This UUID is used to track a package's lineage. This UUID is NOT guaranteed to 42 # be a package ID and should not be used as such. 43 ID : 61 45 # The source package ID of a package refers to the package it immediately derives 46 # from, if any. 47 # 48 # For example, if there are two packages in the same lineage with versions 1.0 and 49 # 2.0, 50 # the 2.0 package derives from the 1.0 package. Therefore, the source package ID 51 # of the 2.0 52 # package would be the ID of the 1.0 package. 53 # 54 # If this is a brand new package that does not derive from any others, this field 55 # should be omitted. 56 # 57 # If this package _does_ belong to a lineage of packages, this should be set to 58 # the ID of the package 59 # it immediately derives from. 60 ID : 64 62 # Specifies an aiWARE version that this package is dependent on, if applicable. 63 String : 66 65 PackageStatus : 72 67 # The date the package was installed onto the instance. 68 # 69 # __Note that this field is only applicable under special circumstances and can be 70 # safely omitted.__ 71 DateTime : 78 73 # A flag that indicates whether this package has been deleted or not. 74 # 75 # __Note that this field is only applicable under special circumstances and can be 76 # safely omitted.__ 77 Boolean : 84 79 # This is the date that the package was originally created. 80 # 81 # __Note that this field is only applicable under special circumstances and can be 82 # safely omitted.__ 83 DateTime : 91 85 # A flag that indicates whether the package was generated as a result of an 86 # automated process or not. 87 # 88 # __Note that this field is only applicable under special circumstances and can be 89 # safely omitted.__ 90 Boolean : 92 }