OBJECT

PackageResource

A Resource is an aiWARE asset that a package is dependent on, such as an application, engine, schema, engine build, and so on. Refer to PackageResourceType for the aiWARE assets that can be added to a package.

link GraphQL Schema definition

1type PackageResource {
2
3# This is a unique integer identifier for the resource entry in the database.
4# Note that this is _not_ the ID of the resource itself. That would be the
5# __resourceId__.
6id: ID!
7
8# This is the ID belonging to the resource. For example, if the resource is an
9# application,
10# this would be its application ID, or if it were an engine, it would be its
11# engine ID, and so on.
12# If the resource is an automateNode the resource will be a tdo ID, if it were an
13# automateTemplate,
14# the resource will be an automate flow template ID.
15resourceId: ID!
16
17resourceType: PackageResourceType!
18
19# This is the ID of the package that the resource belongs to.
20packageId: ID!
21
22# This id should be used when referencing a resource from another resource in the
23# same package
24# since it is guaranteed to be consistent across aiware instances
25resourceAlias: String
26
27# The referencePaths field is an array containing unique chains of packages that
28# lead to the reference
29# of the resource. Each item in the array represents a distinct path. It is
30# possible for multiple
31# packages to reference the same resource, and this array captures the path for
32# each reference.
33referencePaths: [String]
34
35createdAt: DateTime!
36
37modifiedAt: DateTime!
38
39createdBy: BasicUserInfo!
40
41modifiedBy: BasicUserInfo!
42
43}