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
31
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 2.0.0 to 2.1.0-0fb1601-kmjt4sp9

2

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

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

subcategory: get-help
date: '2021-01-11'
date: '2021-03-08'
---

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

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

subcategory: extension-points
date: '2021-02-18'
date: '2021-03-08'
---

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

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

subcategory: extension-points
date: '2021-01-17'
date: '2021-03-08'
---

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

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

subcategory: extension-points
date: '2021-02-05'
date: '2021-03-08'
---

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

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

subcategory: extension-points
date: '2021-01-17'
date: '2021-03-08'
---

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

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

subcategory: extension-points
date: '2021-02-05'
date: '2021-03-08'
---

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

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

subcategory: how-to
date: '2021-01-11'
date: '2021-03-08'
---

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

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

subcategory: how-to
date: '2021-02-05'
date: '2021-03-08'
---

@@ -109,4 +109,45 @@

## 3. Sharing scalars and types
## 3. Generic code
If you do not use React, there is a way to instead generate plain vanilla JavaScript code.
For this to happen, set the _generic_ option to `true`.
```js
// #webpack.config.js
module.exports = {
// your webpack config
entry: { /**/ },
output: {/**/},
plugins: [/**/],
...
module: {
rules: [
// Add a rule entry to the list of loaders
{
test: /\.cse.graphql$/,
loader: '@atlassian/clientside-extensions-schema/loader',
options: {
// You can specify a working dir
cwd: path.resolve(__dirname, 'src', 'schemas'),
},
},
// Rule to handle non-react extensions
{
test: /\.cse.generic.graphql$/,
loader: '@atlassian/clientside-extensions-schema/loader',
options: {
cwd: path.resolve(__dirname, 'src', 'schemas'),
// Enables vanilla javascript code generation
generic: true
},
},
]
}
};
```
## 4. Sharing scalars and types
CSE provides a set of default [scalars and types](/server/framework/clientside-extensions/reference/api/extension-points/schemas/#provided-scalars)

@@ -113,0 +154,0 @@ that you will be using very often, but there are cases where you would like to share your own types and scalars

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

subcategory: how-to
date: '2021-01-11'
date: '2021-03-08'
---

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

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

subcategory: introduction
date: '2021-01-11'
date: '2021-03-08'
---

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

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

subcategory: introduction
date: '2021-01-11'
date: '2021-03-08'
---

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

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

subcategory: introduction
date: '2021-02-18'
date: '2021-03-08'
---

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

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

subcategory: introduction
date: '2021-02-05'
date: '2021-03-08'
---

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

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

subcategory: introduction
date: '2021-01-11'
date: '2021-03-08'
---

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

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

subcategory: introduction
date: '2021-01-17'
date: '2021-03-08'
---

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

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

subcategory: introduction
date: '2021-01-11'
date: '2021-03-08'
---

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

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

subcategory: index
date: '2021-02-05'
date: '2021-03-08'
---

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

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

subcategory: api
date: '2021-02-05'
date: '2021-03-08'
---

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

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

subcategory: api
date: '2021-01-11'
date: '2021-03-08'
---

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

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

subcategory: api
date: '2021-02-05'
date: '2021-03-08'
---

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

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

subcategory: api
date: '2021-02-05'
date: '2021-03-08'
---

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

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

subcategory: api
date: '2021-02-05'
date: '2021-03-08'
---

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

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

subcategory: api
date: '2021-02-05'
date: '2021-03-08'
---

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

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

subcategory: api
date: '2021-02-05'
date: '2021-03-08'
---

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

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

subcategory: api
date: '2021-01-11'
date: '2021-03-08'
---

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

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

subcategory: api
date: '2021-02-05'
date: '2021-03-08'
---

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

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

subcategory: api
date: '2021-02-05'
date: '2021-03-08'
---

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

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

subcategory: api
date: '2021-02-05'
date: '2021-03-08'
---

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

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

subcategory: api
date: '2021-02-05'
date: '2021-03-08'
---

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

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

subcategory: api
date: '2021-01-11'
date: '2021-03-08'
---

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

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

subcategory: api
date: '2021-02-05'
date: '2021-03-08'
---

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

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

subcategory: api
date: '2021-02-05'
date: '2021-03-08'
---

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

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

subcategory: api
date: '2021-02-05'
date: '2021-03-08'
---

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

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

subcategory: api
date: '2021-02-05'
date: '2021-03-08'
---

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

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

subcategory: glossary
date: '2021-01-11'
date: '2021-03-08'
---

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

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

subcategory: webpack
date: '2021-02-05'
date: '2021-03-08'
---

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

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

subcategory: webpack
date: '2021-01-11'
date: '2021-03-08'
---

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

{
"name": "@atlassian/clientside-extensions-docs",
"version": "2.0.0",
"version": "2.1.0-0fb1601-kmjt4sp9",
"description": "Holds the official documentation for Altassian Server client-side extensions API.",

@@ -74,11 +74,12 @@ "license": "BSD-3-Clause",

"set-last-updated": "doc-scripts set-last-updated",
"version": "doc-scripts version",
"version": "SKIP_VERSION_CHECK=true doc-scripts version",
"link-check": "doc-scripts link-check",
"prepare": "doc-scripts validate",
"prepack": "doc-scripts set-last-updated",
"prepare": "SKIP_VERSION_CHECK=true doc-scripts validate",
"prepack": "SKIP_VERSION_CHECK=true doc-scripts set-last-updated",
"doc-scripts": "doc-scripts"
},
"optionalDependencies": {
"@atlassian/doc-scripts": "^2.4.0"
}
"@atlassian/doc-scripts": "^2.6.0"
},
"gitHead": "0fb1601d9a3b6b95b60262fc8aa6ef8561537e26"
}
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