@forge/realtime 0.2.2 → 0.2.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @forge/realtime
2
2
 
3
+ ## 0.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 1290018: Updated types for Forge Realtime context overrides
8
+
9
+ ## 0.2.3-next.0
10
+
11
+ ### Patch Changes
12
+
13
+ - 1290018: Updated types for Forge Realtime context overrides
14
+
3
15
  ## 0.2.2
4
16
 
5
17
  ### Patch Changes
package/out/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export { publish, publishGlobal } from './publish';
2
2
  export { signRealtimeToken } from './signRealtimeToken';
3
+ export { Jira, Confluence, Bitbucket } from './productContext';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC"}
package/out/index.js CHANGED
@@ -1,8 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.signRealtimeToken = exports.publishGlobal = exports.publish = void 0;
3
+ exports.Bitbucket = exports.Confluence = exports.Jira = exports.signRealtimeToken = exports.publishGlobal = exports.publish = void 0;
4
4
  var publish_1 = require("./publish");
5
5
  Object.defineProperty(exports, "publish", { enumerable: true, get: function () { return publish_1.publish; } });
6
6
  Object.defineProperty(exports, "publishGlobal", { enumerable: true, get: function () { return publish_1.publishGlobal; } });
7
7
  var signRealtimeToken_1 = require("./signRealtimeToken");
8
8
  Object.defineProperty(exports, "signRealtimeToken", { enumerable: true, get: function () { return signRealtimeToken_1.signRealtimeToken; } });
9
+ var productContext_1 = require("./productContext");
10
+ Object.defineProperty(exports, "Jira", { enumerable: true, get: function () { return productContext_1.Jira; } });
11
+ Object.defineProperty(exports, "Confluence", { enumerable: true, get: function () { return productContext_1.Confluence; } });
12
+ Object.defineProperty(exports, "Bitbucket", { enumerable: true, get: function () { return productContext_1.Bitbucket; } });
@@ -3,5 +3,13 @@ export declare enum Jira {
3
3
  Issue = "issue",
4
4
  Project = "project"
5
5
  }
6
- export declare type ProductContext = Jira;
6
+ export declare enum Confluence {
7
+ Content = "content",
8
+ Space = "space"
9
+ }
10
+ export declare enum Bitbucket {
11
+ Repository = "repository",
12
+ PullRequest = "pullRequest"
13
+ }
14
+ export declare type ProductContext = Jira | Confluence | Bitbucket;
7
15
  //# sourceMappingURL=productContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"productContext.d.ts","sourceRoot":"","sources":["../src/productContext.ts"],"names":[],"mappings":"AAGA,oBAAY,IAAI;IACd,KAAK,UAAU;IACf,KAAK,UAAU;IACf,OAAO,YAAY;CACpB;AAED,oBAAY,cAAc,GAAG,IAAI,CAAC"}
1
+ {"version":3,"file":"productContext.d.ts","sourceRoot":"","sources":["../src/productContext.ts"],"names":[],"mappings":"AAGA,oBAAY,IAAI;IACd,KAAK,UAAU;IACf,KAAK,UAAU;IACf,OAAO,YAAY;CACpB;AAED,oBAAY,UAAU;IACpB,OAAO,YAAY;IACnB,KAAK,UAAU;CAChB;AAED,oBAAY,SAAS;IACnB,UAAU,eAAe;IACzB,WAAW,gBAAgB;CAC5B;AAED,oBAAY,cAAc,GAAG,IAAI,GAAG,UAAU,GAAG,SAAS,CAAC"}
@@ -1,9 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Jira = void 0;
3
+ exports.Bitbucket = exports.Confluence = exports.Jira = void 0;
4
4
  var Jira;
5
5
  (function (Jira) {
6
6
  Jira["Board"] = "board";
7
7
  Jira["Issue"] = "issue";
8
8
  Jira["Project"] = "project";
9
9
  })(Jira = exports.Jira || (exports.Jira = {}));
10
+ var Confluence;
11
+ (function (Confluence) {
12
+ Confluence["Content"] = "content";
13
+ Confluence["Space"] = "space";
14
+ })(Confluence = exports.Confluence || (exports.Confluence = {}));
15
+ var Bitbucket;
16
+ (function (Bitbucket) {
17
+ Bitbucket["Repository"] = "repository";
18
+ Bitbucket["PullRequest"] = "pullRequest";
19
+ })(Bitbucket = exports.Bitbucket || (exports.Bitbucket = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/realtime",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Forge realtime",
5
5
  "main": "out/index.js",
6
6
  "types": "out/index.d.ts",
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "devDependencies": {
16
16
  "@atlassian/metrics-interface": "4.0.0",
17
- "@forge/api": "6.1.4",
17
+ "@forge/api": "6.1.5",
18
18
  "@types/node": "20.19.1"
19
19
  },
20
20
  "publishConfig": {