api: update typespec & other dependencies
This commit is contained in:
@@ -122,7 +122,7 @@ namespace EmoteManagement {
|
||||
/**
|
||||
* Modify an existing emote.
|
||||
*/
|
||||
@patch
|
||||
@patch(#{ implicitOptionality: false })
|
||||
@operationId("UpdateEmote")
|
||||
@route("/emotes/{emoteID}")
|
||||
op update(@path emoteID: id, @body emote: Emote): UpdatedEmote | ErrBadParameters | ErrAuth;
|
||||
|
@@ -5,16 +5,16 @@
|
||||
"peerDependencies": {
|
||||
"@typespec/compiler": "^1.0.0-rc.1",
|
||||
"@typespec/http": "^1.0.0-rc.1",
|
||||
"@typespec/rest": "^0.69.0",
|
||||
"@typespec/openapi": "^1.0.0-rc.1",
|
||||
"@typespec/openapi3": "^1.0.0-rc.1"
|
||||
"@typespec/openapi3": "^1.0.0-rc.1",
|
||||
"@typespec/rest": "^0.69.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@typespec/compiler": "^1.0.0-rc.1",
|
||||
"@typespec/http": "^1.0.0-rc.1",
|
||||
"@typespec/rest": "^0.69.0",
|
||||
"@typespec/openapi": "^1.0.0-rc.1",
|
||||
"@typespec/openapi3": "^1.0.0-rc.1"
|
||||
"@typespec/compiler": "^1.0.0",
|
||||
"@typespec/http": "^1.0.1",
|
||||
"@typespec/openapi": "^1.0.0",
|
||||
"@typespec/openapi3": "^1.0.0",
|
||||
"@typespec/rest": "^0.69.0"
|
||||
},
|
||||
"private": true
|
||||
}
|
||||
|
@@ -488,9 +488,9 @@ components:
|
||||
type: string
|
||||
description: Search tags for the emote.
|
||||
attributions:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/Models.Attribution'
|
||||
type: object
|
||||
unevaluatedProperties:
|
||||
$ref: '#/components/schemas/Models.CreateAttribution'
|
||||
description: People who contributed to the work.
|
||||
restrictions:
|
||||
type: array
|
||||
@@ -501,15 +501,7 @@ components:
|
||||
allOf:
|
||||
- $ref: '#/components/schemas/Models.id'
|
||||
description: Older emote version, if any.
|
||||
description: |-
|
||||
A copy of the input model `T` with only the properties that are visible during the
|
||||
"Create" resource lifecycle phase.
|
||||
|
||||
This transformation is recursive, and will include only properties that have the
|
||||
`Lifecycle.Create` visibility modifier.
|
||||
|
||||
If a `NameTemplate` is provided, the new model will be named according to the template.
|
||||
The template uses the same syntax as the `@friendlyName` decorator.
|
||||
description: ''
|
||||
Models.Attribution:
|
||||
type: object
|
||||
required:
|
||||
@@ -546,6 +538,24 @@ components:
|
||||
type: string
|
||||
description: Name of the user on the connected platform.
|
||||
description: Active connection between an emote set and an external platform.
|
||||
Models.CreateAttribution:
|
||||
type: object
|
||||
required:
|
||||
- text
|
||||
- links
|
||||
properties:
|
||||
text:
|
||||
type: string
|
||||
description: Text displayed for the attribution, typically their name.
|
||||
links:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
format: uri
|
||||
description: Links associated with the attributed person.
|
||||
description: |-
|
||||
Emote work attributions.
|
||||
These may be links to Ligmotes users or to general social media.
|
||||
Models.Emote:
|
||||
type: object
|
||||
required:
|
||||
@@ -681,6 +691,10 @@ components:
|
||||
description: Emote set details.
|
||||
Models.EmoteUpdate:
|
||||
type: object
|
||||
required:
|
||||
- name
|
||||
- tags
|
||||
- attributions
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
|
@@ -5,9 +5,9 @@
|
||||
"type": "module",
|
||||
"devDependencies": {
|
||||
"@typespec/prettier-plugin-typespec": "1.0.0-rc.1",
|
||||
"eslint-config-prettier": "^10.0.1",
|
||||
"eslint-plugin-svelte": "^3.0.0",
|
||||
"prettier": "^3.4.2",
|
||||
"eslint-config-prettier": "^10.1.5",
|
||||
"eslint-plugin-svelte": "^3.5.1",
|
||||
"prettier": "^3.5.3",
|
||||
"prettier-plugin-svelte": "^3.3.3"
|
||||
},
|
||||
"pnpm": {
|
||||
|
943
pnpm-lock.yaml
generated
943
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user