-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Interfaces for subscribe * Update for reference updates * Update * changeset
- Loading branch information
1 parent
2da8c42
commit 1c59d93
Showing
8 changed files
with
176 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@osdk/client": patch | ||
--- | ||
|
||
Allows interfaces to be used with subscribe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
packages/e2e.generated.catchall/src/generatedNoCheck/ontology/interfaces.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
export { FooInterface } from './interfaces/FooInterface.js'; | ||
export { InterfaceNoProps } from './interfaces/InterfaceNoProps.js'; | ||
export { OsdkTestInterface } from './interfaces/OsdkTestInterface.js'; |
63 changes: 63 additions & 0 deletions
63
...ages/e2e.generated.catchall/src/generatedNoCheck/ontology/interfaces/OsdkTestInterface.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
import type { PropertyDef as $PropertyDef } from '@osdk/client'; | ||
import { $osdkMetadata } from '../../OntologyMetadata.js'; | ||
|
||
import type { | ||
InterfaceDefinition as $InterfaceDefinition, | ||
ObjectSet as $ObjectSet, | ||
Osdk as $Osdk, | ||
PropertyValueWireToClient as $PropType, | ||
} from '@osdk/client'; | ||
|
||
export type OsdkObjectLinks$OsdkTestInterface = {}; | ||
|
||
export namespace OsdkTestInterface { | ||
export type PropertyKeys = 'objectDescription'; | ||
|
||
export interface Props { | ||
readonly objectDescription: $PropType['string'] | undefined; | ||
} | ||
export type StrictProps = Props; | ||
|
||
export interface ObjectSet extends $ObjectSet<OsdkTestInterface, OsdkTestInterface.ObjectSet> {} | ||
|
||
export type OsdkInstance< | ||
OPTIONS extends never | '$rid' = never, | ||
K extends keyof OsdkTestInterface.Props = keyof OsdkTestInterface.Props, | ||
> = $Osdk.Instance<OsdkTestInterface, OPTIONS, K>; | ||
|
||
/** @deprecated use OsdkInstance */ | ||
export type OsdkObject< | ||
OPTIONS extends never | '$rid' = never, | ||
K extends keyof OsdkTestInterface.Props = keyof OsdkTestInterface.Props, | ||
> = OsdkInstance<OPTIONS, K>; | ||
} | ||
|
||
export interface OsdkTestInterface extends $InterfaceDefinition { | ||
osdkMetadata: typeof $osdkMetadata; | ||
type: 'interface'; | ||
apiName: 'OsdkTestInterface'; | ||
__DefinitionMetadata?: { | ||
objectSet: OsdkTestInterface.ObjectSet; | ||
props: OsdkTestInterface.Props; | ||
linksType: OsdkObjectLinks$OsdkTestInterface; | ||
strictProps: OsdkTestInterface.StrictProps; | ||
apiName: 'OsdkTestInterface'; | ||
description: 'OsdkTestInterface'; | ||
displayName: 'OsdkTestInterface'; | ||
links: {}; | ||
properties: { | ||
/** | ||
* (no ontology metadata) | ||
*/ | ||
objectDescription: $PropertyDef<'string', 'nullable', 'single'>; | ||
}; | ||
rid: 'ri.ontology.main.interface.06c534fd-4f68-44d9-b268-72729a47eaab'; | ||
type: 'interface'; | ||
}; | ||
} | ||
|
||
export const OsdkTestInterface: OsdkTestInterface = { | ||
type: 'interface', | ||
apiName: 'OsdkTestInterface', | ||
osdkMetadata: $osdkMetadata, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters