@refrakt-md/learning 0.7.0 → 0.7.2
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/howto.d.ts +1 -13
- package/dist/schema/howto.d.ts.map +1 -1
- package/dist/schema/howto.js.map +1 -1
- package/dist/schema/recipe.d.ts +1 -25
- package/dist/schema/recipe.d.ts.map +1 -1
- package/dist/schema/recipe.js.map +1 -1
- package/dist/types.d.ts +5 -5
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/package.json +4 -4
package/dist/schema/howto.d.ts
CHANGED
|
@@ -1,18 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PageSection } from "@refrakt-md/types";
|
|
2
2
|
export declare class HowTo extends PageSection {
|
|
3
3
|
estimatedTime: string;
|
|
4
4
|
difficulty: string;
|
|
5
5
|
}
|
|
6
|
-
export interface HowToProperties extends PageSectionProperties {
|
|
7
|
-
estimatedTime: 'meta';
|
|
8
|
-
difficulty: 'meta';
|
|
9
|
-
}
|
|
10
|
-
export interface HowToComponent extends ComponentType<HowTo> {
|
|
11
|
-
tag: 'article';
|
|
12
|
-
properties: HowToProperties;
|
|
13
|
-
refs: {
|
|
14
|
-
tools: 'ul';
|
|
15
|
-
steps: 'ol';
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
6
|
//# sourceMappingURL=howto.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"howto.d.ts","sourceRoot":"","sources":["../../src/schema/howto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"howto.d.ts","sourceRoot":"","sources":["../../src/schema/howto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,qBAAa,KAAM,SAAQ,WAAW;IACrC,aAAa,EAAE,MAAM,CAAM;IAC3B,UAAU,EAAE,MAAM,CAAM;CACxB"}
|
package/dist/schema/howto.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"howto.js","sourceRoot":"","sources":["../../src/schema/howto.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"howto.js","sourceRoot":"","sources":["../../src/schema/howto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,OAAO,KAAM,SAAQ,WAAW;IAAtC;;QACC,kBAAa,GAAW,EAAE,CAAC;QAC3B,eAAU,GAAW,EAAE,CAAC;IACzB,CAAC;CAAA"}
|
package/dist/schema/recipe.d.ts
CHANGED
|
@@ -1,37 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PageSection } from "@refrakt-md/types";
|
|
2
2
|
export declare class RecipeIngredient {
|
|
3
3
|
amount: string;
|
|
4
4
|
unit: string;
|
|
5
5
|
name: string;
|
|
6
6
|
}
|
|
7
|
-
export interface RecipeIngredientComponent extends ComponentType<RecipeIngredient> {
|
|
8
|
-
tag: 'li';
|
|
9
|
-
properties: {
|
|
10
|
-
amount: 'span';
|
|
11
|
-
unit: 'span';
|
|
12
|
-
name: 'span';
|
|
13
|
-
};
|
|
14
|
-
refs: {};
|
|
15
|
-
}
|
|
16
7
|
export declare class Recipe extends PageSection {
|
|
17
8
|
prepTime: string;
|
|
18
9
|
cookTime: string;
|
|
19
10
|
servings: number | undefined;
|
|
20
11
|
difficulty: string;
|
|
21
12
|
}
|
|
22
|
-
export interface RecipeProperties extends PageSectionProperties {
|
|
23
|
-
prepTime: 'meta';
|
|
24
|
-
cookTime: 'meta';
|
|
25
|
-
servings: 'meta';
|
|
26
|
-
difficulty: 'meta';
|
|
27
|
-
}
|
|
28
|
-
export interface RecipeComponent extends ComponentType<Recipe> {
|
|
29
|
-
tag: 'article';
|
|
30
|
-
properties: RecipeProperties;
|
|
31
|
-
refs: {
|
|
32
|
-
ingredients: 'ul';
|
|
33
|
-
steps: 'ol';
|
|
34
|
-
tips: 'div';
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
13
|
//# sourceMappingURL=recipe.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recipe.d.ts","sourceRoot":"","sources":["../../src/schema/recipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"recipe.d.ts","sourceRoot":"","sources":["../../src/schema/recipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,qBAAa,gBAAgB;IAC5B,MAAM,EAAE,MAAM,CAAM;IACpB,IAAI,EAAE,MAAM,CAAM;IAClB,IAAI,EAAE,MAAM,CAAM;CAClB;AAED,qBAAa,MAAO,SAAQ,WAAW;IACtC,QAAQ,EAAE,MAAM,CAAM;IACtB,QAAQ,EAAE,MAAM,CAAM;IACtB,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAa;IACzC,UAAU,EAAE,MAAM,CAAY;CAC9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recipe.js","sourceRoot":"","sources":["../../src/schema/recipe.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"recipe.js","sourceRoot":"","sources":["../../src/schema/recipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,OAAO,gBAAgB;IAA7B;QACC,WAAM,GAAW,EAAE,CAAC;QACpB,SAAI,GAAW,EAAE,CAAC;QAClB,SAAI,GAAW,EAAE,CAAC;IACnB,CAAC;CAAA;AAED,MAAM,OAAO,MAAO,SAAQ,WAAW;IAAvC;;QACC,aAAQ,GAAW,EAAE,CAAC;QACtB,aAAQ,GAAW,EAAE,CAAC;QACtB,aAAQ,GAAuB,SAAS,CAAC;QACzC,eAAU,GAAW,QAAQ,CAAC;IAC/B,CAAC;CAAA"}
|
package/dist/types.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Recipe, RecipeIngredient } from './schema/recipe.js';
|
|
2
|
+
import { HowTo } from './schema/howto.js';
|
|
3
3
|
export declare const schema: {
|
|
4
|
-
Recipe: import("@refrakt-md/types").Type<
|
|
5
|
-
RecipeIngredient: import("@refrakt-md/types").Type<
|
|
6
|
-
HowTo: import("@refrakt-md/types").Type<
|
|
4
|
+
Recipe: import("@refrakt-md/types").Type<Recipe>;
|
|
5
|
+
RecipeIngredient: import("@refrakt-md/types").Type<RecipeIngredient>;
|
|
6
|
+
HowTo: import("@refrakt-md/types").Type<HowTo>;
|
|
7
7
|
};
|
|
8
8
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,MAAM,EAAE,gBAAgB,EAAC,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAC,KAAK,EAAC,MAAM,mBAAmB,CAAC;AAExC,eAAO,MAAM,MAAM;;;;CAIlB,CAAC"}
|
package/dist/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAC,MAAM,EAAE,gBAAgB,EAAC,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAC,KAAK,EAAC,MAAM,mBAAmB,CAAC;AAExC,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,MAAM,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC;IAC9C,gBAAgB,EAAE,SAAS,CAAC,gBAAgB,CAAC,CAAC,UAAU,CAAC,kBAAkB,CAAC;IAC5E,KAAK,EAAE,SAAS,CAAC,KAAK,CAAC,CAAC,UAAU,CAAC,OAAO,CAAC;CAC5C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@refrakt-md/learning",
|
|
3
3
|
"description": "Learning runes for refrakt.md — how-to guides and recipes",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"build": "tsc"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@refrakt-md/types": "0.7.
|
|
25
|
-
"@refrakt-md/transform": "0.7.
|
|
26
|
-
"@refrakt-md/runes": "0.7.
|
|
24
|
+
"@refrakt-md/types": "0.7.2",
|
|
25
|
+
"@refrakt-md/transform": "0.7.2",
|
|
26
|
+
"@refrakt-md/runes": "0.7.2",
|
|
27
27
|
"@markdoc/markdoc": "0.4.0",
|
|
28
28
|
"reflect-metadata": "^0.2.0"
|
|
29
29
|
}
|