@proveanything/smartlinks 2.1.31 → 2.1.33
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/dist/adminViews.d.ts +86 -0
- package/dist/adminViews.js +178 -0
- package/dist/api/address.d.ts +39 -0
- package/dist/api/address.js +45 -0
- package/dist/api/index.d.ts +1 -0
- package/dist/api/index.js +1 -0
- package/dist/api/interactions.d.ts +3 -0
- package/dist/api/interactions.js +3 -0
- package/dist/api/translations.d.ts +6 -1
- package/dist/api/translations.js +11 -1
- package/dist/context.d.ts +5 -0
- package/dist/context.js +4 -1
- package/dist/docs/API_SUMMARY.md +104 -10
- package/dist/docs/admin-views.md +93 -0
- package/dist/docs/app-manifest.md +14 -0
- package/dist/docs/translations.md +24 -0
- package/dist/index.d.ts +2 -2
- package/dist/openapi.yaml +187 -0
- package/dist/site.d.ts +5 -0
- package/dist/types/address.d.ts +69 -0
- package/dist/types/address.js +5 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/dist/types/translations.d.ts +33 -0
- package/docs/API_SUMMARY.md +104 -10
- package/docs/admin-views.md +93 -0
- package/docs/app-manifest.md +14 -0
- package/docs/translations.md +24 -0
- package/openapi.yaml +187 -0
- package/package.json +1 -1
package/openapi.yaml
CHANGED
|
@@ -9380,6 +9380,11 @@ paths:
|
|
|
9380
9380
|
required: false
|
|
9381
9381
|
schema:
|
|
9382
9382
|
type: boolean
|
|
9383
|
+
- name: termIssues
|
|
9384
|
+
in: query
|
|
9385
|
+
required: false
|
|
9386
|
+
schema:
|
|
9387
|
+
type: boolean
|
|
9383
9388
|
- name: limit
|
|
9384
9389
|
in: query
|
|
9385
9390
|
required: false
|
|
@@ -9403,6 +9408,65 @@ paths:
|
|
|
9403
9408
|
description: Unauthorized
|
|
9404
9409
|
404:
|
|
9405
9410
|
description: Not found
|
|
9411
|
+
/admin/collection/{collectionId}/translations/rules:
|
|
9412
|
+
get:
|
|
9413
|
+
tags:
|
|
9414
|
+
- translations
|
|
9415
|
+
summary: "Admin: the site's translation rules (brief, notes per language, required terms)."
|
|
9416
|
+
operationId: translations_rules
|
|
9417
|
+
security:
|
|
9418
|
+
- bearerAuth: []
|
|
9419
|
+
parameters:
|
|
9420
|
+
- name: collectionId
|
|
9421
|
+
in: path
|
|
9422
|
+
required: true
|
|
9423
|
+
schema:
|
|
9424
|
+
type: string
|
|
9425
|
+
responses:
|
|
9426
|
+
200:
|
|
9427
|
+
description: Success
|
|
9428
|
+
content:
|
|
9429
|
+
application/json:
|
|
9430
|
+
schema:
|
|
9431
|
+
$ref: "#/components/schemas/TranslationRules"
|
|
9432
|
+
400:
|
|
9433
|
+
description: Bad request
|
|
9434
|
+
401:
|
|
9435
|
+
description: Unauthorized
|
|
9436
|
+
404:
|
|
9437
|
+
description: Not found
|
|
9438
|
+
put:
|
|
9439
|
+
tags:
|
|
9440
|
+
- translations
|
|
9441
|
+
summary: "Admin: replace the site's translation rules."
|
|
9442
|
+
operationId: translations_saveRules
|
|
9443
|
+
security:
|
|
9444
|
+
- bearerAuth: []
|
|
9445
|
+
parameters:
|
|
9446
|
+
- name: collectionId
|
|
9447
|
+
in: path
|
|
9448
|
+
required: true
|
|
9449
|
+
schema:
|
|
9450
|
+
type: string
|
|
9451
|
+
responses:
|
|
9452
|
+
200:
|
|
9453
|
+
description: Success
|
|
9454
|
+
content:
|
|
9455
|
+
application/json:
|
|
9456
|
+
schema:
|
|
9457
|
+
$ref: "#/components/schemas/TranslationRules"
|
|
9458
|
+
400:
|
|
9459
|
+
description: Bad request
|
|
9460
|
+
401:
|
|
9461
|
+
description: Unauthorized
|
|
9462
|
+
404:
|
|
9463
|
+
description: Not found
|
|
9464
|
+
requestBody:
|
|
9465
|
+
required: true
|
|
9466
|
+
content:
|
|
9467
|
+
application/json:
|
|
9468
|
+
schema:
|
|
9469
|
+
$ref: "#/components/schemas/TranslationRules"
|
|
9406
9470
|
/admin/collection/{collectionId}/translations/{translationId}:
|
|
9407
9471
|
get:
|
|
9408
9472
|
tags:
|
|
@@ -17344,6 +17408,87 @@ components:
|
|
|
17344
17408
|
name: X-API-Key
|
|
17345
17409
|
description: API key for server-to-server calls
|
|
17346
17410
|
schemas:
|
|
17411
|
+
AddressPage:
|
|
17412
|
+
type: object
|
|
17413
|
+
properties:
|
|
17414
|
+
appId:
|
|
17415
|
+
type: string
|
|
17416
|
+
title:
|
|
17417
|
+
type: string
|
|
17418
|
+
name:
|
|
17419
|
+
type: string
|
|
17420
|
+
defaultName:
|
|
17421
|
+
type: string
|
|
17422
|
+
listed:
|
|
17423
|
+
type: boolean
|
|
17424
|
+
url:
|
|
17425
|
+
type: string
|
|
17426
|
+
required:
|
|
17427
|
+
- appId
|
|
17428
|
+
- title
|
|
17429
|
+
- name
|
|
17430
|
+
- defaultName
|
|
17431
|
+
- listed
|
|
17432
|
+
- url
|
|
17433
|
+
AddressWebsite:
|
|
17434
|
+
type: object
|
|
17435
|
+
properties:
|
|
17436
|
+
appId:
|
|
17437
|
+
type: string
|
|
17438
|
+
title:
|
|
17439
|
+
type: string
|
|
17440
|
+
live:
|
|
17441
|
+
type: boolean
|
|
17442
|
+
channel:
|
|
17443
|
+
type: string
|
|
17444
|
+
required:
|
|
17445
|
+
- appId
|
|
17446
|
+
- title
|
|
17447
|
+
- live
|
|
17448
|
+
- channel
|
|
17449
|
+
AddressResponse:
|
|
17450
|
+
type: object
|
|
17451
|
+
properties:
|
|
17452
|
+
name:
|
|
17453
|
+
type: string
|
|
17454
|
+
host:
|
|
17455
|
+
type: string
|
|
17456
|
+
defaultHost:
|
|
17457
|
+
type: string
|
|
17458
|
+
domain:
|
|
17459
|
+
type: object
|
|
17460
|
+
additionalProperties: true
|
|
17461
|
+
front:
|
|
17462
|
+
$ref: "#/components/schemas/AddressFront"
|
|
17463
|
+
websites:
|
|
17464
|
+
type: array
|
|
17465
|
+
items:
|
|
17466
|
+
$ref: "#/components/schemas/AddressWebsite"
|
|
17467
|
+
pages:
|
|
17468
|
+
type: array
|
|
17469
|
+
items:
|
|
17470
|
+
$ref: "#/components/schemas/AddressPage"
|
|
17471
|
+
required:
|
|
17472
|
+
- name
|
|
17473
|
+
- host
|
|
17474
|
+
- defaultHost
|
|
17475
|
+
- domain
|
|
17476
|
+
- front
|
|
17477
|
+
- websites
|
|
17478
|
+
- pages
|
|
17479
|
+
AddressNameAvailability:
|
|
17480
|
+
type: object
|
|
17481
|
+
properties:
|
|
17482
|
+
available:
|
|
17483
|
+
type: boolean
|
|
17484
|
+
host:
|
|
17485
|
+
type: string
|
|
17486
|
+
required:
|
|
17487
|
+
- available
|
|
17488
|
+
- host
|
|
17489
|
+
AddressFront:
|
|
17490
|
+
type: object
|
|
17491
|
+
additionalProperties: true
|
|
17347
17492
|
AdminCardRefresh:
|
|
17348
17493
|
type: object
|
|
17349
17494
|
properties:
|
|
@@ -37145,6 +37290,8 @@ components:
|
|
|
37145
37290
|
type: string
|
|
37146
37291
|
isOverride:
|
|
37147
37292
|
type: boolean
|
|
37293
|
+
termIssues:
|
|
37294
|
+
type: boolean
|
|
37148
37295
|
limit:
|
|
37149
37296
|
type: number
|
|
37150
37297
|
offset:
|
|
@@ -37176,6 +37323,46 @@ components:
|
|
|
37176
37323
|
metadata:
|
|
37177
37324
|
type: object
|
|
37178
37325
|
additionalProperties: true
|
|
37326
|
+
TranslationTerm:
|
|
37327
|
+
type: object
|
|
37328
|
+
properties:
|
|
37329
|
+
source:
|
|
37330
|
+
type: string
|
|
37331
|
+
keep:
|
|
37332
|
+
type: boolean
|
|
37333
|
+
translations:
|
|
37334
|
+
type: object
|
|
37335
|
+
additionalProperties:
|
|
37336
|
+
type: string
|
|
37337
|
+
note:
|
|
37338
|
+
type: string
|
|
37339
|
+
required:
|
|
37340
|
+
- source
|
|
37341
|
+
TranslationRules:
|
|
37342
|
+
type: object
|
|
37343
|
+
properties:
|
|
37344
|
+
guidance:
|
|
37345
|
+
type: string
|
|
37346
|
+
languages:
|
|
37347
|
+
type: object
|
|
37348
|
+
additionalProperties:
|
|
37349
|
+
type: object
|
|
37350
|
+
additionalProperties: true
|
|
37351
|
+
terms:
|
|
37352
|
+
type: array
|
|
37353
|
+
items:
|
|
37354
|
+
$ref: "#/components/schemas/TranslationTerm"
|
|
37355
|
+
version:
|
|
37356
|
+
type: string
|
|
37357
|
+
updatedAt:
|
|
37358
|
+
type: string
|
|
37359
|
+
limits:
|
|
37360
|
+
type: object
|
|
37361
|
+
additionalProperties: true
|
|
37362
|
+
required:
|
|
37363
|
+
- guidance
|
|
37364
|
+
- languages
|
|
37365
|
+
- terms
|
|
37179
37366
|
TranslationLookupMode:
|
|
37180
37367
|
type: string
|
|
37181
37368
|
enum:
|