@bakers-build/addon-remote-drupal 0.9.1-next.4 → 0.9.1-next.5
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/dist/src/index.d.ts +3 -1
- package/dist/src/index.js +3 -1
- package/package.json +5 -5
package/dist/src/index.d.ts
CHANGED
|
@@ -94,7 +94,9 @@ export declare class DrupalBbRemote implements BbRemote {
|
|
|
94
94
|
*/
|
|
95
95
|
private latestRun;
|
|
96
96
|
appendRunNote(runUuid: string, note: string): Promise<void>;
|
|
97
|
-
resolveTicketByIdentifier(project: string
|
|
97
|
+
resolveTicketByIdentifier(project: string | {
|
|
98
|
+
uuid: string;
|
|
99
|
+
}, identifier: string): Promise<{
|
|
98
100
|
uuid: string;
|
|
99
101
|
title: string;
|
|
100
102
|
} | null>;
|
package/dist/src/index.js
CHANGED
|
@@ -752,7 +752,9 @@ export class DrupalBbRemote {
|
|
|
752
752
|
// Scope by the project uuid: identifiers (bakers.build-nnn) are unique per project,
|
|
753
753
|
// not globally, so a bare identifier filter could match another project's
|
|
754
754
|
// ticket in a multi-project instance.
|
|
755
|
-
const projectId =
|
|
755
|
+
const projectId = typeof project === 'string'
|
|
756
|
+
? await this.projectUuid(project)
|
|
757
|
+
: project.uuid;
|
|
756
758
|
const t = await this.api
|
|
757
759
|
.collection('bb_ticket')
|
|
758
760
|
.where('identifier', '=', identifier)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bakers-build/addon-remote-drupal",
|
|
3
|
-
"version": "0.9.1-next.
|
|
3
|
+
"version": "0.9.1-next.5",
|
|
4
4
|
"description": "bakers.build conductor remote addon: the Drupal/JSON:API control-plane remote.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
"dropsh": "^0.8.2"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@bakers-build/conductor": "^0.9.1-next.
|
|
28
|
-
"@bakers-build/core": "^0.9.1-next.
|
|
29
|
-
"@bakers-build/message": "^0.9.1-next.
|
|
27
|
+
"@bakers-build/conductor": "^0.9.1-next.5",
|
|
28
|
+
"@bakers-build/core": "^0.9.1-next.5",
|
|
29
|
+
"@bakers-build/message": "^0.9.1-next.5"
|
|
30
30
|
},
|
|
31
31
|
"bakersBuild": {
|
|
32
|
-
"commit": "
|
|
32
|
+
"commit": "d9242cad6cabee1faf010b5d46ac1bac33f6e0a1",
|
|
33
33
|
"channel": "next"
|
|
34
34
|
}
|
|
35
35
|
}
|