0.0.43 • Published 3 months ago
@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.
0.0.43
3 months ago
0.0.40
7 months ago
0.0.41
6 months ago
0.0.42
6 months ago
0.0.39
8 months ago
0.0.38
2 years ago
0.0.37
3 years ago
0.0.36
4 years ago
0.0.35
6 years ago
0.0.34
6 years ago
0.0.33
7 years ago
0.0.32
8 years ago
0.0.31
8 years ago
0.0.30
8 years ago
0.0.29
8 years ago
0.0.28
8 years ago
0.0.27-alpha
8 years ago
0.0.25-alpha
8 years ago
0.0.24-alpha
8 years ago
0.0.23-alpha
8 years ago
0.0.22-alpha
8 years ago
0.0.21-alpha
8 years ago
0.0.20-alpha
8 years ago
0.0.15-alpha
8 years ago
0.0.14-alpha
8 years ago