impossiblefxv1 1.13.2
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/HOWTO-PUBLISH.txt +15 -0
- package/README.md +21 -0
- package/apis/edit-2016-06-02.json +15 -0
- package/apis/metadata.json +31 -0
- package/apis/project-2016-06-01.json +56 -0
- package/apis/project-2016-06-02.json +767 -0
- package/apis/project-2023-03-07.json +767 -0
- package/apis/project-2023-12-11.json +767 -0
- package/apis/render-2016-06-02.json +764 -0
- package/apis/render-2023-12-11.json +764 -0
- package/dist/fx-sdk-latest.js +22494 -0
- package/dist-tools/build-browser.js +109 -0
- package/dist-tools/build-sdk.sh +6 -0
- package/dist-tools/es6-promise.js +957 -0
- package/dist-tools/foo.sh +4 -0
- package/dist-tools/publish.sh +6 -0
- package/lib/browser.js +58 -0
- package/lib/config.js +125 -0
- package/lib/core.js +15 -0
- package/lib/credentials/chain.js +54 -0
- package/lib/credentials/environment.js +69 -0
- package/lib/credentials/inifile.js +57 -0
- package/lib/credentials/token.js +38 -0
- package/lib/credentials.js +53 -0
- package/lib/encoding.js +36 -0
- package/lib/endpoint.js +18 -0
- package/lib/fx.js +50 -0
- package/lib/http/node.js +69 -0
- package/lib/http/xhr.js +12 -0
- package/lib/http.js +57 -0
- package/lib/proto.js +38 -0
- package/lib/protocol.js +56 -0
- package/lib/request.js +252 -0
- package/lib/response.js +24 -0
- package/lib/service.js +182 -0
- package/lib/services/batch.js +5 -0
- package/lib/services/edit.js +9 -0
- package/lib/services/project.js +102 -0
- package/lib/services/render.js +63 -0
- package/lib/services/story.js +5 -0
- package/lib/services.js +30 -0
- package/lib/util.js +126 -0
- package/package.json +37 -0
- package/package.json.save +36 -0
- package/proto/Movie.proto +4081 -0
- package/proto/fx.proto +43 -0
- package/templates/config.html +91 -0
- package/templates/examples.html +69 -0
- package/templates/getstarted.html +30 -0
- package/templates/index.html +6 -0
- package/templates/makeexample.py +57 -0
- package/templates/makerequests.html +210 -0
- package/templates/operation.html +36 -0
- package/templates/service.html +9 -0
- package/templates/services.html +19 -0
- package/templates/version.html +12 -0
- package/templates/versions.html +10 -0
- package/templates/workservice.html +68 -0
- package/test/circles.mp4 +0 -0
- package/test/config.js +131 -0
- package/test/index.html +35 -0
- package/test/mocha.opts +4 -0
- package/test/project.js +148 -0
- package/test/render.js +136 -0
- package/test/retry.js +53 -0
- package/test/sdktests.js +62 -0
- package/test/sdl.js +125 -0
- package/test/servertest/simple.js +20 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
|
|
2
|
+
Do not forget to set the npm_config_registry to avoid publishing to an internal repo
|
|
3
|
+
|
|
4
|
+
export npm_config_registry=https://registry.npmjs.org
|
|
5
|
+
|
|
6
|
+
For patch level changes:
|
|
7
|
+
|
|
8
|
+
npm version patch
|
|
9
|
+
|
|
10
|
+
For larger version bumps, e.g. 1.5 -> 1.6
|
|
11
|
+
|
|
12
|
+
npm version minor
|
|
13
|
+
|
|
14
|
+
These commands will build and publish the SDK to NPM and S3
|
|
15
|
+
|
package/README.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
impossiblefx-sdk
|
|
2
|
+
================
|
|
3
|
+
|
|
4
|
+
Javascript SDK for Impossible Software's FX Realtime Video Rendering Platform.
|
|
5
|
+
|
|
6
|
+
## Installation
|
|
7
|
+
|
|
8
|
+
npm install impossiblefx --save
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
```javascript
|
|
12
|
+
var FX = require('impossiblefx')
|
|
13
|
+
FX.config.apikey = APIKEY
|
|
14
|
+
FX.config.apisecret = APISECRET
|
|
15
|
+
FX.config.region = REGION
|
|
16
|
+
|
|
17
|
+
var prj = new FX.Project()
|
|
18
|
+
prj.listProjects(function(err, data){
|
|
19
|
+
console.log(data.Projects)
|
|
20
|
+
})
|
|
21
|
+
```
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"project": {
|
|
3
|
+
"enabled": true,
|
|
4
|
+
"domain": "Project",
|
|
5
|
+
"documentation": "Project and Asset Management",
|
|
6
|
+
"versions": ["2016-06-01", "2016-06-02", "2023-03-07", "2023-12-11"]
|
|
7
|
+
},
|
|
8
|
+
"edit": {
|
|
9
|
+
"enabled": false,
|
|
10
|
+
"domain": "Edit",
|
|
11
|
+
"versions": ["2016-06-02"]
|
|
12
|
+
},
|
|
13
|
+
"story": {
|
|
14
|
+
"enabled": false,
|
|
15
|
+
"domain": "Story",
|
|
16
|
+
"versions": ["2016-06-02"]
|
|
17
|
+
},
|
|
18
|
+
"batch": {
|
|
19
|
+
"enabled": false,
|
|
20
|
+
"domain": "Batch",
|
|
21
|
+
"versions": ["2016-06-02"]
|
|
22
|
+
},
|
|
23
|
+
"render": {
|
|
24
|
+
"enabled": true,
|
|
25
|
+
"domain": "Render",
|
|
26
|
+
"documentation": "Render Requests",
|
|
27
|
+
"versions": ["2016-06-02", "2023-12-11"]
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "2.0",
|
|
3
|
+
"metadata":{
|
|
4
|
+
"apiVersion": "2016-06-01",
|
|
5
|
+
"nameSpace": "Project",
|
|
6
|
+
"protocol": "json",
|
|
7
|
+
"serviceFullName": "Impossible FX Project API"
|
|
8
|
+
},
|
|
9
|
+
|
|
10
|
+
"endpoint": "api-{region}.impossible.io",
|
|
11
|
+
|
|
12
|
+
"operations": {
|
|
13
|
+
"ListProjects": {
|
|
14
|
+
"http": {
|
|
15
|
+
"method": "GET",
|
|
16
|
+
"path": "/v1/list/project/"
|
|
17
|
+
},
|
|
18
|
+
"output": {
|
|
19
|
+
"shape": "ProjectList"
|
|
20
|
+
},
|
|
21
|
+
"transform": {
|
|
22
|
+
"output": {"function": "TransformProjectList"}
|
|
23
|
+
},
|
|
24
|
+
"documentation": ""
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
|
|
28
|
+
"shapes": {
|
|
29
|
+
"Project": {
|
|
30
|
+
"type": "structure",
|
|
31
|
+
"members": {
|
|
32
|
+
"prjuid": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"documentation": ""
|
|
35
|
+
},
|
|
36
|
+
"name": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"documentation": ""
|
|
39
|
+
},
|
|
40
|
+
"created": {
|
|
41
|
+
"type": "datetime",
|
|
42
|
+
"documentation": ""
|
|
43
|
+
},
|
|
44
|
+
"modified": {
|
|
45
|
+
"type": "datetime",
|
|
46
|
+
"documentation": ""
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
|
|
51
|
+
"ProjectList": {
|
|
52
|
+
"type": "list",
|
|
53
|
+
"shape": "Project"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|