rotion 0.4.0 → 0.4.1
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/exporter/types.d.ts +1 -3
- package/dist/ui/cjs/index.css +1 -1
- package/dist/ui/cjs/index.js +1 -1
- package/dist/ui/cjs/index.js.map +1 -1
- package/dist/ui/cjs/types/exporter/types.d.ts +1 -3
- package/dist/ui/cjs/types/ui/components/Table/TableFormulaField/TableFormulaField.d.ts +5 -0
- package/dist/ui/cjs/types/ui/components/Table/TableFormulaField/TableFormulaField.types.d.ts +3 -0
- package/dist/ui/cjs/types/ui/components/Table/TableFormulaField/index.d.ts +2 -0
- package/dist/ui/cjs/types/ui/components/index.d.ts +1 -0
- package/dist/ui/esm/index.css +1 -1
- package/dist/ui/esm/index.js +1 -1
- package/dist/ui/esm/index.js.map +1 -1
- package/dist/ui/esm/types/exporter/types.d.ts +1 -3
- package/dist/ui/esm/types/ui/components/Table/TableFormulaField/TableFormulaField.d.ts +5 -0
- package/dist/ui/esm/types/ui/components/Table/TableFormulaField/TableFormulaField.types.d.ts +3 -0
- package/dist/ui/esm/types/ui/components/Table/TableFormulaField/index.d.ts +2 -0
- package/dist/ui/esm/types/ui/components/index.d.ts +1 -0
- package/dist/ui/style-without-dark.css +1 -1
- package/dist/ui/types.d.ts +7 -1
- package/dist/ui/umd/index.css +1 -1
- package/dist/ui/umd/index.js +1 -1
- package/dist/ui/umd/index.js.map +1 -1
- package/dist/ui/umd/types/exporter/types.d.ts +1 -3
- package/dist/ui/umd/types/ui/components/Table/TableFormulaField/TableFormulaField.d.ts +5 -0
- package/dist/ui/umd/types/ui/components/Table/TableFormulaField/TableFormulaField.types.d.ts +3 -0
- package/dist/ui/umd/types/ui/components/Table/TableFormulaField/index.d.ts +2 -0
- package/dist/ui/umd/types/ui/components/index.d.ts +1 -0
- package/package.json +2 -1
|
@@ -582,9 +582,7 @@ export type NumberDatabasePropertyConfigResponse = {
|
|
|
582
582
|
};
|
|
583
583
|
export type FormulaDatabasePropertyConfigResponse = {
|
|
584
584
|
type: "formula";
|
|
585
|
-
formula:
|
|
586
|
-
expression: string;
|
|
587
|
-
};
|
|
585
|
+
formula: NumberDatabasePropertyConfigResponse;
|
|
588
586
|
id: string;
|
|
589
587
|
};
|
|
590
588
|
export type SelectDatabasePropertyConfigResponse = {
|
|
@@ -25,6 +25,7 @@ export * from './Table/TableRichTextField';
|
|
|
25
25
|
export * from './Table/TableSelectField';
|
|
26
26
|
export * from './Table/TableTitleField';
|
|
27
27
|
export * from './Table/TableUrlField';
|
|
28
|
+
export * from './Table/TableFormulaField';
|
|
28
29
|
export * from './Page';
|
|
29
30
|
export * from './Page/BookmarkBlock';
|
|
30
31
|
export * from './Page/BreadcrumbBlock';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rotion",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": "linyows/rotion",
|
|
6
6
|
"description": "This is react components that uses the notion API to display the notion's database and page.",
|
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
"ui:typecheck": "tsc -p src/ui/tsconfig.typecheck.json",
|
|
51
51
|
"ui:lint": "eslint ./src/ui/components --ext .js,.jsx,.ts,.tsx -c ./src/ui/.eslintrc.json",
|
|
52
52
|
"ui:test": "uvu -r tsm ./src/ui/components",
|
|
53
|
+
"ui:fixtures": "jq '.' website/.cache/notion.databases.query-* | sed 's/?.*\",/\",/g' > src/ui/fixtures/fetch_database_response.json",
|
|
53
54
|
"story": "storybook dev -p 6006 --ci",
|
|
54
55
|
"build-story": "storybook build",
|
|
55
56
|
"prepublishOnly": "npm install && npm run test && npm run build"
|