Feat: API Playground (#10376)
/claim #10283 --------- Co-authored-by: Félix Malfait <felix@twenty.com> Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
This commit is contained in:
@ -0,0 +1,6 @@
|
||||
import { createState } from 'twenty-ui';
|
||||
|
||||
export const openAPIReferenceState = createState<any>({
|
||||
key: 'OpenAPIReference',
|
||||
defaultValue: null,
|
||||
});
|
||||
@ -0,0 +1,8 @@
|
||||
import { atom } from 'recoil';
|
||||
import { localStorageEffect } from '~/utils/recoil-effects';
|
||||
|
||||
export const playgroundApiKeyState = atom<string | null>({
|
||||
key: 'playgroundApiKeyState',
|
||||
default: null,
|
||||
effects: [localStorageEffect()],
|
||||
});
|
||||
Reference in New Issue
Block a user