-
Notifications
You must be signed in to change notification settings - Fork 42
[MOB-9995] reorganize source code #599
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
33dcd4b
a1d215f
e5ff188
827462a
27f1bf0
507902a
fd2ea12
5af5f45
7cf303c
95c4988
3a52215
9ac9906
20b10a3
f7066e7
5a1eea0
1db7ca4
04dc426
1393e4b
6cfa8a2
4688446
f96f5c9
3d92e26
e6d729f
65aa68c
4216fa7
8ea2a20
a20baec
c8ece69
a7dccb5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,13 +1,14 @@ | ||
| import { IterableAction } from './IterableAction'; | ||
| import type { IterableActionContext } from './IterableActionContext'; | ||
| import type { IterableAuthResponse } from './IterableAuthResponse'; | ||
| import { | ||
| IterableDataRegion, | ||
| IterableLogLevel, | ||
| IterablePushPlatform, | ||
| } from './enums'; | ||
| } from 'core/enums'; | ||
| import { IterableInAppMessage, IterableInAppShowResponse } from 'inApp'; | ||
|
|
||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why was this deleted?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's such a simple type that it's not really needed |
||
| import { IterableAction } from './IterableAction'; | ||
| import type { IterableActionContext } from './IterableActionContext'; | ||
| import type { IterableAuthResponse } from './IterableAuthResponse'; | ||
|
|
||
| /** | ||
| * An IterableConfig object sets various properties of the SDK. | ||
| * An IterableConfig object is passed into the static initialize method on the Iterable class when initializing the SDK. | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| export * from './Iterable'; | ||
| export * from './IterableAction'; | ||
| export * from './IterableActionContext'; | ||
| export * from './IterableAttributionInfo'; | ||
| export * from './IterableAuthResponse'; | ||
| export * from './IterableCommerceItem'; | ||
| export * from './IterableConfig'; | ||
| export * from './IterableEdgeInsets'; | ||
| export * from './IterableLogger'; | ||
| export * from './IterableUtil'; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| export * from './classes'; | ||
| export * from './enums'; | ||
| export * from './hooks'; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nice reorganization. Didn't know you could have nested index files. |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| export * from './IterableHtmlInAppContent'; | ||
| export * from './IterableInAppManager'; | ||
| export * from './IterableInAppMessage'; | ||
| export * from './IterableInAppTrigger'; | ||
| export * from './IterableInboxMetadata'; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,3 @@ | ||
| export * from './classes'; | ||
| export * from './enums'; | ||
| export * from './IterableHtmlInAppContent'; | ||
| export * from './IterableInAppManager'; | ||
| export * from './IterableInAppMessage'; | ||
| export * from './IterableInAppTrigger'; | ||
| export * from './IterableInboxMetadata'; | ||
| export * from './types'; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| export * from './IterableInboxDataModel'; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| export * from './IterableInbox'; | ||
| export * from './IterableInboxEmptyState'; | ||
| export * from './IterableInboxMessageCell'; | ||
| export * from './IterableInboxMessageDisplay'; | ||
| export * from './IterableInboxMessageList'; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| export * from './classes'; | ||
| export * from './components'; | ||
| export * from './types'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this just look at the index file for the imports? Nice simplification.