@forge/teamwork-graph 1.2.0-next.4 → 2.0.0-experimental-8191ad1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +276 -169
- package/out/__test__/entity-operations.test.js +1231 -10
- package/out/__test__/error-handling.test.js +38 -96
- package/out/__test__/graph-extended.test.js +12 -2
- package/out/__test__/group-operations.test.js +5 -4
- package/out/__test__/user-operations.test.js +16 -5
- package/out/__test__/validators.test.js +254 -218
- package/out/graph.d.ts +0 -3
- package/out/graph.d.ts.map +1 -1
- package/out/graph.js +121 -91
- package/out/index.d.ts +1 -2
- package/out/index.d.ts.map +1 -1
- package/out/index.js +1 -4
- package/out/types/entities/branch.d.ts +14 -0
- package/out/types/entities/branch.d.ts.map +1 -0
- package/out/types/entities/branch.js +2 -0
- package/out/types/entities/build.d.ts +33 -0
- package/out/types/entities/build.d.ts.map +1 -0
- package/out/types/entities/build.js +2 -0
- package/out/types/entities/calendar-event.d.ts +45 -0
- package/out/types/entities/calendar-event.d.ts.map +1 -0
- package/out/types/entities/calendar-event.js +2 -0
- package/out/types/entities/comment.d.ts +18 -0
- package/out/types/entities/comment.d.ts.map +1 -0
- package/out/types/entities/comment.js +2 -0
- package/out/types/entities/commit.d.ts +26 -0
- package/out/types/entities/commit.d.ts.map +1 -0
- package/out/types/entities/commit.js +2 -0
- package/out/types/entities/conversation.d.ts +28 -0
- package/out/types/entities/conversation.d.ts.map +1 -0
- package/out/types/entities/conversation.js +2 -0
- package/out/types/entities/customer-org.d.ts +36 -0
- package/out/types/entities/customer-org.d.ts.map +1 -0
- package/out/types/entities/customer-org.js +2 -0
- package/out/types/entities/deal.d.ts +37 -0
- package/out/types/entities/deal.d.ts.map +1 -0
- package/out/types/entities/deal.js +2 -0
- package/out/types/entities/deployment.d.ts +43 -0
- package/out/types/entities/deployment.d.ts.map +1 -0
- package/out/types/entities/deployment.js +2 -0
- package/out/types/entities/design.d.ts +15 -0
- package/out/types/entities/design.d.ts.map +1 -0
- package/out/types/entities/design.js +2 -0
- package/out/types/entities/index.d.ts +22 -2
- package/out/types/entities/index.d.ts.map +1 -1
- package/out/types/entities/position.d.ts +24 -0
- package/out/types/entities/position.d.ts.map +1 -0
- package/out/types/entities/position.js +2 -0
- package/out/types/entities/project.d.ts +40 -0
- package/out/types/entities/project.d.ts.map +1 -0
- package/out/types/entities/project.js +2 -0
- package/out/types/entities/pull-request.d.ts +44 -0
- package/out/types/entities/pull-request.d.ts.map +1 -0
- package/out/types/entities/pull-request.js +2 -0
- package/out/types/entities/remote-link.d.ts +33 -0
- package/out/types/entities/remote-link.d.ts.map +1 -0
- package/out/types/entities/remote-link.js +2 -0
- package/out/types/entities/repository.d.ts +14 -0
- package/out/types/entities/repository.d.ts.map +1 -0
- package/out/types/entities/repository.js +2 -0
- package/out/types/entities/software-service.d.ts +17 -0
- package/out/types/entities/software-service.d.ts.map +1 -0
- package/out/types/entities/software-service.js +2 -0
- package/out/types/entities/space.d.ts +21 -0
- package/out/types/entities/space.d.ts.map +1 -0
- package/out/types/entities/space.js +2 -0
- package/out/types/entities/video.d.ts +48 -0
- package/out/types/entities/video.d.ts.map +1 -0
- package/out/types/entities/video.js +2 -0
- package/out/types/entities/work-item.d.ts +44 -0
- package/out/types/entities/work-item.d.ts.map +1 -0
- package/out/types/entities/work-item.js +2 -0
- package/out/types/entities/worker.d.ts +23 -0
- package/out/types/entities/worker.d.ts.map +1 -0
- package/out/types/entities/worker.js +2 -0
- package/out/types/requests.d.ts +29 -8
- package/out/types/requests.d.ts.map +1 -1
- package/out/utils/error-handling.d.ts +4 -0
- package/out/utils/error-handling.d.ts.map +1 -0
- package/out/utils/error-handling.js +77 -0
- package/out/utils/errors.d.ts +21 -15
- package/out/utils/errors.d.ts.map +1 -1
- package/out/utils/errors.js +43 -15
- package/out/utils/validators.d.ts.map +1 -1
- package/out/utils/validators.js +18 -15
- package/package.json +2 -2
- package/out/error-handling.d.ts +0 -3
- package/out/error-handling.d.ts.map +0 -1
- package/out/error-handling.js +0 -36
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { BaseEntityProperties } from '../common';
|
|
2
|
+
export declare type User = {
|
|
3
|
+
accountId?: string;
|
|
4
|
+
email?: string;
|
|
5
|
+
externalId?: string;
|
|
6
|
+
ari?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
userName?: string;
|
|
9
|
+
avatar?: string;
|
|
10
|
+
url?: string;
|
|
11
|
+
};
|
|
12
|
+
export declare type DealLastActivity = {
|
|
13
|
+
lastActivityAt: string;
|
|
14
|
+
event: string;
|
|
15
|
+
};
|
|
16
|
+
export declare type DealOpportunityAmount = {
|
|
17
|
+
value: number;
|
|
18
|
+
currencyCode: string;
|
|
19
|
+
};
|
|
20
|
+
export declare type DealAttributes = {
|
|
21
|
+
contact?: User;
|
|
22
|
+
stage?: string;
|
|
23
|
+
status?: string;
|
|
24
|
+
accountName?: string;
|
|
25
|
+
contributors?: User[];
|
|
26
|
+
lastActivity?: DealLastActivity;
|
|
27
|
+
dealClosedAt?: string;
|
|
28
|
+
opportunityAmount?: DealOpportunityAmount;
|
|
29
|
+
isClosed?: boolean;
|
|
30
|
+
};
|
|
31
|
+
export declare type DealEntity = BaseEntityProperties & {
|
|
32
|
+
displayName: string;
|
|
33
|
+
lastUpdatedAt: string;
|
|
34
|
+
permissions: NonNullable<BaseEntityProperties['permissions']>;
|
|
35
|
+
'atlassian:deal': DealAttributes;
|
|
36
|
+
};
|
|
37
|
+
//# sourceMappingURL=deal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deal.d.ts","sourceRoot":"","sources":["../../../src/types/entities/deal.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEjD,oBAAY,IAAI,GAAG;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,oBAAY,gBAAgB,GAAG;IAC7B,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,oBAAY,qBAAqB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,oBAAY,cAAc,GAAG;IAC3B,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,IAAI,EAAE,CAAC;IACtB,YAAY,CAAC,EAAE,gBAAgB,CAAC;IAChC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,qBAAqB,CAAC;IAC1C,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,oBAAY,UAAU,GAAG,oBAAoB,GAAG;IAC9C,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,WAAW,CAAC,oBAAoB,CAAC,aAAa,CAAC,CAAC,CAAC;IAC9D,gBAAgB,EAAE,cAAc,CAAC;CAClC,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { BaseEntityProperties } from '../common';
|
|
2
|
+
export interface PipelineDetails {
|
|
3
|
+
id: string;
|
|
4
|
+
displayName: string;
|
|
5
|
+
url: string;
|
|
6
|
+
}
|
|
7
|
+
export interface EnvironmentDetails {
|
|
8
|
+
id: string;
|
|
9
|
+
displayName: string;
|
|
10
|
+
type: 'production' | 'staging' | 'testing' | 'development' | 'unmapped';
|
|
11
|
+
}
|
|
12
|
+
export interface UserReference {
|
|
13
|
+
accountId?: string;
|
|
14
|
+
email?: string;
|
|
15
|
+
externalId?: string;
|
|
16
|
+
ari?: string;
|
|
17
|
+
name?: string;
|
|
18
|
+
userName?: string;
|
|
19
|
+
avatar?: string;
|
|
20
|
+
url?: string;
|
|
21
|
+
}
|
|
22
|
+
export interface Command {
|
|
23
|
+
command: string;
|
|
24
|
+
}
|
|
25
|
+
export interface DeploymentAttributes {
|
|
26
|
+
deploymentSequenceNumber: number;
|
|
27
|
+
label?: string;
|
|
28
|
+
state: string;
|
|
29
|
+
duration?: number;
|
|
30
|
+
pipeline?: PipelineDetails;
|
|
31
|
+
environment: EnvironmentDetails;
|
|
32
|
+
commands?: Command[];
|
|
33
|
+
triggeredBy?: UserReference;
|
|
34
|
+
region?: string;
|
|
35
|
+
}
|
|
36
|
+
export declare type DeploymentEntity = BaseEntityProperties & {
|
|
37
|
+
displayName: string;
|
|
38
|
+
description: string;
|
|
39
|
+
lastUpdatedAt: string;
|
|
40
|
+
permissions: NonNullable<BaseEntityProperties['permissions']>;
|
|
41
|
+
'atlassian:deployment': DeploymentAttributes;
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=deployment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deployment.d.ts","sourceRoot":"","sources":["../../../src/types/entities/deployment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEjD,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,YAAY,GAAG,SAAS,GAAG,SAAS,GAAG,aAAa,GAAG,UAAU,CAAC;CACzE;AAED,MAAM,WAAW,aAAa;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,OAAO;IACtB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,oBAAoB;IACnC,wBAAwB,EAAE,MAAM,CAAC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,eAAe,CAAC;IAC3B,WAAW,EAAE,kBAAkB,CAAC;IAChC,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IACrB,WAAW,CAAC,EAAE,aAAa,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,oBAAY,gBAAgB,GAAG,oBAAoB,GAAG;IACpD,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,WAAW,CAAC,oBAAoB,CAAC,aAAa,CAAC,CAAC,CAAC;IAC9D,sBAAsB,EAAE,oBAAoB,CAAC;CAC9C,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { BaseEntityProperties } from '../common';
|
|
2
|
+
export declare type DesignAttributes = {
|
|
3
|
+
liveEmbedUrl: string;
|
|
4
|
+
inspectUrl?: string;
|
|
5
|
+
status: string;
|
|
6
|
+
type: string;
|
|
7
|
+
iconUrl?: string;
|
|
8
|
+
};
|
|
9
|
+
export declare type DesignEntity = BaseEntityProperties & {
|
|
10
|
+
displayName: string;
|
|
11
|
+
lastUpdatedAt: string;
|
|
12
|
+
permissions: NonNullable<BaseEntityProperties['permissions']>;
|
|
13
|
+
'atlassian:design': DesignAttributes;
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=design.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"design.d.ts","sourceRoot":"","sources":["../../../src/types/entities/design.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEjD,oBAAY,gBAAgB,GAAG;IAC7B,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,oBAAY,YAAY,GAAG,oBAAoB,GAAG;IAChD,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,WAAW,CAAC,oBAAoB,CAAC,aAAa,CAAC,CAAC,CAAC;IAC9D,kBAAkB,EAAE,gBAAgB,CAAC;CACtC,CAAC"}
|
|
@@ -1,6 +1,26 @@
|
|
|
1
|
+
import { BranchEntity } from './branch';
|
|
2
|
+
import { BuildEntity } from './build';
|
|
3
|
+
import { CalendarEventEntity } from './calendar-event';
|
|
4
|
+
import { CommentEntity } from './comment';
|
|
5
|
+
import { CommitEntity } from './commit';
|
|
6
|
+
import { ConversationEntity } from './conversation';
|
|
7
|
+
import { CustomerOrgEntity } from './customer-org';
|
|
8
|
+
import { DealEntity } from './deal';
|
|
9
|
+
import { DeploymentEntity } from './deployment';
|
|
10
|
+
import { DesignEntity } from './design';
|
|
1
11
|
import { DocumentEntity } from './document';
|
|
2
12
|
import { MessageEntity } from './message';
|
|
3
13
|
import { OrganisationEntity } from './organisation';
|
|
4
|
-
|
|
5
|
-
|
|
14
|
+
import { PositionEntity } from './position';
|
|
15
|
+
import { ProjectEntity } from './project';
|
|
16
|
+
import { PullRequestEntity } from './pull-request';
|
|
17
|
+
import { RemoteLinkEntity } from './remote-link';
|
|
18
|
+
import { RepositoryEntity } from './repository';
|
|
19
|
+
import { SoftwareServiceEntity } from './software-service';
|
|
20
|
+
import { SpaceEntity } from './space';
|
|
21
|
+
import { VideoEntity } from './video';
|
|
22
|
+
import { WorkItemEntity } from './work-item';
|
|
23
|
+
import { WorkerEntity } from './worker';
|
|
24
|
+
export { BranchEntity, BuildEntity, CalendarEventEntity, CommentEntity, CommitEntity, ConversationEntity, CustomerOrgEntity, DealEntity, DeploymentEntity, DesignEntity, DocumentEntity, MessageEntity, OrganisationEntity, PositionEntity, ProjectEntity, PullRequestEntity, RemoteLinkEntity, RepositoryEntity, SoftwareServiceEntity, SpaceEntity, VideoEntity, WorkItemEntity, WorkerEntity };
|
|
25
|
+
export declare type Entity = BranchEntity | BuildEntity | CalendarEventEntity | CommentEntity | CommitEntity | ConversationEntity | CustomerOrgEntity | DealEntity | DeploymentEntity | DesignEntity | DocumentEntity | MessageEntity | OrganisationEntity | PositionEntity | ProjectEntity | PullRequestEntity | RemoteLinkEntity | RepositoryEntity | SoftwareServiceEntity | SpaceEntity | VideoEntity | WorkItemEntity | WorkerEntity;
|
|
6
26
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/entities/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/entities/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACpC,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAGxC,OAAO,EACL,YAAY,EACZ,WAAW,EACX,mBAAmB,EACnB,aAAa,EACb,YAAY,EACZ,kBAAkB,EAClB,iBAAiB,EACjB,UAAU,EACV,gBAAgB,EAChB,YAAY,EACZ,cAAc,EACd,aAAa,EACb,kBAAkB,EAClB,cAAc,EACd,aAAa,EACb,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,qBAAqB,EACrB,WAAW,EACX,WAAW,EACX,cAAc,EACd,YAAY,EACb,CAAC;AAGF,oBAAY,MAAM,GACd,YAAY,GACZ,WAAW,GACX,mBAAmB,GACnB,aAAa,GACb,YAAY,GACZ,kBAAkB,GAClB,iBAAiB,GACjB,UAAU,GACV,gBAAgB,GAChB,YAAY,GACZ,cAAc,GACd,aAAa,GACb,kBAAkB,GAClB,cAAc,GACd,aAAa,GACb,iBAAiB,GACjB,gBAAgB,GAChB,gBAAgB,GAChB,qBAAqB,GACrB,WAAW,GACX,WAAW,GACX,cAAc,GACd,YAAY,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { BaseEntityProperties, ParentKeyObject, Associations } from '../common';
|
|
2
|
+
export declare type PositionAttributes = {
|
|
3
|
+
customAndSensitiveData?: string;
|
|
4
|
+
status: string;
|
|
5
|
+
jobTitle?: string;
|
|
6
|
+
};
|
|
7
|
+
export declare type PositionEntity = BaseEntityProperties & {
|
|
8
|
+
displayName: string;
|
|
9
|
+
lastUpdatedAt: string;
|
|
10
|
+
permissions: NonNullable<BaseEntityProperties['permissions']>;
|
|
11
|
+
parentKey: ParentKeyObject & {
|
|
12
|
+
type: 'atlassian:organisation';
|
|
13
|
+
};
|
|
14
|
+
associations: Associations & {
|
|
15
|
+
set: [
|
|
16
|
+
{
|
|
17
|
+
associationType: 'atlassian:worker';
|
|
18
|
+
values: [string] | [];
|
|
19
|
+
}
|
|
20
|
+
];
|
|
21
|
+
};
|
|
22
|
+
'atlassian:position': PositionAttributes;
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=position.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"position.d.ts","sourceRoot":"","sources":["../../../src/types/entities/position.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEhF,oBAAY,kBAAkB,GAAG;IAC/B,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,oBAAY,cAAc,GAAG,oBAAoB,GAAG;IAClD,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,WAAW,CAAC,oBAAoB,CAAC,aAAa,CAAC,CAAC,CAAC;IAC9D,SAAS,EAAE,eAAe,GAAG;QAAE,IAAI,EAAE,wBAAwB,CAAA;KAAE,CAAC;IAChE,YAAY,EAAE,YAAY,GAAG;QAC3B,GAAG,EAAE;YACH;gBACE,eAAe,EAAE,kBAAkB,CAAC;gBACpC,MAAM,EAAE,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC;aACvB;SACF,CAAC;KACH,CAAC;IACF,oBAAoB,EAAE,kBAAkB,CAAC;CAC1C,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { BaseEntityProperties } from '../common';
|
|
2
|
+
export interface UserReference {
|
|
3
|
+
accountId?: string;
|
|
4
|
+
email?: string;
|
|
5
|
+
externalId?: string;
|
|
6
|
+
ari?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
userName?: string;
|
|
9
|
+
avatar?: string;
|
|
10
|
+
url?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface Attachment {
|
|
13
|
+
url?: string;
|
|
14
|
+
thumbnailUrl?: string;
|
|
15
|
+
title?: string;
|
|
16
|
+
mimeType?: string;
|
|
17
|
+
byteSize?: number;
|
|
18
|
+
}
|
|
19
|
+
export declare type ProjectAttributes = {
|
|
20
|
+
key?: string;
|
|
21
|
+
dueDate?: string;
|
|
22
|
+
priority?: string;
|
|
23
|
+
assignee?: UserReference;
|
|
24
|
+
status: string;
|
|
25
|
+
attachments?: Attachment[];
|
|
26
|
+
labels?: string[];
|
|
27
|
+
environment?: string;
|
|
28
|
+
resolution?: string;
|
|
29
|
+
votesCount?: number;
|
|
30
|
+
watchersCount?: number;
|
|
31
|
+
};
|
|
32
|
+
export declare type ProjectEntity = BaseEntityProperties & {
|
|
33
|
+
displayName: string;
|
|
34
|
+
description: string;
|
|
35
|
+
createdBy: NonNullable<BaseEntityProperties['createdBy']>;
|
|
36
|
+
lastUpdatedAt: string;
|
|
37
|
+
permissions: NonNullable<BaseEntityProperties['permissions']>;
|
|
38
|
+
'atlassian:project': ProjectAttributes;
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=project.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../../../src/types/entities/project.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEjD,MAAM,WAAW,aAAa;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,UAAU;IACzB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,oBAAY,iBAAiB,GAAG;IAC9B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,UAAU,EAAE,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,oBAAY,aAAa,GAAG,oBAAoB,GAAG;IACjD,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,WAAW,CAAC,oBAAoB,CAAC,WAAW,CAAC,CAAC,CAAC;IAC1D,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,WAAW,CAAC,oBAAoB,CAAC,aAAa,CAAC,CAAC,CAAC;IAC9D,mBAAmB,EAAE,iBAAiB,CAAC;CACxC,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { BaseEntityProperties, ContainerKeyObject } from '../common';
|
|
2
|
+
export interface UserReference {
|
|
3
|
+
accountId?: string;
|
|
4
|
+
email?: string;
|
|
5
|
+
externalId?: string;
|
|
6
|
+
ari?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
userName?: string;
|
|
9
|
+
avatar?: string;
|
|
10
|
+
url?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface Reviewer {
|
|
13
|
+
accountId?: string;
|
|
14
|
+
id?: string;
|
|
15
|
+
email?: string;
|
|
16
|
+
approvalStatus?: 'approved' | 'unapproved' | 'needswork';
|
|
17
|
+
name?: string;
|
|
18
|
+
avatar?: string;
|
|
19
|
+
url?: string;
|
|
20
|
+
ari?: string;
|
|
21
|
+
}
|
|
22
|
+
export declare type PullRequestAttributes = {
|
|
23
|
+
title?: string;
|
|
24
|
+
displayId: string;
|
|
25
|
+
status: string;
|
|
26
|
+
author?: UserReference;
|
|
27
|
+
commentCount?: number;
|
|
28
|
+
sourceBranch: string;
|
|
29
|
+
sourceBranchUrl?: string;
|
|
30
|
+
destinationBranch?: string;
|
|
31
|
+
destinationBranchUrl?: string;
|
|
32
|
+
reviewers: Reviewer[];
|
|
33
|
+
taskCount?: number;
|
|
34
|
+
};
|
|
35
|
+
export declare type PullRequestEntity = BaseEntityProperties & {
|
|
36
|
+
displayName: string;
|
|
37
|
+
containerKey: ContainerKeyObject & {
|
|
38
|
+
type: 'atlassian:repository';
|
|
39
|
+
};
|
|
40
|
+
lastUpdatedAt: string;
|
|
41
|
+
permissions: NonNullable<BaseEntityProperties['permissions']>;
|
|
42
|
+
'atlassian:pull-request': PullRequestAttributes;
|
|
43
|
+
};
|
|
44
|
+
//# sourceMappingURL=pull-request.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pull-request.d.ts","sourceRoot":"","sources":["../../../src/types/entities/pull-request.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAErE,MAAM,WAAW,aAAa;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,QAAQ;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,UAAU,GAAG,YAAY,GAAG,WAAW,CAAC;IACzD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,oBAAY,qBAAqB,GAAG;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,oBAAY,iBAAiB,GAAG,oBAAoB,GAAG;IACrD,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,kBAAkB,GAAG;QAAE,IAAI,EAAE,sBAAsB,CAAA;KAAE,CAAC;IACpE,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,WAAW,CAAC,oBAAoB,CAAC,aAAa,CAAC,CAAC,CAAC;IAC9D,wBAAwB,EAAE,qBAAqB,CAAC;CACjD,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { BaseEntityProperties } from '../common';
|
|
2
|
+
export interface RemoteLinkStatus {
|
|
3
|
+
appearance: 'default' | 'in_progress' | 'moved' | 'new' | 'removed' | 'success';
|
|
4
|
+
label: string;
|
|
5
|
+
}
|
|
6
|
+
export interface UserReference {
|
|
7
|
+
accountId?: string;
|
|
8
|
+
email?: string;
|
|
9
|
+
externalId?: string;
|
|
10
|
+
ari?: string;
|
|
11
|
+
name?: string;
|
|
12
|
+
userName?: string;
|
|
13
|
+
avatar?: string;
|
|
14
|
+
url?: string;
|
|
15
|
+
}
|
|
16
|
+
export declare type RemoteLinkAttributes = {
|
|
17
|
+
type: string;
|
|
18
|
+
status?: RemoteLinkStatus;
|
|
19
|
+
actionIds?: string[];
|
|
20
|
+
attributeMap?: Record<string, any>;
|
|
21
|
+
author?: UserReference;
|
|
22
|
+
category?: string;
|
|
23
|
+
assignee?: UserReference;
|
|
24
|
+
fullNounThirdPartyAri?: string;
|
|
25
|
+
};
|
|
26
|
+
export declare type RemoteLinkEntity = Omit<BaseEntityProperties, 'createdAt'> & {
|
|
27
|
+
createdAt?: string;
|
|
28
|
+
displayName: string;
|
|
29
|
+
lastUpdatedAt: string;
|
|
30
|
+
permissions: NonNullable<BaseEntityProperties['permissions']>;
|
|
31
|
+
'atlassian:remote-link': RemoteLinkAttributes;
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=remote-link.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remote-link.d.ts","sourceRoot":"","sources":["../../../src/types/entities/remote-link.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEjD,MAAM,WAAW,gBAAgB;IAC/B,UAAU,EAAE,SAAS,GAAG,aAAa,GAAG,OAAO,GAAG,KAAK,GAAG,SAAS,GAAG,SAAS,CAAC;IAChF,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,aAAa;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,oBAAY,oBAAoB,GAAG;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACnC,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC,CAAC;AAEF,oBAAY,gBAAgB,GAAG,IAAI,CAAC,oBAAoB,EAAE,WAAW,CAAC,GAAG;IACvE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,WAAW,CAAC,oBAAoB,CAAC,aAAa,CAAC,CAAC,CAAC;IAC9D,uBAAuB,EAAE,oBAAoB,CAAC;CAC/C,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BaseEntityProperties } from '../common';
|
|
2
|
+
export declare type RepositoryAttributes = {
|
|
3
|
+
name?: string;
|
|
4
|
+
forkOf?: string;
|
|
5
|
+
avatar?: string;
|
|
6
|
+
avatarDescription?: string;
|
|
7
|
+
};
|
|
8
|
+
export declare type RepositoryEntity = BaseEntityProperties & {
|
|
9
|
+
displayName: string;
|
|
10
|
+
lastUpdatedAt: string;
|
|
11
|
+
permissions: NonNullable<BaseEntityProperties['permissions']>;
|
|
12
|
+
'atlassian:repository': RepositoryAttributes;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=repository.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"repository.d.ts","sourceRoot":"","sources":["../../../src/types/entities/repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEjD,oBAAY,oBAAoB,GAAG;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC;AAEF,oBAAY,gBAAgB,GAAG,oBAAoB,GAAG;IACpD,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,WAAW,CAAC,oBAAoB,CAAC,aAAa,CAAC,CAAC,CAAC;IAC9D,sBAAsB,EAAE,oBAAoB,CAAC;CAC9C,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BaseEntityProperties } from '../common';
|
|
2
|
+
export declare type SoftwareServiceAttributes = {
|
|
3
|
+
description?: string;
|
|
4
|
+
associationsMetadata?: Record<string, any>;
|
|
5
|
+
namespace?: string;
|
|
6
|
+
environment?: string;
|
|
7
|
+
tags?: string[];
|
|
8
|
+
tier?: string;
|
|
9
|
+
serviceType?: string;
|
|
10
|
+
};
|
|
11
|
+
export declare type SoftwareServiceEntity = BaseEntityProperties & {
|
|
12
|
+
displayName: string;
|
|
13
|
+
lastUpdatedAt: string;
|
|
14
|
+
permissions: NonNullable<BaseEntityProperties['permissions']>;
|
|
15
|
+
'atlassian:software-service': SoftwareServiceAttributes;
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=software-service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"software-service.d.ts","sourceRoot":"","sources":["../../../src/types/entities/software-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEjD,oBAAY,yBAAyB,GAAG;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,oBAAY,qBAAqB,GAAG,oBAAoB,GAAG;IACzD,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,WAAW,CAAC,oBAAoB,CAAC,aAAa,CAAC,CAAC,CAAC;IAC9D,4BAA4B,EAAE,yBAAyB,CAAC;CACzD,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { BaseEntityProperties } from '../common';
|
|
2
|
+
export interface Icon {
|
|
3
|
+
url?: string;
|
|
4
|
+
width: number;
|
|
5
|
+
height: number;
|
|
6
|
+
isDefault: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare type SpaceAttributes = {
|
|
9
|
+
key: string;
|
|
10
|
+
spaceType: string;
|
|
11
|
+
subtype: string;
|
|
12
|
+
icon?: Icon;
|
|
13
|
+
labels?: string[];
|
|
14
|
+
};
|
|
15
|
+
export declare type SpaceEntity = BaseEntityProperties & {
|
|
16
|
+
displayName: string;
|
|
17
|
+
lastUpdatedAt: string;
|
|
18
|
+
permissions: NonNullable<BaseEntityProperties['permissions']>;
|
|
19
|
+
'atlassian:space': SpaceAttributes;
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=space.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"space.d.ts","sourceRoot":"","sources":["../../../src/types/entities/space.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEjD,MAAM,WAAW,IAAI;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,oBAAY,eAAe,GAAG;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACnB,CAAC;AAEF,oBAAY,WAAW,GAAG,oBAAoB,GAAG;IAC/C,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,WAAW,CAAC,oBAAoB,CAAC,aAAa,CAAC,CAAC,CAAC;IAC9D,iBAAiB,EAAE,eAAe,CAAC;CACpC,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { BaseEntityProperties } from '../common';
|
|
2
|
+
export interface UserReference {
|
|
3
|
+
accountId?: string;
|
|
4
|
+
email?: string;
|
|
5
|
+
externalId?: string;
|
|
6
|
+
ari?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
userName?: string;
|
|
9
|
+
avatar?: string;
|
|
10
|
+
url?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface Cue {
|
|
13
|
+
id?: string;
|
|
14
|
+
startTimeInSeconds: number;
|
|
15
|
+
endTimeInSeconds?: number;
|
|
16
|
+
text: string;
|
|
17
|
+
}
|
|
18
|
+
export interface Track {
|
|
19
|
+
name?: string;
|
|
20
|
+
locale?: string;
|
|
21
|
+
cues: Cue[];
|
|
22
|
+
}
|
|
23
|
+
export interface Chapter {
|
|
24
|
+
startTimeInSeconds: number;
|
|
25
|
+
title: string;
|
|
26
|
+
}
|
|
27
|
+
export interface Contributor {
|
|
28
|
+
user: UserReference;
|
|
29
|
+
interactionCount: number;
|
|
30
|
+
}
|
|
31
|
+
export declare type VideoAttributes = {
|
|
32
|
+
thumbnailUrl: string;
|
|
33
|
+
embedUrl: string;
|
|
34
|
+
durationInSeconds?: number;
|
|
35
|
+
width?: number;
|
|
36
|
+
height?: number;
|
|
37
|
+
commentCount?: number;
|
|
38
|
+
textTracks?: Track[];
|
|
39
|
+
chapters?: Chapter[];
|
|
40
|
+
contributors?: Contributor[];
|
|
41
|
+
};
|
|
42
|
+
export declare type VideoEntity = BaseEntityProperties & {
|
|
43
|
+
displayName: string;
|
|
44
|
+
lastUpdatedAt: string;
|
|
45
|
+
permissions: NonNullable<BaseEntityProperties['permissions']>;
|
|
46
|
+
'atlassian:video': VideoAttributes;
|
|
47
|
+
};
|
|
48
|
+
//# sourceMappingURL=video.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"video.d.ts","sourceRoot":"","sources":["../../../src/types/entities/video.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEjD,MAAM,WAAW,aAAa;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,GAAG;IAClB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,kBAAkB,EAAE,MAAM,CAAC;IAC3B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,KAAK;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,GAAG,EAAE,CAAC;CACb;AAED,MAAM,WAAW,OAAO;IACtB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,aAAa,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,oBAAY,eAAe,GAAG;IAC5B,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,KAAK,EAAE,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IACrB,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;CAC9B,CAAC;AAEF,oBAAY,WAAW,GAAG,oBAAoB,GAAG;IAC/C,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,WAAW,CAAC,oBAAoB,CAAC,aAAa,CAAC,CAAC,CAAC;IAC9D,iBAAiB,EAAE,eAAe,CAAC;CACpC,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { BaseEntityProperties, ContainerKeyObject } from '../common';
|
|
2
|
+
export interface UserReference {
|
|
3
|
+
accountId?: string;
|
|
4
|
+
email?: string;
|
|
5
|
+
externalId?: string;
|
|
6
|
+
ari?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
userName?: string;
|
|
9
|
+
avatar?: string;
|
|
10
|
+
url?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface WorkItemProject {
|
|
13
|
+
id: string;
|
|
14
|
+
name: string;
|
|
15
|
+
}
|
|
16
|
+
export interface Attachment {
|
|
17
|
+
url?: string;
|
|
18
|
+
thumbnailUrl?: string;
|
|
19
|
+
title?: string;
|
|
20
|
+
mimeType?: string;
|
|
21
|
+
byteSize?: number;
|
|
22
|
+
}
|
|
23
|
+
export declare type WorkItemAttributes = {
|
|
24
|
+
dueDate?: string;
|
|
25
|
+
assignee?: UserReference;
|
|
26
|
+
workItemProject?: WorkItemProject;
|
|
27
|
+
collaborators?: UserReference[];
|
|
28
|
+
exceedsMaxCollaborators?: boolean;
|
|
29
|
+
status?: string;
|
|
30
|
+
subtype?: string;
|
|
31
|
+
attachments?: Attachment[];
|
|
32
|
+
team?: string;
|
|
33
|
+
};
|
|
34
|
+
export declare type WorkItemEntity = BaseEntityProperties & {
|
|
35
|
+
displayName: string;
|
|
36
|
+
description: string;
|
|
37
|
+
containerKey: ContainerKeyObject & {
|
|
38
|
+
type: 'atlassian:space';
|
|
39
|
+
};
|
|
40
|
+
lastUpdatedAt: string;
|
|
41
|
+
permissions: NonNullable<BaseEntityProperties['permissions']>;
|
|
42
|
+
'atlassian:work-item': WorkItemAttributes;
|
|
43
|
+
};
|
|
44
|
+
//# sourceMappingURL=work-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"work-item.d.ts","sourceRoot":"","sources":["../../../src/types/entities/work-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAErE,MAAM,WAAW,aAAa;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,UAAU;IACzB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,oBAAY,kBAAkB,GAAG;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,aAAa,CAAC,EAAE,aAAa,EAAE,CAAC;IAChC,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,UAAU,EAAE,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,oBAAY,cAAc,GAAG,oBAAoB,GAAG;IAClD,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,kBAAkB,GAAG;QAAE,IAAI,EAAE,iBAAiB,CAAA;KAAE,CAAC;IAC/D,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,WAAW,CAAC,oBAAoB,CAAC,aAAa,CAAC,CAAC,CAAC;IAC9D,qBAAqB,EAAE,kBAAkB,CAAC;CAC3C,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { BaseEntityProperties } from '../common';
|
|
2
|
+
export interface UserReference {
|
|
3
|
+
accountId?: string;
|
|
4
|
+
email?: string;
|
|
5
|
+
externalId?: string;
|
|
6
|
+
ari?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
userName?: string;
|
|
9
|
+
avatar?: string;
|
|
10
|
+
url?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare type WorkerAttributes = {
|
|
13
|
+
hiredAt: string;
|
|
14
|
+
workerUser: UserReference;
|
|
15
|
+
customAndSensitiveData?: string;
|
|
16
|
+
};
|
|
17
|
+
export declare type WorkerEntity = BaseEntityProperties & {
|
|
18
|
+
displayName: string;
|
|
19
|
+
lastUpdatedAt: string;
|
|
20
|
+
permissions: NonNullable<BaseEntityProperties['permissions']>;
|
|
21
|
+
'atlassian:worker': WorkerAttributes;
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=worker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"worker.d.ts","sourceRoot":"","sources":["../../../src/types/entities/worker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEjD,MAAM,WAAW,aAAa;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,oBAAY,gBAAgB,GAAG;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,aAAa,CAAC;IAC1B,sBAAsB,CAAC,EAAE,MAAM,CAAC;CACjC,CAAC;AAEF,oBAAY,YAAY,GAAG,oBAAoB,GAAG;IAChD,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,WAAW,CAAC,oBAAoB,CAAC,aAAa,CAAC,CAAC,CAAC;IAC9D,kBAAkB,EAAE,gBAAgB,CAAC;CACtC,CAAC"}
|