@malevich-studio/strapi-sdk-typescript 1.2.1 → 1.2.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/cli.cjs +12 -0
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.mjs +12 -0
- package/dist/cli.mjs.map +1 -1
- package/dist/generator/attributes/time.d.ts +11 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -20511,6 +20511,17 @@ class Dynamiczone extends BaseRelation {
|
|
|
20511
20511
|
}
|
|
20512
20512
|
}
|
|
20513
20513
|
|
|
20514
|
+
class Time extends Base {
|
|
20515
|
+
constructor(name, attribute) {
|
|
20516
|
+
super(name, attribute);
|
|
20517
|
+
this.name = name;
|
|
20518
|
+
this.attribute = attribute;
|
|
20519
|
+
}
|
|
20520
|
+
getType() {
|
|
20521
|
+
return 'string';
|
|
20522
|
+
}
|
|
20523
|
+
}
|
|
20524
|
+
|
|
20514
20525
|
const types = {
|
|
20515
20526
|
'string': String$1,
|
|
20516
20527
|
'text': String$1,
|
|
@@ -20526,6 +20537,7 @@ const types = {
|
|
|
20526
20537
|
'enumeration': Enumeration,
|
|
20527
20538
|
'date': Date$1,
|
|
20528
20539
|
'datetime': DateTime,
|
|
20540
|
+
'time': Time,
|
|
20529
20541
|
'component': Component,
|
|
20530
20542
|
'dynamiczone': Dynamiczone,
|
|
20531
20543
|
'blocks': Blocks,
|