@types/meteor-publish-composite v0.0.43
Installation
npm install --save @types/meteor-publish-composite
Summary
This package contains type definitions for meteor-publish-composite (https://github.com/englue/meteor-publish-composite).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/meteor-publish-composite.
index.d.ts
// Type definitions for meteor-publish-composite
// Project: https://github.com/englue/meteor-publish-composite
// Definitions by: Robert Van Gorkom <https://github.com/vangorra>
// Matthew Zartman <https://github.com/mrz5018>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Minimum TypeScript Version: 3.7
/// <reference types="meteor" />
declare interface PublishCompositeConfigN {
collectionName?: string | undefined;
children?: PublishCompositeConfigN[] | undefined;
find(
...args: any[]
): Mongo.Cursor<any>;
}
declare interface PublishCompositeConfig4<InLevel1, InLevel2, InLevel3, InLevel4, OutLevel> {
collectionName?: string | undefined;
children?: PublishCompositeConfigN[] | undefined;
find(
arg4: InLevel4,
arg3: InLevel3,
arg2: InLevel2,
arg1: InLevel1
): Mongo.Cursor<OutLevel>;
}
declare interface PublishCompositeConfig3<InLevel1, InLevel2, InLevel3, OutLevel> {
collectionName?: string | undefined;
children?: PublishCompositeConfig4<InLevel1, InLevel2, InLevel3, OutLevel, any>[] | undefined;
find(
arg3: InLevel3,
arg2: InLevel2,
arg1: InLevel1
): Mongo.Cursor<OutLevel>;
}
declare interface PublishCompositeConfig2<InLevel1, InLevel2, OutLevel> {
collectionName?: string | undefined;
children?: PublishCompositeConfig3<InLevel1, InLevel2, OutLevel, any>[] | undefined;
find(
arg2: InLevel2,
arg1: InLevel1
): Mongo.Cursor<OutLevel>;
}
declare interface PublishCompositeConfig1<InLevel1, OutLevel> {
collectionName?: string | undefined;
children?: PublishCompositeConfig2<InLevel1, OutLevel, any>[] | undefined;
find(
arg1: InLevel1
): Mongo.Cursor<OutLevel>;
}
declare interface PublishCompositeConfig<OutLevel> {
collectionName?: string | undefined;
children?: PublishCompositeConfig1<OutLevel, any>[] | undefined;
find(): Mongo.Cursor<OutLevel>;
}
declare module "meteor/reywood:publish-composite" {
function publishComposite(
name: string,
config: PublishCompositeConfig<any> | PublishCompositeConfig<any>[]
): void;
function publishComposite(
name: string,
configFunc: (...args: any[]) =>
PublishCompositeConfig<any> | PublishCompositeConfig<any>[]
): void;
}Additional Details
- Last updated: Thu, 08 Jul 2021 18:50:46 GMT
- Dependencies: @types/meteor
- Global values: none
Credits
These definitions were written by Robert Van Gorkom, and Matthew Zartman.
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
4 years ago
5 years ago
6 years ago
8 years ago
8 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago