summaryrefslogtreecommitdiff
path: root/node_modules/@jet-app/app-store/tmp/src/api/intents/grouping-page-intent.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/@jet-app/app-store/tmp/src/api/intents/grouping-page-intent.js')
-rw-r--r--node_modules/@jet-app/app-store/tmp/src/api/intents/grouping-page-intent.js33
1 files changed, 33 insertions, 0 deletions
diff --git a/node_modules/@jet-app/app-store/tmp/src/api/intents/grouping-page-intent.js b/node_modules/@jet-app/app-store/tmp/src/api/intents/grouping-page-intent.js
new file mode 100644
index 0000000..5d381a0
--- /dev/null
+++ b/node_modules/@jet-app/app-store/tmp/src/api/intents/grouping-page-intent.js
@@ -0,0 +1,33 @@
+import { normalizePreviewPlaform } from "../models/preview-platform";
+import { normalizeAdamID } from "../util";
+export function isGroupingPageIntent(intent) {
+ return intent.$kind === "GroupingPageIntent";
+}
+/**
+ * Creates a {@link GroupingPageIntent} "by name"
+ *
+ * @param options the properties of the created {@link GroupingPageIntent}
+ */
+export function makeGroupingPageIntentByName(options) {
+ const { platform, ...rest } = options;
+ return {
+ ...rest,
+ $kind: "GroupingPageIntent",
+ platform: normalizePreviewPlaform(platform),
+ };
+}
+/**
+ * Creates a {@link GroupingPageIntent} "by ID"
+ *
+ * @param options the properties of the created {@link GroupingPageIntent}
+ */
+export function makeGroupingPageIntentByID(options) {
+ const { platform, id, ...rest } = options;
+ return {
+ ...rest,
+ $kind: "GroupingPageIntent",
+ id: normalizeAdamID(id),
+ platform: normalizePreviewPlaform(platform),
+ };
+}
+//# sourceMappingURL=grouping-page-intent.js.map \ No newline at end of file