Skip to content

Commit

Permalink
Automation: Main Next Integrate
Browse files Browse the repository at this point in the history
  • Loading branch information
sonalivdeshpande authored Aug 22, 2022
2 parents f4b118a + 27f2c7a commit 271f3d1
Show file tree
Hide file tree
Showing 135 changed files with 1,471 additions and 2,376 deletions.
22 changes: 11 additions & 11 deletions api-report/quorum.api.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## API Report File for "@fluid-internal/quorum"
## API Report File for "@fluid-experimental/quorum"

> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
Expand All @@ -16,12 +16,12 @@ import { ISummaryTreeWithStats } from '@fluidframework/runtime-definitions';
import { SharedObject } from '@fluidframework/shared-object-base';

// @public
export interface IQuorum extends ISharedObject<IQuorumEvents> {
export interface IQuorum<T = unknown> extends ISharedObject<IQuorumEvents> {
delete(key: string): void;
get(key: string): any;
getPending(key: string): any;
has(key: string): boolean;
set(key: string, value: unknown): void;
get(key: string): T | undefined;
getPending(key: string): T | undefined;
isPending(key: string): boolean;
set(key: string, value: T | undefined): void;
}

// @public
Expand All @@ -30,18 +30,18 @@ export interface IQuorumEvents extends ISharedObjectEvents {
}

// @public
export class Quorum extends SharedObject<IQuorumEvents> implements IQuorum {
export class Quorum<T = unknown> extends SharedObject<IQuorumEvents> implements IQuorum<T> {
constructor(id: string, runtime: IFluidDataStoreRuntime, attributes: IChannelAttributes);
// (undocumented)
applyStashedOp(): void;
static create(runtime: IFluidDataStoreRuntime, id?: string): Quorum;
delete(key: string): void;
get(key: string): any;
get(key: string): T | undefined;
static getFactory(): IChannelFactory;
getPending(key: string): any;
has(key: string): boolean;
getPending(key: string): T | undefined;
// @internal (undocumented)
protected initializeLocalCore(): void;
isPending(key: string): boolean;
// @internal (undocumented)
protected loadCore(storage: IChannelStorageService): Promise<void>;
// @internal (undocumented)
Expand All @@ -50,7 +50,7 @@ export class Quorum extends SharedObject<IQuorumEvents> implements IQuorum {
protected processCore(message: ISequencedDocumentMessage, local: boolean, localOpMetadata: unknown): void;
// @internal (undocumented)
protected reSubmitCore(content: unknown, localOpMetadata: unknown): void;
set(key: string, value: unknown): void;
set(key: string, value: T | undefined): void;
// @internal
protected summarizeCore(serializer: IFluidSerializer): ISummaryTreeWithStats;
}
Expand Down
15 changes: 15 additions & 0 deletions api-report/tree.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,19 @@ export class AnchorSet {
// @public
export type Brand<ValueType, Name extends string> = ValueType & BrandedType<ValueType, Name>;

// @public
export function brand<T extends Brand<any, string>>(value: T extends BrandedType<infer ValueType, string> ? ValueType : never): T;

// @public
export abstract class BrandedType<ValueType, Name extends string> {
protected readonly _type_brand: Name;
// (undocumented)
protected _typeCheck?: Invariant<ValueType>;
}

// @public
export function brandOpaque<T extends BrandedType<any, string>>(value: isAny<ValueFromBranded<T>> extends true ? never : ValueFromBranded<T>): BrandedType<ValueFromBranded<T>, NameFromBranded<T>>;

// @public (undocumented)
export function buildForest(schema: StoredSchemaRepository): IEditableForest;

Expand Down Expand Up @@ -96,6 +102,9 @@ export interface Covariant<T> {
// @public
export function cursorToJsonObject(reader: ITreeCursor): unknown;

// @public
export const defaultSchemaPolicy: FullSchemaPolicy;

// @public
interface Delete {
// (undocumented)
Expand Down Expand Up @@ -555,6 +564,9 @@ export interface NamedComputation {
// @public (undocumented)
export type NamedTreeSchema = TreeSchema & Named<TreeSchemaIdentifier>;

// @public
export type NameFromBranded<T extends BrandedType<any, string>> = T extends BrandedType<any, infer Name> ? Name : never;

// @public
export const neverTree: TreeSchema;

Expand Down Expand Up @@ -810,6 +822,9 @@ class ValueEncoder<T extends JsonCompatibleReadOnly> extends ChangeEncoder<T> {
encodeForJson(formatVersion: number, change: T): JsonCompatibleReadOnly;
}

// @public
export type ValueFromBranded<T extends BrandedType<any, string>> = T extends BrandedType<infer ValueType, string> ? ValueType : never;

// @public
export enum ValueSchema {
// (undocumented)
Expand Down
2 changes: 1 addition & 1 deletion azure/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"@microsoft/api-extractor": "^7.22.2",
"c8": "^7.7.1",
"concurrently": "^6.2.0",
"copyfiles": "^2.1.0",
"copyfiles": "^2.4.1",
"lerna": "^4.0.0",
"rimraf": "^2.6.2",
"run-script-os": "^1.1.6",
Expand Down
2 changes: 1 addition & 1 deletion azure/packages/azure-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"@rushstack/eslint-config": "^2.5.1",
"@types/mocha": "^9.1.1",
"concurrently": "^6.2.0",
"copyfiles": "^2.1.0",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.2",
"eslint": "~8.6.0",
"eslint-config-prettier": "~8.5.0",
Expand Down
2 changes: 1 addition & 1 deletion azure/packages/azure-service-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@rushstack/eslint-config": "^2.5.1",
"@types/jsrsasign": "^8.0.8",
"concurrently": "^6.2.0",
"copyfiles": "^2.1.0",
"copyfiles": "^2.4.1",
"eslint": "~8.6.0",
"eslint-config-prettier": "~8.5.0",
"prettier": "~2.6.2",
Expand Down
2 changes: 1 addition & 1 deletion build-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
"@microsoft/api-extractor": "^7.22.2",
"c8": "^7.7.1",
"concurrently": "^6.2.0",
"copyfiles": "^2.1.0",
"copyfiles": "^2.4.1",
"lerna": "^4.0.0",
"rimraf": "^2.6.2",
"run-script-os": "^1.1.6",
Expand Down
2 changes: 1 addition & 1 deletion build-tools/packages/version-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"@types/node": "^14.18.0",
"chai": "^4.2.0",
"concurrently": "^6.2.0",
"copyfiles": "^2.1.0",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.2",
"eslint": "~8.6.0",
"eslint-config-oclif": "^4",
Expand Down
Loading

0 comments on commit 271f3d1

Please sign in to comment.