> For the complete documentation index, see [llms.txt](https://docs.uncodie.com/1.0/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.uncodie.com/1.0/documentation/ide/importing-code/scripts/manifest.md).

# Manifest

Create a JSON manifest to import your react component to Uncodie IDE

## Get Started

Uncodie Plugin allows you to import any 3rd party react component or library, you can add individual components or select a component from a library, in v1 you can only select 1 component from a library at a time.

## JSON Example

<pre class="language-json" data-line-numbers><code class="lang-json"><strong>{
</strong>    "version" : "1.0",
    "description": "Little description of my script or plugin",
    "content":"()=>{}" 
    "parameters": [
        {
            "alias" : "parameterOne",
            "type" : "dynamic",
            "dataType" : "string"
        },
        {
            "alias" : "parameterTwo",
            "type" : "scalar",
            "dataType" : "string"
        }
    ],
    "returnData" : "void",
    "dependencies": [
        {
            "alias" : "axios",
            "exportMode" : "default",
            "version" : "^0.27.2",
            "path": "axios",
            "packageName" : "axios"
        }
    ]
}
</code></pre>

## Properties

<table><thead><tr><th width="211">Name</th><th width="125">Type</th><th width="101" data-type="checkbox">Required</th><th>Description</th></tr></thead><tbody><tr><td><code>version</code></td><td>number</td><td>false</td><td> A version of your plugin or script.</td></tr><tr><td><code>description</code></td><td>string</td><td>false</td><td>Brief description of your plugin or script.</td></tr><tr><td><code>content</code></td><td>string</td><td>true</td><td>Script content.</td></tr><tr><td><code>parameters</code></td><td>parameter</td><td>false</td><td>List of objects to declare the parameters required for your plugin or script. Using the parameter Object Structure.</td></tr><tr><td><code>return_data</code></td><td>string</td><td>false</td><td>The type of value that will handle the value that the plugin returns or script.</td></tr><tr><td><code>dependencies</code></td><td>dependency</td><td>false</td><td>List as an array of objects with the external dependencies or libraries that the plugin or script need to handle.</td></tr></tbody></table>

### Parameter Object

List of objects to declare the parameters required for your plugin or script.

<table><thead><tr><th width="211">Name</th><th width="92">Type</th><th width="101" data-type="checkbox">Required</th><th>Description</th></tr></thead><tbody><tr><td><code>alias</code></td><td>string</td><td>true</td><td>Name of your parameter</td></tr><tr><td><code>type</code></td><td>string</td><td>true</td><td>Constant from Type Enumeration</td></tr><tr><td><code>description</code></td><td>string</td><td>true</td><td>Brief explanation of the usage</td></tr></tbody></table>

### Dependency Object

<table><thead><tr><th width="211">Name</th><th width="92">Type</th><th width="101" data-type="checkbox">Required</th><th>Description</th></tr></thead><tbody><tr><td><code>alias</code></td><td>string</td><td>false</td><td>Alias to be used for the dependency</td></tr><tr><td><code>exportMode</code></td><td>string</td><td>true</td><td>How to export the dependency</td></tr><tr><td><code>version</code></td><td>string</td><td>true</td><td>Version of the dependency to be used</td></tr><tr><td><code>path</code></td><td>string</td><td>true</td><td>File path for the import</td></tr><tr><td><code>packageName</code></td><td>string</td><td>true</td><td>Name for the package.json file</td></tr></tbody></table>

### Type Enumeration

Possible Values:

<table><thead><tr><th width="211">Name</th><th width="92">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>Scalar</code></td><td>string</td><td>Select this option to access a static value in the Plugin</td></tr><tr><td><code>Dynamic</code></td><td>string</td><td>Select this option to access a data source in the Plugin</td></tr></tbody></table>

###

### Export Mode Enumeration

Possible Values:

<table><thead><tr><th width="211">Name</th><th width="92">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>Default</code></td><td>string</td><td>Select this option when there is only 1 react component in your file</td></tr><tr><td><code>Named</code></td><td>string</td><td>Select this option to import the component with the same name value as the manifest "name" parameter from a library containing several react components</td></tr></tbody></table>

####
