-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
2,441 additions
and
856 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
## API Report File for "@contember/interface" | ||
|
||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). | ||
```ts | ||
|
||
import { ContemberClientProps } from '@contember/react-client'; | ||
import { EntityAccessor } from '@contember/react-binding'; | ||
import { Environment } from '@contember/react-binding'; | ||
import { ErrorPersistResult } from '@contember/react-binding'; | ||
import { JSX as JSX_2 } from 'react/jsx-runtime'; | ||
import { NamedExoticComponent } from 'react'; | ||
import { ReactElement } from 'react'; | ||
import { ReactNode } from 'react'; | ||
import { RouteMap } from '@contember/react-routing'; | ||
import { RoutingLinkTarget } from '@contember/react-routing'; | ||
import { SuccessfulPersistResult } from '@contember/react-binding'; | ||
import { SugaredRelativeSingleField } from '@contember/react-binding'; | ||
|
||
// @public (undocumented) | ||
export const ApplicationEntrypoint: (props: ApplicationEntrypointProps) => JSX_2.Element; | ||
|
||
// @public (undocumented) | ||
export interface ApplicationEntrypointProps extends ContemberClientProps { | ||
// (undocumented) | ||
basePath: string; | ||
// (undocumented) | ||
children: ReactNode; | ||
// (undocumented) | ||
environment?: Environment; | ||
// (undocumented) | ||
routes?: RouteMap; | ||
// (undocumented) | ||
sessionToken?: string; | ||
} | ||
|
||
// @public (undocumented) | ||
export const ClearFieldTrigger: NamedExoticComponent<ClearFieldTriggerProps>; | ||
|
||
// @public (undocumented) | ||
export interface ClearFieldTriggerProps { | ||
// (undocumented) | ||
children: ReactNode; | ||
// (undocumented) | ||
field: SugaredRelativeSingleField['field']; | ||
} | ||
|
||
// @public (undocumented) | ||
export const DeleteEntityTrigger: ({ immediatePersist, onPersistError, onPersistSuccess, ...props }: DeleteEntityTriggerProps) => JSX_2.Element; | ||
|
||
// @public (undocumented) | ||
export interface DeleteEntityTriggerProps { | ||
// (undocumented) | ||
children: ReactNode; | ||
// (undocumented) | ||
immediatePersist?: true; | ||
// (undocumented) | ||
onPersistError?: (result: ErrorPersistResult) => void; | ||
// (undocumented) | ||
onPersistSuccess?: (result: SuccessfulPersistResult) => void; | ||
} | ||
|
||
// @public (undocumented) | ||
export const EntityBeforePersist: ({ listener }: { | ||
listener: EntityAccessor.EntityEventListenerMap['beforePersist']; | ||
}) => null; | ||
|
||
// @public (undocumented) | ||
export const PersistTrigger: ({ onPersistError, onPersistSuccess, ...props }: PersistTriggerProps) => JSX_2.Element; | ||
|
||
// @public (undocumented) | ||
export interface PersistTriggerProps { | ||
// (undocumented) | ||
children: ReactElement; | ||
// (undocumented) | ||
onPersistError?: (result: ErrorPersistResult) => void; | ||
// (undocumented) | ||
onPersistSuccess?: (result: SuccessfulPersistResult) => void; | ||
} | ||
|
||
// @public (undocumented) | ||
export const RedirectOnPersist: ({ to }: { | ||
to: RoutingLinkTarget; | ||
}) => null; | ||
|
||
// @public (undocumented) | ||
export const runReactApp: (reactElement: ReactElement, { domRoot }?: { | ||
domRoot?: HTMLElement | undefined; | ||
}) => void; | ||
|
||
|
||
export * from "@contember/react-binding"; | ||
export * from "@contember/react-identity"; | ||
export * from "@contember/react-routing"; | ||
|
||
// (No @packageDocumentation comment for this package) | ||
|
||
``` |
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
Oops, something went wrong.