Skip to content

Commit

Permalink
feat: add different release channels
Browse files Browse the repository at this point in the history
  • Loading branch information
vsavkin committed Nov 26, 2018
1 parent 5026457 commit 21159d8
Show file tree
Hide file tree
Showing 23 changed files with 526 additions and 47 deletions.
25 changes: 25 additions & 0 deletions graphql.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"schema": {
"request": {
"url" : "http://localhost:4200/graphql",
"method" : "POST",
"postIntrospectionQuery" : true,
"options" : {
"headers": {
"user-agent" : "JS GraphQL"
}
}
}
},
"endpoints" : [
{
"name": "Default",
"url": "http://localhost:4200/graphql",
"options" : {
"headers": {
"user-agent" : "JS GraphQL"
}
}
}
]
}
16 changes: 11 additions & 5 deletions libs/feature-action-bar/src/lib/generated/graphql.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
/* tslint:disable */

// ====================================================
// START: Typescript template
// ====================================================

// ====================================================
// Enums
// ====================================================

export enum FileType {
file = 'file',
directory = 'directory',
angularDirectory = 'angularDirectory'
}

import { Injectable } from '@angular/core';

import * as Apollo from 'apollo-angular';

import gql from 'graphql-tag';
// ====================================================
// END: Typescript template
// ====================================================
43 changes: 43 additions & 0 deletions libs/feature-extensions/src/lib/generated/graphql.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,27 @@
/* tslint:disable */

// ====================================================
// START: Typescript template
// ====================================================

// ====================================================
// Enums
// ====================================================

export enum FileType {
file = 'file',
directory = 'directory',
angularDirectory = 'angularDirectory'
}

// ====================================================
// END: Typescript template
// ====================================================

// ====================================================
// Documents
// ====================================================

export namespace NgAdd {
export type Variables = {
path: string;
Expand All @@ -14,11 +30,13 @@ export namespace NgAdd {

export type Mutation = {
__typename?: 'Mutation';

ngAdd?: NgAdd | null;
};

export type NgAdd = {
__typename?: 'CommandStarted';

id: string;
};
}
Expand All @@ -31,24 +49,31 @@ export namespace WorkspaceAndExtensionsByName {

export type Query = {
__typename?: 'Query';

workspace: Workspace;

availableExtensions?: (AvailableExtensions | null)[] | null;
};

export type Workspace = {
__typename?: 'Workspace';

extensions?: (Extensions | null)[] | null;
};

export type Extensions = {
__typename?: 'Extension';

name: string;
};

export type AvailableExtensions = {
__typename?: 'Extension';

name: string;

description?: string | null;

detailedDescription?: string | null;
};
}
Expand All @@ -60,33 +85,47 @@ export namespace WorkspaceAndExtensions {

export type Query = {
__typename?: 'Query';

workspace: Workspace;

availableExtensions?: (AvailableExtensions | null)[] | null;
};

export type Workspace = {
__typename?: 'Workspace';

extensions?: (Extensions | null)[] | null;
};

export type Extensions = {
__typename?: 'Extension';

name: string;
};

export type AvailableExtensions = {
__typename?: 'Extension';

name: string;

description?: string | null;
};
}

// ====================================================
// START: Apollo Angular template
// ====================================================

import { Injectable } from '@angular/core';

import * as Apollo from 'apollo-angular';

import gql from 'graphql-tag';

// ====================================================
// Apollo Services
// ====================================================

@Injectable({
providedIn: 'root'
})
Expand Down Expand Up @@ -142,3 +181,7 @@ export class WorkspaceAndExtensionsGQL extends Apollo.Query<
}
`;
}

// ====================================================
// END: Apollo Angular template
// ====================================================
57 changes: 57 additions & 0 deletions libs/feature-generate/src/lib/generated/graphql.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,27 @@
/* tslint:disable */

// ====================================================
// START: Typescript template
// ====================================================

// ====================================================
// Enums
// ====================================================

export enum FileType {
file = 'file',
directory = 'directory',
angularDirectory = 'angularDirectory'
}

// ====================================================
// END: Typescript template
// ====================================================

// ====================================================
// Documents
// ====================================================

export namespace Generate {
export type Variables = {
path: string;
Expand All @@ -15,11 +31,13 @@ export namespace Generate {

export type Mutation = {
__typename?: 'Mutation';

generate?: Generate | null;
};

export type Generate = {
__typename?: 'CommandStarted';

id: string;
};
}
Expand All @@ -33,35 +51,49 @@ export namespace SchematicCollectionsByName {

export type Query = {
__typename?: 'Query';

workspace: Workspace;
};

export type Workspace = {
__typename?: 'Workspace';

schematicCollections?: (SchematicCollections | null)[] | null;
};

export type SchematicCollections = {
__typename?: 'SchematicCollection';

schematics?: (Schematics | null)[] | null;
};

export type Schematics = {
__typename?: 'Schematic';

collection: string;

name: string;

description?: string | null;

schema?: (Schema | null)[] | null;
};

export type Schema = {
__typename?: 'SchematicSchema';

name: string;

enum?: (string | null)[] | null;

type: string;

description?: string | null;

defaultValue?: string | null;

required: boolean;

positional: boolean;
};
}
Expand All @@ -75,23 +107,29 @@ export namespace SchematicDocs {

export type Query = {
__typename?: 'Query';

workspace: Workspace;
};

export type Workspace = {
__typename?: 'Workspace';

docs: Docs;
};

export type Docs = {
__typename?: 'Docs';

schematicDocs: SchematicDocs[];
};

export type SchematicDocs = {
__typename?: 'Doc';

id: string;

description?: string | null;

prop?: string | null;
};
}
Expand All @@ -103,34 +141,49 @@ export namespace SchematicCollections {

export type Query = {
__typename?: 'Query';

workspace: Workspace;
};

export type Workspace = {
__typename?: 'Workspace';

schematicCollections?: (SchematicCollections | null)[] | null;
};

export type SchematicCollections = {
__typename?: 'SchematicCollection';

name: string;

schematics?: (Schematics | null)[] | null;
};

export type Schematics = {
__typename?: 'Schematic';

name: string;

description?: string | null;

collection: string;
};
}

// ====================================================
// START: Apollo Angular template
// ====================================================

import { Injectable } from '@angular/core';

import * as Apollo from 'apollo-angular';

import gql from 'graphql-tag';

// ====================================================
// Apollo Services
// ====================================================

@Injectable({
providedIn: 'root'
})
Expand Down Expand Up @@ -231,3 +284,7 @@ export class SchematicCollectionsGQL extends Apollo.Query<
}
`;
}

// ====================================================
// END: Apollo Angular template
// ====================================================
Loading

0 comments on commit 21159d8

Please sign in to comment.