@teambit/schema 0.0.527 → 0.0.531
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/schema.graphql.d.ts +14 -0
- package/dist/schema.graphql.js +53 -0
- package/dist/schema.graphql.js.map +1 -0
- package/dist/schema.main.runtime.d.ts +2 -1
- package/dist/schema.main.runtime.js +23 -4
- package/dist/schema.main.runtime.js.map +1 -1
- package/package-tar/teambit-schema-0.0.531.tgz +0 -0
- package/package.json +6 -4
- package/schema.graphql.ts +35 -0
- package/schema.main.runtime.ts +5 -3
- package/package-tar/teambit-schema-0.0.527.tgz +0 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ComponentFactory } from '@teambit/component';
|
|
2
|
+
import { SchemaMain } from './schema.main.runtime';
|
|
3
|
+
export declare function schemaSchema(schema: SchemaMain): {
|
|
4
|
+
typeDefs: import("graphql").DocumentNode;
|
|
5
|
+
resolvers: {
|
|
6
|
+
ComponentHost: {
|
|
7
|
+
getSchema: (host: ComponentFactory, { id }: {
|
|
8
|
+
id: string;
|
|
9
|
+
}) => Promise<{
|
|
10
|
+
exports: never[];
|
|
11
|
+
}>;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
require("core-js/modules/es.promise.js");
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "__esModule", {
|
|
8
|
+
value: true
|
|
9
|
+
});
|
|
10
|
+
exports.schemaSchema = schemaSchema;
|
|
11
|
+
|
|
12
|
+
function _graphqlTag() {
|
|
13
|
+
const data = _interopRequireDefault(require("graphql-tag"));
|
|
14
|
+
|
|
15
|
+
_graphqlTag = function () {
|
|
16
|
+
return data;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
return data;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
function schemaSchema(schema) {
|
|
23
|
+
return {
|
|
24
|
+
typeDefs: (0, _graphqlTag().default)`
|
|
25
|
+
extend type ComponentHost {
|
|
26
|
+
getSchema(id: String!): SchemaDocs
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
type SchemaDocs {
|
|
30
|
+
exports: [String]
|
|
31
|
+
}
|
|
32
|
+
`,
|
|
33
|
+
resolvers: {
|
|
34
|
+
ComponentHost: {
|
|
35
|
+
getSchema: async (host, {
|
|
36
|
+
id
|
|
37
|
+
}) => {
|
|
38
|
+
const componentId = await host.resolveComponentId(id);
|
|
39
|
+
const component = await host.get(componentId);
|
|
40
|
+
const empty = {
|
|
41
|
+
exports: []
|
|
42
|
+
};
|
|
43
|
+
if (!component) return empty;
|
|
44
|
+
const docs = await schema.getSchema(component);
|
|
45
|
+
if (!docs) return empty;
|
|
46
|
+
return docs;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
//# sourceMappingURL=schema.graphql.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["schema.graphql.ts"],"names":["schemaSchema","schema","typeDefs","resolvers","ComponentHost","getSchema","host","id","componentId","resolveComponentId","component","get","empty","exports","docs"],"mappings":";;;;;;;;;;;AACA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAIO,SAASA,YAAT,CAAsBC,MAAtB,EAA0C;AAC/C,SAAO;AACLC,IAAAA,QAAQ,EAAE,0BAAI;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KATS;AAULC,IAAAA,SAAS,EAAE;AACTC,MAAAA,aAAa,EAAE;AACbC,QAAAA,SAAS,EAAE,OAAOC,IAAP,EAA+B;AAAEC,UAAAA;AAAF,SAA/B,KAA0D;AACnE,gBAAMC,WAAW,GAAG,MAAMF,IAAI,CAACG,kBAAL,CAAwBF,EAAxB,CAA1B;AACA,gBAAMG,SAAS,GAAG,MAAMJ,IAAI,CAACK,GAAL,CAASH,WAAT,CAAxB;AACA,gBAAMI,KAAK,GAAG;AACZC,YAAAA,OAAO,EAAE;AADG,WAAd;AAIA,cAAI,CAACH,SAAL,EAAgB,OAAOE,KAAP;AAChB,gBAAME,IAAI,GAAG,MAAMb,MAAM,CAACI,SAAP,CAAiBK,SAAjB,CAAnB;AACA,cAAI,CAACI,IAAL,EAAW,OAAOF,KAAP;AAEX,iBAAOE,IAAP;AACD;AAbY;AADN;AAVN,GAAP;AA4BD","sourcesContent":["import { ComponentFactory } from '@teambit/component';\nimport gql from 'graphql-tag';\n\nimport { SchemaMain } from './schema.main.runtime';\n\nexport function schemaSchema(schema: SchemaMain) {\n return {\n typeDefs: gql`\n extend type ComponentHost {\n getSchema(id: String!): SchemaDocs\n }\n\n type SchemaDocs {\n exports: [String]\n }\n `,\n resolvers: {\n ComponentHost: {\n getSchema: async (host: ComponentFactory, { id }: { id: string }) => {\n const componentId = await host.resolveComponentId(id);\n const component = await host.get(componentId);\n const empty = {\n exports: [],\n };\n\n if (!component) return empty;\n const docs = await schema.getSchema(component);\n if (!docs) return empty;\n\n return docs;\n },\n },\n },\n };\n}\n"]}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Component } from '@teambit/component';
|
|
2
2
|
import { SlotRegistry } from '@teambit/harmony';
|
|
3
|
+
import { GraphqlMain } from '@teambit/graphql';
|
|
3
4
|
import { EnvsMain } from '@teambit/envs';
|
|
4
5
|
import { Parser } from './parser';
|
|
5
6
|
import { Module } from './schemas';
|
|
@@ -23,5 +24,5 @@ export declare class SchemaMain {
|
|
|
23
24
|
defaultParser: string;
|
|
24
25
|
};
|
|
25
26
|
static slots: ((registerFn: () => string) => SlotRegistry<Parser>)[];
|
|
26
|
-
static provider([envs]: [EnvsMain], config: SchemaConfig, [parserSlot]: [ParserSlot]): Promise<SchemaMain>;
|
|
27
|
+
static provider([envs, graphql]: [EnvsMain, GraphqlMain], config: SchemaConfig, [parserSlot]: [ParserSlot]): Promise<SchemaMain>;
|
|
27
28
|
}
|
|
@@ -43,6 +43,16 @@ function _harmony() {
|
|
|
43
43
|
return data;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
+
function _graphql() {
|
|
47
|
+
const data = _interopRequireDefault(require("@teambit/graphql"));
|
|
48
|
+
|
|
49
|
+
_graphql = function () {
|
|
50
|
+
return data;
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
return data;
|
|
54
|
+
}
|
|
55
|
+
|
|
46
56
|
function _envs() {
|
|
47
57
|
const data = require("@teambit/envs");
|
|
48
58
|
|
|
@@ -63,7 +73,15 @@ function _schema() {
|
|
|
63
73
|
return data;
|
|
64
74
|
}
|
|
65
75
|
|
|
66
|
-
|
|
76
|
+
function _schema2() {
|
|
77
|
+
const data = require("./schema.graphql");
|
|
78
|
+
|
|
79
|
+
_schema2 = function () {
|
|
80
|
+
return data;
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
return data;
|
|
84
|
+
}
|
|
67
85
|
|
|
68
86
|
/**
|
|
69
87
|
* extension for extracting component schemas.
|
|
@@ -134,8 +152,9 @@ class SchemaMain {
|
|
|
134
152
|
return this;
|
|
135
153
|
}
|
|
136
154
|
|
|
137
|
-
static async provider([envs], config, [parserSlot]) {
|
|
138
|
-
const schema = new SchemaMain(parserSlot, envs, config);
|
|
155
|
+
static async provider([envs, graphql], config, [parserSlot]) {
|
|
156
|
+
const schema = new SchemaMain(parserSlot, envs, config);
|
|
157
|
+
graphql.register((0, _schema2().schemaSchema)(schema)); // workspace.onComponentLoad(async (component) => {
|
|
139
158
|
// const apiSchema = await schema.getSchema(component);
|
|
140
159
|
// return {};
|
|
141
160
|
// });
|
|
@@ -147,7 +166,7 @@ class SchemaMain {
|
|
|
147
166
|
|
|
148
167
|
exports.SchemaMain = SchemaMain;
|
|
149
168
|
(0, _defineProperty2().default)(SchemaMain, "runtime", _cli().MainRuntime);
|
|
150
|
-
(0, _defineProperty2().default)(SchemaMain, "dependencies", [_envs().EnvsAspect]);
|
|
169
|
+
(0, _defineProperty2().default)(SchemaMain, "dependencies", [_envs().EnvsAspect, _graphql().default]);
|
|
151
170
|
(0, _defineProperty2().default)(SchemaMain, "defaultConfig", {
|
|
152
171
|
defaultParser: 'teambit.typescript/typescript'
|
|
153
172
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["schema.main.runtime.ts"],"names":["SchemaMain","constructor","parserSlot","envs","config","getDefaultParser","get","defaultParser","parseModule","path","parsers","toArray","maybeParser","find","parser","match","extension","getSchema","component","env","getEnv","getSchemaExtractor","Error","name","schemaExtractor","extract","exports","registerParser","register","provider","schema","MainRuntime","EnvsAspect","Slot","withType","SchemaAspect","addRuntime"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;AAEA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;;
|
|
1
|
+
{"version":3,"sources":["schema.main.runtime.ts"],"names":["SchemaMain","constructor","parserSlot","envs","config","getDefaultParser","get","defaultParser","parseModule","path","parsers","toArray","maybeParser","find","parser","match","extension","getSchema","component","env","getEnv","getSchemaExtractor","Error","name","schemaExtractor","extract","exports","registerParser","register","provider","graphql","schema","MainRuntime","EnvsAspect","GraphqlAspect","Slot","withType","SchemaAspect","addRuntime"],"mappings":"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","sourcesContent":["import { MainRuntime } from '@teambit/cli';\nimport { Component } from '@teambit/component';\nimport { Slot, SlotRegistry } from '@teambit/harmony';\nimport GraphqlAspect, { GraphqlMain } from '@teambit/graphql';\nimport { EnvsAspect, EnvsMain } from '@teambit/envs';\nimport { Parser } from './parser';\nimport { SchemaAspect } from './schema.aspect';\nimport { Module } from './schemas';\nimport { SemanticSchema } from './semantic-schema';\nimport { SchemaExtractor } from './schema-extractor';\nimport { schemaSchema } from './schema.graphql';\n\nexport type ParserSlot = SlotRegistry<Parser>;\n\nexport type SchemaConfig = {\n /**\n * default parser\n */\n defaultParser: string;\n};\n\n/**\n * extension for extracting component schemas.\n */\nexport class SchemaMain {\n constructor(\n /**\n * parsers slot.\n */\n private parserSlot: ParserSlot,\n\n private envs: EnvsMain,\n\n private config: SchemaConfig\n ) {}\n\n /**\n * get the default parser.\n */\n getDefaultParser(): Parser {\n return this.parserSlot.get(this.config.defaultParser) as Parser;\n }\n\n /**\n * parse a module into a component schema.\n */\n parseModule(path: string): Module {\n const parsers = this.parserSlot.toArray();\n let maybeParser = parsers.find(([, parser]) => {\n const match = path.match(parser.extension);\n return match;\n });\n\n if (!maybeParser) {\n maybeParser = [this.config.defaultParser, this.getDefaultParser()];\n }\n\n const [, parser] = maybeParser;\n return parser.parseModule(path);\n }\n\n /**\n * get a schema of a component.\n * @param component target component.\n */\n async getSchema(component: Component): Promise<SemanticSchema> {\n const env = this.envs.getEnv(component).env;\n if (typeof env.getSchemaExtractor === 'undefined') {\n throw new Error(`No SchemaExtractor defined for ${env.name}`);\n }\n const schemaExtractor: SchemaExtractor = env.getSchemaExtractor();\n await schemaExtractor.extract(component);\n\n return {\n exports: [],\n };\n }\n\n /**\n * register a new parser.\n */\n registerParser(parser: Parser): SchemaMain {\n this.parserSlot.register(parser);\n return this;\n }\n\n static runtime = MainRuntime;\n\n static dependencies = [EnvsAspect, GraphqlAspect];\n\n static defaultConfig = {\n defaultParser: 'teambit.typescript/typescript',\n };\n\n static slots = [Slot.withType<Parser>()];\n\n static async provider([envs, graphql]: [EnvsMain, GraphqlMain], config: SchemaConfig, [parserSlot]: [ParserSlot]) {\n const schema = new SchemaMain(parserSlot, envs, config);\n graphql.register(schemaSchema(schema));\n // workspace.onComponentLoad(async (component) => {\n // const apiSchema = await schema.getSchema(component);\n // return {};\n // });\n\n return schema;\n }\n}\n\nSchemaAspect.addRuntime(SchemaMain);\n"]}
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/schema",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.531",
|
|
4
4
|
"homepage": "https://bit.dev/teambit/semantics/schema",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.semantics",
|
|
8
8
|
"name": "schema",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.531"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@teambit/harmony": "0.2.11",
|
|
13
|
+
"graphql-tag": "2.12.1",
|
|
13
14
|
"@babel/runtime": "7.12.18",
|
|
14
15
|
"core-js": "^3.0.0",
|
|
15
|
-
"@teambit/component": "0.0.
|
|
16
|
+
"@teambit/component": "0.0.531",
|
|
16
17
|
"@teambit/cli": "0.0.380",
|
|
17
|
-
"@teambit/envs": "0.0.
|
|
18
|
+
"@teambit/envs": "0.0.531",
|
|
19
|
+
"@teambit/graphql": "0.0.531"
|
|
18
20
|
},
|
|
19
21
|
"devDependencies": {
|
|
20
22
|
"@types/mocha": "5.2.7",
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ComponentFactory } from '@teambit/component';
|
|
2
|
+
import gql from 'graphql-tag';
|
|
3
|
+
|
|
4
|
+
import { SchemaMain } from './schema.main.runtime';
|
|
5
|
+
|
|
6
|
+
export function schemaSchema(schema: SchemaMain) {
|
|
7
|
+
return {
|
|
8
|
+
typeDefs: gql`
|
|
9
|
+
extend type ComponentHost {
|
|
10
|
+
getSchema(id: String!): SchemaDocs
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
type SchemaDocs {
|
|
14
|
+
exports: [String]
|
|
15
|
+
}
|
|
16
|
+
`,
|
|
17
|
+
resolvers: {
|
|
18
|
+
ComponentHost: {
|
|
19
|
+
getSchema: async (host: ComponentFactory, { id }: { id: string }) => {
|
|
20
|
+
const componentId = await host.resolveComponentId(id);
|
|
21
|
+
const component = await host.get(componentId);
|
|
22
|
+
const empty = {
|
|
23
|
+
exports: [],
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
if (!component) return empty;
|
|
27
|
+
const docs = await schema.getSchema(component);
|
|
28
|
+
if (!docs) return empty;
|
|
29
|
+
|
|
30
|
+
return docs;
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
}
|
package/schema.main.runtime.ts
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { MainRuntime } from '@teambit/cli';
|
|
2
2
|
import { Component } from '@teambit/component';
|
|
3
3
|
import { Slot, SlotRegistry } from '@teambit/harmony';
|
|
4
|
-
|
|
4
|
+
import GraphqlAspect, { GraphqlMain } from '@teambit/graphql';
|
|
5
5
|
import { EnvsAspect, EnvsMain } from '@teambit/envs';
|
|
6
6
|
import { Parser } from './parser';
|
|
7
7
|
import { SchemaAspect } from './schema.aspect';
|
|
8
8
|
import { Module } from './schemas';
|
|
9
9
|
import { SemanticSchema } from './semantic-schema';
|
|
10
10
|
import { SchemaExtractor } from './schema-extractor';
|
|
11
|
+
import { schemaSchema } from './schema.graphql';
|
|
11
12
|
|
|
12
13
|
export type ParserSlot = SlotRegistry<Parser>;
|
|
13
14
|
|
|
@@ -85,7 +86,7 @@ export class SchemaMain {
|
|
|
85
86
|
|
|
86
87
|
static runtime = MainRuntime;
|
|
87
88
|
|
|
88
|
-
static dependencies = [EnvsAspect];
|
|
89
|
+
static dependencies = [EnvsAspect, GraphqlAspect];
|
|
89
90
|
|
|
90
91
|
static defaultConfig = {
|
|
91
92
|
defaultParser: 'teambit.typescript/typescript',
|
|
@@ -93,8 +94,9 @@ export class SchemaMain {
|
|
|
93
94
|
|
|
94
95
|
static slots = [Slot.withType<Parser>()];
|
|
95
96
|
|
|
96
|
-
static async provider([envs]: [EnvsMain], config: SchemaConfig, [parserSlot]: [ParserSlot]) {
|
|
97
|
+
static async provider([envs, graphql]: [EnvsMain, GraphqlMain], config: SchemaConfig, [parserSlot]: [ParserSlot]) {
|
|
97
98
|
const schema = new SchemaMain(parserSlot, envs, config);
|
|
99
|
+
graphql.register(schemaSchema(schema));
|
|
98
100
|
// workspace.onComponentLoad(async (component) => {
|
|
99
101
|
// const apiSchema = await schema.getSchema(component);
|
|
100
102
|
// return {};
|
|
Binary file
|