Skip to content

Commit 7e49ab8

Browse files
committed
Remove comments
1 parent 7393a62 commit 7e49ab8

1 file changed

Lines changed: 0 additions & 76 deletions

File tree

packages/fedify/src/federation/federation.ts

Lines changed: 0 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -479,82 +479,6 @@ export interface Federatable<TContextData> {
479479
sharedInboxPath?: string,
480480
): InboxListenerSetters<TContextData>;
481481

482-
// /**
483-
// * Registers a collection of objects dispatcher.
484-
// *
485-
// * @template TContextData The context data to pass to the {@link Context}.
486-
// * @template TObject The type of objects to dispatch.
487-
// * @template TParam The parameter names of the requested URL.
488-
// * @param name A unique name for the collection dispatcher.
489-
// * @param itemType The Activity Vocabulary class of the object to dispatch.
490-
// * @param path The URI path pattern for the collection dispatcher.
491-
// * The syntax is based on URI Template
492-
// * ([RFC 6570](https://tools.ietf.org/html/rfc6570)).
493-
// * The path must have one or more variables.
494-
// * @param dispatcher A collection dispatcher callback to register.
495-
// */
496-
// setCollectionDispatcher<TObject extends Object, TParam extends string>(
497-
// name: string | symbol,
498-
// // deno-lint-ignore no-explicit-any
499-
// itemType: (new (...args: any[]) => TObject) & { typeId: URL },
500-
// path: `${string}${Rfc6570Expression<TParam>}${string}${Rfc6570Expression<
501-
// TParam
502-
// >}${string}${Rfc6570Expression<TParam>}${string}${Rfc6570Expression<
503-
// TParam
504-
// >}${string}${Rfc6570Expression<
505-
// TParam
506-
// >}${string}`,
507-
// dispatcher: CustomCollectionDispatcher<
508-
// TObject,
509-
// TParam,
510-
// RequestContext<TContextData>,
511-
// TContextData
512-
// >,
513-
// ): CustomCollectionCallbackSetters<
514-
// TParam,
515-
// RequestContext<TContextData>,
516-
// TContextData
517-
// >;
518-
519-
// /**
520-
// * Registers a collection of objects dispatcher.
521-
// *
522-
// * @template TContextData The context data to pass to the {@link Context}.
523-
// * @template TObject The type of objects to dispatch.
524-
// * @template TParam The parameter names of the requested URL.
525-
// * @param name A unique name for the collection dispatcher.
526-
// * @param itemType The Activity Vocabulary class of the object to dispatch.
527-
// * @param path The URI path pattern for the collection dispatcher.
528-
// * The syntax is based on URI Template
529-
// * ([RFC 6570](https://tools.ietf.org/html/rfc6570)).
530-
// * The path must have one or more variables.
531-
// * @param dispatcher A collection dispatcher callback to register.
532-
// */
533-
// setCollectionDispatcher<TObject extends Object, TParam extends string>(
534-
// name: string | symbol,
535-
// // deno-lint-ignore no-explicit-any
536-
// itemType: (new (...args: any[]) => TObject) & { typeId: URL },
537-
// path: `${string}${Rfc6570Expression<
538-
// TParam
539-
// >}${string}${Rfc6570Expression<
540-
// TParam
541-
// >}${string}${Rfc6570Expression<
542-
// TParam
543-
// >}${string}${Rfc6570Expression<
544-
// TParam
545-
// >}${string}`,
546-
// dispatcher: CustomCollectionDispatcher<
547-
// TObject,
548-
// TParam,
549-
// RequestContext<TContextData>,
550-
// TContextData
551-
// >,
552-
// ): CustomCollectionCallbackSetters<
553-
// TParam,
554-
// RequestContext<TContextData>,
555-
// TContextData
556-
// >;
557-
558482
/**
559483
* Registers a collection of objects dispatcher.
560484
*

0 commit comments

Comments
 (0)