New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@atlassian/clientside-extensions-docs

Package Overview
Dependencies
Maintainers
0
Versions
167
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlassian/clientside-extensions-docs - npm Package Compare versions

Comparing version 3.1.1 to 3.1.2-m01-9db53bf-m4i39wxm

2

content/server/framework/clientside-extensions/get-help.md

@@ -7,3 +7,3 @@ ---

subcategory: get-help
date: '2024-09-12'
date: '2024-12-03'
---

@@ -10,0 +10,0 @@

@@ -7,3 +7,3 @@ ---

subcategory: extension-points
date: '2024-09-12'
date: '2024-12-03'
---

@@ -10,0 +10,0 @@

@@ -7,3 +7,3 @@ ---

subcategory: extension-points
date: '2024-09-12'
date: '2024-12-03'
---

@@ -10,0 +10,0 @@

@@ -7,3 +7,3 @@ ---

subcategory: extension-points
date: '2024-09-12'
date: '2024-12-03'
---

@@ -10,0 +10,0 @@

@@ -7,3 +7,3 @@ ---

subcategory: extension-points
date: '2024-09-12'
date: '2024-12-03'
---

@@ -10,0 +10,0 @@

@@ -7,3 +7,3 @@ ---

subcategory: extension-points
date: '2024-09-12'
date: '2024-12-03'
---

@@ -10,0 +10,0 @@

@@ -7,3 +7,3 @@ ---

subcategory: how-to
date: '2024-09-12'
date: '2024-12-03'
---

@@ -10,0 +10,0 @@

@@ -7,3 +7,3 @@ ---

subcategory: how-to
date: '2024-09-12'
date: '2024-12-03'
---

@@ -10,0 +10,0 @@

@@ -7,3 +7,3 @@ ---

subcategory: how-to
date: '2024-09-12'
date: '2024-12-03'
---

@@ -10,0 +10,0 @@

@@ -7,3 +7,3 @@ ---

subcategory: how-to
date: '2024-09-12'
date: '2024-12-03'
---

@@ -10,0 +10,0 @@

@@ -7,3 +7,3 @@ ---

subcategory: introduction
date: '2024-09-12'
date: '2024-12-03'
---

@@ -10,0 +10,0 @@

@@ -7,3 +7,3 @@ ---

subcategory: introduction
date: '2024-09-12'
date: '2024-12-03'
---

@@ -10,0 +10,0 @@

@@ -7,3 +7,3 @@ ---

subcategory: introduction
date: '2024-09-12'
date: '2024-12-03'
---

@@ -10,0 +10,0 @@

@@ -7,3 +7,3 @@ ---

subcategory: introduction
date: '2024-09-12'
date: '2024-12-03'
---

@@ -10,0 +10,0 @@

@@ -7,3 +7,3 @@ ---

subcategory: introduction
date: '2024-09-12'
date: '2024-12-03'
---

@@ -10,0 +10,0 @@

@@ -7,3 +7,3 @@ ---

subcategory: introduction
date: '2024-09-12'
date: '2024-12-03'
---

@@ -10,0 +10,0 @@

@@ -7,3 +7,3 @@ ---

subcategory: introduction
date: '2024-09-12'
date: '2024-12-03'
---

@@ -10,0 +10,0 @@

@@ -7,3 +7,3 @@ ---

subcategory: index
date: '2024-09-12'
date: '2024-12-03'
---

@@ -10,0 +10,0 @@

@@ -7,3 +7,3 @@ ---

subcategory: api
date: '2024-09-12'
date: '2024-12-03'
---

@@ -10,0 +10,0 @@

@@ -7,3 +7,3 @@ ---

subcategory: api
date: '2024-09-12'
date: '2024-12-03'
---

@@ -10,0 +10,0 @@

@@ -7,3 +7,3 @@ ---

subcategory: api
date: '2024-09-12'
date: '2024-12-03'
---

@@ -10,0 +10,0 @@

@@ -7,3 +7,3 @@ ---

subcategory: api
date: '2024-09-12'
date: '2024-12-03'
---

@@ -10,0 +10,0 @@

@@ -7,3 +7,3 @@ ---

subcategory: api
date: '2024-09-12'
date: '2024-12-03'
---

@@ -10,0 +10,0 @@

@@ -7,3 +7,3 @@ ---

subcategory: api
date: '2024-09-12'
date: '2024-12-03'
---

@@ -98,3 +98,3 @@

<td><code>@condition</code></td>
<td><code>string | Conditions</code></td>
<td><code>string | Condition, UrlReadingCondition</code></td>
<td>

@@ -101,0 +101,0 @@ <p>Defines one or multiple conditions that must be satisfied for the extension to be displayed.</p>

@@ -7,3 +7,3 @@ ---

subcategory: api
date: '2024-09-12'
date: '2024-12-03'
---

@@ -86,3 +86,3 @@

<td><code>@condition</code></td>
<td><code>string | Conditions</code></td>
<td><code>string | Condition, UrlReadingCondition</code></td>
<td>

@@ -89,0 +89,0 @@ <p>Defines one or multiple conditions that must be satisfied for the extension to be displayed.</p>

@@ -7,3 +7,3 @@ ---

subcategory: api
date: '2024-09-12'
date: '2024-12-03'
---

@@ -10,0 +10,0 @@

@@ -7,3 +7,3 @@ ---

subcategory: api
date: '2024-09-12'
date: '2024-12-03'
---

@@ -83,3 +83,3 @@

<td><code>@condition</code></td>
<td><code>string | Conditions</code></td>
<td><code>string | Condition, UrlReadingCondition</code></td>
<td>

@@ -86,0 +86,0 @@ <p>Defines one or multiple conditions that must be satisfied for the extension to be displayed.</p>

@@ -7,3 +7,3 @@ ---

subcategory: api
date: '2024-09-12'
date: '2024-12-03'
---

@@ -89,3 +89,3 @@

<td><code>@condition</code></td>
<td><code>string | Conditions</code></td>
<td><code>string | Condition, UrlReadingCondition</code></td>
<td>

@@ -92,0 +92,0 @@ <p>Defines one or multiple conditions that must be satisfied for the extension to be displayed.</p>

@@ -7,3 +7,3 @@ ---

subcategory: api
date: '2024-09-12'
date: '2024-12-03'
---

@@ -117,3 +117,3 @@

<td><code>@condition</code></td>
<td><code>string | Conditions</code></td>
<td><code>string | Condition, UrlReadingCondition</code></td>
<td>

@@ -120,0 +120,0 @@ <p>Defines one or multiple conditions that must be satisfied for the navigation link to be displayed.</p>

@@ -7,3 +7,3 @@ ---

subcategory: api
date: '2024-09-12'
date: '2024-12-03'
---

@@ -82,3 +82,3 @@

<td><code>@condition</code></td>
<td><code>string | Conditions</code></td>
<td><code>string | Condition, UrlReadingCondition</code></td>
<td>

@@ -85,0 +85,0 @@ <p>Defines one or multiple conditions that must be satisfied for the extension to be displayed.</p>

@@ -7,3 +7,3 @@ ---

subcategory: api
date: '2024-09-12'
date: '2024-12-03'
---

@@ -10,0 +10,0 @@

@@ -7,3 +7,3 @@ ---

subcategory: api
date: '2024-09-12'
date: '2024-12-03'
---

@@ -10,0 +10,0 @@

@@ -7,3 +7,3 @@ ---

subcategory: api
date: '2024-09-12'
date: '2024-12-03'
---

@@ -10,0 +10,0 @@

@@ -7,3 +7,3 @@ ---

subcategory: api
date: '2024-09-12'
date: '2024-12-03'
---

@@ -10,0 +10,0 @@

@@ -7,3 +7,3 @@ ---

subcategory: api
date: '2024-09-12'
date: '2024-12-03'
---

@@ -10,0 +10,0 @@

@@ -7,3 +7,3 @@ ---

subcategory: glossary
date: '2024-09-12'
date: '2024-12-03'
---

@@ -10,0 +10,0 @@

@@ -7,3 +7,3 @@ ---

subcategory: webpack
date: '2024-09-12'
date: '2024-12-03'
---

@@ -51,3 +51,3 @@

<td><code>@condition</code></td>
<td><code>string | Conditions</code></td>
<td><code>string | Condition, UrlReadingCondition</code></td>
<td>

@@ -268,3 +268,3 @@ <p>Defines one or multiple conditions that must be satisfied for the extension to be displayed.</p>

The `@condition` annotation allows you to define one or multiple conditions that must be satisfied for the extension to be displayed.
These conditions are a web-resource conditions evaluated in the server, and created with Java.
These conditions are evaluated on the server and are implemented in Java. They are used for determining if the extension should be downloaded and rendered by the client. For compatibility reasons, the condition class needs to implement both `com.atlassian.plugin.web.Condition` and `com.atlassian.webresource.spi.condition.UrlReadingCondition` interfaces, and both implementations should yield the same result.

@@ -284,2 +284,30 @@ For more information about the condition's usage please refer to the [examples of Web items documentation](https://developer.atlassian.com/server/framework/atlassian-sdk/web-section-plugin-module/#condition-and-conditions-elements) and check the [documentation of `conditionMap` option from `atlassian-webresource-webpack-plugin`](https://www.npmjs.com/package/atlassian-webresource-webpack-plugin#conditionmap-optional).

```java
public class RandomCondition implements Condition, UrlReadingCondition {
// Condition implementation
@Override
public void init(Map<String, String> map) {
}
@Override
public boolean shouldDisplay(Map<String, Object> map) {
// ...
}
// UrlReadingCondition implementation
@Override
public void addToUrl(UrlBuilder urlBuilder) {
// ...
}
/**
* Needs to be the same result as {@link #shouldDisplay(Map)}
*/
@Override
public boolean shouldDisplay(QueryParams queryParams) {
// ...
}
}
```
### 6. Define a condition with parameters

@@ -286,0 +314,0 @@

@@ -7,3 +7,3 @@ ---

subcategory: webpack
date: '2024-09-12'
date: '2024-12-03'
---

@@ -10,0 +10,0 @@

{
"name": "@atlassian/clientside-extensions-docs",
"version": "3.1.1",
"version": "3.1.2-m01-9db53bf-m4i39wxm",
"description": "Holds the official documentation for Altassian Server client-side extensions API.",

@@ -83,3 +83,3 @@ "license": "BSD-3-Clause",

},
"gitHead": "9d4316afcce1a69967432de7ddf85c3440e50ea2"
"gitHead": "9db53bfce0f7dcd52a9aea9755ce476ca2775ee1"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc