@at-pocket/js-sdk 0.0.2 → 0.0.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@at-pocket/js-sdk",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "TypeScript definitions for the atPocket JS SDK",
5
5
  "keywords": [
6
6
  "typescript",
package/src/lib/app.d.ts CHANGED
@@ -46,6 +46,16 @@ export interface AppInterface {
46
46
  */
47
47
  getQueryCondition(): Record<string, any>;
48
48
 
49
+ /**
50
+ * アプリ上部の要素を取得
51
+ */
52
+ getTopSpaceElement(): HTMLElement | null;
53
+
54
+ /**
55
+ * アプリ下部の要素を取得
56
+ */
57
+ getBottomSpaceElement(): HTMLElement | null;
58
+
49
59
  /**
50
60
  * レコード
51
61
  */
@@ -1,5 +1,10 @@
1
1
  export interface PluginInterface {
2
2
  app: {
3
+ /**
4
+ * プラグインIDを取得
5
+ */
6
+ getPluginId(): string | null;
7
+
3
8
  /**
4
9
  * プラグイン設定取得
5
10
  *
@@ -92,16 +92,4 @@ export interface RecordInterface {
92
92
  * @param fieldId フィールドのID
93
93
  */
94
94
  isFieldDisabled(fieldId: string): boolean;
95
-
96
- /**
97
- * レコード一覧上部の要素を取得
98
- * @returns HTMLElement | null
99
- */
100
- getRecordHeaderSpaceElement(): HTMLElement | null;
101
-
102
- /**
103
- * レコードの一覧下部の要素を取得
104
- * @returns HTMLElement | null
105
- */
106
- getRecordFooterSpaceElement(): HTMLElement | null;
107
95
  }