@graffiti-garden/wrapper-vue
    Preparing search index...

    Variable GraffitiDiscoverConst

    GraffitiDiscover: <Schema extends JSONSchema>(
        __VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"],
        __VLS_ctx?: {
            attrs: any;
            emit: {};
            slots: Readonly<
                {
                    default?(
                        props: {
                            isFirstPoll: boolean;
                            objects: GraffitiObject[];
                            poll: () => Promise<void>;
                        },
                    ): any;
                },
            > & {
                default?(
                    props: {
                        isFirstPoll: boolean;
                        objects: GraffitiObject[];
                        poll: () => Promise<void>;
                    },
                ): any;
            };
        },
        __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"],
        __VLS_setup?: Promise<
            {
                attrs: any;
                emit: {};
                props: {
                    autopoll?: boolean;
                    channels: string[];
                    schema: Schema;
                    session?: GraffitiSession
                    | null;
                } & PublicProps;
                slots: Readonly<
                    {
                        default?(
                            props: {
                                isFirstPoll: boolean;
                                objects: GraffitiObject[];
                                poll: () => Promise<void>;
                            },
                        ): any;
                    },
                > & {
                    default?(
                        props: {
                            isFirstPoll: boolean;
                            objects: GraffitiObject[];
                            poll: () => Promise<void>;
                        },
                    ): any;
                };
                expose(exposed: ShallowUnwrapRef<{}>): void;
            },
        >,
    ) => VNode & { __ctx?: Awaited<typeof __VLS_setup> }

    The Graffiti.discover method as a reactive renderless component for use in Vue templates.

    Its props and slots props are identical to the arguments and return values of the composable useGraffitiDiscover. If no template is provided to the default slot, fallback content will display the objects using GraffitiObjectInfo for debugging.

    Type Declaration

      • <Schema extends JSONSchema>(
            __VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"],
            __VLS_ctx?: {
                attrs: any;
                emit: {};
                slots: Readonly<
                    {
                        default?(
                            props: {
                                isFirstPoll: boolean;
                                objects: GraffitiObject[];
                                poll: () => Promise<void>;
                            },
                        ): any;
                    },
                > & {
                    default?(
                        props: {
                            isFirstPoll: boolean;
                            objects: GraffitiObject[];
                            poll: () => Promise<void>;
                        },
                    ): any;
                };
            },
            __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"],
            __VLS_setup?: Promise<
                {
                    attrs: any;
                    emit: {};
                    props: {
                        autopoll?: boolean;
                        channels: string[];
                        schema: Schema;
                        session?: GraffitiSession
                        | null;
                    } & PublicProps;
                    slots: Readonly<
                        {
                            default?(
                                props: {
                                    isFirstPoll: boolean;
                                    objects: GraffitiObject[];
                                    poll: () => Promise<void>;
                                },
                            ): any;
                        },
                    > & {
                        default?(
                            props: {
                                isFirstPoll: boolean;
                                objects: GraffitiObject[];
                                poll: () => Promise<void>;
                            },
                        ): any;
                    };
                    expose(exposed: ShallowUnwrapRef<{}>): void;
                },
            >,
        ): VNode & { __ctx?: Awaited<typeof __VLS_setup> }
      • Type Parameters

        • Schema extends JSONSchema

        Parameters

        • __VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"]
        • Optional__VLS_ctx: {
              attrs: any;
              emit: {};
              slots: Readonly<
                  {
                      default?(
                          props: {
                              isFirstPoll: boolean;
                              objects: GraffitiObject[];
                              poll: () => Promise<void>;
                          },
                      ): any;
                  },
              > & {
                  default?(
                      props: {
                          isFirstPoll: boolean;
                          objects: GraffitiObject[];
                          poll: () => Promise<void>;
                      },
                  ): any;
              };
          }
        • Optional__VLS_expose: NonNullable<Awaited<typeof __VLS_setup>>["expose"]
        • Optional__VLS_setup: Promise<
              {
                  attrs: any;
                  emit: {};
                  props: {
                      autopoll?: boolean;
                      channels: string[];
                      schema: Schema;
                      session?: GraffitiSession
                      | null;
                  } & PublicProps;
                  slots: Readonly<
                      {
                          default?(
                              props: {
                                  isFirstPoll: boolean;
                                  objects: GraffitiObject[];
                                  poll: () => Promise<void>;
                              },
                          ): any;
                      },
                  > & {
                      default?(
                          props: {
                              isFirstPoll: boolean;
                              objects: GraffitiObject[];
                              poll: () => Promise<void>;
                          },
                      ): any;
                  };
                  expose(exposed: ShallowUnwrapRef<{}>): void;
              },
          >

        Returns VNode & { __ctx?: Awaited<typeof __VLS_setup> }