corebasic 1.0.243 → 1.0.244
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/libs/dip.ts +12 -0
- package/package.json +1 -1
package/libs/dip.ts
CHANGED
|
@@ -117,6 +117,18 @@ export const idip = async (meta: Elabase.DipMeta, txn: string, callback: (idip:
|
|
|
117
117
|
await doCleanup(IDip)
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
+
declare global {
|
|
121
|
+
type DefaultSchema = {
|
|
122
|
+
created: number
|
|
123
|
+
updated: number
|
|
124
|
+
createdBy: string
|
|
125
|
+
updatedBy: string
|
|
126
|
+
createdByUser: string
|
|
127
|
+
updatedByUser: string
|
|
128
|
+
company: string
|
|
129
|
+
outlet: string
|
|
130
|
+
}
|
|
131
|
+
}
|
|
120
132
|
|
|
121
133
|
export const insertKeys = (message: DipMessage, meta: Elabase.DipMeta) => {
|
|
122
134
|
if (!isDipMeta(meta)) throw new Error('Error: Provided meta is not an instance of DipMeta in Dip.insertKeys()')
|