@stacksjs/calendar-api 0.70.23 → 0.70.26
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/index.js +2 -4937
- package/dist/{index.d.ts → src/index.d.ts} +1 -2
- package/package.json +18 -9
- package/dist/google.d.ts +0 -5
- package/dist/ics.d.ts +0 -6
- package/dist/types.d.ts +0 -44
- package/dist/weboutlook.d.ts +0 -4
- package/dist/yahoo.d.ts +0 -6
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { CalendarLink } from './types';
|
|
2
|
-
|
|
3
2
|
export declare function exportCalendarGoogle(link: CalendarLink): string;
|
|
4
3
|
export declare function exportCalendarIcs(link: CalendarLink): string;
|
|
5
4
|
export declare function exportCalendarOutlook(link: CalendarLink): string;
|
|
6
|
-
export declare function exportCalendarYahoo(link: CalendarLink): string;
|
|
5
|
+
export declare function exportCalendarYahoo(link: CalendarLink): string;
|
package/package.json
CHANGED
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/calendar-api",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.70.
|
|
4
|
+
"version": "0.70.26",
|
|
5
5
|
"description": "Easily interact with calendar APIs.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
|
-
"contributors": [
|
|
7
|
+
"contributors": [
|
|
8
|
+
"Chris Breuer <chris@stacksjs.com>"
|
|
9
|
+
],
|
|
8
10
|
"license": "MIT",
|
|
9
11
|
"funding": "https://github.com/sponsors/chrisbbreuer",
|
|
10
|
-
"homepage": "https://github.com/stacksjs/stacks/tree/main/storage/framework/core/calendar#readme",
|
|
12
|
+
"homepage": "https://github.com/stacksjs/stacks/tree/main/storage/framework/core/calendar-api#readme",
|
|
11
13
|
"repository": {
|
|
12
14
|
"type": "git",
|
|
13
15
|
"url": "git+https://github.com/stacksjs/stacks.git",
|
|
14
|
-
"directory": "./storage/framework/core/calendar"
|
|
16
|
+
"directory": "./storage/framework/core/calendar-api"
|
|
15
17
|
},
|
|
16
18
|
"bugs": {
|
|
17
19
|
"url": "https://github.com/stacksjs/stacks/issues"
|
|
@@ -25,23 +27,30 @@
|
|
|
25
27
|
],
|
|
26
28
|
"exports": {
|
|
27
29
|
".": {
|
|
30
|
+
"types": "./dist/index.d.ts",
|
|
31
|
+
"bun": "./src/index.ts",
|
|
28
32
|
"import": "./dist/index.js"
|
|
29
33
|
},
|
|
30
34
|
"./*": {
|
|
35
|
+
"bun": "./src/*",
|
|
31
36
|
"import": "./dist/*"
|
|
32
37
|
}
|
|
33
38
|
},
|
|
34
39
|
"module": "dist/index.js",
|
|
35
40
|
"types": "dist/index.d.ts",
|
|
36
|
-
"files": [
|
|
41
|
+
"files": [
|
|
42
|
+
"README.md",
|
|
43
|
+
"dist"
|
|
44
|
+
],
|
|
37
45
|
"scripts": {
|
|
38
46
|
"build": "bun build.ts",
|
|
39
47
|
"typecheck": "bun tsc --noEmit",
|
|
40
48
|
"prepublishOnly": "bun run build"
|
|
41
49
|
},
|
|
42
50
|
"devDependencies": {
|
|
43
|
-
"@stacksjs/browser": "0.70.
|
|
44
|
-
"
|
|
45
|
-
"@stacksjs/security": "0.70.
|
|
46
|
-
}
|
|
51
|
+
"@stacksjs/browser": "0.70.23",
|
|
52
|
+
"better-dx": "^0.2.12",
|
|
53
|
+
"@stacksjs/security": "0.70.23"
|
|
54
|
+
},
|
|
55
|
+
"sideEffects": false
|
|
47
56
|
}
|
package/dist/google.d.ts
DELETED
package/dist/ics.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { CalendarLink } from '../types';
|
|
2
|
-
|
|
3
|
-
export declare function generateIcs(link: CalendarLink): string;
|
|
4
|
-
declare function buildLink(propertiesAndComponents: any): string;
|
|
5
|
-
declare function dateDiffInDays(from: Date, to: Date): number;
|
|
6
|
-
declare function generateEventUid(link: any): string;
|
package/dist/types.d.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import type { Ref } from 'vue';
|
|
2
|
-
|
|
3
|
-
export declare interface CalendarStore {
|
|
4
|
-
day: number
|
|
5
|
-
month: Ref<number>
|
|
6
|
-
year: Ref<number>
|
|
7
|
-
currentMonthYear: Ref<string>
|
|
8
|
-
currentMonthDayYear: Ref<string>
|
|
9
|
-
datesOfThePastMonth: Ref<number[]>
|
|
10
|
-
datesOfTheMonth: Ref<number[]>
|
|
11
|
-
datesOfNextMonth: Ref<number[]>
|
|
12
|
-
currentWeekView: Ref<number[]>
|
|
13
|
-
currentWeekViewToday: Ref<number[]>
|
|
14
|
-
}
|
|
15
|
-
export declare interface Time {
|
|
16
|
-
from: string
|
|
17
|
-
to: string
|
|
18
|
-
}
|
|
19
|
-
export declare interface Events {
|
|
20
|
-
date: string
|
|
21
|
-
title: string
|
|
22
|
-
description: string
|
|
23
|
-
month: number
|
|
24
|
-
day: number
|
|
25
|
-
year: number
|
|
26
|
-
time: Time
|
|
27
|
-
}
|
|
28
|
-
export declare interface WeekDates {
|
|
29
|
-
month: number
|
|
30
|
-
date: number
|
|
31
|
-
}
|
|
32
|
-
export declare interface TimeTableStyle {
|
|
33
|
-
time: string
|
|
34
|
-
gridRow: string
|
|
35
|
-
}
|
|
36
|
-
export declare interface CalendarLink {
|
|
37
|
-
from: Date
|
|
38
|
-
to: Date
|
|
39
|
-
allDay: boolean
|
|
40
|
-
address: string
|
|
41
|
-
title: string
|
|
42
|
-
description: string
|
|
43
|
-
timezone: string
|
|
44
|
-
}
|
package/dist/weboutlook.d.ts
DELETED