react-native-netmera 1.4.9 → 1.5.0-beta1
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/.github/workflows/run-prettier-action.yaml +21 -0
- package/.idea/aws.xml +11 -0
- package/.idea/inspectionProfiles/Project_Default.xml +7 -0
- package/.idea/jsLibraryMappings.xml +6 -0
- package/.prettierignore +8 -0
- package/README.md +186 -327
- package/android/src/main/java/com/netmera/reactnativesdk/RNNetmera.java +1 -1
- package/index.ts +28 -0
- package/ios/RNNetmera.m +1 -1
- package/package.json +13 -3
- package/src/Netmera.ts +257 -0
- package/src/models/NMCategoryPreference.ts +9 -0
- package/src/models/NMInboxStatus.ts +7 -0
- package/src/models/NMInboxStatusCountFilter.ts +13 -0
- package/src/models/NetmeraCategory.ts +14 -0
- package/src/models/NetmeraCategoryFilter.ts +9 -0
- package/src/models/NetmeraEvent.ts +7 -0
- package/src/models/NetmeraInbox.ts +25 -0
- package/src/models/NetmeraInboxFilter.ts +10 -0
- package/src/models/NetmeraUser.ts +96 -0
- package/tsconfig.json +3 -0
- package/index.js +0 -19
- package/src/Netmera.js +0 -225
- package/src/NetmeraInbox.js +0 -95
- package/src/NetmeraUser.js +0 -92
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
name: run-prettier-action
|
|
2
|
+
on:
|
|
3
|
+
pull_request:
|
|
4
|
+
branches:
|
|
5
|
+
- main
|
|
6
|
+
- develop
|
|
7
|
+
jobs:
|
|
8
|
+
check-bats-version:
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
|
|
11
|
+
steps:
|
|
12
|
+
- uses: actions/checkout@v3
|
|
13
|
+
- name: Test using Node.js
|
|
14
|
+
uses: actions/setup-node@v3
|
|
15
|
+
with:
|
|
16
|
+
node-version: "14.x"
|
|
17
|
+
- run: yarn install
|
|
18
|
+
- run: cd example && yarn install && cd ..
|
|
19
|
+
- run: yarn prettier --check .
|
|
20
|
+
- run: yarn tsc
|
|
21
|
+
- run: yarn eslint .
|
package/.idea/aws.xml
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="accountSettings">
|
|
4
|
+
<option name="activeRegion" value="us-east-1" />
|
|
5
|
+
<option name="recentlyUsedRegions">
|
|
6
|
+
<list>
|
|
7
|
+
<option value="us-east-1" />
|
|
8
|
+
</list>
|
|
9
|
+
</option>
|
|
10
|
+
</component>
|
|
11
|
+
</project>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<component name="InspectionProjectProfileManager">
|
|
2
|
+
<profile version="1.0">
|
|
3
|
+
<option name="myName" value="Project Default" />
|
|
4
|
+
<inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
5
|
+
<inspection_tool class="TsLint" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
6
|
+
</profile>
|
|
7
|
+
</component>
|