Skip to content

Commit 96ba638

Browse files
committed
Update TypeScript SDK for release v0.3.7
0 parents  commit 96ba638

36 files changed

+2907
-0
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
wwwroot/*.js
2+
node_modules
3+
typings
4+
dist

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
README.md

.openapi-generator-ignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# OpenAPI Generator Ignore
2+
# Generated by openapi-generator https://github.com/openapitools/openapi-generator
3+
4+
# Use this file to prevent files from being overwritten by the generator.
5+
# The patterns follow closely to .gitignore or .dockerignore.
6+
7+
# As an example, the C# client generator defines ApiClient.cs.
8+
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
9+
#ApiClient.cs
10+
11+
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
12+
#foo/*/qux
13+
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14+
15+
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16+
#foo/**/qux
17+
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18+
19+
# You can also negate patterns with an exclamation (!).
20+
# For example, you can ignore all files in a docs folder with the file extension .md:
21+
#docs/*.md
22+
# Then explicitly reverse the ignore rule for a single file:
23+
#!docs/README.md

.openapi-generator/FILES

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
.gitignore
2+
.npmignore
3+
.openapi-generator-ignore
4+
README.md
5+
package.json
6+
src/apis/DefaultApi.ts
7+
src/apis/index.ts
8+
src/index.ts
9+
src/models/ClassificationStats.ts
10+
src/models/CodeGraphEnvelope.ts
11+
src/models/CodeGraphEnvelopeGraph.ts
12+
src/models/CodeGraphNode.ts
13+
src/models/CodeGraphRelationship.ts
14+
src/models/CodeGraphStats.ts
15+
src/models/DomainClassAssignment.ts
16+
src/models/DomainClassificationResponse.ts
17+
src/models/DomainFileAssignment.ts
18+
src/models/DomainFunctionAssignment.ts
19+
src/models/DomainRelationship.ts
20+
src/models/DomainSummary.ts
21+
src/models/ErrorDetailsInner.ts
22+
src/models/FunctionDescription.ts
23+
src/models/ModelError.ts
24+
src/models/SubdomainSummary.ts
25+
src/models/SupermodelArtifact.ts
26+
src/models/SupermodelIR.ts
27+
src/models/SupermodelIRGraph.ts
28+
src/models/UnassignedFunction.ts
29+
src/models/index.ts
30+
src/runtime.ts
31+
tsconfig.esm.json
32+
tsconfig.json

.openapi-generator/VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
7.7.0
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2830aad704d6aa36953364229b8b58826b583ff05d7be3bba5cbd82b4a25be7a

README.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
## @supermodeltools/sdk@0.3.7
2+
3+
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
4+
5+
Environment
6+
* Node.js
7+
* Webpack
8+
* Browserify
9+
10+
Language level
11+
* ES5 - you must have a Promises/A+ library installed
12+
* ES6
13+
14+
Module system
15+
* CommonJS
16+
* ES6 module system
17+
18+
It can be used in both TypeScript and JavaScript. In TypeScript, the definition will be automatically resolved via `package.json`. ([Reference](https://www.typescriptlang.org/docs/handbook/declaration-files/consumption.html))
19+
20+
### Building
21+
22+
To build and compile the typescript sources to javascript use:
23+
```
24+
npm install
25+
npm run build
26+
```
27+
28+
### Publishing
29+
30+
First build the package then run `npm publish`
31+
32+
### Consuming
33+
34+
navigate to the folder of your consuming project and run one of the following commands.
35+
36+
_published:_
37+
38+
```
39+
npm install @supermodeltools/[email protected] --save
40+
```
41+
42+
_unPublished (not recommended):_
43+
44+
```
45+
npm install PATH_TO_GENERATED_PACKAGE --save
46+
```

package-lock.json

Lines changed: 29 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"name": "@supermodeltools/sdk",
3+
"version": "0.3.7",
4+
"description": "OpenAPI client for @supermodeltools/sdk",
5+
"author": "OpenAPI-Generator",
6+
"repository": {
7+
"type": "git",
8+
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
9+
},
10+
"main": "./dist/index.js",
11+
"typings": "./dist/index.d.ts",
12+
"module": "./dist/esm/index.js",
13+
"sideEffects": false,
14+
"scripts": {
15+
"build": "tsc && tsc -p tsconfig.esm.json",
16+
"prepare": "npm run build"
17+
},
18+
"devDependencies": {
19+
"typescript": "^4.0 || ^5.0"
20+
}
21+
}

0 commit comments

Comments
 (0)