Commit 7e49ab89 authored by Jiwon Kwon's avatar Jiwon Kwon
Browse files

Remove comments

parent 7393a628
Loading
Loading
Loading
Loading
+0 −76
Original line number Diff line number Diff line
@@ -479,82 +479,6 @@ export interface Federatable<TContextData> {
    sharedInboxPath?: string,
  ): InboxListenerSetters<TContextData>;

  // /**
  //  * Registers a collection of objects dispatcher.
  //  *
  //  * @template TContextData The context data to pass to the {@link Context}.
  //  * @template TObject The type of objects to dispatch.
  //  * @template TParam The parameter names of the requested URL.
  //  * @param name A unique name for the collection dispatcher.
  //  * @param itemType The Activity Vocabulary class of the object to dispatch.
  //  * @param path The URI path pattern for the collection dispatcher.
  //  *             The syntax is based on URI Template
  //  *             ([RFC 6570](https://tools.ietf.org/html/rfc6570)).
  //  *             The path must have one or more variables.
  //  * @param dispatcher A collection dispatcher callback to register.
  //  */
  // setCollectionDispatcher<TObject extends Object, TParam extends string>(
  //   name: string | symbol,
  //   // deno-lint-ignore no-explicit-any
  //   itemType: (new (...args: any[]) => TObject) & { typeId: URL },
  //   path: `${string}${Rfc6570Expression<TParam>}${string}${Rfc6570Expression<
  //     TParam
  //   >}${string}${Rfc6570Expression<TParam>}${string}${Rfc6570Expression<
  //     TParam
  //   >}${string}${Rfc6570Expression<
  //     TParam
  //   >}${string}`,
  //   dispatcher: CustomCollectionDispatcher<
  //     TObject,
  //     TParam,
  //     RequestContext<TContextData>,
  //     TContextData
  //   >,
  // ): CustomCollectionCallbackSetters<
  //   TParam,
  //   RequestContext<TContextData>,
  //   TContextData
  // >;

  // /**
  //  * Registers a collection of objects dispatcher.
  //  *
  //  * @template TContextData The context data to pass to the {@link Context}.
  //  * @template TObject The type of objects to dispatch.
  //  * @template TParam The parameter names of the requested URL.
  //  * @param name A unique name for the collection dispatcher.
  //  * @param itemType The Activity Vocabulary class of the object to dispatch.
  //  * @param path The URI path pattern for the collection dispatcher.
  //  *             The syntax is based on URI Template
  //  *             ([RFC 6570](https://tools.ietf.org/html/rfc6570)).
  //  *             The path must have one or more variables.
  //  * @param dispatcher A collection dispatcher callback to register.
  //  */
  // setCollectionDispatcher<TObject extends Object, TParam extends string>(
  //   name: string | symbol,
  //   // deno-lint-ignore no-explicit-any
  //   itemType: (new (...args: any[]) => TObject) & { typeId: URL },
  //   path: `${string}${Rfc6570Expression<
  //     TParam
  //   >}${string}${Rfc6570Expression<
  //     TParam
  //   >}${string}${Rfc6570Expression<
  //     TParam
  //   >}${string}${Rfc6570Expression<
  //     TParam
  //   >}${string}`,
  //   dispatcher: CustomCollectionDispatcher<
  //     TObject,
  //     TParam,
  //     RequestContext<TContextData>,
  //     TContextData
  //   >,
  // ): CustomCollectionCallbackSetters<
  //   TParam,
  //   RequestContext<TContextData>,
  //   TContextData
  // >;

  /**
   * Registers a collection of objects dispatcher.
   *