@atlaskit/teams-public 0.3.0 → 0.4.0

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,19 @@
1
1
  # @atlaskit/teams-public
2
2
 
3
+ ## 0.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#116721](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/116721)
8
+ [`566f2e1f6e143`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/566f2e1f6e143) -
9
+ Fixed getTeamContainers query to pass ari
10
+
11
+ ## 0.3.1
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 0.3.0
4
18
 
5
19
  ### Minor Changes
@@ -38,7 +38,7 @@ var AGGClient = exports.AGGClient = /*#__PURE__*/function (_BaseGraphQlClient) {
38
38
  while (1) switch (_context.prev = _context.next) {
39
39
  case 0:
40
40
  teamAri = (0, _teamIdToAri.teamIdToAri)(teamId);
41
- cypherQuery = "MATCH (team:IdentityTeam {id: '".concat(teamAri, "'})-[:team_connected_to_container]->(container) RETURN container");
41
+ cypherQuery = "MATCH (team:IdentityTeam {ari: '".concat(teamAri, "'})-[:team_connected_to_container]->(container) RETURN container");
42
42
  _context.next = 4;
43
43
  return this.makeGraphQLRequest({
44
44
  query: _teamContainersQuery.TeamContainersQuery,
@@ -11,7 +11,7 @@ export class AGGClient extends BaseGraphQlClient {
11
11
  }
12
12
  async getTeamContainers(teamId) {
13
13
  const teamAri = teamIdToAri(teamId);
14
- const cypherQuery = `MATCH (team:IdentityTeam {id: '${teamAri}'})-[:team_connected_to_container]->(container) RETURN container`;
14
+ const cypherQuery = `MATCH (team:IdentityTeam {ari: '${teamAri}'})-[:team_connected_to_container]->(container) RETURN container`;
15
15
  const response = await this.makeGraphQLRequest({
16
16
  query: TeamContainersQuery,
17
17
  variables: {
@@ -31,7 +31,7 @@ export var AGGClient = /*#__PURE__*/function (_BaseGraphQlClient) {
31
31
  while (1) switch (_context.prev = _context.next) {
32
32
  case 0:
33
33
  teamAri = teamIdToAri(teamId);
34
- cypherQuery = "MATCH (team:IdentityTeam {id: '".concat(teamAri, "'})-[:team_connected_to_container]->(container) RETURN container");
34
+ cypherQuery = "MATCH (team:IdentityTeam {ari: '".concat(teamAri, "'})-[:team_connected_to_container]->(container) RETURN container");
35
35
  _context.next = 4;
36
36
  return this.makeGraphQLRequest({
37
37
  query: TeamContainersQuery,
package/package.json CHANGED
@@ -30,17 +30,17 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@atlaskit/button": "^20.4.0",
33
- "@atlaskit/css": "^0.8.0",
34
- "@atlaskit/icon": "^23.9.0",
33
+ "@atlaskit/css": "^0.9.0",
34
+ "@atlaskit/icon": "^23.10.0",
35
35
  "@atlaskit/image": "^1.4.0",
36
- "@atlaskit/link": "^2.1.2",
37
- "@atlaskit/logo": "^15.3.0",
36
+ "@atlaskit/link": "^2.2.0",
37
+ "@atlaskit/logo": "^15.4.0",
38
38
  "@atlaskit/menu": "^2.14.0",
39
- "@atlaskit/primitives": "^13.5.0",
39
+ "@atlaskit/primitives": "^13.6.0",
40
40
  "@atlaskit/theme": "^16.0.0",
41
41
  "@atlaskit/tokens": "^3.3.0",
42
42
  "@babel/runtime": "^7.0.0",
43
- "@compiled/react": "^0.18.1",
43
+ "@compiled/react": "^0.18.2",
44
44
  "graphql": "^15.8.0",
45
45
  "graphql-tag": "^2.10.1",
46
46
  "react-intl-next": "npm:react-intl@^5.18.1",
@@ -100,7 +100,7 @@
100
100
  }
101
101
  },
102
102
  "name": "@atlaskit/teams-public",
103
- "version": "0.3.0",
103
+ "version": "0.4.0",
104
104
  "description": "Public components related to teams",
105
105
  "author": "Atlassian Pty Ltd",
106
106
  "license": "Apache-2.0",