Skip to content

Commit

Permalink
fix: fix sortable fields
Browse files Browse the repository at this point in the history
  • Loading branch information
pviti committed Apr 4, 2024
1 parent d9e8682 commit 493a40b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
1 change: 1 addition & 0 deletions gen/resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"attributes": {
"fields": {
"status": {
"sortable": true,
"filterable": true
}
},
Expand Down
15 changes: 9 additions & 6 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,17 @@ export { CommerceLayerProvisioningStatic } from './static'
// Query filter types
export type { QueryParamsRetrieve, QueryParamsList, QueryParams } from './query'

// Resource model types
export type * from './model'

// Resource API types
export type * from './api'

// Raw response reader and request/response interceptors
export type { RequestObj, ResponseObj, ErrorObj, HeadersObj } from './interceptor'

// Error types
export type { SdkError, ApiError, ErrorType } from './error'

// Resource types
export type * from './resource'

// Resource model types
export type * from './model'

// Resource API types
export type * from './api'
2 changes: 1 addition & 1 deletion src/resource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import config from './config'
import type { Nullable } from './types'
import { CommerceLayerProvisioningStatic } from './static'
import { isResourceId } from './common'
import { ErrorType, SdkError } from './error'


import Debug from './debug'
import { ErrorType, SdkError } from './error'
const debug = Debug('resource')


Expand Down
1 change: 1 addition & 0 deletions test/spot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import clProvisioning from '../src'
import { inspect } from 'util'
import getToken from './token'
// import { } from '../lib/index'


(async () => {
Expand Down

0 comments on commit 493a40b

Please sign in to comment.