prismicio / prismic-types

Type definitions for Prismic content, models, and APIs
https://prismic.io/docs/technologies/javascript
Apache License 2.0
11 stars 4 forks source link

fix(fields): api can yield an empty string for keytext field in certain cases #26

Closed lihbr closed 2 years ago

lihbr commented 2 years ago

…in cases

Types of changes

Description

See: https://200629-sms-hoy.cdn.prismic.io/api/v2/documents/search?ref=Yg94MRIAAC0AUH0E&q=%5B%5Bat(document.type%2C+%22kitchen_sink%22)%5D%5D

Checklist:

codecov-commenter commented 2 years ago

Codecov Report

Merging #26 (3ffb789) into master (60e0283) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #26   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            4         4           
  Lines           15        17    +2     
=========================================
+ Hits            15        17    +2     
Impacted Files Coverage Δ
src/fields.ts 100.00% <ø> (ø)
src/index.ts 100.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 60e0283...3ffb789. Read the comment docs.