@forge/storage
Advanced tools
Comparing version 1.0.2 to 1.0.3-next.0
# @forge/storage | ||
## 1.0.3-next.0 | ||
### Patch Changes | ||
- 9b496aa: Fixed parsing of response for cleanup functions | ||
## 1.0.2 | ||
@@ -4,0 +10,0 @@ |
@@ -292,3 +292,3 @@ "use strict"; | ||
data: { | ||
appStoredEntities: { | ||
appStoredEntitiesForCleanup: { | ||
edges: [ | ||
@@ -295,0 +295,0 @@ { node: { key: 'key1', value: 'testValue' }, cursor: 'cursor1' }, |
@@ -45,3 +45,6 @@ "use strict"; | ||
: queries_1.listQuery(this.doGetAppContextAri(), options); | ||
const { appStoredEntities: { edges } } = await this.query(requestBody); | ||
const response = await this.query(requestBody); | ||
const edges = process.env.IS_CLEANUP_FUNCTION === 'true' | ||
? response.appStoredEntitiesForCleanup.edges | ||
: response.appStoredEntities.edges; | ||
const nextCursor = edges.length > 0 ? edges[edges.length - 1].cursor : undefined; | ||
@@ -48,0 +51,0 @@ const results = edges.map(({ node }) => node); |
{ | ||
"name": "@forge/storage", | ||
"version": "1.0.2", | ||
"version": "1.0.3-next.0", | ||
"description": "Forge Storage methods", | ||
@@ -5,0 +5,0 @@ "author": "Atlassian", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43527
938
2
5