Skip to content

Commit 5f0b30a

Browse files
authored
Regen with v2 (#13)
* Regen with v2 * more yarn stuff * Regend * regen
1 parent 71b9918 commit 5f0b30a

File tree

1,086 files changed

+46204
-18838
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,086 files changed

+46204
-18838
lines changed

gen.yaml

Lines changed: 29 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,35 @@
1-
configVersion: 1.0.0
2-
management:
3-
docChecksum: 93940197c0bfdbea4a969b3e9aa32818
4-
docVersion: 0.1.0-alpha
5-
speakeasyVersion: 1.64.0
6-
generationVersion: 2.71.0
1+
configVersion: 2.0.0
72
generation:
8-
comments:
9-
disableComments: false
10-
omitDescriptionIfSummaryPresent: false
11-
baseServerURL: ""
123
sdkClassName: conductorone-sdk-typescript
13-
singleTagPerOp: false
14-
tagNamespacingDisabled: false
15-
features:
16-
typescript:
17-
core: 2.88.1
18-
globalSecurity: 2.81.1
19-
globalServerURLs: 2.82.0
20-
groups: 2.81.1
21-
includes: 2.81.1
22-
inputOutputModels: 2.81.1
23-
nameOverrides: 2.81.1
4+
usageSnippets:
5+
optionalPropertyRendering: withExample
6+
fixes:
7+
nameResolutionDec2023: false
8+
parameterOrderingFeb2024: false
9+
requestResponseComponentNamesFeb2024: false
10+
auth:
11+
oAuth2ClientCredentialsEnabled: false
12+
baseServerURL: ""
2413
typescript:
25-
version: 1.1.0
14+
version: 2.1.1
15+
additionalDependencies:
16+
dependencies: {}
17+
devDependencies: {}
18+
peerDependencies: {}
2619
author: ConductorOne
20+
clientServerStatusCodesAsErrors: false
21+
flattenGlobalSecurity: true
22+
imports:
23+
option: openapi
24+
paths:
25+
callbacks: sdk/models/callbacks
26+
errors: sdk/models/errors
27+
operations: sdk/models/operations
28+
shared: sdk/models/shared
29+
webhooks: sdk/models/webhooks
30+
inputModelSuffix: input
2731
maxMethodParams: 0
32+
outputModelSuffix: output
2833
packageName: conductorone-sdk-typescript
34+
responseFormat: envelope
35+
templateVersion: v2

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@
55
"scripts": {
66
"gen": "speakeasy generate sdk --lang=typescript --repo https://github.com/ConductorOne/conductorone-sdk-typescript.git --installationURL https://github.com/ConductorOne/conductorone-sdk-typescript --repo-subdir ./src --schema openapi.yaml --out ./src --debug",
77
"lint": "eslint src/",
8-
"prepare": "tsc --build"
8+
"prepare": "cd src/ && tsc --build"
99
},
1010
"dependencies": {
1111
"axios": "^1.1.3",
1212
"class-transformer": "^0.5.1",
1313
"form-data": "^4.0.0",
1414
"jose": "^4.14.4",
15-
"reflect-metadata": "^0.1.13"
15+
"reflect-metadata": "^0.1.13",
16+
"zod": "^3.22.4"
1617
},
1718
"devDependencies": {
1819
"@types/node": "^18.11.5",

src/.eslintrc.js

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
/* eslint-env node */
2+
module.exports = {
3+
root: true,
4+
extends: [
5+
"eslint:recommended",
6+
"plugin:@typescript-eslint/recommended",
7+
"plugin:import/recommended",
8+
"plugin:import/typescript",
9+
],
10+
parser: "@typescript-eslint/parser",
11+
plugins: ["@typescript-eslint"],
12+
settings: {
13+
"import/resolver": {
14+
typescript: true,
15+
node: true,
16+
},
17+
},
18+
rules: {
19+
// Handled by typescript compiler
20+
"@typescript-eslint/no-unused-vars": "off",
21+
"@typescript-eslint/ban-types": "off",
22+
"@typescript-eslint/no-namespace": "off",
23+
"@typescript-eslint/no-explicit-any": "off",
24+
"import/no-named-as-default-member": "off",
25+
26+
"import/no-default-export": "error",
27+
},
28+
};

src/.eslintrc.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/.gitattributes

100755100644
File mode changed.

src/.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,12 @@
1+
/models
2+
/sdk/models/errors
3+
/sdk/types
4+
/lib
5+
/sdk
6+
/hooks
7+
/index.*
8+
/cjs
9+
/node_modules
10+
/.tsbuildinfo
111
dist/
212
node_modules/

src/.npmignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*
2+
/docs/**/*.md
3+
!/**/*.ts
4+
!/**/*.js
5+
!/**/*.map
6+
7+
/.eslintrc.js
8+
/cjs

0 commit comments

Comments
 (0)