Membrane React - v0.6.0
    Preparing search index...

    Function useAppEventType

    • Parameters

      • selector: undefined | string

      Returns {
          appEventType:
              | undefined
              | {
                  id: string;
                  key?: string;
                  uuid?: string;
                  description?: string;
                  meta?: Record<string, any>;
                  name: string;
                  state?: CONFIGURATION_ERROR | SETUP_FAILED | READY;
                  errors?: ErrorDataSchema[];
                  createdAt?: string;
                  updatedAt?: string;
                  isDeactivated?: boolean;
                  revision: string;
                  archivedAt?: string;
                  subscribeRequest?: {
                      method?: GET | POST | PATCH | PUT | DELETE;
                      uri: any;
                      headers?: Record<string, any>;
                      query?: Record<string, any>;
                      body?: any;
                  };
                  example?: any;
                  schema?: DataSchema;
                  globalWebhookUri: string;
                  userIdFormula?: any;
              };
          accessor: undefined
          | AppEventTypeAccessor;
          loading: boolean;
          saving: boolean;
          error: any;
          refresh: () => Promise<
              {
                  id: string;
                  key?: string;
                  uuid?: string;
                  description?: string;
                  meta?: Record<string, any>;
                  name: string;
                  state?: CONFIGURATION_ERROR | SETUP_FAILED | READY;
                  errors?: ErrorDataSchema[];
                  createdAt?: string;
                  updatedAt?: string;
                  isDeactivated?: boolean;
                  revision: string;
                  archivedAt?: string;
                  subscribeRequest?: {
                      method?: GET | POST | PATCH | PUT | DELETE;
                      uri: any;
                      headers?: Record<string, any>;
                      query?: Record<string, any>;
                      body?: any;
                  };
                  example?: any;
                  schema?: DataSchema;
                  globalWebhookUri: string;
                  userIdFormula?: any;
              },
          >;
          refreshing: boolean;
          create: (
              data: CreateAppEventTypeRequest,
          ) => Promise<
              | undefined
              | {
                  id: string;
                  key?: string;
                  uuid?: string;
                  description?: string;
                  meta?: Record<string, any>;
                  name: string;
                  state?: CONFIGURATION_ERROR | SETUP_FAILED | READY;
                  errors?: ErrorDataSchema[];
                  createdAt?: string;
                  updatedAt?: string;
                  isDeactivated?: boolean;
                  revision: string;
                  archivedAt?: string;
                  subscribeRequest?: {
                      method?: GET | POST | PATCH | PUT | DELETE;
                      uri: any;
                      headers?: Record<string, any>;
                      query?: Record<string, any>;
                      body?: any;
                  };
                  example?: any;
                  schema?: DataSchema;
                  globalWebhookUri: string;
                  userIdFormula?: any;
              },
          >;
          patch: (data: Partial<UpdateRequest>) => Promise<void>;
          put: (data: UpdateAppEventTypeRequest) => Promise<void>;
          archive: () => Promise<void>;
      }