Skip to content

Commit

Permalink
Merge pull request #7 from livepeer/0xcadams/publish-new
Browse files Browse the repository at this point in the history
fix: fixed schema to have nullable playback ID
  • Loading branch information
0xcadams authored May 20, 2024
2 parents b28bd95 + c0ea53b commit 03735e0
Show file tree
Hide file tree
Showing 184 changed files with 3,437 additions and 3,653 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/jest_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache: 'yarn'

- name: Install dependencies
run: npm install
run: yarn install

- name: Build the project
run: npm run build --if-present
run: yarn run build

- name: Run tests
run: npm test
run: yarn run test

- name: Upload Test Results
uses: actions/upload-artifact@v2
Expand Down
50 changes: 36 additions & 14 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,25 +1,30 @@
lockVersion: 2.0.0
id: 7146d910-ec93-46d4-b2c7-5717a58dd471
management:
docChecksum: e0d3690f1eaf4589bf6d15c59c30cc1e
docChecksum: c12afd029507bb4c81908e836702453b
docVersion: 1.0.0
speakeasyVersion: 1.277.2
generationVersion: 2.317.0
releaseVersion: 3.1.0
configChecksum: 4a223c15fa429ea5ebdfb419af1209dc
speakeasyVersion: 1.293.1
generationVersion: 2.333.3
releaseVersion: 3.2.3
configChecksum: 058149de5b65dc6ddfe44cee24fcaad8
features:
typescript:
additionalDependencies: 0.1.0
additionalProperties: 0.1.1
constsAndDefaults: 0.1.5
core: 3.9.2
core: 3.9.4
deprecations: 2.81.1
flattening: 2.81.1
globalSecurity: 2.82.9
globalSecurityCallbacks: 0.1.0
globalSecurityFlattening: 0.1.0
globalServerURLs: 2.82.4
inputOutputModels: 2.82.0
nameOverrides: 2.81.2
nullables: 0.1.0
responseFormat: 0.2.3
unions: 2.85.3
sdkHooks: 0.1.0
unions: 2.85.5
generatedFiles:
- src/sdk/stream.ts
- src/sdk/multistream.ts
Expand Down Expand Up @@ -52,6 +57,7 @@ generatedFiles:
- src/models/errors/sdkerror.ts
- src/models/errors/sdkvalidationerror.ts
- src/types/blobs.ts
- src/types/enums.ts
- src/types/index.ts
- src/types/operations.ts
- src/types/rfcdate.ts
Expand Down Expand Up @@ -134,8 +140,6 @@ generatedFiles:
- src/models/components/multistreamtargetinput.ts
- src/models/components/multistreamtargetpatchpayload.ts
- src/models/components/webhook.ts
- src/models/components/webhookpayload.ts
- src/models/components/events.ts
- src/models/components/webhooklog.ts
- src/models/components/newassetpayload.ts
- src/models/components/transcodeprofile.ts
Expand Down Expand Up @@ -190,7 +194,6 @@ generatedFiles:
- docs/models/operations/removemultistreamtargetrequest.md
- docs/models/operations/removemultistreamtargetresponse.md
- docs/models/operations/getmultistreamtargetsresponse.md
- docs/models/operations/createmultistreamtargetdata.md
- docs/models/operations/createmultistreamtargetresponse.md
- docs/models/operations/getmultistreamtargetrequest.md
- docs/models/operations/getmultistreamtargetresponse.md
Expand All @@ -216,6 +219,8 @@ generatedFiles:
- docs/models/operations/task.md
- docs/models/operations/requestuploaddata.md
- docs/models/operations/requestuploadresponse.md
- docs/models/operations/uploadassetassettask.md
- docs/models/operations/uploadassetdataoutput.md
- docs/models/operations/uploadassettask.md
- docs/models/operations/uploadassetdata.md
- docs/models/operations/uploadassetresponse.md
Expand Down Expand Up @@ -265,6 +270,7 @@ generatedFiles:
- docs/models/operations/getpublicviewershipmetricsdata.md
- docs/models/operations/getpublicviewershipmetricsresponse.md
- docs/models/operations/getusagemetricsqueryparamtimestep.md
- docs/models/operations/getusagemetricsqueryparambreakdownby.md
- docs/models/operations/getusagemetricsrequest.md
- docs/models/operations/getusagemetricsresponse.md
- docs/models/operations/createsigningkeyresponse.md
Expand All @@ -285,6 +291,8 @@ generatedFiles:
- docs/models/errors/errort.md
- docs/models/components/stream3.md
- docs/models/components/streamusertags.md
- docs/models/components/stream1.md
- docs/models/components/streamismobile.md
- docs/models/components/streamlocation.md
- docs/models/components/streampull.md
- docs/models/components/streammultistream.md
Expand All @@ -306,8 +314,10 @@ generatedFiles:
- docs/models/components/targetspec.md
- docs/models/components/target.md
- docs/models/components/inputcreatoridtype.md
- docs/models/components/one.md
- docs/models/components/inputcreatorid1.md
- docs/models/components/inputcreatorid.md
- docs/models/components/one.md
- docs/models/components/ismobile.md
- docs/models/components/location.md
- docs/models/components/pull.md
- docs/models/components/streampatchpayload.md
Expand Down Expand Up @@ -342,12 +352,11 @@ generatedFiles:
- docs/models/components/multistreamtarget.md
- docs/models/components/multistreamtargetinput.md
- docs/models/components/multistreamtargetpatchpayload.md
- docs/models/components/webhookevents.md
- docs/models/components/events.md
- docs/models/components/lastfailure.md
- docs/models/components/status.md
- docs/models/components/webhook.md
- docs/models/components/webhookpayload.md
- docs/models/components/events.md
- docs/models/components/webhookinput.md
- docs/models/components/request.md
- docs/models/components/response.md
- docs/models/components/webhooklog.md
Expand Down Expand Up @@ -437,6 +446,7 @@ generatedFiles:
- docs/models/components/outputs.md
- docs/models/components/transcodepayload.md
- docs/models/components/playbackinfotype.md
- docs/models/components/live.md
- docs/models/components/hrn.md
- docs/models/components/playbackinfoschemastype.md
- docs/models/components/playbackinfosource.md
Expand All @@ -456,6 +466,18 @@ generatedFiles:
- docs/models/components/attestationstorage.md
- docs/models/components/attestation.md
- docs/models/components/security.md
- docs/sdks/livepeer/README.md
- docs/sdks/stream/README.md
- docs/sdks/multistream/README.md
- docs/sdks/webhook/README.md
- docs/sdks/asset/README.md
- docs/sdks/session/README.md
- docs/sdks/room/README.md
- docs/sdks/metrics/README.md
- docs/sdks/accesscontrol/README.md
- docs/sdks/task/README.md
- docs/sdks/transcode/README.md
- docs/sdks/playback/README.md
- USAGE.md
- .gitattributes
- src/hooks/hooks.ts
Expand Down
24 changes: 20 additions & 4 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,15 +1,31 @@
speakeasyVersion: 1.277.2
sources: {}
targets: {}
speakeasyVersion: 1.293.1
sources:
livepeer-studio-api:
sourceNamespace: livepeer-studio-api
sourceRevisionDigest: sha256:5fe95adf98d3558833a4413475def3451e55a63465cdbbea94de06c0bf03105c
sourceBlobDigest: sha256:0561ad65098145927f1d60a8ba370296d6e91cbb1430f9880f6a884d594b870e
tags:
- latest
targets:
livepeer-ts:
source: livepeer-studio-api
sourceNamespace: livepeer-studio-api
sourceRevisionDigest: sha256:5fe95adf98d3558833a4413475def3451e55a63465cdbbea94de06c0bf03105c
sourceBlobDigest: sha256:0561ad65098145927f1d60a8ba370296d6e91cbb1430f9880f6a884d594b870e
outLocation: .
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
sources:
livepeer-studio-api:
inputs:
- location: https://raw.githubusercontent.com/livepeer/studio/sk/schema-fixes/packages/api/src/schema/api-schema.yaml
- location: https://raw.githubusercontent.com/livepeer/studio/master/packages/api/src/schema/api-schema.yaml
registry:
location: registry.speakeasyapi.dev/livepeer/livepeer-studio/livepeer-studio-api
targets:
livepeer-ts:
target: typescript
source: livepeer-studio-api
output: .
codeSamples:
output: codeSamples.yaml
6 changes: 4 additions & 2 deletions .speakeasy/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ speakeasyVersion: latest
sources:
livepeer-studio-api:
inputs:
- location: https://raw.githubusercontent.com/livepeer/studio/sk/schema-fixes/packages/api/src/schema/api-schema.yaml
- location: https://raw.githubusercontent.com/livepeer/studio/master/packages/api/src/schema/api-schema.yaml
registry:
location: registry.speakeasyapi.dev/livepeer/livepeer-studio/livepeer-studio-api
targets:
livepeer-ts:
target: typescript
source: livepeer-studio-api
output: .
codeSamples:
output: codeSamples.yaml
output: codeSamples.yaml
Loading

0 comments on commit 03735e0

Please sign in to comment.