Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 957 Bytes

File metadata and controls

33 lines (20 loc) · 957 Bytes

PathOrder

Ordering strategy for path traversal results. - LOGICAL: Use prev/next_sibling_path_part_id linked list order per depth level - NAME: Alphabetical by path_part.name (DEFAULT) - UPDATED_AT: By updated_at timestamp (most recent first) - CREATED_AT: By created_at timestamp (oldest first)

Properties

Name Type

Example

import type { PathOrder } from '@knowledge-stack/ksapi'

// TODO: Update the object below with actual values
const example = {
} satisfies PathOrder

console.log(example)

// Convert the instance to a JSON string
const exampleJSON: string = JSON.stringify(example)
console.log(exampleJSON)

// Parse the JSON string back to an object
const exampleParsed = JSON.parse(exampleJSON) as PathOrder
console.log(exampleParsed)

[Back to top] [Back to API list] [Back to Model list] [Back to README]