@lowdefy/operators-moment 4.5.1 → 4.6.0

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.
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright 2020-2024 Lowdefy, Inc
2
+ Copyright 2020-2026 Lowdefy, Inc
3
3
 
4
4
  Licensed under the Apache License, Version 2.0 (the "License");
5
5
  you may not use this file except in compliance with the License.
@@ -30,7 +30,8 @@ const meta = {
30
30
  validTypes: [
31
31
  'array',
32
32
  'object'
33
- ]
33
+ ],
34
+ dynamic: true
34
35
  },
35
36
  humanizeDuration: {
36
37
  namedArgs: [
@@ -42,7 +43,8 @@ const meta = {
42
43
  validTypes: [
43
44
  'array',
44
45
  'object'
45
- ]
46
+ ],
47
+ dynamic: true
46
48
  }
47
49
  };
48
50
  const functions = {
@@ -59,4 +61,6 @@ function _moment({ params, location, methodName }) {
59
61
  params
60
62
  });
61
63
  }
64
+ _moment.dynamic = false;
65
+ _moment.meta = meta;
62
66
  export default _moment;
@@ -0,0 +1,20 @@
1
+ /*
2
+ Copyright 2020-2026 Lowdefy, Inc
3
+
4
+ Licensed under the Apache License, Version 2.0 (the "License");
5
+ you may not use this file except in compliance with the License.
6
+ You may obtain a copy of the License at
7
+
8
+ http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ Unless required by applicable law or agreed to in writing, software
11
+ distributed under the License is distributed on an "AS IS" BASIS,
12
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ See the License for the specific language governing permissions and
14
+ limitations under the License.
15
+ */ export default {
16
+ type: 'object',
17
+ params: {
18
+ description: 'Moment method params. Accepts array positional args or object with named args (on, locale, format/withSuffix/thresholds).'
19
+ }
20
+ };
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright 2020-2024 Lowdefy, Inc
2
+ Copyright 2020-2026 Lowdefy, Inc
3
3
 
4
4
  Licensed under the Apache License, Version 2.0 (the "License");
5
5
  you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright 2020-2024 Lowdefy, Inc
2
+ Copyright 2020-2026 Lowdefy, Inc
3
3
 
4
4
  Licensed under the Apache License, Version 2.0 (the "License");
5
5
  you may not use this file except in compliance with the License.
@@ -0,0 +1,15 @@
1
+ /*
2
+ Copyright 2020-2026 Lowdefy, Inc
3
+
4
+ Licensed under the Apache License, Version 2.0 (the "License");
5
+ you may not use this file except in compliance with the License.
6
+ You may obtain a copy of the License at
7
+
8
+ http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ Unless required by applicable law or agreed to in writing, software
11
+ distributed under the License is distributed on an "AS IS" BASIS,
12
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ See the License for the specific language governing permissions and
14
+ limitations under the License.
15
+ */ export { default as _moment } from './operators/shared/moment.schema.js';
package/dist/types.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright 2020-2024 Lowdefy, Inc
2
+ Copyright 2020-2026 Lowdefy, Inc
3
3
 
4
4
  Licensed under the Apache License, Version 2.0 (the "License");
5
5
  you may not use this file except in compliance with the License.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lowdefy/operators-moment",
3
- "version": "4.5.1",
3
+ "version": "4.6.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "",
6
6
  "homepage": "https://lowdefy.com",
@@ -34,13 +34,14 @@
34
34
  "exports": {
35
35
  "./operators/client": "./dist/operatorsClient.js",
36
36
  "./operators/server": "./dist/operatorsServer.js",
37
+ "./schemas": "./dist/schemas.js",
37
38
  "./types": "./dist/types.js"
38
39
  },
39
40
  "files": [
40
41
  "dist/*"
41
42
  ],
42
43
  "dependencies": {
43
- "@lowdefy/operators": "4.5.1",
44
+ "@lowdefy/operators": "4.6.0",
44
45
  "moment": "2.29.4"
45
46
  },
46
47
  "devDependencies": {