File tree Expand file tree Collapse file tree 5 files changed +18
-15
lines changed Expand file tree Collapse file tree 5 files changed +18
-15
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @contentstack/delivery-sdk" ,
3- "version" : " 4.6.1 " ,
3+ "version" : " 4.7.0 " ,
44 "type" : " module" ,
55 "license" : " MIT" ,
66 "main" : " ./dist/legacy/index.cjs" ,
3434 },
3535 "dependencies" : {
3636 "@contentstack/core" : " ^1.2.0" ,
37- "@contentstack/utils" : " ^1.3.19" ,
3837 "axios" : " ^1.8.4" ,
3938 "humps" : " ^2.0.1"
4039 },
6362 "ts-node" : " ^10.9.2" ,
6463 "tsup" : " ^8.4.0" ,
6564 "webpack-cli" : " ^5.1.4"
66- }
65+ },
66+ "homepage" : " https://github.com/contentstack/contentstack-typescript"
6767}
Original file line number Diff line number Diff line change 11import * as contentstack from './lib/contentstack' ;
22export * from './lib/types' ;
3+ export type { Stack } from './lib/stack' ;
4+ export type { ContentType } from './lib/content-type' ;
5+ export type { Entry } from './lib/entry' ;
6+ export type { Asset } from './lib/asset' ;
7+ export type { Query } from './lib/query' ;
8+ export type { GlobalField } from './lib/global-field' ;
9+ export type { GlobalFieldQuery } from './lib/global-field-query' ;
10+ export type { ImageTransform } from './lib/image-transform' ;
11+ export type { AssetQuery } from './lib/asset-query' ;
12+ export type { TaxonomyQuery } from './lib/taxonomy-query' ;
13+ export type { ContentTypeQuery } from './lib/contenttype-query' ;
314
415export default contentstack ;
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import { handleRequest } from './cache';
44import { Stack as StackClass } from './stack' ;
55import { Policy , StackConfig } from './types' ;
66import * as Utility from './utils' ;
7- export * as Utils from '@contentstack/utils' ;
87
98let version = '{{VERSION}}' ;
109
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export class EntryQueryable extends BaseQuery {
1515 * @param {string } fieldUid - field uid to select
1616 * @returns {EntryQueryable } - returns EntryQueryable object for chaining method calls
1717 */
18- only ( fieldUid : string | string [ ] ) : EntryQueryable {
18+ only ( fieldUid : string | string [ ] ) : this {
1919 if ( Array . isArray ( fieldUid ) ) {
2020 let i = 0 ;
2121 for ( const uid of fieldUid ) {
@@ -41,7 +41,7 @@ export class EntryQueryable extends BaseQuery {
4141 * @param {string } fieldUid - field uid to exclude
4242 * @returns {EntryQueryable } - returns EntryQueryable object for chaining method calls
4343 */
44- except ( fieldUid : string | string [ ] ) : EntryQueryable {
44+ except ( fieldUid : string | string [ ] ) : this {
4545 if ( Array . isArray ( fieldUid ) ) {
4646 let i = 0 ;
4747 for ( const uid of fieldUid ) {
You can’t perform that action at this time.
0 commit comments