Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion libs/blocksprj/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"target": "es5",
"noImplicitAny": true,
"outDir": "built",
"rootDir": "."
"rootDir": ".",
"types": []
}
Comment thread
thomasjball marked this conversation as resolved.
}
30 changes: 0 additions & 30 deletions libs/core---nrf52/shims.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,35 +314,5 @@ declare interface SPI {
//% shim=SPIMethods::setMode
setMode(mode: int32): void;
}
declare namespace configStorage {

/**
* Puts an entry in the device storage. Key may have up to 16 characters (bytes).
* @param key the identifier (max 16 characters)
* @param value the data (max 32 characters)
*/
//% shim=configStorage::setBuffer
function setBuffer(key: string, value: Buffer): void;

/**
* Gets an entry from the device storage. Key may have up to 16 characters (bytes).
* @param key the identifier (max 16 characters)
*/
//% shim=configStorage::getBuffer
function getBuffer(key: string): Buffer;

/**
* Removes the key from local storage
* @param key the identifier (max 16 characters)
*/
//% shim=configStorage::removeItem
function removeItem(key: string): void;

/**
* Clears the local storage
*/
//% shim=configStorage::clear
function clear(): void;
}

// Auto-generated. Do not edit. Really.
2 changes: 2 additions & 0 deletions libs/core---rp2040/dal.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -762,6 +762,8 @@ declare const enum DAL {
CFG_PIN_WIFI_AT_TX = 91,
CFG_PIN_WIFI_AT_RX = 92,
CFG_PIN_USB_POWER = 93,
CFG_SETTINGS_SIZE_DEFL = 95,
CFG_SETTINGS_SIZE = 96,
ACCELEROMETER_TYPE_LIS3DH = 50,
ACCELEROMETER_TYPE_LIS3DH_ALT = 48,
ACCELEROMETER_TYPE_MMA8453 = 56,
Expand Down
30 changes: 0 additions & 30 deletions libs/core---rp2040/shims.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,35 +314,5 @@ declare interface SPI {
//% shim=SPIMethods::setMode
setMode(mode: int32): void;
}
declare namespace configStorage {

/**
* Puts an entry in the device storage. Key may have up to 16 characters (bytes).
* @param key the identifier (max 16 characters)
* @param value the data (max 32 characters)
*/
//% shim=configStorage::setBuffer
function setBuffer(key: string, value: Buffer): void;

/**
* Gets an entry from the device storage. Key may have up to 16 characters (bytes).
* @param key the identifier (max 16 characters)
*/
//% shim=configStorage::getBuffer
function getBuffer(key: string): Buffer;

/**
* Removes the key from local storage
* @param key the identifier (max 16 characters)
*/
//% shim=configStorage::removeItem
function removeItem(key: string): void;

/**
* Clears the local storage
*/
//% shim=configStorage::clear
function clear(): void;
}

// Auto-generated. Do not edit. Really.
2 changes: 2 additions & 0 deletions libs/core---samd/dal.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -678,6 +678,8 @@ declare const enum DAL {
CFG_PIN_WIFI_AT_TX = 91,
CFG_PIN_WIFI_AT_RX = 92,
CFG_PIN_USB_POWER = 93,
CFG_SETTINGS_SIZE_DEFL = 95,
CFG_SETTINGS_SIZE = 96,
ACCELEROMETER_TYPE_LIS3DH = 50,
ACCELEROMETER_TYPE_LIS3DH_ALT = 48,
ACCELEROMETER_TYPE_MMA8453 = 56,
Expand Down
30 changes: 0 additions & 30 deletions libs/core---samd/shims.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,35 +314,5 @@ declare interface SPI {
//% shim=SPIMethods::setMode
setMode(mode: int32): void;
}
declare namespace configStorage {

/**
* Puts an entry in the device storage. Key may have up to 16 characters (bytes).
* @param key the identifier (max 16 characters)
* @param value the data (max 32 characters)
*/
//% shim=configStorage::setBuffer
function setBuffer(key: string, value: Buffer): void;

/**
* Gets an entry from the device storage. Key may have up to 16 characters (bytes).
* @param key the identifier (max 16 characters)
*/
//% shim=configStorage::getBuffer
function getBuffer(key: string): Buffer;

/**
* Removes the key from local storage
* @param key the identifier (max 16 characters)
*/
//% shim=configStorage::removeItem
function removeItem(key: string): void;

/**
* Clears the local storage
*/
//% shim=configStorage::clear
function clear(): void;
}

// Auto-generated. Do not edit. Really.
30 changes: 0 additions & 30 deletions libs/core---samd51/shims.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,35 +314,5 @@ declare interface SPI {
//% shim=SPIMethods::setMode
setMode(mode: int32): void;
}
declare namespace configStorage {

/**
* Puts an entry in the device storage. Key may have up to 16 characters (bytes).
* @param key the identifier (max 16 characters)
* @param value the data (max 32 characters)
*/
//% shim=configStorage::setBuffer
function setBuffer(key: string, value: Buffer): void;

/**
* Gets an entry from the device storage. Key may have up to 16 characters (bytes).
* @param key the identifier (max 16 characters)
*/
//% shim=configStorage::getBuffer
function getBuffer(key: string): Buffer;

/**
* Removes the key from local storage
* @param key the identifier (max 16 characters)
*/
//% shim=configStorage::removeItem
function removeItem(key: string): void;

/**
* Clears the local storage
*/
//% shim=configStorage::clear
function clear(): void;
}

// Auto-generated. Do not edit. Really.
2 changes: 2 additions & 0 deletions libs/core---stm32/dal.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -759,6 +759,8 @@ declare const enum DAL {
CFG_PIN_WIFI_AT_TX = 91,
CFG_PIN_WIFI_AT_RX = 92,
CFG_PIN_USB_POWER = 93,
CFG_SETTINGS_SIZE_DEFL = 95,
CFG_SETTINGS_SIZE = 96,
ACCELEROMETER_TYPE_LIS3DH = 50,
ACCELEROMETER_TYPE_LIS3DH_ALT = 48,
ACCELEROMETER_TYPE_MMA8453 = 56,
Expand Down
30 changes: 0 additions & 30 deletions libs/core---stm32/shims.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,35 +314,5 @@ declare interface SPI {
//% shim=SPIMethods::setMode
setMode(mode: int32): void;
}
declare namespace configStorage {

/**
* Puts an entry in the device storage. Key may have up to 16 characters (bytes).
* @param key the identifier (max 16 characters)
* @param value the data (max 32 characters)
*/
//% shim=configStorage::setBuffer
function setBuffer(key: string, value: Buffer): void;

/**
* Gets an entry from the device storage. Key may have up to 16 characters (bytes).
* @param key the identifier (max 16 characters)
*/
//% shim=configStorage::getBuffer
function getBuffer(key: string): Buffer;

/**
* Removes the key from local storage
* @param key the identifier (max 16 characters)
*/
//% shim=configStorage::removeItem
function removeItem(key: string): void;

/**
* Clears the local storage
*/
//% shim=configStorage::clear
function clear(): void;
}

// Auto-generated. Do not edit. Really.
2 changes: 2 additions & 0 deletions libs/core/dal.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -678,6 +678,8 @@ declare const enum DAL {
CFG_PIN_WIFI_AT_TX = 91,
CFG_PIN_WIFI_AT_RX = 92,
CFG_PIN_USB_POWER = 93,
CFG_SETTINGS_SIZE_DEFL = 95,
CFG_SETTINGS_SIZE = 96,
ACCELEROMETER_TYPE_LIS3DH = 50,
ACCELEROMETER_TYPE_LIS3DH_ALT = 48,
ACCELEROMETER_TYPE_MMA8453 = 56,
Expand Down
30 changes: 0 additions & 30 deletions libs/core/shims.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,35 +314,5 @@ declare interface SPI {
//% shim=SPIMethods::setMode
setMode(mode: int32): void;
}
declare namespace configStorage {

/**
* Puts an entry in the device storage. Key may have up to 16 characters (bytes).
* @param key the identifier (max 16 characters)
* @param value the data (max 32 characters)
*/
//% shim=configStorage::setBuffer
function setBuffer(key: string, value: Buffer): void;

/**
* Gets an entry from the device storage. Key may have up to 16 characters (bytes).
* @param key the identifier (max 16 characters)
*/
//% shim=configStorage::getBuffer
function getBuffer(key: string): Buffer;

/**
* Removes the key from local storage
* @param key the identifier (max 16 characters)
*/
//% shim=configStorage::removeItem
function removeItem(key: string): void;

/**
* Clears the local storage
*/
//% shim=configStorage::clear
function clear(): void;
}

// Auto-generated. Do not edit. Really.
3 changes: 2 additions & 1 deletion libs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"outDir": "../built",
"rootDir": ".",
"newLine": "LF",
"sourceMap": false
"sourceMap": false,
"types": []
}
}
Loading
Loading